/* ============================================================
   styles-v2/menu.css — phase 3.3 player-facing menu typography.
   Uses only theme.css tokens; no fonts/images/CDN from outside.
   Desktop first: comfortable at 1280px, still usable at 1024px.
   ============================================================ */

.gh2-app-shell {
  min-height: 100vh;
}

/* ── main menu ─────────────────────────────────────────────── */

.gh2-main-menu {
  position: relative;
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 56px 42px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(232, 201, 138, 0.1), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(67, 162, 145, 0.08), transparent 70%),
    linear-gradient(180deg, var(--gh2-ink-2), var(--gh2-ink-1));
  box-shadow: var(--gh2-shadow);
}

.gh2-main-menu::before,
.gh2-main-menu::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: var(--gh2-radius);
  pointer-events: none;
}
.gh2-main-menu::after { inset: 16px; border-style: dashed; opacity: 0.5; }

.gh2-main-menu__sigil {
  display: flex;
  gap: 32px;
  color: var(--gh2-lamp);
  font-size: 34px;
  line-height: 1;
  opacity: 0.85;
}
.gh2-main-menu__sigil span:last-child { color: var(--gh2-cult); }
.gh2-main-menu__eyebrow {
  color: var(--gh2-lamp-dim);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}
.gh2-main-menu__title {
  margin: -8px 0 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: clamp(46px, 6vw, 78px);
  letter-spacing: 0.16em;
  text-shadow: var(--gh2-glow-lamp);
}
.gh2-main-menu__tagline {
  max-width: 560px;
  color: var(--gh2-silver-dim);
  font-size: 15px;
  line-height: 1.8;
}
.gh2-main-menu__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
  width: 100%;
}
.gh2-main-menu__actions .gh2-menu-btn { min-width: 0; width: 100%; }

.gh2-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
  padding: 14px 20px;
  color: var(--gh2-silver);
  text-align: left;
  text-decoration: none;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(120deg, rgba(232, 201, 138, 0.06), rgba(8, 16, 18, 0.8));
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}
.gh2-menu-btn:hover {
  border-color: var(--gh2-lamp-dim);
  transform: translateY(-2px);
  box-shadow: var(--gh2-glow-lamp);
}
.gh2-menu-btn:focus-visible { outline: 2px solid var(--gh2-lamp); outline-offset: 2px; }
.gh2-menu-btn--primary {
  border-color: var(--gh2-lamp-dim);
  background: linear-gradient(120deg, rgba(232, 201, 138, 0.16), rgba(8, 16, 18, 0.86));
}
.gh2-menu-btn__icon { color: var(--gh2-lamp); font-size: 24px; }
.gh2-menu-btn__body { display: flex; flex-direction: column; gap: 3px; }
.gh2-menu-btn__body b { color: var(--gh2-parchment); font-size: 17px; letter-spacing: 0.06em; }
.gh2-menu-btn__body small { color: var(--gh2-silver-faint); font-size: 12px; }

.gh2-rules {
  width: min(620px, 100%);
  margin-top: 8px;
  border-top: 1px solid var(--gh2-line-soft);
  color: var(--gh2-silver-dim);
  font-size: 13px;
}
.gh2-rules summary {
  padding: 12px 0;
  color: var(--gh2-lamp);
  cursor: pointer;
  letter-spacing: 0.08em;
}
.gh2-rules__body { padding: 0 6px 8px; line-height: 1.9; }

/* ── faction select ────────────────────────────────────────── */

.gh2-faction-select {
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.gh2-faction-select__head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gh2-line);
}
.gh2-faction-select__head h2 {
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 30px;
  letter-spacing: 0.1em;
}
.gh2-faction-select__head p { color: var(--gh2-silver-faint); font-size: 13px; }
.gh2-back-btn {
  padding: 8px 14px;
  color: var(--gh2-silver-dim);
  background: transparent;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  cursor: pointer;
}
.gh2-back-btn:hover { color: var(--gh2-lamp); border-color: var(--gh2-lamp-dim); }

.gh2-faction-select__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.gh2-faction-card {
  position: relative;
  min-height: 320px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  color: var(--gh2-silver);
  text-align: left;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.05), rgba(4, 8, 10, 0.86));
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.gh2-faction-card--cult {
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.1), rgba(4, 16, 14, 0.9));
}
.gh2-faction-card:hover { transform: translateY(-3px); border-color: var(--gh2-lamp-dim); }
.gh2-faction-card.is-selected {
  border-color: var(--gh2-lamp);
  box-shadow: var(--gh2-glow-lamp), inset 0 0 0 1px rgba(232, 201, 138, 0.22);
}
.gh2-faction-card--cult.is-selected {
  border-color: var(--gh2-cult-glow);
  box-shadow: var(--gh2-glow-cult), inset 0 0 0 1px rgba(67, 162, 145, 0.24);
}
.gh2-faction-card__crest {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 44px;
  color: var(--gh2-lamp-dim);
  opacity: 0.45;
}
.gh2-faction-card--cult .gh2-faction-card__crest { color: var(--gh2-cult); }
.gh2-faction-card__name {
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 30px;
  letter-spacing: 0.12em;
}
.gh2-faction-card__en { color: var(--gh2-silver-faint); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.gh2-faction-card__tagline { color: var(--gh2-lamp); font-size: 14px; }
.gh2-faction-card__role { color: var(--gh2-silver-dim); font-size: 12px; }
.gh2-faction-card__leader {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-top: 10px;
  width: 100%;
  border-top: 1px solid var(--gh2-line-soft);
}
.gh2-faction-card__leader b { color: var(--gh2-parchment); font-size: 15px; }
.gh2-faction-card__leader small { color: var(--gh2-silver-faint); font-size: 11px; }
.gh2-faction-card__effect { color: var(--gh2-silver); font-size: 13px; line-height: 1.65; }
.gh2-faction-card__flavor { color: var(--gh2-silver-faint); font-size: 12px; font-style: italic; }
.gh2-faction-card__meta {
  margin-top: auto;
  padding-top: 10px;
  color: var(--gh2-lamp-dim);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.gh2-faction-select__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gh2-line);
}
.gh2-faction-select__start .gh2-menu-btn { min-width: 320px; }

/* ── mode switch ───────────────────────────────────────────── */

