:root {
  --bg: #04060f; --ink: #eaf2ff; --mute: #94a3c0; --line: rgba(160, 190, 255, .16);
  --teal: #19f0dc; --teal2: #00c2b3; --violet: #7b6cff; --silver: #d0e0f0; --bad: #ff7b8a; --ok: #3ee6a0;
  --glass: rgba(14, 20, 42, .58); --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; overflow-x: hidden;
  font: 16px/1.6 Inter, "Segoe UI", system-ui, Tahoma, sans-serif;
}
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, system-ui, sans-serif; }
#bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 40%, transparent 35%, rgba(4, 6, 15, .75) 100%); }
a { color: var(--teal); text-decoration: none; } a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }

/* ---------- nav */
#nav { position: fixed; top: 0; inset-inline: 0; z-index: 20; display: flex; align-items: center; gap: 20px; padding: 14px clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(4, 6, 15, .85), rgba(4, 6, 15, 0)); backdrop-filter: blur(6px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 19px; letter-spacing: .3px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(25, 240, 220, .55)); }
.brand em { font-style: normal; font-size: 11px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--teal); }
#navlinks { display: flex; gap: 6px; margin-inline-start: 18px; }
#navlinks a { color: var(--mute); padding: 6px 12px; border-radius: 99px; font-size: 14px; } #navlinks a:hover { color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, .06); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; background: var(--glass); }
.lang button { background: none; border: 0; padding: 5px 12px; font-size: 13px; color: var(--mute); }
.lang button.on { background: linear-gradient(120deg, var(--teal2), var(--violet)); color: #fff; }
#navuser { display: flex; gap: 8px; align-items: center; }

/* ---------- buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 14px; padding: 13px 26px; font-weight: 600;
  color: #031512; background: linear-gradient(120deg, var(--teal), #7ff9ec); box-shadow: 0 0 0 0 rgba(25, 240, 220, .6), 0 10px 30px rgba(25, 240, 220, .25);
  transition: transform .2s, box-shadow .3s; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 6px rgba(25, 240, 220, .12), 0 14px 38px rgba(25, 240, 220, .35); text-decoration: none; }
.btn:hover::after { transform: translateX(120%); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn.ghost { background: var(--glass); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.small { padding: 8px 16px; font-size: 14px; border-radius: 12px; }
.btn.bad { background: rgba(255, 123, 138, .15); color: var(--bad); border: 1px solid rgba(255, 123, 138, .4); box-shadow: none; }

/* ---------- layout */
main { position: relative; z-index: 5; }
section.page { min-height: 100vh; padding: 110px clamp(16px, 5vw, 64px) 70px; max-width: 1240px; margin: 0 auto; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(16px); box-shadow: 0 20px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }

/* ---------- hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 1240px; margin: 0 auto; padding: 110px clamp(16px, 5vw, 64px) 40px; }
.hero .copy { max-width: 620px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); color: var(--silver); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { transform: scale(1.7); opacity: .4; } }
h1.title { font-size: clamp(40px, 7.4vw, 88px); line-height: 1.02; margin: 22px 0 18px; letter-spacing: -1.5px; }
[dir="rtl"] h1.title { letter-spacing: 0; line-height: 1.2; }
h1.title span { display: block; }
.grad { background: linear-gradient(100deg, var(--teal), #b6fff6 30%, var(--violet) 65%, var(--teal)); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 250% 0; } }
.sub { color: var(--mute); font-size: clamp(16px, 2vw, 20px); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.note { color: var(--mute); font-size: 13px; margin-top: 18px; }
.scroll-hint { position: absolute; bottom: 24px; inset-inline-start: 50%; width: 22px; height: 36px; border: 2px solid var(--line); border-radius: 12px; }
.scroll-hint::after { content: ""; position: absolute; top: 6px; left: 50%; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--teal); animation: wheel 1.6s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } }

/* ---------- content sections */
.block { max-width: 1240px; margin: 0 auto; padding: 80px clamp(16px, 5vw, 64px); }
.block h2 { font-size: clamp(28px, 4.4vw, 48px); margin: 0 0 36px; letter-spacing: -.5px; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; perspective: 1100px; }
.card3d { padding: 26px; transform-style: preserve-3d; transition: transform .25s ease, box-shadow .3s; will-change: transform; }
.card3d:hover { box-shadow: 0 30px 80px rgba(25, 240, 220, .12), 0 20px 60px rgba(0, 0, 0, .4); }
.card3d .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; font-size: 24px; transform: translateZ(40px);
  background: linear-gradient(135deg, rgba(25, 240, 220, .22), rgba(123, 108, 255, .22)); border: 1px solid var(--line); }
