:root {
  --surface-page: #f8fafc;
  --surface-card: #ffffff;
  --surface-soft: #f6f7fb;
  --surface-muted: rgba(255, 255, 255, 0.12);
  --text-main: #0f172a;
  --text-soft: #475569;
  --text-muted: #94a3b8;
  --brand-red: #b60101;
  --brand-red-dark: #8f0f0f;
  --brand-ink: #111827;
  --success: #047857;
  --warning: #b45309;
  --danger: #be123c;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 22px 50px rgba(15, 23, 42, 0.09);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.header-bg-color {
  background: radial-gradient(circle, rgba(182, 1, 1, 1) 8%, rgba(182, 1, 1, 1) 61%, rgba(31, 31, 31, 1));
  box-shadow: 0 14px 32px rgba(182, 1, 1, 0.14);
}

.max-w-7xl {
  max-width: 101rem !important;
}

.hero-index-bg,
.docs-header {
  background: radial-gradient(circle, rgba(182, 1, 1, 1) 8%, rgba(182, 1, 1, 1) 61%, rgba(31, 31, 31, 1) 100%);
}

.login-hero {
  box-shadow: 0 34px 80px rgba(127, 16, 16, 0.14);
}

.login-card-shell {
  position: relative;
  box-shadow: 0 28px 54px rgba(182, 1, 1, 0.14);
}

.login-card-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.login-card {
  position: relative;
  box-shadow:
    0 22px 48px rgba(127, 16, 16, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.login-docs-button {
  border-color: rgba(17, 24, 39, 0.08) !important;
  background: var(--brand-ink);
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.14);
}

.login-docs-button:hover {
  border-color: rgba(17, 24, 39, 0.08) !important;
  background: #0b1220;
  color: #fff !important;
  box-shadow: 0 20px 36px rgba(17, 24, 39, 0.18);
}

.login-docs-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.12), 0 18px 34px rgba(17, 24, 39, 0.16);
}

.login-submit-button {
  background: var(--brand-ink);
  box-shadow:
    0 18px 28px rgba(182, 1, 1, 0.14),
    0 12px 24px rgba(17, 24, 39, 0.18);
}

.login-submit-button:hover {
  background: #0b1220;
  box-shadow:
    0 22px 34px rgba(182, 1, 1, 0.18),
    0 16px 28px rgba(17, 24, 39, 0.22);
  transform: translateY(-1px);
}

.login-submit-button:focus-visible {
  box-shadow:
    0 0 0 4px rgba(17, 24, 39, 0.12),
    0 18px 28px rgba(182, 1, 1, 0.16),
    0 12px 24px rgba(17, 24, 39, 0.18);
}