.gh2-mode-toggle { display: flex; flex-direction: column; gap: 8px; }
.gh2-mode-toggle__label { color: var(--gh2-silver-faint); font-size: 11px; letter-spacing: 0.18em; }
.gh2-mode-toggle__options { display: flex; gap: 8px; }
.gh2-mode-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  padding: 10px 14px;
  color: var(--gh2-silver-dim);
  text-align: left;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: var(--gh2-ink-1);
  cursor: pointer;
}
.gh2-mode-btn b { color: var(--gh2-silver); font-size: 14px; }
.gh2-mode-btn small { color: var(--gh2-silver-faint); font-size: 11px; }
.gh2-mode-btn.is-selected {
  border-color: var(--gh2-lamp);
  color: var(--gh2-lamp);
  background: rgba(232, 201, 138, 0.08);
}

/* ── AI difficulty selector ───────────────────────────────── */

.gh2-difficulty {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: var(--gh2-radius);
  background: rgba(13, 24, 26, 0.6);
}
.gh2-difficulty__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gh2-difficulty__mark { color: var(--gh2-lamp); font-size: 12px; letter-spacing: 0.18em; }
.gh2-difficulty__hint { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-difficulty__options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gh2-difficulty__option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  color: var(--gh2-silver-dim);
  text-align: left;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: var(--gh2-ink-1);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.gh2-difficulty__option b { color: var(--gh2-silver); font-size: 15px; }
.gh2-difficulty__option small { color: var(--gh2-silver-faint); font-size: 11px; line-height: 1.5; }
.gh2-difficulty__option:hover { transform: translateY(-2px); border-color: var(--gh2-lamp-dim); }
.gh2-difficulty__option.is-selected {
  border-color: var(--gh2-lamp);
  color: var(--gh2-lamp);
  background: rgba(232, 201, 138, 0.16);
  box-shadow: var(--gh2-glow-lamp), inset 0 0 0 1px rgba(232, 201, 138, 0.25);
}
.gh2-difficulty__option.is-selected b { color: var(--gh2-lamp); }
.gh2-difficulty__option.is-selected small { color: var(--gh2-parchment-dim); }

/* ── recommended preset picker ─────────────────────────────── */
.gh2-preset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: var(--gh2-radius);
  background: rgba(13, 24, 26, 0.6);
}
.gh2-preset__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.gh2-preset__mark { color: var(--gh2-lamp); font-size: 12px; letter-spacing: 0.18em; }
.gh2-preset__hint { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-preset__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.gh2-preset__option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  color: var(--gh2-silver-dim);
  text-align: left;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: var(--gh2-ink-1);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.gh2-preset__option b { color: var(--gh2-silver); font-size: 15px; }
.gh2-preset__option small { color: var(--gh2-silver-faint); font-size: 11px; line-height: 1.5; }
.gh2-preset__option:hover { transform: translateY(-2px); border-color: var(--gh2-lamp-dim); }
.gh2-preset__option.is-selected {
  border-color: var(--gh2-lamp);
  color: var(--gh2-lamp);
  background: rgba(232, 201, 138, 0.16);
  box-shadow: var(--gh2-glow-lamp), inset 0 0 0 1px rgba(232, 201, 138, 0.25);
}
.gh2-preset__option.is-selected b { color: var(--gh2-lamp); }
.gh2-preset__option.is-selected small { color: var(--gh2-parchment-dim); }

/* ── character select ──────────────────────────────────────── */

.gh2-character-select {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gh2-character-select__head { display: flex; align-items: center; gap: 20px; }
.gh2-character-select__head h2 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 30px;
}
.gh2-character-select__head p { margin: 4px 0 0; color: var(--gh2-silver-faint); font-size: 13px; }
.gh2-character-select__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  justify-content: center;
}
.gh2-character-card {
  position: relative;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  color: var(--gh2-silver);
  text-align: left;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.05), rgba(4, 8, 10, 0.86));
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.gh2-character-card--cult {
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.1), rgba(4, 16, 14, 0.9));
}
.gh2-character-card:hover { transform: translateY(-3px); border-color: var(--gh2-lamp-dim); }
.gh2-character-card.is-selected {
  border-color: var(--gh2-lamp);
  box-shadow: var(--gh2-glow-lamp), inset 0 0 0 1px rgba(232, 201, 138, 0.22);
}
.gh2-character-card--cult.is-selected {
  border-color: var(--gh2-cult-glow);
  box-shadow: var(--gh2-glow-cult), inset 0 0 0 1px rgba(67, 162, 145, 0.24);
}
.gh2-character-card__media {
  position: relative;
  display: block;
  aspect-ratio: 512 / 683;
  border-bottom: 1px solid var(--gh2-line);
  overflow: hidden;
}
.gh2-character-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.gh2-character-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 10, 0) 55%, rgba(4, 8, 10, 0.55));
  pointer-events: none;
}
.gh2-character-card__icon {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  font-size: 24px;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}
.gh2-character-card__title {
  margin: 16px 22px 0;
  color: var(--gh2-lamp);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.gh2-character-card--cult .gh2-character-card__title { color: var(--gh2-cult); }
.gh2-character-card__name {
  margin: 4px 22px 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 24px;
}
.gh2-character-card__en {
  margin: 5px 22px 0;
  color: var(--gh2-silver-faint);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.gh2-character-card__archetype {
  margin: 10px 22px 0;
  color: var(--gh2-silver-dim);
  font-size: 12px;
}
.gh2-character-card__effect {
  margin: 10px 22px 0;
  color: var(--gh2-silver);
  font-size: 12.5px;
  line-height: 1.6;
}
.gh2-character-card__flavor {
  margin: 14px 22px 20px;
  color: var(--gh2-silver-faint);
  font-size: 11.5px;
  font-style: italic;
}
.gh2-character-select__foot { display: flex; justify-content: center; }
.gh2-character-start { min-width: 340px; }

@media (max-width: 1024px) {
  .gh2-main-menu { padding: 38px 28px 30px; width: min(760px, 96vw); }
  .gh2-main-menu__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh2-faction-select { width: 96vw; padding: 24px 18px; gap: 18px; }
  .gh2-faction-select__grid { gap: 14px; }
  .gh2-faction-card { min-height: 300px; padding: 20px; }
  .gh2-faction-card__crest { font-size: 32px; }
  .gh2-faction-select__foot { justify-content: center; }
  .gh2-mode-btn { min-width: 160px; }
  .gh2-faction-select__start .gh2-menu-btn { min-width: 280px; }
  .gh2-character-select { width: 96vw; padding: 22px 14px; gap: 16px; }
  .gh2-character-select__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
  .gh2-character-card { min-height: 0; }
  .gh2-character-start { min-width: 240px; }
  .gh2-difficulty { padding: 14px; }
  .gh2-difficulty__options { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gh2-main-menu { padding: 30px 18px 24px; }
  .gh2-main-menu__actions { grid-template-columns: 1fr; }
}

/* ============================================================
   角色选择屏 · 皮肤切换（外观面板）
   ============================================================ */
.gh2-skin-switcher-host { display: flex; }
.gh2-skin-switcher {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.05), rgba(4, 8, 10, 0.86));
}
.gh2-skin-switcher__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gh2-skin-switcher__heading {
  color: var(--gh2-lamp);
  font-family: var(--gh2-font-display);
  font-size: 16px;
  letter-spacing: 0.14em;
}
.gh2-skin-switcher__count { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-skin-switcher__body {
  display: grid;
  grid-template-columns: auto 200px 1fr auto;
  gap: 16px;
  align-items: center;
}
.gh2-skin-switcher__arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--gh2-silver-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
  cursor: pointer;
}
.gh2-skin-switcher__arrow:hover { color: var(--gh2-lamp); border-color: var(--gh2-lamp-dim); }
.gh2-skin-switcher__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gh2-line-soft);
  background: rgba(0, 0, 0, 0.4);
}
.gh2-skin-switcher__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh2-skin-switcher__kind {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--gh2-parchment);
  background: rgba(4, 8, 10, 0.78);
  border: 1px solid var(--gh2-line);
}
.gh2-skin-switcher__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: rgba(2, 5, 7, 0.5);
}
.gh2-skin-switcher__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.gh2-skin-switcher__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.gh2-skin-switcher__name {
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 20px;
}
.gh2-skin-switcher__badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--gh2-line);
  color: var(--gh2-silver-dim);
  background: rgba(255, 255, 255, 0.04);
}
.gh2-skin-switcher__badge--common { color: var(--gh2-silver); border-color: rgba(217, 211, 196, 0.4); }
.gh2-skin-switcher__badge--rare {
  color: var(--gh2-lamp);
  border-color: rgba(232, 201, 138, 0.55);
  background: rgba(232, 201, 138, 0.1);
}
.gh2-skin-switcher__badge--epic {
  color: var(--gh2-corruption);
  border-color: rgba(139, 122, 181, 0.6);
  background: rgba(139, 122, 181, 0.14);
}
.gh2-skin-switcher__badge--default { color: var(--gh2-silver-faint); }
.gh2-skin-switcher__meta { font-size: 12px; color: var(--gh2-silver-faint); }
.gh2-skin-switcher__desc { margin: 0; font-size: 13px; line-height: 1.6; color: var(--gh2-silver-dim); }
.gh2-skin-switcher__action { display: flex; margin-top: 2px; }
.gh2-skin-switcher__use,
.gh2-skin-switcher__get {
  cursor: pointer;
  padding: 8px 26px;
  border-radius: 999px;
  font-size: 14px;
}
.gh2-skin-switcher__use {
  border: 1px solid rgba(67, 162, 145, 0.55);
  background: rgba(67, 162, 145, 0.14);
  color: var(--gh2-cult-glow);
}
.gh2-skin-switcher__use:hover { background: rgba(67, 162, 145, 0.26); }
.gh2-skin-switcher__get {
  border: 1px solid var(--gh2-lamp-dim);
  background: rgba(232, 201, 138, 0.1);
  color: var(--gh2-lamp);
}
.gh2-skin-switcher__get:hover { background: rgba(232, 201, 138, 0.2); }
.gh2-skin-switcher__using { font-size: 14px; color: var(--gh2-cult-glow); }
.gh2-skin-switcher__thumbs { display: flex; gap: 12px; }
.gh2-skin-switcher__thumb {
  position: relative;
  width: 64px;
  aspect-ratio: 3 / 4;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: rgba(0, 0, 0, 0.4);
}
.gh2-skin-switcher__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh2-skin-switcher__thumb-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(2, 5, 7, 0.5);
}
.gh2-skin-switcher__thumb.is-selected { border-color: var(--gh2-lamp); box-shadow: var(--gh2-glow-lamp); }
.gh2-skin-switcher__thumb.is-equipped:not(.is-selected) { border-color: rgba(67, 162, 145, 0.6); }
.gh2-skin-switcher[data-rarity="rare"] .gh2-skin-switcher__media { border-color: rgba(232, 201, 138, 0.5); }
.gh2-skin-switcher[data-rarity="epic"] .gh2-skin-switcher__media {
  border-color: rgba(139, 122, 181, 0.6);
  box-shadow: 0 0 14px rgba(139, 122, 181, 0.22);
}
.gh2-skin-switcher[data-rarity="epic"] .gh2-skin-switcher__thumb.is-selected {
  border-color: var(--gh2-corruption);
  box-shadow: 0 0 14px rgba(139, 122, 181, 0.35);
}