.card3d h3 { margin: 0 0 8px; font-size: 19px; transform: translateZ(26px); } .card3d p { margin: 0; color: var(--mute); transform: translateZ(14px); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { padding: 26px; position: relative; } .step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; inset-inline-start: 22px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #031512; background: linear-gradient(120deg, var(--teal), var(--violet)); box-shadow: 0 0 24px rgba(25, 240, 220, .5); }
.step h3 { margin: 10px 0 6px; } .step p { margin: 0; color: var(--mute); }
.band { text-align: center; padding: 90px 16px 120px; } .band h2 { margin-bottom: 26px; }
footer.foot { text-align: center; color: var(--mute); font-size: 13px; padding: 0 16px 36px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- forms */
.formwrap { min-height: 100vh; display: grid; align-items: center; padding: 100px clamp(16px, 5vw, 64px) 50px; max-width: 1240px; margin: 0 auto; }
.form { width: min(460px, 100%); padding: 34px; animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.form h2 { margin: 0 0 4px; font-size: 30px; } .form .lead { color: var(--mute); margin: 0 0 22px; }
.field { margin: 0 0 14px; } .field label { display: block; font-size: 13px; color: var(--mute); margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=password] { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(5, 9, 22, .7); color: var(--ink); font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25, 240, 220, .12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--mute); margin: 12px 0; } .check input { margin-top: 4px; accent-color: var(--teal); }
.err { color: var(--bad); font-size: 14px; min-height: 22px; margin: 6px 0; }
.alt { margin-top: 18px; color: var(--mute); font-size: 14px; }

/* ---------- onboarding */
.ob { max-width: 980px; margin: 0 auto; }
.dots { display: flex; gap: 8px; margin: 0 0 18px; } .dots i { height: 5px; flex: 1; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; position: relative; }
.dots i.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--violet)); animation: fill .8s ease both; } @keyframes fill { from { transform: scaleX(0); transform-origin: left; } }
.stepno { color: var(--teal); font-size: 14px; letter-spacing: .5px; text-transform: uppercase; }
.ob h2 { font-size: clamp(28px, 4vw, 42px); margin: 6px 0 8px; } .ob .lead { color: var(--mute); margin: 0 0 22px; max-width: 640px; }
.stage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } }
.cam { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r); background: #02040a; border: 1px solid var(--line); }
.cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); } .cam video.play { transform: none; }
.cam .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--mute); text-align: center; padding: 20px; }
.cam .recdot { position: absolute; top: 12px; inset-inline-start: 12px; display: none; align-items: center; gap: 8px; background: rgba(0, 0, 0, .55); padding: 4px 12px; border-radius: 99px; font-size: 13px; font-variant-numeric: tabular-nums; }
.cam.rec .recdot { display: flex; } .cam.rec { box-shadow: 0 0 0 2px var(--bad), 0 0 40px rgba(255, 123, 138, .35); }
.recdot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); animation: pulse 1s infinite; }
.panel { padding: 22px; }
.phrase { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.4; margin: 8px 0 14px; } .phrase small { display: block; font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: .6px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hintline { font-size: 13px; color: var(--mute); margin-top: 12px; }
.prompt { padding: 18px; border-radius: 14px; background: linear-gradient(135deg, rgba(25, 240, 220, .1), rgba(123, 108, 255, .12)); border: 1px solid var(--line); min-height: 96px; animation: rise .5s both; }
.prompt small { color: var(--teal); text-transform: uppercase; letter-spacing: .6px; font-size: 12px; } .prompt div { font-size: 19px; margin-top: 4px; }
.next { color: var(--mute); font-size: 13px; margin-top: 10px; }
.ringwrap { display: flex; align-items: center; gap: 16px; margin: 14px 0; }
.ring { width: 78px; height: 78px; transform: rotate(-90deg); } .ring circle { fill: none; stroke-width: 7; } .ring .bg { stroke: rgba(255, 255, 255, .08); }
.ring .fg { stroke: url(#g1); stroke-linecap: round; transition: stroke-dashoffset .5s linear; }
.time { font-size: 30px; font-variant-numeric: tabular-nums; font-weight: 600; }
.bar { height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 10px; } .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--violet)); transition: width .3s; }

