/* components/components.css — Vykron Squad Series */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 12px; font: 700 15.5px var(--f-d); letter-spacing: .02em; border: 1px solid transparent; transition: transform .12s, box-shadow .2s, border-color .2s, background .2s; white-space: nowrap; user-select: none; }
.btn:active { transform: scale(.98); }
.btn .ico { font-size: 1.15em; }
.btn.primary { color: #0a0a0a; background: var(--or);  }
.btn.primary:hover { filter: brightness(1.08); }
.btn.primary:hover::after { left: 130%; }
.btn.ghost { background: var(--s2); border-color: var(--line2); color: var(--tx); }
.btn.ghost:hover { border-color: var(--or); box-shadow: 0 0 24px -8px var(--or-glow); }
.btn.danger { background: rgba(255,92,108,.1); border-color: rgba(255,92,108,.4); color: #ff9aa5; }
.btn.danger:hover { box-shadow: 0 0 22px -8px rgba(255,92,108,.6); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.full { width: 100%; }
.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }

.chip { border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 14px; font: 600 12.5px var(--f-d); color: var(--mut); background: var(--s3); white-space: nowrap; }
.chip.ok { color: var(--ok); background: rgba(61,220,151,.12); }
.chip.warn { color: var(--warn); background: rgba(255,194,71,.12); }
.chip.bad { color: var(--bad); background: rgba(255,92,108,.12); }
.chip.or { color: var(--or2); background: var(--or-soft); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.live .dot { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

main { display: block; }
.section { padding: 34px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
h1, h2, h3 { font-family: var(--f-d); line-height: 1.1; letter-spacing: -.005em; }
h1 { font-weight: 700; font-size: clamp(30px, 7vw, 48px); }
h2 { font-weight: 700; font-size: clamp(23px, 4.8vw, 32px); }
h3 { font-weight: 600; font-size: 19px; }
.link { color: var(--or2); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.link:hover { color: #fff; }
.page-head { padding: 30px 0 6px; }
.page-head p { color: var(--mut); margin-top: 12px; max-width: 54ch; font-size: 17px; }

.card { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card + .card { margin-top: 14px; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--or-soft); border: 1px solid rgba(255,90,0,.25); color: #ffd2b5; font-size: 14.5px; }
.note .ico { color: var(--or2); margin-top: 2px; }
.note a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note.plain { background: var(--s2); border-color: var(--line); color: var(--mut); }
.note.plain .ico { color: var(--mut); }
.empty { text-align: center; padding: 34px 20px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--mut); }
.empty .ico { font-size: 30px; color: var(--dim); margin-bottom: 8px; }
.empty b { display: block; color: var(--tx); font: 600 18px var(--f-d); margin-bottom: 4px; }
.empty .btn { margin-top: 16px; }

.two { display: grid; gap: 14px; }

.modal { border: 1px solid var(--line2); background: var(--s1); color: var(--tx); border-radius: 20px; padding: 0; width: min(92vw, 460px); max-height: 88dvh; overflow: auto; margin: auto; }
.modal.wide { width: min(94vw, 640px); }
.modal::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .22s cubic-bezier(.3,.8,.3,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 6px 22px; }
.modal-head h2 { font-size: 23px; }
.modal-body { padding: 8px 22px 20px; color: #d6d6db; display: grid; gap: 12px; }
.modal-body img.proof { border-radius: 12px; width: 100%; }
.modal-actions { display: flex; gap: 10px; padding: 0 22px 22px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }
.alert-big { width: 64px; height: 64px; display: grid; place-items: center; font-size: 30px; color: var(--bad); background: rgba(255,92,108,.12); }
textarea.input { height: auto; min-height: 96px; padding: 14px 16px; resize: vertical; }

.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(var(--nav) + 16px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(92vw, 420px); padding: 13px 20px; border-radius: 12px; background: #1c1d22; border: 1px solid var(--line2); border-left: 3px solid var(--or); box-shadow: 0 16px 40px rgba(0,0,0,.5); font-weight: 600; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-left-color: var(--bad); }