@media (max-width: 1024px) {
  .gh2-skin-switcher { padding: 14px; }
  .gh2-skin-switcher__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
  .gh2-skin-switcher__media { width: 150px; }
  .gh2-skin-switcher__info { flex-basis: 100%; align-items: center; text-align: center; }
  .gh2-skin-switcher__thumbs { justify-content: center; }
}

/* ── Arena Draft ───────────────────────────────────────────── */

.gh2-arena {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 28px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gh2-arena__head { display: flex; align-items: center; gap: 20px; }
.gh2-arena__heading h2 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 28px;
}
.gh2-arena__heading p { margin: 4px 0 0; color: var(--gh2-silver-faint); font-size: 13px; }

.gh2-arena__progress {
  height: 6px;
  border-radius: 999px;
  background: var(--gh2-ink-3);
  overflow: hidden;
  border: 1px solid var(--gh2-line-soft);
}
.gh2-arena__progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gh2-lamp-dim), var(--gh2-lamp));
  transition: width 220ms ease;
}

.gh2-arena__choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gh2-arena-card {
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  color: var(--gh2-silver);
  text-align: left;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.05), rgba(4, 8, 10, 0.88));
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.gh2-arena-card--cult {
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.1), rgba(4, 16, 14, 0.9));
}
.gh2-arena-card--neutral {
  background: linear-gradient(160deg, rgba(154, 150, 138, 0.08), rgba(8, 10, 10, 0.9));
}
.gh2-arena-card:hover {
  transform: translateY(-3px);
  border-color: var(--gh2-lamp-dim);
  box-shadow: var(--gh2-glow-lamp);
}
.gh2-arena-card--cult:hover { border-color: var(--gh2-cult-glow); box-shadow: var(--gh2-glow-cult); }

