:root {
  color-scheme: dark;
  --bg: #050912;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --accent: #6aa8ff;
  --accent2: #27d17f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(106, 168, 255, 0.45) rgba(255, 255, 255, 0.06);
}

::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 4px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  background:
    radial-gradient(18px 18px at 28% 28%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.00) 62%),
    radial-gradient(16px 16px at 72% 58%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.00) 60%),
    linear-gradient(180deg, rgba(120, 185, 255, 0.78), rgba(106, 168, 255, 0.28));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 6px 18px rgba(0, 0, 0, 0.35);
}

::-webkit-scrollbar-thumb:hover {
  background:
    radial-gradient(18px 18px at 28% 28%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.00) 62%),
    radial-gradient(16px 16px at 72% 58%, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.00) 60%),
    linear-gradient(180deg, rgba(120, 185, 255, 0.92), rgba(106, 168, 255, 0.38));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 3px rgba(106, 168, 255, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.40);
}

::-webkit-scrollbar-thumb:active {
  background:
    radial-gradient(18px 18px at 28% 28%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.00) 62%),
    radial-gradient(16px 16px at 72% 58%, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.00) 60%),
    linear-gradient(180deg, rgba(120, 185, 255, 0.98), rgba(106, 168, 255, 0.42));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 0 0 3px rgba(106, 168, 255, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.45);
}

.scrollRoot {
  position: fixed;
  inset: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-right: 0;
}

.scrollRoot {
  scrollbar-width: none;
}

.scrollRoot::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.scrollBar {
  position: fixed;
  top: 10px;
  bottom: 10px;
  right: 8px;
  width: 14px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92);
  filter: blur(1.5px);
  transition: opacity 220ms ease, transform 240ms ease, filter 240ms ease;
}

.scrollBar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  opacity: 0;
}

.scrollBar.is-visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.scrollBar.is-visible::before {
  opacity: 0;
}

.scrollBar.is-disabled {
  display: none;
}

.scrollThumb {
  position: absolute;
  left: 50%;
  right: auto;
  top: 0;
  height: 80px;
  width: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  pointer-events: auto;
  touch-action: none;
  border: none;
  cursor: grab;
  transition: filter 160ms ease, transform 90ms linear, box-shadow 160ms ease, background 160ms ease;
  background:
    linear-gradient(180deg, rgba(210, 236, 255, 0.30), rgba(106, 168, 255, 0.28));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.38);
}

.scrollThumb:active {
  cursor: grabbing;
}