.orbwrap { display: grid; place-items: center; text-align: center; padding: 30px 0; }
.orb { width: 150px; height: 150px; border-radius: 50%; position: relative; margin: 10px auto 26px;
  background: radial-gradient(circle at 35% 30%, #b6fff6, var(--teal) 35%, var(--violet) 80%); box-shadow: 0 0 70px rgba(25, 240, 220, .55), inset 0 0 40px rgba(255, 255, 255, .35); animation: float 3s ease-in-out infinite; }
.orb::before, .orb::after { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid rgba(25, 240, 220, .5); animation: ripple 2.4s infinite; } .orb::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- chat */
.chatpage { position: relative; z-index: 5; height: 100vh; box-sizing: border-box; display: grid; grid-template-columns: 290px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); padding-top: 66px; }
.side { padding: 18px; display: flex; flex-direction: column; gap: 16px; border-inline-end: 1px solid var(--line); background: rgba(5, 8, 20, .5); backdrop-filter: blur(10px); overflow: auto; }
.me { display: flex; gap: 12px; align-items: center; } .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #031512; background: linear-gradient(135deg, var(--teal), var(--violet)); box-shadow: 0 0 20px rgba(25, 240, 220, .4); }
.me b { display: block; } .me small { color: var(--mute); word-break: break-all; }
.quota { padding: 16px; } .quota small { color: var(--mute); } .quota .big { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.thread { overflow: auto; padding: 26px clamp(14px, 4vw, 40px) 10px; display: flex; flex-direction: column; gap: 22px; scroll-behavior: smooth; }
.chatmain { display: flex; flex-direction: column; min-height: 0; }
.empty { margin: auto; text-align: center; max-width: 420px; color: var(--mute); } .empty h3 { color: var(--ink); font-size: 26px; margin: 12px 0 6px; }
.empty img { width: 110px; filter: drop-shadow(0 0 30px rgba(25, 240, 220, .55)); animation: float 4s ease-in-out infinite; }
.msg { max-width: min(640px, 92%); animation: pop .45s cubic-bezier(.2, .9, .3, 1.2) both; } @keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.msg.me2 { align-self: flex-end; } .msg.ai { align-self: flex-start; }
.msg .who { font-size: 12px; color: var(--mute); margin: 0 6px 4px; }
.bubble { unicode-bidi: plaintext; padding: 12px 16px; border-radius: 18px; white-space: pre-wrap; }
.me2 .bubble { background: linear-gradient(135deg, rgba(25, 240, 220, .22), rgba(123, 108, 255, .28)); border: 1px solid rgba(25, 240, 220, .3); border-end-end-radius: 6px; }
.ai .bubble { padding: 10px; background: var(--glass); border: 1px solid var(--line); border-end-start-radius: 6px; backdrop-filter: blur(14px); }
.vwrap { position: relative; border-radius: 14px; overflow: hidden; background: #000; } .vwrap video { display: block; width: 100%; max-height: 52vh; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; font-size: 11px; padding: 3px 10px; border-radius: 99px; background: rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .25); }
.dl { display: inline-block; margin: 8px 6px 2px; font-size: 13px; }
.making { display: flex; gap: 14px; align-items: center; padding: 8px 10px; } .making b { display: block; } .making small { color: var(--mute); }
.wave { display: flex; gap: 4px; align-items: center; height: 34px; } .wave i { width: 4px; border-radius: 3px; background: linear-gradient(var(--teal), var(--violet)); animation: wv 1s ease-in-out infinite; height: 8px; }
.wave i:nth-child(2) { animation-delay: .1s } .wave i:nth-child(3) { animation-delay: .2s } .wave i:nth-child(4) { animation-delay: .3s } .wave i:nth-child(5) { animation-delay: .4s } .wave i:nth-child(6) { animation-delay: .5s } .wave i:nth-child(7) { animation-delay: .6s }
@keyframes wv { 50% { height: 32px; } }
.failed { color: var(--bad); padding: 8px 10px; }
.composer { padding: 14px clamp(14px, 4vw, 40px) 22px; } .composer .box { display: flex; gap: 10px; align-items: flex-end; padding: 10px; }
.composer textarea { flex: 1; resize: none; max-height: 150px; min-height: 48px; border: 0; outline: none; background: transparent; color: var(--ink); font: inherit; padding: 10px 12px; }
.composer .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); padding: 6px 14px 0; }
.banner { margin: 0 clamp(14px, 4vw, 40px) 10px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 123, 138, .4); background: rgba(255, 123, 138, .1); color: var(--bad); }

@media (max-width: 860px) { .chatpage { grid-template-columns: minmax(0, 1fr); } .side { display: none; } .mq { display: inline !important; } }
.mq { display: none; }
/* ---------- admin */
.admin { max-width: 980px; margin: 0 auto; } .admin table { width: 100%; border-collapse: collapse; margin-top: 16px; } .admin th, .admin td { padding: 10px 8px; text-align: start; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin input[type=number] { width: 80px; padding: 6px; border-radius: 8px; border: 1px solid var(--line); background: rgba(5, 9, 22, .7); color: var(--ink); }
.admin input[type=password] { padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 9, 22, .7); color: var(--ink); }

#toast { position: fixed; bottom: 26px; inset-inline-start: 50%; transform: translate(-50%, 30px); opacity: 0; z-index: 50; padding: 12px 20px; border-radius: 14px; background: rgba(12, 18, 38, .95); border: 1px solid var(--line); transition: .35s; pointer-events: none; }
[dir="rtl"] #toast { transform: translate(50%, 30px); } #toast.on { opacity: 1; transform: translate(-50%, 0); } [dir="rtl"] #toast.on { transform: translate(50%, 0); }