.gh2-arena-card__media {
  position: relative;
  display: block;
  height: 230px;
  border-bottom: 1px solid var(--gh2-line);
  overflow: hidden;
}
.gh2-arena-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.gh2-arena-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 10, 0) 55%, rgba(4, 8, 10, 0.5));
  pointer-events: none;
}
.gh2-arena-card__owned {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  padding: 3px 9px;
  font-size: 12px;
  color: var(--gh2-ink-0);
  background: var(--gh2-lamp);
  border-radius: 999px;
  font-weight: 600;
}
.gh2-arena-card__name {
  margin: 14px 18px 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 20px;
}
.gh2-arena-card__en {
  margin: 4px 18px 0;
  color: var(--gh2-silver-faint);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gh2-arena-card__meta {
  margin: 10px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gh2-arena-card__type {
  padding: 2px 8px;
  font-size: 11px;
  color: var(--gh2-silver-dim);
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
}
.gh2-arena-card__cost { color: var(--gh2-lamp); font-size: 13px; display: inline-flex; align-items: center; gap: 3px; }
.gh2-arena-card__cost .gh2-icon,
.gh2-arena-card__power .gh2-icon,
.gh2-arena-card__kw .gh2-icon { width: 14px; height: 14px; }
.gh2-arena-card__power {
  margin: 10px 18px 0;
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--gh2-silver);
}
.gh2-arena-card__power span { display: inline-flex; align-items: center; gap: 3px; }
.gh2-arena-card__kw {
  margin: 10px 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--gh2-silver-dim);
}
.gh2-arena-card__kw span { display: inline-flex; align-items: center; gap: 3px; }
.gh2-arena-card__effect {
  margin: 8px 18px 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--gh2-silver);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gh2-arena-card__hint {
  margin: 12px 18px 16px;
  padding-top: 10px;
  border-top: 1px solid var(--gh2-line-soft);
  color: var(--gh2-silver-faint);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.gh2-arena-tray {
  padding: 16px 18px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: var(--gh2-ink-1);
}
.gh2-arena-tray__title {
  margin: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 16px;
}
.gh2-arena-tray__title small { color: var(--gh2-lamp); font-size: 13px; }
.gh2-arena-tray__list {
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gh2-arena-tray__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--gh2-silver);
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
  background: var(--gh2-ink-2);
}
.gh2-arena-tray__item b { color: var(--gh2-lamp); }
.gh2-arena-tray__empty { color: var(--gh2-silver-faint); font-size: 12px; }

@media (max-width: 1024px) {
  .gh2-arena { width: 96vw; padding: 22px 16px 30px; gap: 16px; }
  .gh2-arena__choices { grid-template-columns: 1fr; gap: 14px; }
  .gh2-arena-card__media { height: 220px; }
}

/* ── Daily Challenge ───────────────────────────────────────── */

.gh2-daily {
  width: min(880px, 94vw);
  margin: 0 auto;
  padding: 28px 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.gh2-daily__head { display: flex; align-items: center; gap: 20px; }
.gh2-daily__heading h2 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 28px;
}
.gh2-daily__heading p { margin: 4px 0 0; color: var(--gh2-silver-faint); font-size: 13px; }

.gh2-daily-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.05), rgba(4, 8, 10, 0.9));
}
.gh2-daily-card--cult {
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.1), rgba(4, 16, 14, 0.92));
}
.gh2-daily-card__media {
  position: relative;
  display: block;
  height: 100%;
  min-height: 280px;
  border-right: 1px solid var(--gh2-line);
  overflow: hidden;
}
.gh2-daily-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.gh2-daily-card__icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}
.gh2-daily-card__body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gh2-daily-card__faction {
  color: var(--gh2-lamp);
  font-size: 12px;
  letter-spacing: 0.16em;
}
.gh2-daily-card--cult .gh2-daily-card__faction { color: var(--gh2-cult); }
.gh2-daily-card__title { color: var(--gh2-silver-dim); font-size: 13px; }
.gh2-daily-card__name {
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 26px;
}
.gh2-daily-card__archetype { color: var(--gh2-silver-faint); font-size: 12px; }

.gh2-daily-status {
  margin-top: auto;
  padding-top: 14px;
  align-self: flex-start;
  font-size: 13px;
}
.gh2-daily-status--open { color: var(--gh2-silver-dim); }
.gh2-daily-status--win { color: var(--gh2-lamp); }
.gh2-daily-status--loss { color: var(--gh2-danger); }

.gh2-daily__foot { display: flex; justify-content: center; }
.gh2-daily__foot .gh2-menu-btn { min-width: 340px; }

@media (max-width: 1024px) {
  .gh2-daily { width: 96vw; padding: 22px 16px 28px; gap: 16px; }
  .gh2-daily-card { grid-template-columns: 1fr; }
  .gh2-daily-card__media { min-height: 240px; border-right: none; border-bottom: 1px solid var(--gh2-line); }
  .gh2-daily__foot .gh2-menu-btn { min-width: 280px; }
}

/* ── Daily stats: streaks + history ────────────────────────── */

.gh2-daily-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  padding: 18px 20px 20px;
  background: rgba(4, 8, 10, 0.55);
}
.gh2-daily-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gh2-daily-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(232, 201, 138, 0.04);
}
.gh2-daily-stat b {
  color: var(--gh2-lamp);
  font-family: var(--gh2-font-display);
  font-size: 24px;
  line-height: 1.1;
}
.gh2-daily-stat span { color: var(--gh2-silver-faint); font-size: 12px; }