.scrollThumb:hover {
  background: linear-gradient(180deg, rgba(230, 246, 255, 0.36), rgba(106, 168, 255, 0.36));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 4px rgba(106, 168, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.48);
  filter: saturate(1.06) brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .scrollBar,
  .scrollThumb {
    transition: none;
  }
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 0.12rem 0.34rem;
  border-radius: 0.45rem;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 18, 32, 0.55);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__actions {
  margin-left: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__name {
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand__tag {
  color: var(--muted);
  font-size: 0.90rem;
}

.brand--small .brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.nav {
  display: none;
  gap: 1.1rem;
  align-items: center;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.topbar__actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.auth {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.profile {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.user {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  font: inherit;
  text-align: left;
}

.user:focus-visible {
  outline: 2px solid rgba(106, 168, 255, 0.45);
  outline-offset: 3px;
}

.menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 22, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 0.35rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  z-index: 30;
}

.menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 800;
}

.menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user__avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.user__name {
  font-weight: 800;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 14px;
  padding: 0.70rem 1.0rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.085);
}

.btn--primary {
  border: 1px solid rgba(106, 168, 255, 0.45);
  background: linear-gradient(135deg, rgba(106, 168, 255, 0.25), rgba(39, 209, 127, 0.12));
}

.btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  box-shadow: none;
}

.btn--icon {
  width: 44px;
  height: 44px;
  padding: 4px;
  gap: 0;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

.btn--icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transform: scale(1.32);
  transition: transform 180ms ease;
}

.btn--icon:hover {
  transform: translateY(-1px) scale(1.02);
  border-color: rgba(106, 168, 255, 0.35);
  background: rgba(106, 168, 255, 0.10);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.btn--icon:hover img {
  transform: scale(1.40);
}

.hero {
  padding: 58px 0 30px;
}

.hero__inner {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: center;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(106, 168, 255, 0.35);
  background: rgba(106, 168, 255, 0.10);
  color: rgba(255, 255, 255, 0.90);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.3px;
  width: fit-content;
}

h1 {
  margin: 0.9rem 0 0.75rem;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.4px;
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.hero__cta {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.meta {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.meta__item {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 0.85rem 0.85rem;
}

.meta__k {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.meta__v {
  margin-top: 0.25rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.hero__card {
  display: grid;
  justify-items: stretch;
}

.hero__card .card {
  will-change: transform;
  transform-style: preserve-3d;
  --rotateX: 0deg;
  --rotateY: 0deg;
  --parX: 0px;
  --parY: 0px;
  transform: perspective(1100px) translate3d(var(--parX), var(--parY), 0) rotateY(var(--rotateX)) rotateX(var(--rotateY));
  transition: transform 260ms cubic-bezier(.22,1,.36,1);
  cursor: pointer;
}

.hero__card .card:hover {
  transform: perspective(1100px) translate3d(var(--parX), calc(var(--parY) - 12px), 0) rotateY(var(--rotateX)) rotateX(var(--rotateY)) scale(1.06);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
  border-color: rgba(106, 168, 255, 0.35);
}

.hero__card .card__top,
.hero__card .card__code,
.hero__card .card__foot {
  will-change: transform;
  transform-style: preserve-3d;
}

.parallaxCard {
  --rotateX: 0deg;
  --rotateY: 0deg;
  --parX: 0px;
  --parY: 0px;
  transform: perspective(900px) translate3d(var(--parX), var(--parY), 0) rotateY(var(--rotateX)) rotateX(var(--rotateY));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), box-shadow 240ms cubic-bezier(.22,1,.36,1);
}

.parallaxCard:hover {
  transform: perspective(900px) translate3d(var(--parX), calc(var(--parY) - 8px), 0) rotateY(var(--rotateX)) rotateX(var(--rotateY)) scale(1.03);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.50);
}

.hero__copy {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero__copy {
    transform: none !important;
  }
}

.card {
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.72);
}

.card__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot--r { background: #ff5c7a; }
.dot--y { background: #ffcc66; }
.dot--g { background: #27d17f; }

.card__title {
  margin-left: auto;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.card__code {
  margin: 0;
  padding: 1rem;
  overflow: auto;
}

.card__code code {
  background: transparent;
  border: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.95rem;
  line-height: 1.55;
  display: block;
}

.card__foot {
  padding: 0.95rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.section {
  padding: 52px 0;
}

.section--modalSource {
  display: none;
}

.section--alt {
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.section__head {
  margin-bottom: 1.25rem;
}

.section__head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.section__head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (min-width: 760px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.05rem;
}

.feature h3 {
  margin: 0;
  font-size: 1.15rem;
}

.feature p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 900px) {
  .two {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 1.05rem;
}

.panel h3 {
  margin: 0;
}

.list {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.85;
}

.note {
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 204, 102, 0.35);
  background: rgba(255, 204, 102, 0.08);
  border-radius: 20px;
  padding: 1rem;
}

.note__title {
  font-weight: 900;
}

.note__body {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.55;
}

.cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer {
  padding: 26px 0 34px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: none;
  padding-top: 18px;
}

.footer__muted {
  margin-top: 0.5rem;
  color: var(--muted);
}

.footer__right {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.footer__right a:hover {
  color: var(--text);
}

.modalOverlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.modalOverlay[hidden] {
  display: none !important;
}

.modalOverlay.is-open {
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2010;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  opacity: 0;
  transition: opacity 180ms ease;
  overflow-x: hidden;
}

.modal[hidden] {
  display: none !important;
}

.modal__inner {
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms cubic-bezier(.22,1,.36,1);
}

.modal.is-open {
  opacity: 1;
}

.modal.is-open .modal__inner {
  transform: translateY(0) scale(1);
}

.modal.is-closing {
  opacity: 0;
}

.modal.is-closing .modal__inner {
  transform: translateY(8px) scale(0.985);
}

.modal__inner {
  width: min(1040px, calc(100% - 1.2rem));
  max-height: min(84vh, 860px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.72);
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.modal__title {
  font-weight: 900;
  letter-spacing: -0.2px;
  margin: 0;
}

.modal__close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.90);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.10);
}

.modal__body {
  padding: 26px 34px 34px;
  flex: 1;
  overflow: auto;
  overflow-x: hidden;
  min-height: 0;
}

.modal__body .section {
  padding: 0;
  overflow-x: hidden;
}

.modal__body .container {
  width: 100%;
  margin: 0;
  max-width: none;
  padding: 8px;
}

.modal__body .note {
  margin-top: 16px;
  border-color: rgba(106, 168, 255, 0.28);
  background: rgba(106, 168, 255, 0.08);
}

.modal__body .note__body {
  color: rgba(255, 255, 255, 0.86);
}

.modal__body .panel,
.modal__body .feature,
.modal__body .note {
  overflow: hidden;
  min-width: 0;
}

.modal__body .two {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .modal__body .two {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.modal__body .list,
.modal__body .list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.modal__body .list code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.modal__body * {
  max-width: 100%;
}

body[data-modal-open="1"] .scrollBar {
  display: none !important;
}

body[data-tg-open="1"] {
  overflow: hidden;
}

body[data-tg-open="1"] .scrollBar {
  display: none !important;
}

.tg {
  padding: 58px 0 46px;
}

.tg__back {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  margin-top: 6px;
}

.tg__back:hover {
  color: rgba(255, 255, 255, 0.92);
}

.tg__head {
  text-align: center;
  margin-top: 14px;
}

.tg__head h1 {
  margin: 18px 0 8px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  letter-spacing: -0.3px;
}

.tg__head .lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.70);
}

.tg__choices {
  margin-top: 24px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.tgPage {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 280ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.tgPage__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 16px 64px;
}

@media (min-width: 900px) {
  .tgPage__inner {
    padding: 26px 22px 72px;
  }
}

.tgPage--open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tgPage--leaving {
  opacity: 0;
  transform: translateY(14px);
}

.tgPage__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  background: transparent;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.tgPage__back:hover {
  color: rgba(255, 255, 255, 0.92);
}

.tgPage__title {
  margin-top: 12px;
  font-weight: 1000;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: rgba(255, 255, 255, 0.92);
}

@media (min-width: 820px) {
  .tg__choices {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.tg__choice {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 20px 18px;
  display: grid;
  place-items: center;
  gap: 10px;
  cursor: pointer;
  color: inherit;
  font: inherit;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.38);
  transition: transform 180ms ease, background 200ms ease, border-color 200ms ease, box-shadow 220ms ease;
}

.tg__choice:hover {
  transform: translateY(-2px);
  border-color: rgba(106, 168, 255, 0.32);
  background: rgba(106, 168, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

.tg__choice:focus-visible {
  outline: 2px solid rgba(106, 168, 255, 0.45);
  outline-offset: 3px;
}

.tg__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  filter: saturate(1.05);
}

.tg__iconImg {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  image-rendering: auto;
}

.tg__label {
  font-weight: 900;
  letter-spacing: 0.2px;
}

.tg__panel {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 20, 0.78);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.tg__close {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 0.65rem 0.9rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.tg__close:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tg__panelTitle {
  margin: 10px 0 16px;
  font-weight: 1000;
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.tg__guide {
  margin-top: 8px;
}

.tg__guideBox {
  border: 1px solid rgba(106, 168, 255, 0.30);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 18px;
}

.tg__alert {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.tg__alertHead {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(106, 168, 255, 0.10);
  border: 1px solid rgba(106, 168, 255, 0.22);
  border-radius: 12px;
  padding: 10px 12px;
}

.tg__alertIcon {
  color: rgba(106, 168, 255, 0.95);
  font-weight: 1000;
}

.tg__alertLabel {
  font-weight: 1000;
  color: rgba(106, 168, 255, 0.95);
}

.tg__alertBody {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.tg__steps {
  margin: 14px 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.tg__steps li {
  margin: 10px 0;
}

.tg__maintenance {
  margin-top: 14px;
  border: 1px solid rgba(106, 168, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 14px 14px;
}

.tg__maintenanceTitle {
  font-weight: 1000;
  color: rgba(255, 255, 255, 0.92);
}

.tg__maintenanceBody {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.tg__codeWrap {
  margin-top: 14px;
  position: relative;
}

.tg__copy {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(106, 168, 255, 0.26);
  background: rgba(106, 168, 255, 0.12);
  color: rgba(235, 245, 255, 0.95);
  border-radius: 12px;
  padding: 0.45rem 0.7rem;
  font-weight: 900;
  cursor: pointer;
}

.tg__copy:hover {
  background: rgba(106, 168, 255, 0.18);
}

.tg__code {
  margin: 0;
  border: 1px solid rgba(106, 168, 255, 0.18);
  background: transparent;
  border-radius: 16px;
  padding: 44px 16px 16px;
  overflow: auto;
}

.tg__code {
  scrollbar-width: none;
}

.tg__code::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.tgScroll {
  margin-top: 10px;
}

.tgScroll.is-disabled {
  display: none;
}

.tgScroll__track {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.tgScroll__thumb {
  height: 100%;
  border-radius: 999px;
  border: none;
  cursor: grab;
  transition: filter 160ms ease, transform 90ms linear, box-shadow 160ms ease, background 160ms ease;
  background: linear-gradient(180deg, rgba(210, 236, 255, 0.30), rgba(106, 168, 255, 0.28));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 22px rgba(0, 0, 0, 0.38);
  transform: translateX(0);
  touch-action: none;
}

.tgScroll__thumb:hover {
  background: linear-gradient(180deg, rgba(230, 246, 255, 0.36), rgba(106, 168, 255, 0.36));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 0 4px rgba(106, 168, 255, 0.08),
    0 18px 36px rgba(0, 0, 0, 0.48);
  filter: saturate(1.06) brightness(1.06);
}

.tgScroll__thumb:active {
  cursor: grabbing;
}

.tg__code code {
  color: rgba(190, 230, 255, 0.95);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.5;
  background: transparent;
  border: none;
  padding: 0;
}

.tg__content {
  margin-top: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 18px;
}

.tg__placeholder {
  color: rgba(255, 255, 255, 0.70);
  font-weight: 800;
}

.tg__foot {
  margin-top: 18px;
  text-align: center;
}