@media (max-width: 700px) { #navlinks { display: none; } .hero { padding-top: 96px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

[hidden] { display: none !important; }

/* ---------- motion layer */
#spot { position: fixed; top: 0; left: 0; width: 520px; height: 520px; z-index: 2; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 240, 220, .13), rgba(123, 108, 255, .07) 40%, transparent 70%); mix-blend-mode: screen; }
#prog { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 40; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--teal), var(--violet), var(--teal)); box-shadow: 0 0 14px var(--teal); }
[dir="rtl"] #prog { transform-origin: right; }
#wipe { position: fixed; inset: 0; z-index: 60; pointer-events: none; transform: scaleX(0); background: linear-gradient(100deg, #031512, #0b1a3a 40%, #19f0dc 52%, #7b6cff 70%, #04060f); }
#wipe.go { animation: wipe .72s cubic-bezier(.7, 0, .3, 1) both; }
@keyframes wipe { 0% { transform: scaleX(0); transform-origin: left; } 48% { transform: scaleX(1); transform-origin: left; } 52% { transform: scaleX(1); transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
[dir="rtl"] #wipe.go { animation-name: wipeR; }
@keyframes wipeR { 0% { transform: scaleX(0); transform-origin: right; } 48% { transform: scaleX(1); transform-origin: right; } 52% { transform: scaleX(1); transform-origin: left; } 100% { transform: scaleX(0); transform-origin: left; } }

.btn { transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.btn:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px)); }

h1.title { perspective: 800px; }
h1.title .w { display: inline-block; opacity: 0; transform: translateY(70%) rotateX(-80deg); transform-origin: 50% 100%; filter: blur(12px);
  animation: wordin 1s cubic-bezier(.2, .85, .2, 1) forwards; animation-delay: calc(var(--i) * .13s + .25s); }
h1.title .w.grad { background: linear-gradient(100deg, var(--teal), #b6fff6 30%, var(--violet) 65%, var(--teal)); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordin 1s cubic-bezier(.2, .85, .2, 1) forwards, shimmer 6s linear infinite; animation-delay: calc(var(--i) * .13s + .25s), 0s; }
@keyframes wordin { to { opacity: 1; transform: none; filter: blur(0); } }
.badge, .sub, .cta, .note { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; } .sub { animation-delay: .9s; } .cta { animation-delay: 1.1s; } .note { animation-delay: 1.3s; }

.chips { position: absolute; inset: 0; pointer-events: none; max-width: 1240px; margin: 0 auto; }
.chip { position: absolute; padding: 10px 16px; border-radius: 99px; font-size: 14px; color: var(--ink); white-space: nowrap;
  background: rgba(12, 18, 40, .62); border: 1px solid var(--line); backdrop-filter: blur(12px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), 0 0 22px rgba(25, 240, 220, .12);
  animation: chipfloat 6s ease-in-out infinite, rise 1s cubic-bezier(.2, .8, .2, 1) both; translate: calc(var(--px, 0) * var(--d, 14) * -1px) calc(var(--py, 0) * var(--d, 14) * -1px); }
.chip.c1 { inset-inline-end: 6%; top: 24%; --d: 22; animation-delay: 0s, 1.4s; } .chip.c2 { inset-inline-end: 3%; top: 64%; --d: 30; animation-delay: -2s, 1.7s; } .chip.c3 { inset-inline-end: 34%; top: 80%; --d: 16; animation-delay: -4s, 2s; }
@keyframes chipfloat { 50% { margin-top: -14px; } }
@media (max-width: 1000px) { .chips { display: none; } }

.marquee { position: relative; z-index: 5; overflow: hidden; border-block: 1px solid var(--line); background: rgba(6, 10, 24, .55); backdrop-filter: blur(8px); padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { padding: 0 34px; font-size: clamp(18px, 2.6vw, 30px); font-weight: 700; letter-spacing: .5px; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(208, 224, 240, .55); position: relative; }
.marquee span::after { content: "✦"; position: absolute; inset-inline-end: -8px; color: var(--teal); -webkit-text-stroke: 0; font-size: 16px; top: 50%; transform: translateY(-50%); }
[dir="rtl"] .marquee .track { animation-name: slideR; }
@keyframes slide { to { transform: translateX(-50%); } } @keyframes slideR { to { transform: translateX(50%); } }
.marquee:hover .track { animation-play-state: paused; }

.card3d { position: relative; overflow: hidden; }
.card3d::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(25, 240, 220, .22), transparent 65%); }
.card3d:hover::before { opacity: 1; }
.card3d::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; opacity: 0; transition: opacity .3s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--teal), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card3d:hover::after { opacity: 1; }
.step::after { content: ""; position: absolute; top: 0; inset-inline: 22px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); opacity: .5; }
.block h2 { position: relative; display: inline-block; }
.block h2::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -10px; height: 3px; width: 0; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--violet)); transition: width 1.2s cubic-bezier(.2, .8, .2, 1) .3s; }
.block h2.in::after { width: 100%; }
.making { position: relative; overflow: hidden; border-radius: 12px; } .making .wave { filter: drop-shadow(0 0 8px rgba(25, 240, 220, .6)); }
.making::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(25, 240, 220, .10) 50%, transparent 70%); animation: sweep 2.2s infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.orb { animation: float 3s ease-in-out infinite, hue 8s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.hero { position: relative; }

/* lighter page-transition layer: the 3D warp tunnel does the work */
#wipe { background: radial-gradient(ellipse at center, rgba(4, 6, 15, 0) 0%, rgba(4, 6, 15, .55) 70%, rgba(4, 6, 15, .9) 100%); transform: none; opacity: 0; }
#wipe.go { animation: flash .85s ease both; }
[dir="rtl"] #wipe.go { animation-name: flash; }
@keyframes flash { 0% { opacity: 0; } 45% { opacity: 1; } 100% { opacity: 0; } }

/* dialect strip */
.block .lead { color: var(--mute); max-width: 640px; margin: -18px 0 30px; font-size: 18px; }
.dias { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.dia { position: relative; padding: 22px 20px 20px; text-align: center; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.dia:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(25, 240, 220, .14), 0 20px 50px rgba(0, 0, 0, .4); }
.dia b { display: block; font-size: 18px; margin-top: 12px; }
.dia.flag { border-color: rgba(25, 240, 220, .55); box-shadow: 0 0 0 1px rgba(25, 240, 220, .25), 0 0 40px rgba(25, 240, 220, .18); }
.dia em { position: absolute; top: 10px; inset-inline-end: 12px; font-style: normal; font-size: 11px; padding: 2px 9px; border-radius: 99px; color: #031512; background: linear-gradient(120deg, var(--teal), #b6fff6); }
.wv { display: flex; gap: 5px; justify-content: center; align-items: center; height: 46px; }
.wv i { width: 5px; height: 10px; border-radius: 3px; background: linear-gradient(var(--teal), var(--violet)); animation: wv 1.3s ease-in-out infinite; }

.dia.more { border-style: dashed; border-color: rgba(123, 108, 255, .5); background: linear-gradient(135deg, rgba(25, 240, 220, .06), rgba(123, 108, 255, .12)); }
.dia.more b { background: linear-gradient(100deg, var(--teal), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===================================================== new chat pieces, settings drawer, theme button */
.themebtn, .iconbtn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); backdrop-filter: blur(10px); transition: transform .2s, box-shadow .3s, border-color .2s; }
.themebtn:hover, .iconbtn:hover { transform: translateY(-2px) rotate(8deg); border-color: var(--teal); box-shadow: 0 8px 24px rgba(25, 240, 220, .25); }
.themebtn .i-sun { display: none; } .themebtn .i-moon { display: block; }
html[data-theme="dark"] .themebtn .i-sun { display: block; } html[data-theme="dark"] .themebtn .i-moon { display: none; }
.chathead { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(14px, 4vw, 40px) 4px; }
.chathead b { font-size: 18px; display: block; } .chathead small { color: var(--mute); display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
.twin { display: flex; gap: 12px; align-items: center; } .twin .ok { color: var(--ok); font-weight: 600; margin-top: 2px; }
.orbmini { width: 38px; height: 38px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #b6fff6, var(--teal) 40%, var(--violet) 90%); box-shadow: 0 0 22px rgba(25, 240, 220, .5); animation: float 3s ease-in-out infinite; }
.sidesec small { color: var(--mute); text-transform: uppercase; letter-spacing: .6px; font-size: 11px; }
.recent { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.rec { display: flex; gap: 9px; align-items: center; text-align: start; background: none; border: 0; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: 14px; transition: background .2s; }
.rec:hover { background: rgba(25, 240, 220, .12); } .rec i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--mute); }
.rec.done i { background: var(--ok); } .rec.failed i { background: var(--bad); } .rec.new i, .rec.queued i, .rec.running i, .rec.prep i { background: var(--teal); animation: pulse 1.2s infinite; }
.rec span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidefoot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.gearbtn { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-size: 15px; transition: background .2s; }
.gearbtn:hover { background: rgba(25, 240, 220, .12); } .gearbtn svg { transition: transform .5s; } .gearbtn:hover svg { transform: rotate(90deg); }

.empty { max-width: 760px; width: 100%; padding: 10px 0 30px; }
.emblem { position: relative; width: 130px; height: 130px; margin: 0 auto; display: grid; place-items: center; }
.emblem img { width: 92px; position: relative; z-index: 2; filter: drop-shadow(0 0 26px rgba(25, 240, 220, .55)); animation: float 4s ease-in-out infinite; }
.emblem i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(25, 240, 220, .45); animation: ripple 3s infinite; } .emblem i:nth-child(3) { animation-delay: 1.5s; }
.empty .sugt { margin: 22px 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .7px; color: var(--mute); }
.sugs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; text-align: start; }
.sug { padding: 14px 16px; border-radius: 16px; color: var(--ink); text-align: start; transition: transform .25s, box-shadow .3s, border-color .25s; }
.sug b { display: block; margin-bottom: 4px; } .sug span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--mute); font-size: 13.5px; }
.sug:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 18px 40px rgba(25, 240, 220, .16); }
.tips { margin-top: 16px; padding: 14px 18px; text-align: start; font-size: 14px; } .tips b { display: block; margin-bottom: 4px; } .tips ul { margin: 0; padding-inline-start: 20px; color: var(--mute); }