.gh2-daily-history-wrap h3 {
  margin: 0 0 10px;
  color: var(--gh2-silver-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.gh2-daily-history {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gh2-daily-history li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 12px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
}
.gh2-daily-history__date { color: var(--gh2-silver-dim); font-size: 13px; }
.gh2-daily-history__mark {
  min-width: 34px;
  padding: 2px 8px;
  text-align: center;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--gh2-line);
}
.gh2-daily-history__mark.is-win { color: var(--gh2-lamp); border-color: rgba(232, 201, 138, 0.5); }
.gh2-daily-history__mark.is-loss { color: var(--gh2-danger); border-color: rgba(178, 62, 62, 0.5); }
.gh2-daily-history__empty { margin: 0; color: var(--gh2-silver-faint); font-size: 13px; }

@media (max-width: 1024px) {
  .gh2-daily-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .gh2-daily-stats { padding: 14px 14px 16px; }
}

/* ── Achievement wall ──────────────────────────────────────── */

.gh2-achievements {
  width: min(960px, 94vw);
  margin: 0 auto;
  padding: 26px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gh2-achievements__head { display: flex; align-items: center; gap: 20px; }
.gh2-achievements__heading h2 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 28px;
}
.gh2-achievements__heading p { margin: 4px 0 0; color: var(--gh2-silver-faint); font-size: 13px; }

.gh2-ach-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gh2-ach {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
}
.gh2-ach.is-unlocked {
  border-color: rgba(232, 201, 138, 0.45);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.08), rgba(4, 8, 10, 0.7));
}
.gh2-ach.is-locked { opacity: 0.72; }
.gh2-ach__icon {
  font-size: 28px;
  line-height: 1;
  width: 40px;
  text-align: center;
  filter: grayscale(0.4);
}
.gh2-ach.is-unlocked .gh2-ach__icon { filter: none; }
.gh2-ach__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.gh2-ach__body b { color: var(--gh2-parchment); font-size: 15px; }
.gh2-ach__body small { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-ach__progress {
  margin-top: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.gh2-ach__progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gh2-lamp);
}
.gh2-ach.is-locked .gh2-ach__progress span { background: var(--gh2-silver-dim); }
.gh2-ach__body em { font-style: normal; color: var(--gh2-silver-dim); font-size: 11px; margin-top: 2px; }
.gh2-ach.is-unlocked .gh2-ach__body em { color: var(--gh2-lamp); }

@media (max-width: 1024px) {
  .gh2-achievements { width: 96vw; padding: 20px 14px 28px; }
  .gh2-ach-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   神秘商店：货币、抽卡、卡背收藏
   ============================================================ */
.gh2-shop {
  width: min(980px, 94vw);
  margin: 0 auto;
  padding: 26px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gh2-shop__head { display: flex; align-items: center; gap: 18px; }
.gh2-shop__heading { flex: 1; }
.gh2-shop__heading h2 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 28px;
}
.gh2-shop__heading p { margin: 4px 0 0; color: var(--gh2-silver-faint); font-size: 13px; }
.gh2-shop__balance {
  font-size: 20px;
  font-weight: 700;
  color: var(--gh2-lamp);
  padding: 8px 14px;
  border: 1px solid rgba(232, 201, 138, 0.4);
  border-radius: 999px;
  background: rgba(232, 201, 138, 0.08);
  white-space: nowrap;
}

.gh2-shop__gacha {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
}
.gh2-shop__gacha-info h3 {
  margin: 0 0 6px;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 19px;
}
.gh2-shop__gacha-info p { margin: 4px 0; color: var(--gh2-silver-dim); font-size: 13px; }
.gh2-shop__rates {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: flex;
  gap: 10px;
}
.gh2-shop__rates li {
  flex: 1;
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}
.gh2-shop__rates li b { color: var(--gh2-lamp); }
.gh2-shop__pity { font-size: 12px; color: var(--gh2-silver-faint); }
.gh2-shop__pity b { color: var(--gh2-silver-dim); }

.gh2-shop__pull {
  cursor: pointer;
  min-width: 150px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(232, 201, 138, 0.5);
  border-radius: var(--gh2-radius);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.16), rgba(4, 8, 10, 0.7));
  color: var(--gh2-parchment);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.gh2-shop__pull:hover { transform: translateY(-2px); box-shadow: var(--gh2-glow-lamp); }
.gh2-shop__pull-icon { font-size: 34px; line-height: 1; }
.gh2-shop__pull-label { font-weight: 700; font-size: 16px; }
.gh2-shop__pull small { color: var(--gh2-silver-dim); font-size: 12px; }
.gh2-shop__pull.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--gh2-line);
  background: rgba(255, 255, 255, 0.04);
}
.gh2-shop__pull.is-disabled:hover { transform: none; box-shadow: none; }

.gh2-shop__result {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--gh2-line);
  font-size: 14px;
  background: rgba(4, 8, 10, 0.6);
}
.gh2-shop__result--common { color: var(--gh2-silver-dim); }
.gh2-shop__result--rare { color: var(--gh2-lamp); border-color: rgba(232, 201, 138, 0.45); }
.gh2-shop__result--epic {
  color: var(--gh2-corruption);
  border-color: rgba(139, 122, 181, 0.55);
  box-shadow: 0 0 14px rgba(139, 122, 181, 0.25);
}
.gh2-shop__result--warn { color: var(--gh2-danger); border-color: rgba(189, 106, 91, 0.45); }

.gh2-shop__collection-title {
  margin: 6px 0 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 18px;
}
.gh2-shop__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gh2-shop__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
  text-align: center;
}
.gh2-shop__item-icon { font-size: 32px; line-height: 1.2; }
.gh2-shop__item-name { color: var(--gh2-parchment); font-size: 14px; }
.gh2-shop__item-rarity { font-size: 11px; color: var(--gh2-silver-faint); }
.gh2-shop__item-desc {
  font-size: 11px;
  color: var(--gh2-silver-faint);
  min-height: 30px;
  line-height: 1.4;
}
.gh2-shop__item[data-rarity="rare"] { border-color: rgba(232, 201, 138, 0.4); }
.gh2-shop__item[data-rarity="rare"] .gh2-shop__item-rarity { color: var(--gh2-lamp); }
.gh2-shop__item[data-rarity="epic"] {
  border-color: rgba(139, 122, 181, 0.55);
  box-shadow: 0 0 14px rgba(139, 122, 181, 0.2);
}
.gh2-shop__item[data-rarity="epic"] .gh2-shop__item-rarity { color: var(--gh2-corruption); }
.gh2-shop__item.is-locked { opacity: 0.6; }
.gh2-shop__item.is-equipped {
  border-color: rgba(67, 162, 145, 0.55);
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.12), rgba(4, 8, 10, 0.7));
}
.gh2-shop__equip {
  cursor: pointer;
  margin-top: 6px;
  padding: 6px 18px;
  border: 1px solid rgba(67, 162, 145, 0.5);
  border-radius: 999px;
  background: rgba(67, 162, 145, 0.12);
  color: var(--gh2-cult-glow);
  font-size: 13px;
}
.gh2-shop__equip:hover { background: rgba(67, 162, 145, 0.24); }
.gh2-shop__equipped-tag {
  margin-top: 6px;
  font-size: 12px;
  color: var(--gh2-cult-glow);
}
.gh2-shop__locked-tag {
  margin-top: 6px;
  font-size: 12px;
  color: var(--gh2-silver-faint);
}