.login-support {
  background: rgba(240, 248, 255, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(191, 219, 254, 0.78),
    0 14px 26px rgba(56, 189, 248, 0.08);
}

.login-lottie-section {
  max-width: 28rem;
}


.login-lottie-player {
  display: block;
  width: 100%;
  height: 250px;
  margin-top: 0.55rem;
}

.login-telegram-link {
  background: var(--brand-ink);
  box-shadow:
    0 18px 34px rgba(17, 24, 39, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.login-telegram-link:hover {
  background: #0b1220;
  box-shadow:
    0 22px 40px rgba(17, 24, 39, 0.24),
    0 10px 24px rgba(56, 189, 248, 0.08);
  transform: translateY(-1px);
}

.login-telegram-link:focus-visible {
  box-shadow:
    0 0 0 4px rgba(17, 24, 39, 0.12),
    0 18px 34px rgba(17, 24, 39, 0.2);
}

.login-telegram-link__icon {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.login-telegram-link:hover .login-telegram-link__icon {
  background: rgba(255, 255, 255, 0.08);
}

.login-telegram-link__action {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.header-link svg {
  width: 20px;
  height: 20px;
}

@keyframes serve-blink {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.2;
    transform: translateY(-2px);
  }
}

.serve-icon-blink {
  animation: serve-blink 1s ease-in-out infinite;
}

.site-topbar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.site-topbar__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-topbar__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.site-topbar__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  border-radius: 1.35rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-topbar__brand:hover .site-topbar__logo-wrap {
  transform: translateY(-1px);
}

.site-topbar__copy {
  display: block;
  min-width: 0;
}

.site-topbar__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-topbar__title {
  margin-top: 0.28rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.site-topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.site-topbar__guest-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.7rem;
}

.site-topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.site-topbar__cta:hover {
  transform: translateY(-1px);
}

.site-topbar__cta--ghost {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.site-topbar__cta--ghost:hover,
.site-topbar__cta--ghost.is-active {
  color: var(--brand-red);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(182, 1, 1, 0.14), 0 14px 30px rgba(15, 23, 42, 0.08);
}

.site-topbar__cta--primary {
  color: #fff;
  background: var(--brand-ink);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.14);
}

.site-topbar__cta--primary:hover,
.site-topbar__cta--primary.is-active {
  color: #fff;
  background: #0b1220;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.18);
}

.site-topbar__cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
}

.site-user-menu {
  position: relative;
  padding-bottom: 0.7rem;
  margin-bottom: -0.7rem;
}

.site-user-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 18rem;
  height: 0.8rem;
}

.site-user-menu__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  text-decoration: none;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.site-user-menu__trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.site-user-menu__trigger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(182, 1, 1, 0.12), 0 20px 42px rgba(15, 23, 42, 0.12);
}

.site-user-menu__avatar {
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.site-user-menu__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #d14b21, #b60101 55%, #7f1010 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-user-menu__chevron {
  position: absolute;
  right: -0.15rem;
  bottom: -0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--text-soft);
  font-size: 0.65rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease, color 0.18s ease;
}

.site-user-menu.is-menu-open .site-user-menu__chevron,
.site-user-menu:focus-within .site-user-menu__chevron {
  transform: rotate(180deg);
  color: var(--brand-red);
}

.site-user-menu__panel {
  position: absolute;
  top: calc(100% + 0.3rem);
  right: 0;
  z-index: 30;
  width: min(18rem, calc(100vw - 1.5rem));
  padding: 0.68rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-user-menu.is-menu-open .site-user-menu__panel,
.site-user-menu:focus-within .site-user-menu__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.site-user-menu__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.2rem 0.2rem 0.75rem;
}

.site-user-menu__panel-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  background: #e2e8f0;
  flex-shrink: 0;
}

.site-user-menu__panel-avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #d14b21, #b60101 55%, #7f1010 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-user-menu__identity {
  min-width: 0;
}

.site-user-menu__name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-user-menu__email {
  margin-top: 0.24rem;
  font-size: 0.84rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-user-menu__links {
  display: grid;
  gap: 0.45rem;
}

.site-user-menu__link,
.site-user-menu__logout {
  appearance: none;
  width: 100%;
  border: 0;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.28rem 0.82rem;
  border-radius: 0.95rem;
  background: #f8fafc;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.site-user-menu__link:hover,
.site-user-menu__logout:hover,
.site-user-menu__link.is-active {
  transform: translateY(-1px);
  background: #fff4f4;
  color: var(--danger);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.site-user-menu__logout {
  margin-top: 0.55rem;
  cursor: pointer;
  text-align: left;
}

.site-user-menu__logout:hover {
  background: #111827;
  color: #fff;
}

.site-user-menu__link-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  color: currentColor;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.site-user-menu__link-text {
  min-width: 0;
  display: grid;
  gap: 0.14rem;
}

.site-user-menu__link-title {
  font-size: 0.9rem;
  font-weight: 800;
}

.site-user-menu__link-note {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.site-user-menu__link:hover .site-user-menu__link-note,
.site-user-menu__link.is-active .site-user-menu__link-note {
  color: rgba(190, 18, 60, 0.78);
}

.site-user-menu__logout:hover .site-user-menu__link-note {
  color: rgba(255, 255, 255, 0.7);
}

.site-sportsbar {
  box-shadow: 0 14px 32px rgba(182, 1, 1, 0.14);
}

.account-page {
  max-width: 101rem;
  margin: 0 auto;
  padding: 0.5rem 0.5rem 1.6rem;
}

.account-shell {
  overflow: hidden;
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-strong);
}

.account-hero {
  position: relative;
  overflow: hidden;
  padding: 1.55rem;
  background: var(--brand-ink);
  color: #fff;
}

.account-hero__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  pointer-events: none;
}

.account-hero__orb--one {
  top: -2.5rem;
  right: -2.8rem;
  width: 14rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.1);
}

.account-hero__orb--two {
  bottom: -2rem;
  left: 28%;
  width: 10rem;
  height: 10rem;
  background: rgba(250, 204, 21, 0.16);
}

.account-hero__main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.account-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.account-avatar {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.18);
}

