.tg-page {
  padding-bottom: 56px;
}

.tg-page .panel + .panel {
  margin-top: 14px;
}

.tg-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 20px 22px;
}

.tg-hero-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(34px);
  opacity: 0.92;
  transform: translateZ(0);
}

.tg-hero-glow--left {
  width: 300px;
  height: 300px;
  top: -112px;
  left: -88px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.26) 0%, rgba(56, 189, 248, 0.08) 42%, rgba(56, 189, 248, 0) 74%);
}

.tg-hero-glow--right {
  width: 360px;
  height: 360px;
  right: -116px;
  bottom: -168px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0.08) 44%, rgba(37, 99, 235, 0) 76%);
}

.tg-badges,
.tg-hero-copy,
.tg-proxy-box,
.tg-info-grid {
  position: relative;
  z-index: 1;
}

.tg-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(191, 219, 254, 0.78);
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tg-badge--ok {
  background: rgba(236, 253, 245, 0.94);
  border-color: rgba(16, 185, 129, 0.28);
  color: #047857;
}

.tg-hero-copy {
  margin-top: 18px;
  max-width: 760px;
}

.tg-kicker {
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tg-title {
  margin: 10px 0 0;
  font-size: 46px;
  line-height: 0.98;
  font-weight: 900;
  color: #0f172a;
  max-width: 11ch;
}

.tg-sub {
  margin: 16px 0 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 600;
  max-width: 720px;
}

.tg-update-note {
  margin-top: 14px;
  max-width: 760px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.tg-update-date {
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
}

.tg-update-text {
  margin-top: 6px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.tg-proxy-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.84));
  border: 1px solid rgba(147, 197, 253, 0.62);
  box-shadow: 0 20px 48px rgba(37, 99, 235, 0.08);
}

.tg-proxy-box--hero {
  max-width: 860px;
}

.tg-proxy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tg-proxy-actions .btn {
  flex: 1 1 220px;
}

.tg-proxy-linkbox {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.84);
}

.tg-proxy-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #475569;
}

.tg-proxy-code {
  display: block;
  margin-top: 10px;
  color: #1d4ed8;
  font-size: 13px;
  line-height: 1.65;
  white-space: break-spaces;
  word-break: break-word;
  user-select: all;
}

.tg-info-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.tg-info-card {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 219, 254, 0.68);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.tg-info-card--warn {
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.94), rgba(255, 255, 255, 0.84));
  border-color: rgba(251, 191, 36, 0.34);
}

.tg-info-title {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.tg-info-text {
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.55;
  font-weight: 600;
}

.tg-section h2,
.tg-bottom h2,
.tg-faq-panel h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  color: #0f172a;
}

.tg-section-head {
  margin-bottom: 14px;
}

.tg-section-head .muted,
.tg-bottom .muted {
  margin-top: 8px;
  line-height: 1.55;
}

.tg-section--compact {
  padding-top: 22px;
  padding-bottom: 22px;
}

.tg-story {
  max-width: 820px;
  padding: 18px 18px 4px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.tg-story p {
  margin: 0 0 14px;
  color: #111827;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 600;
}

.tg-faq-panel {
  padding-top: 22px;
  padding-bottom: 22px;
}

.tg-section-head--faq {
  margin-bottom: 18px;
}

.tg-faq-list {
  display: grid;
  gap: 12px;
}

.tg-faq-item {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(191, 219, 254, 0.76);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.tg-faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 18px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 800;
}

.tg-faq-item summary::-webkit-details-marker {
  display: none;
}

.tg-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 246, 255, 0.96);
  border: 1px solid rgba(191, 219, 254, 0.84);
  color: #2563eb;
  font-size: 18px;
  font-weight: 700;
}

.tg-faq-item[open] summary::after {
  content: "-";
}

.tg-faq-body {
  padding: 0 18px 18px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.tg-faq-body b {
  color: #0f172a;
}

.tg-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.tg-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tg-actions .btn {
  min-width: 220px;
  text-align: center;
}

.tg-actions--bottom {
  margin-top: 0;
}

@media (max-width: 980px) {
  .tg-title {
    max-width: none;
  }

  .tg-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tg-hero {
    padding: 22px 16px 16px;
  }

  .tg-title {
    font-size: 36px;
  }

  .tg-sub,
  .tg-update-text,
  .tg-story p,
  .tg-faq-body {
    font-size: 15px;
  }

  .tg-section h2,
  .tg-bottom h2,
  .tg-faq-panel h2 {
    font-size: 24px;
  }

  .tg-proxy-box,
  .tg-story {
    padding: 16px;
  }

  .tg-faq-item summary {
    font-size: 17px;
    padding: 16px 48px 16px 16px;
  }

  .tg-actions .btn,
  .tg-proxy-actions .btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
}