/* ---- two independent banners ---- */
.gh2-shop__banner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--gh2-line);
}
.gh2-shop__banner:first-of-type { padding-top: 0; border-top: none; }
.gh2-shop__pulls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}
.gh2-shop__pull--ten {
  border-color: rgba(139, 122, 181, 0.6);
  background: linear-gradient(160deg, rgba(139, 122, 181, 0.22), rgba(4, 8, 10, 0.72));
}
.gh2-shop__pull--ten:hover { box-shadow: 0 0 16px rgba(139, 122, 181, 0.4); }

/* ---- ten-pull result chips ---- */
.gh2-shop__result--ten { display: flex; flex-direction: column; gap: 10px; }
.gh2-shop__result--ten p { margin: 0; }
.gh2-skin-result__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gh2-skin-result__chip {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 8px;
  border: 1px solid var(--gh2-line);
  background: rgba(255, 255, 255, 0.04);
}
.gh2-skin-result__chip--rare { border-color: rgba(232, 201, 138, 0.55); background: rgba(232, 201, 138, 0.12); }
.gh2-skin-result__chip--epic { border-color: rgba(139, 122, 181, 0.6); background: rgba(139, 122, 181, 0.16); }
.gh2-skin-result__new {
  position: absolute;
  top: -6px;
  right: -6px;
  font-style: normal;
  font-size: 10px;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 6px;
  color: #fff;
  background: var(--gh2-danger);
}

/* ---- skin collection grouped by character ---- */
.gh2-skin-group { display: flex; flex-direction: column; gap: 10px; }
.gh2-skin-group__title {
  margin: 4px 0 0;
  color: var(--gh2-silver-dim);
  font-size: 14px;
  font-weight: 700;
}
.gh2-skin-group__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.gh2-skin-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
}
.gh2-skin-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--gh2-line-soft);
  background: rgba(0, 0, 0, 0.4);
}
.gh2-skin-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gh2-skin-card__kind {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  color: var(--gh2-parchment);
  background: rgba(4, 8, 10, 0.78);
  border: 1px solid var(--gh2-line);
}
.gh2-skin-card__lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: rgba(2, 5, 7, 0.5);
}
.gh2-skin-card__name { color: var(--gh2-parchment); font-size: 14px; }
.gh2-skin-card__rarity { font-size: 11px; color: var(--gh2-silver-faint); }
.gh2-skin-card__desc { font-size: 11px; color: var(--gh2-silver-faint); line-height: 1.4; min-height: 30px; }
.gh2-skin-card[data-rarity="rare"] { border-color: rgba(232, 201, 138, 0.4); }
.gh2-skin-card[data-rarity="rare"] .gh2-skin-card__rarity { color: var(--gh2-lamp); }
.gh2-skin-card[data-rarity="epic"] {
  border-color: rgba(139, 122, 181, 0.55);
  box-shadow: 0 0 14px rgba(139, 122, 181, 0.2);
}
.gh2-skin-card[data-rarity="epic"] .gh2-skin-card__rarity { color: var(--gh2-corruption); }
.gh2-skin-card.is-locked { opacity: 0.75; }
.gh2-skin-card.is-equipped {
  border-color: rgba(67, 162, 145, 0.55);
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.12), rgba(4, 8, 10, 0.7));
}

@media (max-width: 1024px) {
  .gh2-shop { width: 96vw; padding: 20px 14px 28px; }
  .gh2-shop__gacha { grid-template-columns: 1fr; }
  .gh2-shop__pull,
  .gh2-shop__pulls { width: 100%; min-width: 0; }
  .gh2-shop__grid { grid-template-columns: repeat(2, 1fr); }
  .gh2-shop__rates { flex-direction: column; }
  .gh2-skin-group__cards { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   卡组编辑器 Deck Builder
   ============================================================ */
.gh2-deck-editor {
  width: min(1080px, 96vw);
  margin: 0 auto;
  padding: 22px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gh2-deck-editor__head { display: flex; align-items: center; gap: 16px; }
.gh2-deck-editor__head h2 {
  flex: 1;
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 26px;
}
.gh2-deck-editor__faction {
  padding: 6px 14px;
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
  color: var(--gh2-lamp);
  font-size: 13px;
  white-space: nowrap;
}

.gh2-deck-faction,
.gh2-deck-leaders {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gh2-deck-faction__btn,
.gh2-deck-leader {
  cursor: pointer;
  padding: 8px 18px;
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gh2-silver-dim);
  font-size: 14px;
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.gh2-deck-faction__btn:hover,
.gh2-deck-leader:hover { border-color: var(--gh2-gold); color: var(--gh2-parchment); }
.gh2-deck-faction__btn.is-selected,
.gh2-deck-leader.is-selected {
  border-color: rgba(232, 201, 138, 0.6);
  background: rgba(232, 201, 138, 0.12);
  color: var(--gh2-lamp);
}

.gh2-deck-preset {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: var(--gh2-radius);
  background: rgba(13, 24, 26, 0.6);
}
.gh2-deck-preset__head { color: var(--gh2-lamp); font-size: 12px; letter-spacing: 0.18em; }
.gh2-deck-preset__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.gh2-deck-preset__btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: var(--gh2-ink-1);
  color: var(--gh2-silver-dim);
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease, transform 0.12s ease;
}
.gh2-deck-preset__btn b { color: var(--gh2-silver); font-size: 14px; }
.gh2-deck-preset__btn small { color: var(--gh2-silver-faint); font-size: 11px; line-height: 1.5; }
.gh2-deck-preset__btn:hover { transform: translateY(-2px); border-color: var(--gh2-lamp-dim); }

.gh2-deck-body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
}
.gh2-deck-pool,
.gh2-deck-current {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
}
.gh2-deck-pool h3,
.gh2-deck-current h3 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 17px;
}

.gh2-deck-pool__list,
.gh2-deck-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 52vh;
  overflow-y: auto;
}

.gh2-deck-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--gh2-line-soft);
  border-left: 3px solid var(--gh2-neutral);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.gh2-deck-card--society { border-left-color: var(--gh2-society); }