.account-avatar--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.account-title {
  margin: 0.55rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.account-meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
}

.account-meta__text {
  font-size: 0.92rem;
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.account-chip--link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.account-hero-stats {
  display: grid;
  gap: 0.8rem;
}

.account-hero-stat {
  padding: 1rem 1.1rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.account-hero-stat__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.account-hero-stat__value {
  margin-top: 0.55rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.account-hero-stat__inline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.account-hero-stat__note {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.account-progress {
  margin-top: 0.9rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.account-progress__bar {
  height: 100%;
  border-radius: inherit;
  background: #fbbf24;
}

.account-content {
  display: grid;
  gap: 1.5rem;
  padding: 1.15rem;
}

.account-flashes {
  display: grid;
  gap: 0.7rem;
}

.account-flash {
  padding: 0.95rem 1rem;
  border-radius: 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
}

.account-flash--success {
  background: #ecfdf5;
  color: #065f46;
}

.account-flash--error {
  background: #fff1f2;
  color: #9f1239;
}

.account-flash--default {
  background: #f8fafc;
  color: #334155;
}

.account-grid {
  display: grid;
  gap: 1.5rem;
}

.account-card {
  padding: 1.35rem;
  border-radius: 1.75rem;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.account-card--dark {
  background: #0f172a;
  color: #e2e8f0;
}

.account-card--token {
  padding: 1.55rem;
  min-height: 100%;
}

.account-card__head {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.account-card__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.account-card__title {
  margin: 0.45rem 0 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-card__lead {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.account-card--dark .account-card__eyebrow,
.account-card--dark .account-card__lead {
  color: rgba(226, 232, 240, 0.72);
}

.account-card--dark .account-card__title {
  color: #fff;
}

.account-card code {
  padding: 0.14rem 0.38rem;
  border-radius: 0.55rem;
  background: rgba(15, 23, 42, 0.06);
  color: inherit;
}

.account-card--dark code {
  background: rgba(255, 255, 255, 0.08);
}

.account-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(182, 1, 1, 0.2);
}

.account-subgrid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.account-mini-card {
  padding: 1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  margin-top: 20px;
  border: 1px solid #e4e4e4;

}

.account-mini-card__label {
  font-size: 0.92rem;
  color: var(--text-soft);
}

.account-mini-card__value {
  margin-top: 0.5rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-mini-card__text {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.account-stat-list {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.65rem;
}

.account-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.account-stat-row strong {
  color: var(--text-main);
}

.account-sports {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.account-sport-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.account-token-box {
  margin-top: 1.25rem;
  padding: 1.2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.account-token-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.56);
}

.account-token-value {
  margin-top: 0.8rem;
  padding: 1rem 1.05rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.88rem;
  color: #fff;
  word-break: break-all;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.account-token-value.is-copied {
  animation: token-copied-flash 0.7s ease;
}

.account-token-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.account-meta-list {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.8rem;
}

.account-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.account-card--dark .account-meta-row {
  color: rgba(226, 232, 240, 0.78);
}

.account-card--dark .account-meta-row strong {
  color: #fff;
}

.account-usage-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.account-usage-row {
  display: grid;
  gap: 0.45rem;
}

.account-usage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.account-usage-meta strong {
  color: var(--text-main);
}

.account-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.account-bar__fill {
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.account-bar__fill.is-warning {
  background: #f59e0b;
}

.account-bar__fill.is-danger {
  background: #e11d48;
}

.account-bar__fill.is-muted {
  background: #94a3b8;
}

.account-form {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.15rem;
}

.account-form-grid {
  display: grid;
  gap: 1rem;
}

.account-field {
  display: grid;
  gap: 0.5rem;
}

.account-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-soft);
}

.account-error {
  font-size: 0.85rem;
  color: var(--danger);
}

.account-info-box {
  padding: 0.9rem 1rem;
  border-radius: 1.25rem;
  background: #f8fafc;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.account-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.account-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.account-button {
  appearance: none;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.account-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.account-button--primary {
  background: var(--brand-red);
  color: #fff;
}

.account-button--primary:hover {
  background: var(--brand-red-dark);
}

.account-button--dark {
  background: var(--brand-ink);
  color: #fff;
}

.account-button--dark:hover {
  background: #1f2937;
}

.account-button--light {
  background: rgba(255, 255, 255, 0.98);
  color: var(--brand-ink);
}

.account-button.is-copying {
  opacity: 0.85;
  transform: scale(0.985);
}

.account-button.is-copied {
  background: #dcfce7;
  color: #166534;
  animation: copy-success-pop 0.38s ease;
}

.account-button.is-copy-error {
  background: #ffe4e6;
  color: #9f1239;
  animation: copy-success-pop 0.38s ease;
}

.account-mini-card--muted {
  margin-top: 1rem;
  background: #f8fafc;
}

.account-hero--activity {
  background: #111827;
}

.account-hero--tester {
  background: #101826;
}

@keyframes copy-success-pop {
  0% {
    transform: scale(0.96);
  }
  65% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes token-copied-flash {
  0% {
    background: rgba(255, 255, 255, 0.06);
  }
  50% {
    background: rgba(187, 247, 208, 0.18);
  }
  100% {
    background: rgba(255, 255, 255, 0.06);
  }
}

.account-section {
  display: grid;
  gap: 1.25rem;
}

.tester-workspace {
  display: grid;
  gap: 1.5rem;
}

.tester-panel {
  padding: 1.35rem;
  border-radius: 1.75rem;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.tester-panel--controls {
  background: #fffdfb;
}

.tester-panel--response {
  background: #f4f7ff;
}

.tester-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.tester-panel__head--response {
  align-items: center;
}

.tester-panel__title {
  margin: 0.4rem 0 0;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
}

.tester-form {
  margin-top: 1.35rem;
  display: grid;
  gap: 1rem;
}

.tester-field {
  display: grid;
  gap: 0.45rem;
}

.tester-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.tester-input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.82rem 1rem;
  border: 0;
  border-radius: 1.15rem;
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.96rem;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
  outline: none;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tester-input:focus {
  box-shadow: inset 0 0 0 1px rgba(182, 1, 1, 0.35), 0 0 0 4px rgba(182, 1, 1, 0.08);
}

.tester-input[readonly],
.tester-input:disabled {
  color: #475569;
}

.tester-input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
}

.tester-token-row {
  display: grid;
  gap: 0.8rem;
}

.tester-copy-button {
  min-width: 7rem;
}

.tester-endpoint-meta {
  display: grid;
  gap: 0.8rem;
  padding: 0.2rem 0 0.2rem;
}

.tester-endpoint-description {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.tester-auto-params {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tester-auto-param {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.tester-params {
  display: grid;
  gap: 0.9rem;
  padding-top: 0.4rem;
}

.tester-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 0.35rem;
}

.tester-submit.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

.tester-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.tester-status--muted {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-soft);
}

.tester-status--success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.tester-status--error {
  background: rgba(225, 29, 72, 0.12);
  color: #9f1239;
}

.tester-response-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.tester-request-preview {
  margin-top: 1.3rem;
  padding: 1rem 1.15rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.6;
  word-break: break-all;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.tester-response-body {
  margin-top: 1rem;
  min-height: 38rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.32);
  overflow: hidden;
}

.tester-response-code {
  margin: 0;
  height: 100%;
  min-height: 38rem;
  padding: 1.3rem 1.4rem;
  overflow: auto;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.tester-json-placeholder {
  color: #64748b;
  font-style: normal;
}

.tester-json-key {
  color: #0284c7;
}

.tester-json-string {
  color: #f59e0b;
}

.tester-json-number {
  color: #16a34a;
}

.tester-json-boolean {
  color: #7c3aed;
}

.tester-json-null {
  color: #94a3b8;
}

.tester-empty {
  padding: 1.1rem 1.15rem;
  border-radius: 1.2rem;
  background: #f8fafc;
  color: var(--text-soft);
  line-height: 1.7;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.account-section__head {
  display: grid;
  gap: 0.6rem;
}

.account-section__title {
  margin: 0.4rem 0 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-section__text {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.account-analytics-grid {
  display: grid;
  gap: 1.5rem;
}

.account-chart-card {
  padding-bottom: 1.1rem;
}

.account-chart-card__head {
  display: grid;
  gap: 0.9rem;
}

.account-chart-card__title {
  margin: 0.35rem 0 0;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-inline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.account-inline-metric {
  display: grid;
  gap: 0.12rem;
  min-width: 5.6rem;
  padding: 0.7rem 0.8rem;
  border-radius: 1.1rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.1);
}

.account-inline-metric strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-inline-metric span {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.account-chart-shell {
  position: relative;
  min-height: 21rem;
  margin-top: 1.25rem;
  padding: 1rem 0.25rem 0 0;
}

.account-chart-shell--compact {
  min-height: 19rem;
}

.account-chart-shell canvas {
  width: 100% !important;
  height: 100% !important;
}

.account-chart-empty {
  position: absolute;
  inset: 4.5rem 0.75rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border-radius: 1.4rem;
  background: rgba(248, 250, 252, 0.92);
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  text-align: center;
}

.account-chart-empty--static {
  position: static;
  min-height: 13rem;
  inset: auto;
}

.account-activity-card__head {
  gap: 1rem;
}

.account-activity-summary {
  display: grid;
  gap: 0.7rem;
}

.account-activity-summary__item {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0.95rem;
  border-radius: 1.15rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.1);
}

.account-activity-summary__item span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.account-activity-summary__item strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-activity-timeline {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.85rem;
}

.activity-event {
  display: grid;
  grid-template-columns: 4.4rem 1.1rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: flex-start;
}

.activity-event__time {
  padding-top: 0.3rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.activity-event__rail {
  position: relative;
  min-height: 100%;
}

.activity-event__rail::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -1rem;
  left: 50%;
  width: 0.28rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #eef2ff;
}

.activity-event:last-child .activity-event__rail::before {
  bottom: 0.45rem;
}

.activity-event__dot {
  position: relative;
  z-index: 1;
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.42rem auto 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 4px #0f172a, 0 0 0 6px #fff;
}

.activity-event__body {
  padding: 0.95rem 1rem;
  border-radius: 1.3rem;
  background: #f8fafc;
  box-shadow: var(--shadow-soft);
}

.activity-event__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.activity-event__endpoint {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
  word-break: break-word;
}

.activity-event__sport {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: #0f766e;
  font-size: 0.86rem;
  font-weight: 800;
}

.activity-event__query {
  margin-top: 0.55rem;
  color: #94a3b8;
  font-size: 0.96rem;
  font-weight: 700;
  word-break: break-word;
}

.activity-event__meta {
  margin-top: 0.6rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 600;
}

.account-tickets-head {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-note {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.account-ticket-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.account-ticket {
  padding: 1rem;
  border-radius: 1.45rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.account-ticket__top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.account-ticket__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.account-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.account-pill--kind {
  background: #fff;
  color: var(--text-soft);
  box-shadow: var(--shadow-soft);
}

.account-pill--new {
  background: #e0f2fe;
  color: #0369a1;
}

.account-pill--progress {
  background: #fef3c7;
  color: #b45309;
}

.account-pill--resolved {
  background: #dcfce7;
  color: #15803d;
}

.account-pill--closed {
  background: #e2e8f0;
  color: #475569;
}

.account-ticket__title {
  margin: 0.8rem 0 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-main);
}

.account-ticket__message {
  margin-top: 0.65rem;
  white-space: pre-line;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.account-ticket__date {
  color: var(--text-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.account-ticket-reply {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1.15rem;
  background: #ecfdf5;
  color: #065f46;
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}

.account-ticket-reply__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #047857;
}

.account-ticket-reply__body {
  margin-top: 0.55rem;
  white-space: pre-line;
  font-size: 0.92rem;
  line-height: 1.65;
}

.account-empty {
  padding: 2.2rem 1.25rem;
  border-radius: 1.45rem;
  background: #f8fafc;
  color: var(--text-soft);
  text-align: center;
  font-size: 0.94rem;
  line-height: 1.6;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

.cabinet-input,
.cabinet-file-input,
.cabinet-select,
.cabinet-textarea {
  appearance: none;
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 1rem;
  background: #fff;
  color: var(--text-main);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2), 0 10px 22px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.cabinet-input,
.cabinet-select {
  min-height: 3rem;
  padding: 0.8rem 1rem;
}

.cabinet-textarea {
  min-height: 9rem;
  padding: 0.9rem 1rem;
  resize: vertical;
}

.cabinet-file-input {
  padding: 0.8rem 1rem;
  background: #f8fafc;
}

.cabinet-file-input::file-selector-button {
  margin-right: 0.9rem;
  border: 0;
  border-radius: 0.85rem;
  padding: 0.65rem 0.95rem;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.cabinet-input:focus,
.cabinet-file-input:focus,
.cabinet-select:focus,
.cabinet-textarea:focus {
  box-shadow: inset 0 0 0 1px rgba(182, 1, 1, 0.35), 0 0 0 4px rgba(182, 1, 1, 0.1);
}

.cabinet-checkbox {
  width: 1rem;
  height: 1rem;
  accent-color: var(--brand-red);
}

.support-hero {
  position: relative;
  overflow: hidden;
  padding: 1.6rem;
  background: #111827;
  color: #fff;
}


.support-hero__main {
  position: relative;
  display: grid;
  gap: 1.35rem;
}

.support-hero__profile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.support-hero__avatar {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 999px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.support-hero__avatar--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #d14b21, #b60101 55%, #7f1010 100%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  text-transform: uppercase;
}

.support-hero__title {
  margin: 0.55rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
}

.support-hero__lead {
  margin-top: 0.9rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.97rem;
  line-height: 1.7;
}

.support-hero__chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.support-hero__stats {
  display: grid;
  gap: 0.8rem;
}

.support-hero__stat {
  padding: 1rem 1.1rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.support-hero__stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.support-hero__stat-value {
  margin-top: 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.support-hero__stat-note {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  line-height: 1.6;
}

.support-layout {
  display: grid;
  gap: 1.5rem;
}

.support-panel {
  padding: 1.35rem;
  border-radius: 1.75rem;
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}

.support-panel--form {
  background: #fffaf8;
}

.support-panel__head {
  display: grid;
  gap: 0.75rem;
}

.support-type-grid {
  display: grid;
  gap: 0.8rem;
}

.support-type-card {
  padding: 1rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), var(--shadow-soft);
}

.support-type-card__icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 1, 1, 0.12);
  color: var(--brand-red);
  font-size: 1rem;
}

.support-type-card__title {
  margin-top: 0.8rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
}

.support-type-card__text {
  margin-top: 0.45rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.support-tips {
  display: grid;
  gap: 0.7rem;
}

.support-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 1.15rem;
  background: #fff;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  box-shadow: var(--shadow-soft);
}

.support-tip i {
  color: var(--success);
  margin-top: 0.12rem;
}

.support-side-card {
  padding: 1.15rem;
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.support-side-card + .support-side-card {
  margin-top: 1rem;
}

.support-side-card--dark {
  background: #0f172a;
  color: #fff;
}

.support-side-card--dark .account-card__eyebrow {
  color: rgba(226, 232, 240, 0.56);
}

.support-side-card__title {
  margin: 0.45rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.support-side-card--dark .support-side-card__title {
  color: #fff;
}

.support-metric-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.support-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.support-metric__value {
  color: var(--text-main);
  font-size: 0.95rem;
}

.support-checklist {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.7rem;
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.92rem;
  line-height: 1.65;
}

.support-shortcuts {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
}

.support-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  text-decoration: none;
  background: #f8fafc;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.support-shortcut:hover {
  transform: translateY(-1px);
  background: #fff4f4;
  color: var(--danger);
  box-shadow: var(--shadow-soft);
}

.support-history {
  padding: 1.35rem;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.support-history__head {
  display: grid;
  gap: 0.7rem;
}

.support-ticket-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.support-ticket {
  padding: 1rem;
  border-radius: 1.4rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
}

@media (min-width: 768px) {
  .site-topbar__inner {
    padding: 1rem 1.2rem;
  }

  .account-page {
    padding: 0.65rem 0.65rem 1.8rem;
  }

  .account-hero {
    padding: 2rem 2.25rem;
  }

  .account-hero__main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .account-hero-stats {
    min-width: 22rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-content {
    padding: 1.4rem;
  }

  .account-card__head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .account-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-section__head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

  .tester-token-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .tester-workspace {
    grid-template-columns: 0.9fr 1.15fr;
    align-items: start;
  }

  .account-chart-card__head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }

  .account-activity-card__head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .account-activity-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-grid--dashboard {
    grid-template-columns: 1.24fr 0.96fr;
    align-items: stretch;
  }

  .account-ticket__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .support-hero {
    padding: 2rem 2.2rem;
  }

  .support-hero__main {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
  }

  .support-layout {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .support-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .account-grid--dashboard {
    grid-template-columns: 1.35fr 1fr;
  }

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

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

  .account-grid--forms {
    grid-template-columns: 1.05fr 1fr;
  }
}

@media (max-width: 767px) {
  .site-topbar__inner {
    padding: 0.8rem 0.9rem;
  }

  .site-topbar__guest-actions {
    gap: 0.5rem;
  }

  .site-topbar__cta {
    min-height: 2.7rem;
    padding: 0.72rem 1rem;
    font-size: 0.88rem;
  }

  .site-topbar__copy {
    display: none;
  }

  .site-user-menu::after {
    width: min(17rem, calc(100vw - 1rem));
  }

  .site-user-menu__panel {
    right: -0.15rem;
    width: min(17rem, calc(100vw - 1rem));
  }

  .account-title {
    font-size: 1.7rem;
  }

  .account-user {
    align-items: flex-start;
  }

  .account-avatar {
    width: 4.5rem;
    height: 4.5rem;
  }

  .account-chart-shell {
    min-height: 18rem;
    padding-top: 0.85rem;
  }

  .account-chart-shell--compact {
    min-height: 16rem;
  }

  .account-chart-empty {
    inset: 3.8rem 0.25rem 0.25rem;
  }

  .tester-panel {
    padding: 1.1rem;
  }

  .tester-panel__head {
    flex-direction: column;
  }

  .tester-response-meta {
    justify-content: flex-start;
  }

  .tester-response-body,
  .tester-response-code {
    min-height: 22rem;
  }

  .activity-event {
    grid-template-columns: 3.8rem 1rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .activity-event__time {
    font-size: 0.95rem;
  }

  .activity-event__body {
    padding: 0.85rem 0.9rem;
  }
}
