[hidden] { display: none !important; }

body { overflow-x: hidden; }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 50% -10%, rgb(6 182 212 / 16%), transparent 60%),
    radial-gradient(40rem 25rem at 100% 10%, rgb(15 118 110 / 18%), transparent 60%);
}

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.btn-hd {
  background-image: linear-gradient(135deg, #0f766e, #06b6d4);
  box-shadow: 0 8px 24px -6px rgb(6 182 212 / 55%);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-hd:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 28px -6px rgb(6 182 212 / 65%); }
.btn-hd:active:not(:disabled) { transform: translateY(0); }

.modal { display: none; }
.modal.open { display: flex; }

.ad-box {
  min-height: 250px; display: grid; place-items: center; overflow: hidden;
  border: 1px dashed #334155; border-radius: 12px; color: #64748b; font-size: .85rem; background: #0b1220;
}
.ad-slot { min-height: 0; }

button:focus-visible, a:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #67e8f9; outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.doc h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.15; margin: 1.5rem 0 .75rem; }
.doc h2 { font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 .5rem; color: #e2e8f0; }
.doc p, .doc li { color: #94a3b8; line-height: 1.8; }
.doc p { margin: .6rem 0; }
.doc ul, .doc ol { margin: .6rem 0; padding-inline-start: 1.4rem; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc strong { color: #e2e8f0; }
.doc a { color: #67e8f9; text-decoration: underline; text-underline-offset: 3px; }
.doc .meta { font-size: .85rem; color: #64748b; }
.doc label { display: block; font-weight: 600; margin: .9rem 0 .3rem; color: #e2e8f0; }
.doc input, .doc textarea {
  width: 100%; border: 1px solid #1e293b; background: #0b1220; border-radius: .75rem;
  padding: .7rem .9rem; color: #f1f5f9; outline: none;
}
.doc input:focus, .doc textarea:focus { border-color: #22d3ee; }
.doc .btn {
  margin-top: 1rem; border: 0; border-radius: .75rem; padding: .75rem 1.5rem; font-weight: 700;
  color: #020617; background: #06b6d4; cursor: pointer;
}
.doc .btn:hover { background: #22d3ee; }
.doc .btn:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ad-label { display: block; margin-bottom: 4px; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }

.spinner {
  flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #334155; border-top-color: #22d3ee; animation: spin .8s linear infinite;
}
.btn-waiting .spinner { border-color: rgb(255 255 255 / 30%); border-top-color: #fff; }
.btn-waiting { cursor: progress; }
#dlBar { transition: width .15s linear; }
@keyframes spin { to { transform: rotate(360deg); } }