.gh2-deck-card--cult { border-left-color: var(--gh2-cult); }
.gh2-deck-card__main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.gh2-deck-card__main b { color: var(--gh2-parchment); font-size: 14px; }
.gh2-deck-card__type,
.gh2-deck-card__power,
.gh2-deck-card__cost,
.gh2-deck-card__kw { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-deck-card__cost { color: var(--gh2-lamp); display: inline-flex; align-items: center; gap: 3px; }
.gh2-deck-card__count {
  min-width: 22px;
  text-align: center;
  color: var(--gh2-lamp);
  font-weight: 700;
}
.gh2-deck-card__add,
.gh2-deck-list__remove {
  cursor: pointer;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(232, 201, 138, 0.45);
  border-radius: 50%;
  background: rgba(232, 201, 138, 0.1);
  color: var(--gh2-lamp);
  font-size: 16px;
  line-height: 1;
}
.gh2-deck-card__add:hover { background: rgba(232, 201, 138, 0.22); }
.gh2-deck-card__add:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  border-color: var(--gh2-line);
  background: rgba(255, 255, 255, 0.03);
}

.gh2-deck-list__row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.gh2-deck-list__row b { color: var(--gh2-parchment); font-size: 14px; }
.gh2-deck-list__row small { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-deck-list__count { color: var(--gh2-lamp); font-weight: 700; }
.gh2-deck-list__remove {
  border-color: rgba(189, 106, 91, 0.5);
  background: rgba(189, 106, 91, 0.12);
  color: var(--gh2-danger);
}
.gh2-deck-list__remove:hover { background: rgba(189, 106, 91, 0.24); }
.gh2-deck-list__empty { color: var(--gh2-silver-faint); font-size: 13px; padding: 6px 0; }

.gh2-deck-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--gh2-silver-dim);
}
.gh2-deck-breakdown b { color: var(--gh2-parchment); }

.gh2-deck-valid {
  padding: 10px 14px;
  border: 1px solid rgba(67, 162, 145, 0.5);
  border-radius: 8px;
  background: rgba(67, 162, 145, 0.12);
  color: var(--gh2-cult-glow);
  font-size: 13px;
}
.gh2-deck-invalid {
  padding: 10px 14px;
  border: 1px solid rgba(189, 106, 91, 0.45);
  border-radius: 8px;
  background: rgba(189, 106, 91, 0.1);
  color: var(--gh2-silver-dim);
  font-size: 13px;
}
.gh2-deck-invalid b { color: var(--gh2-danger); }
.gh2-deck-invalid ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }

.gh2-deck-actions { display: flex; gap: 14px; justify-content: flex-end; }
.gh2-deck-save,
.gh2-deck-start {
  cursor: pointer;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
}
.gh2-deck-save {
  border: 1px solid var(--gh2-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gh2-silver-dim);
}
.gh2-deck-save:hover { border-color: var(--gh2-gold); color: var(--gh2-parchment); }
.gh2-deck-start {
  border: 1px solid rgba(232, 201, 138, 0.6);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.2), rgba(4, 8, 10, 0.7));
  color: var(--gh2-parchment);
  font-weight: 700;
}
.gh2-deck-start:hover { box-shadow: var(--gh2-glow-lamp); }
.gh2-deck-start.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
  border-color: var(--gh2-line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gh2-silver-faint);
}

@media (max-width: 1024px) {
  .gh2-deck-editor { width: 96vw; padding: 16px 12px 24px; }
  .gh2-deck-body { grid-template-columns: 1fr; }
  .gh2-deck-pool__list,
  .gh2-deck-list { max-height: 40vh; }
  .gh2-deck-actions { justify-content: stretch; }
  .gh2-deck-save,
  .gh2-deck-start { flex: 1; }
}

/* ============================================================
   卡牌图鉴 Card Codex
   ============================================================ */
.gh2-codex {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 26px 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gh2-codex__header { display: flex; align-items: center; gap: 18px; }
.gh2-codex__title {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 28px;
  letter-spacing: 0.1em;
}
.gh2-codex-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--gh2-silver-dim);
  background: transparent;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  cursor: pointer;
}
.gh2-codex-back .gh2-icon { width: 16px; height: 16px; }
.gh2-codex-back:hover { color: var(--gh2-lamp); border-color: var(--gh2-lamp-dim); }

.gh2-codex__filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
}
.gh2-codex-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
  background: var(--gh2-ink-1);
  color: var(--gh2-silver-faint);
}
.gh2-codex-search .gh2-icon { width: 16px; height: 16px; }
.gh2-codex-search__input {
  flex: 1;
  min-width: 0;
  color: var(--gh2-parchment);
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
}
.gh2-codex-search__input::placeholder { color: var(--gh2-silver-faint); }

.gh2-codex-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gh2-codex-chip {
  padding: 7px 16px;
  color: var(--gh2-silver-dim);
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  font-size: 13px;
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.gh2-codex-chip:hover { border-color: var(--gh2-gold); color: var(--gh2-parchment); }
.gh2-codex-chip.is-selected {
  border-color: rgba(232, 201, 138, 0.6);
  background: rgba(232, 201, 138, 0.16);
  color: var(--gh2-lamp);
  box-shadow: inset 0 0 0 1px rgba(232, 201, 138, 0.25);
}

.gh2-codex__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--gh2-silver-faint);
  font-size: 13px;
}

.gh2-codex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gh2-codex-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 16px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(160deg, rgba(232, 201, 138, 0.05), rgba(4, 8, 10, 0.88));
  overflow: hidden;
}
.gh2-codex-card--cult {
  background: linear-gradient(160deg, rgba(67, 162, 145, 0.1), rgba(4, 16, 14, 0.9));
}
.gh2-codex-card--neutral {
  background: linear-gradient(160deg, rgba(154, 150, 138, 0.08), rgba(8, 10, 10, 0.9));
}
.gh2-codex-card__top {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 10px;
  color: var(--gh2-lamp);
}
.gh2-codex-card__top .gh2-icon { width: 15px; height: 15px; }
.gh2-codex-card__art {
  position: relative;
  display: block;
  aspect-ratio: 512 / 380;
  border-bottom: 1px solid var(--gh2-line);
  overflow: hidden;
}
.gh2-codex-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.gh2-codex-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 10, 0.35) 0%, rgba(4, 8, 10, 0) 35%, rgba(4, 8, 10, 0.45) 100%);
  pointer-events: none;
}
.gh2-codex-card__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
}
.gh2-codex-card__name-zh {
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 19px;
}
.gh2-codex-card__name-en {
  color: var(--gh2-silver-faint);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.gh2-codex-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
}
.gh2-codex-card__tag {
  padding: 2px 9px;
  font-size: 11px;
  color: var(--gh2-silver-dim);
  border: 1px solid var(--gh2-line);
  border-radius: 999px;
}
.gh2-codex-card__printed {
  display: flex;
  gap: 14px;
  padding: 0 16px;
  font-size: 12px;
  color: var(--gh2-silver-dim);
}
.gh2-codex-card__printed .gh2-icon { width: 13px; height: 13px; }
.gh2-codex-card__keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px;
}
.gh2-codex-card__keyword {
  padding: 2px 9px;
  font-size: 11px;
  color: var(--gh2-lamp);
  border: 1px solid rgba(232, 201, 138, 0.35);
  border-radius: 999px;
}
.gh2-codex-card__effect {
  padding: 0 16px;
  color: var(--gh2-silver);
  font-size: 12.5px;
  line-height: 1.6;
}
.gh2-codex-card__flavor {
  padding: 0 16px;
  color: var(--gh2-silver-faint);
  font-size: 11.5px;
  font-style: italic;
  line-height: 1.5;
}