#settings { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
#settings .sbd { position: absolute; inset: 0; background: rgba(5, 10, 25, .42); backdrop-filter: blur(5px); opacity: 0; transition: opacity .28s; }
#settings .spanel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(400px, 94vw); padding: 24px; border-radius: 0; border-block: 0; border-inline-end: 0; overflow: auto;
  transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
[dir="rtl"] #settings .spanel { transform: translateX(-105%); border-inline-end: 1px solid var(--line); border-inline-start: 0; }
#settings.on { pointer-events: auto; } #settings.on .sbd { opacity: 1; } #settings.on .spanel { transform: none; }
.shead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; } .shead b { font-size: 22px; }
.ssec { margin-bottom: 26px; } .ssec small { color: var(--mute); text-transform: uppercase; letter-spacing: .7px; font-size: 11px; }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; } .srow .muted { color: var(--mute); font-size: 13px; word-break: break-all; text-align: end; }
.shint { color: var(--mute); font-size: 13px; margin: 8px 0 0; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: rgba(127, 150, 200, .1); }
.seg button { border: 0; background: none; color: var(--mute); padding: 6px 12px; border-radius: 9px; font-size: 13px; transition: background .2s, color .2s; }
.seg button.on { background: linear-gradient(120deg, var(--teal), #7ff9ec); color: #031512; font-weight: 600; box-shadow: 0 4px 14px rgba(25, 240, 220, .35); }

/* ===================================================== LIGHT THEME (default) */
html[data-theme="light"] {
  --bg: #f1f6fc; --ink: #0c1733; --mute: #4f6082; --line: rgba(30, 60, 120, .16);
  --teal: #00a99b; --teal2: #00b3a4; --violet: #5f4fe0; --silver: #51607e; --bad: #d23a55; --ok: #0e9d68;
  --glass: rgba(255, 255, 255, .74);
}
html[data-theme="light"] body { background: linear-gradient(180deg, #f7fbff 0%, #eaf3fb 55%, #e6f1f4 100%); }
html[data-theme="light"] .vignette { background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(241, 246, 252, .85) 100%); }
html[data-theme="light"] #nav { background: linear-gradient(to bottom, rgba(244, 249, 255, .92), rgba(244, 249, 255, 0)); }
html[data-theme="light"] .glass { box-shadow: 0 18px 50px rgba(40, 70, 130, .13), inset 0 1px 0 rgba(255, 255, 255, .95); }
html[data-theme="light"] .brand img { filter: drop-shadow(0 4px 10px rgba(0, 169, 155, .35)); }
html[data-theme="light"] .brand em { color: #007d73; background: rgba(0, 169, 155, .08); }
html[data-theme="light"] a { color: #007d73; }
html[data-theme="light"] #navlinks a:hover { background: rgba(30, 60, 120, .07); }
html[data-theme="light"] .btn { color: #03231f; box-shadow: 0 0 0 0 rgba(0, 169, 155, .4), 0 10px 26px rgba(0, 169, 155, .28); }
html[data-theme="light"] .btn.ghost { color: var(--ink); background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .btn.bad { background: rgba(210, 58, 85, .1); color: var(--bad); border-color: rgba(210, 58, 85, .4); }
html[data-theme="light"] .grad, html[data-theme="light"] h1.title .w.grad { background-image: linear-gradient(100deg, #00b3a4, #19c7ff 32%, #6a5cff 66%, #00b3a4); }
html[data-theme="light"] h1.title { text-shadow: 0 2px 30px rgba(255, 255, 255, .8); }
html[data-theme="light"] .badge { background: rgba(255, 255, 255, .8); color: var(--ink); }
html[data-theme="light"] .chip { background: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 70, 130, .16), 0 0 22px rgba(0, 169, 155, .12); }
html[data-theme="light"] .marquee { background: rgba(255, 255, 255, .55); }
html[data-theme="light"] .marquee span { -webkit-text-stroke: 1px rgba(40, 70, 140, .55); }
html[data-theme="light"] .card3d .ic { background: linear-gradient(135deg, rgba(0, 179, 164, .16), rgba(95, 79, 224, .16)); }
html[data-theme="light"] .step::before, html[data-theme="light"] .btn { }
html[data-theme="light"] .field input[type=text], html[data-theme="light"] .field input[type=email], html[data-theme="light"] .field input[type=password] { background: #fff; color: var(--ink); }
html[data-theme="light"] .ring .bg { stroke: rgba(30, 60, 120, .12); } html[data-theme="light"] .bar, html[data-theme="light"] .dots i { background: rgba(30, 60, 120, .1); }
html[data-theme="light"] .prompt { background: linear-gradient(135deg, rgba(0, 179, 164, .1), rgba(95, 79, 224, .1)); }
html[data-theme="light"] .side { background: rgba(255, 255, 255, .55); }
html[data-theme="light"] .me2 .bubble { background: linear-gradient(135deg, rgba(0, 179, 164, .2), rgba(95, 79, 224, .18)); border-color: rgba(0, 169, 155, .35); }
html[data-theme="light"] .ai .bubble { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .composer textarea { color: var(--ink); }
html[data-theme="light"] #toast { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 14px 40px rgba(40, 70, 130, .2); }
html[data-theme="light"] #spot { mix-blend-mode: multiply; background: radial-gradient(circle, rgba(0, 190, 175, .10), rgba(110, 90, 255, .06) 40%, transparent 70%); }
html[data-theme="light"] #wipe { background: radial-gradient(ellipse at center, rgba(244, 249, 255, 0) 0%, rgba(244, 249, 255, .6) 70%, rgba(244, 249, 255, .95) 100%); }
html[data-theme="light"] #settings .sbd { background: rgba(20, 40, 90, .28); }
html[data-theme="light"] .admin input[type=number], html[data-theme="light"] .admin input[type=password] { background: #fff; color: var(--ink); }
html[data-theme="light"] .dia.more { background: linear-gradient(135deg, rgba(0, 179, 164, .08), rgba(95, 79, 224, .12)); }
html[data-theme="light"] .banner { background: rgba(210, 58, 85, .08); }
html[data-theme="light"] .orbmini, html[data-theme="light"] .avatar { box-shadow: 0 6px 18px rgba(0, 169, 155, .4); }
html[data-theme="light"] .sug:hover { box-shadow: 0 18px 40px rgba(0, 169, 155, .18); }
html[data-theme="light"] .seg { background: rgba(30, 60, 120, .06); }
.sugs { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (max-width: 700px) { .sugs { grid-template-columns: 1fr; } }
.emblem { width: 104px; height: 104px; } .emblem img { width: 74px; } .empty h3 { margin: 6px 0 4px; } .empty > p { margin: 0 0 4px; } .empty .sugt { margin: 14px 0 8px; }
.tips { margin-top: 12px; padding: 12px 16px; font-size: 13px; }

/* ===================================================== Qarinova 1.0 Beta card + watermark preview + Auronile brand */
.modelcard { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 34px; padding: clamp(22px, 4vw, 44px); align-items: center; position: relative; overflow: hidden; }
.modelcard::before { content: ""; position: absolute; width: 420px; height: 420px; inset-inline-end: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(123, 108, 255, .28), transparent 65%); animation: float 7s ease-in-out infinite; pointer-events: none; }
@media (max-width: 860px) { .modelcard { grid-template-columns: 1fr; } }
.pill { display: inline-block; padding: 5px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #031512; background: linear-gradient(120deg, var(--teal), #ffd86b); box-shadow: 0 0 22px rgba(25, 240, 220, .35); }
.mname { font-size: clamp(34px, 6vw, 68px) !important; line-height: 1.05; margin: 14px 0 6px !important; letter-spacing: -1px; }
.mname::after { display: none !important; }
.mtxt h3 { margin: 0 0 8px; font-size: 22px; } .mtxt p { color: var(--mute); margin: 0 0 14px; font-size: 17px; }
.mtxt ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; } .mtxt li { position: relative; padding-inline-start: 26px; color: var(--ink); }
.mtxt li::before { content: "✦"; position: absolute; inset-inline-start: 0; color: var(--teal); text-shadow: 0 0 10px var(--teal); }

.wmframe { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background:
  radial-gradient(circle at 30% 30%, rgba(25, 240, 220, .22), transparent 55%), radial-gradient(circle at 75% 70%, rgba(123, 108, 255, .3), transparent 55%), linear-gradient(135deg, #0a1230, #131a3d); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.wmghost { position: absolute; inset: 14% auto auto 28%; width: 44%; opacity: .18; animation: float 6s ease-in-out infinite; }
.wmframe::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 4px); pointer-events: none; }
.wmplate { position: absolute; inset-inline-end: 4%; bottom: 6%; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 6px; background: rgba(5, 10, 25, .66); overflow: hidden; animation: wmin 7s ease-in-out infinite; }
.wmplate img { width: 34px; animation: float 2.4s ease-in-out infinite; } .wmplate b { display: block; color: #fff; font-size: 15px; white-space: nowrap; } .wmplate small { display: block; color: #9ffff4; font-size: 10.5px; white-space: nowrap; }
.wmbar { position: absolute; bottom: 0; height: 2px; width: 28%; background: #19f0dc; box-shadow: 0 0 10px #19f0dc; animation: wmbar 2.6s ease-in-out infinite alternate; inset-inline-start: 0; }
@keyframes wmin { 0% { transform: translateX(60px); opacity: 0; } 9% { transform: none; opacity: 1; } 88% { transform: none; opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes wmbar { to { inset-inline-start: 72%; } }

.betatag { font-style: normal; font-weight: 600; font-size: 11px; margin-inline-start: 8px; padding: 2px 10px; border-radius: 99px; color: #031512; background: linear-gradient(120deg, var(--teal), #ffd86b); vertical-align: middle; }

.auro { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 99px; color: var(--ink); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); transition: transform .3s, box-shadow .3s, border-color .3s; font-size: 13px; }
.auro:hover { text-decoration: none; transform: translateY(-3px); border-color: #2a7fff; box-shadow: 0 14px 40px rgba(42, 127, 255, .3); }
.auro-t { color: var(--mute); } .auro-logo { display: grid; place-items: center; width: 38px; height: 28px; padding: 2px 6px; border-radius: 9px; background: rgba(255, 255, 255, .96); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.auro-logo img { height: 100%; width: auto; max-width: 100%; display: block; } .auro b { font-size: 15px; letter-spacing: .3px; } .auro em { font-style: normal; color: var(--teal); font-size: 12px; }
.auro.big { padding: 10px 22px 10px 12px; font-size: 14px; } .auro.big .auro-logo { width: 52px; height: 38px; }
.auro.mini { padding: 6px 12px 6px 8px; font-size: 11.5px; gap: 8px; width: 100%; justify-content: flex-start; margin-bottom: 8px; border-radius: 14px; flex-wrap: wrap; } .auro.mini .auro-logo { width: 30px; height: 22px; } .auro.mini em { display: none; }
.auro.mini .auro-t { flex: 1 1 100%; font-size: 11px; }
footer.foot { display: grid; gap: 14px; justify-items: center; padding-bottom: 46px; }
.auro-wrap { position: fixed; bottom: 12px; inset-inline: 0; display: flex; justify-content: center; z-index: 8; pointer-events: none; } .auro-wrap .auro { pointer-events: auto; }
.sauro { margin-top: 20px; } .sauro .auro { width: 100%; }
@media (max-width: 700px) { .auro-wrap { display: none; } }
html[data-theme="light"] .wmframe { box-shadow: 0 24px 60px rgba(40, 70, 130, .25); }

/* ===================================================== waiting page + admin dashboard */
.orbwrap .spacer { height: min(30vh, 260px); } .orbwrap .pill { margin-bottom: 8px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 28px auto 0; max-width: 760px; text-align: center; position: relative; }
@media (max-width: 700px) { .timeline { grid-template-columns: 1fr 1fr; } }
.timeline li { position: relative; display: grid; justify-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.timeline i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-weight: 700; border: 1px solid var(--line); background: var(--glass); }
.timeline li.done i { background: linear-gradient(135deg, var(--teal), var(--violet)); color: #031512; border: 0; box-shadow: 0 0 20px rgba(25, 240, 220, .5); } .timeline li.done { color: var(--ink); }
.timeline li.now i { border-color: var(--teal); box-shadow: 0 0 0 0 rgba(25, 240, 220, .5); animation: ripplebox 1.8s infinite; color: var(--teal); } .timeline li.now { color: var(--ink); }
@keyframes ripplebox { to { box-shadow: 0 0 0 14px rgba(25, 240, 220, 0); } }

.admin2 { max-width: 1040px; margin: 0 auto; } .ahead { display: flex; justify-content: space-between; align-items: center; } .ahead h2 { font-size: 34px; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 20px 0; }
.stat { padding: 18px 20px; } .stat b { display: block; font-size: 32px; font-variant-numeric: tabular-nums; } .stat small { color: var(--mute); }
.stat.hot { border-color: var(--teal); box-shadow: 0 0 0 1px rgba(25, 240, 220, .3), 0 0 34px rgba(25, 240, 220, .25); } .stat.hot b { color: var(--teal); animation: pulse2 2s infinite; } @keyframes pulse2 { 50% { text-shadow: 0 0 18px var(--teal); } }
.ebar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 18px; font-size: 14px; } .ebar.warn { border-color: rgba(255, 216, 107, .55); } .ebar.ok { border-color: rgba(62, 230, 160, .5); }
.ebar input { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 9, 22, .55); color: var(--ink); min-width: 190px; }
html[data-theme="light"] .ebar input, html[data-theme="light"] .mins input, html[data-theme="light"] .people input { background: #fff; }
.tabs { display: flex; gap: 6px; margin: 22px 0 14px; } .tabs button { border: 1px solid var(--line); background: var(--glass); color: var(--mute); padding: 9px 18px; border-radius: 99px; font-size: 14px; transition: .2s; }
.tabs button.on { color: #031512; background: linear-gradient(120deg, var(--teal), #7ff9ec); border: 0; font-weight: 700; box-shadow: 0 6px 20px rgba(25, 240, 220, .3); }
.req { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px; margin-bottom: 12px; transition: opacity .4s, transform .4s, max-height .4s; max-height: 220px; animation: pop .45s both; }
@media (max-width: 800px) { .req { grid-template-columns: auto 1fr; } .racts { grid-column: 1 / -1; } }
.req.busy { opacity: .6; pointer-events: none; } .req.gone { opacity: 0; transform: translateX(60px) scale(.96); max-height: 0; padding-block: 0; margin: 0; overflow: hidden; }
.rinfo b { display: block; font-size: 17px; } .rinfo small { display: block; color: var(--mute); font-size: 13px; word-break: break-all; } .crt { font-size: 11px; padding: 2px 9px; border-radius: 99px; background: linear-gradient(120deg, var(--teal), #ffd86b); color: #031512; font-weight: 700; vertical-align: middle; }
.racts { display: grid; gap: 10px; justify-items: end; } .mins { display: flex; gap: 8px; align-items: center; } .qk { display: inline-flex; gap: 4px; }
.q { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--ink); font-weight: 700; } .q.on { background: var(--teal); color: #031512; border-color: var(--teal); box-shadow: 0 0 16px rgba(25, 240, 220, .45); }
.mins input { width: 74px; padding: 7px; border-radius: 10px; border: 1px solid var(--line); background: rgba(5, 9, 22, .55); color: var(--ink); text-align: center; } .racts .check { margin: 0; }
.empty2 { text-align: center; color: var(--mute); padding: 50px 0; font-size: 17px; }
.people { padding: 10px 16px; overflow-x: auto; } .people table { width: 100%; border-collapse: collapse; } .people th, .people td { padding: 10px 8px; text-align: start; border-bottom: 1px solid var(--line); font-size: 14px; } .people small { color: var(--mute); }
.people input { width: 74px; padding: 6px; border-radius: 8px; border: 1px solid var(--line); background: rgba(5, 9, 22, .55); color: var(--ink); } .nw { white-space: nowrap; }
.badge2, .mstate { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--mute); } .mstate.ok { color: var(--ok); border-color: var(--ok); } .mstate.bad { color: var(--bad); border-color: var(--bad); }

.pendcard { max-width: 640px; padding: clamp(24px, 4vw, 40px); margin-top: 40px; text-align: start; animation: rise .7s both; } .pendcard h2 { margin: 12px 0 8px; } .pendcard .lead { margin: 0; }
.pendcard .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; text-align: start; margin-top: 26px; gap: 14px; } .pendcard .timeline li { grid-template-columns: auto 1fr; justify-items: start; align-items: center; gap: 12px; font-size: 14px; }

/* ===================================================== legal pages, notices, danger zone */
.legal { display: flex; gap: 10px; justify-content: center; font-size: 12.5px; color: var(--mute); } .legal a { color: var(--mute); } .legal a:hover { color: var(--teal); }
.auro-wrap { flex-direction: column; align-items: center; gap: 6px; } .auro-wrap .legal { pointer-events: auto; }
.fine { font-size: 12.5px; color: var(--mute); margin: 4px 0 10px; } #cfw { margin: 6px 0; min-height: 0; }
.legaldoc { max-width: 820px; margin: 30px auto; padding: clamp(22px, 4vw, 44px); } .legaldoc h1 { margin: 8px 0 4px; } .legaldoc h3 { margin: 22px 0 6px; font-size: 18px; color: var(--teal); }
.legaldoc div, .legaldoc li { color: var(--ink); line-height: 1.8; } .legaldoc ul { padding-inline-start: 22px; margin: 6px 0; } .legaldoc .draft { color: var(--mute); font-size: 13px; margin: 0 0 8px; }
.back { font-size: 14px; color: var(--mute); }
.vbanner { margin-top: 20px; padding: 12px 16px; border-radius: 14px; display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; border: 1px solid rgba(255, 216, 107, .5); background: rgba(255, 216, 107, .08); font-size: 14px; }
.danger { border: 1px solid rgba(255, 123, 138, .35); border-radius: 14px; padding: 14px; } .danger small { color: var(--bad); }
.vok { color: var(--ok); font-weight: 700; } .vno { color: var(--bad); font-weight: 700; }
.auro-wrap { position: static; padding: 10px 0 28px; inset: auto; } .formwrap { min-height: calc(100vh - 150px); }