.gh2-codex-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 20px;
  border: 1px dashed var(--gh2-line);
  border-radius: var(--gh2-radius);
  color: var(--gh2-silver-faint);
}
.gh2-codex-empty__icon .gh2-icon { width: 38px; height: 38px; }

@media (max-width: 1024px) {
  .gh2-codex { width: 96vw; padding: 20px 14px 28px; gap: 14px; }
  .gh2-codex__filters { padding: 14px; gap: 10px; }
  .gh2-codex-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}

/* ── 战绩记录 ─────────────────────────────────────────────── */
.gh2-history {
  width: min(960px, 94vw);
  margin: 0 auto;
  padding: 26px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gh2-history__head { display: flex; align-items: center; gap: 20px; }
.gh2-history__heading h2 {
  margin: 0;
  color: var(--gh2-parchment);
  font-family: var(--gh2-font-display);
  font-size: 28px;
}
.gh2-history__heading p { margin: 4px 0 0; color: var(--gh2-silver-faint); font-size: 13px; }

.gh2-history__overview {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gh2-history__stat {
  padding: 14px 10px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gh2-history__stat b { color: var(--gh2-parchment); font-family: var(--gh2-font-display); font-size: 22px; }
.gh2-history__stat small { color: var(--gh2-silver-faint); font-size: 12px; }

.gh2-history__group h3 { margin: 0 0 10px; color: var(--gh2-lamp); font-size: 14px; letter-spacing: 0.06em; }
.gh2-history__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gh2-history__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.4);
}
.gh2-history__row-name { flex: 1 1 auto; color: var(--gh2-parchment); font-size: 14px; min-width: 0; }
.gh2-history__row-meta { color: var(--gh2-silver-dim); font-size: 12px; }
.gh2-history__row-rate { width: 56px; text-align: right; color: var(--gh2-lamp); font-size: 13px; }

.gh2-history__recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gh2-history__match {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
}
.gh2-history__match-outcome {
  flex: 0 0 auto;
  width: 38px;
  text-align: center;
  font-family: var(--gh2-font-display);
  font-size: 15px;
  color: var(--gh2-silver-dim);
}
.gh2-history__match.is-win .gh2-history__match-outcome { color: var(--gh2-lamp); }
.gh2-history__match.is-loss .gh2-history__match-outcome { color: var(--gh2-danger); }
.gh2-history__match-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gh2-history__match-body b { color: var(--gh2-parchment); font-size: 14px; }
.gh2-history__match-body small { color: var(--gh2-silver-faint); font-size: 12px; }
.gh2-history__match-time { flex: 0 0 auto; color: var(--gh2-silver-faint); font-size: 12px; }

.gh2-history__empty {
  padding: 40px 20px;
  border: 1px dashed var(--gh2-line);
  border-radius: var(--gh2-radius);
  color: var(--gh2-silver-faint);
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .gh2-history { width: 96vw; padding: 20px 14px 28px; gap: 16px; }
  .gh2-history__overview { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .gh2-history__overview { grid-template-columns: repeat(2, 1fr); }
}

/* ── 调查员生涯 ─────────────────────────────────────────────── */
.gh2-career__overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gh2-career__stat {
  padding: 14px 10px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.gh2-career__stat b { color: var(--gh2-parchment); font-family: var(--gh2-font-display); font-size: 22px; }
.gh2-career__stat small { color: var(--gh2-silver-faint); font-size: 12px; }

.gh2-career__duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.gh2-career__group h3 { margin: 0 0 10px; color: var(--gh2-lamp); font-size: 14px; letter-spacing: 0.06em; }
.gh2-career__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gh2-career__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--gh2-line-soft);
  border-radius: var(--gh2-radius);
  background: rgba(4, 8, 10, 0.4);
}
.gh2-career__row-crest { flex: 0 0 auto; width: 28px; text-align: center; font-size: 18px; color: var(--gh2-lamp); }
.gh2-career__row-portrait {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--gh2-radius);
  overflow: hidden;
  background: rgba(232, 201, 138, 0.08);
}
.gh2-career__portrait { width: 100%; height: 100%; object-fit: cover; }
.gh2-career__row-icon { font-size: 18px; color: var(--gh2-lamp); }
.gh2-career__row-name { flex: 1 1 auto; color: var(--gh2-parchment); font-size: 14px; min-width: 0; }
.gh2-career__row-meta { color: var(--gh2-silver-dim); font-size: 12px; }
.gh2-career__row-rate { width: 56px; text-align: right; color: var(--gh2-lamp); font-size: 13px; }

.gh2-career__mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.gh2-career__mini-grid .gh2-career__stat b { font-size: 19px; }

.gh2-career__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gh2-career__link {
  padding: 8px 16px;
  border: 1px solid var(--gh2-line);
  border-radius: var(--gh2-radius);
  background: linear-gradient(120deg, rgba(232, 201, 138, 0.08), rgba(8, 16, 18, 0.8));
  color: var(--gh2-silver);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease;
}
.gh2-career__link:hover { border-color: var(--gh2-lamp-dim); transform: translateY(-1px); }
.gh2-career__link:focus-visible { outline: 2px solid var(--gh2-lamp); outline-offset: 2px; }

@media (max-width: 1024px) {
  .gh2-career__duo { grid-template-columns: 1fr; gap: 16px; }
  .gh2-career__overview { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .gh2-career__overview { grid-template-columns: repeat(2, 1fr); }
  .gh2-career__mini-grid { grid-template-columns: repeat(2, 1fr); }
}
