/* Accounts: header avatar, sign-up/upgrade modal, OAuth buttons, login, pricing, dashboard, smart blur, legal. */
.acct .av { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; overflow: hidden; background: #1c1c20; border: 1px solid var(--line2); font-family: var(--fpix); font-size: 13px; color: var(--lime); }
.acct .av img { width: 100%; height: 100%; object-fit: cover; }
.ilink { color: var(--lime); border-bottom: 1px dashed rgba(216,255,60,.5); }
.muted { color: var(--muted); }
.umodal { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 16px; background: rgba(5,5,7,.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.umodal.on { opacity: 1; pointer-events: auto; }
.ubox { position: relative; width: min(420px, 100%); padding: 30px 26px 26px; background: #111113; border: 1px solid var(--line2); border-radius: 16px; box-shadow: 0 40px 100px rgba(0,0,0,.7); transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.umodal.on .ubox { transform: none; }
.ubox h3 { font-family: var(--fhead); font-size: 30px; margin: 12px 0 8px; }
.ubox p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.uacts { display: flex; flex-direction: column; gap: 10px; }
.uclose { position: absolute; right: 14px; top: 10px; font-size: 22px; color: var(--muted); }
.obtn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 13px 16px; border-radius: 11px; font-size: 14px; font-weight: 600; border: 1px solid var(--line2); transition: transform .15s, border-color .2s, background .2s; }
.obtn svg { width: 18px; height: 18px; }
.obtn.google { background: #fff; color: #1f1f1f; border-color: #fff; }
.obtn.github { background: #1b1b1f; color: var(--text); }
.obtn:hover { transform: translateY(-2px); border-color: var(--lime); }
.olink { text-align: center; font-size: 13px; color: var(--muted); margin-top: 4px; }
.olink:hover { color: var(--lime); }

/* login */
.auth { padding: 70px 24px 90px; }
.authcard { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.authart { position: relative; min-height: 520px; background: #050505; }
.authq { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 24px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; flex-direction: column; gap: 8px; }
.authq b { font-family: var(--fhead); font-size: 22px; font-weight: 600; }
.authq span { font-family: var(--fpix); font-size: 10px; color: var(--lime); }
.authform { padding: 46px 40px; display: flex; flex-direction: column; gap: 12px; }
.h2.sm { font-size: clamp(36px, 5vw, 60px); }
.authform .h2 { margin: 6px 0 2px; }
.authform > p.muted { margin-bottom: 12px; font-size: 14px; }
.or { display: flex; align-items: center; gap: 12px; margin: 8px 0; font-size: 12px; color: var(--dim); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.eform { display: flex; gap: 8px; }
.eform input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 11px; background: #0e0e10; border: 1px solid var(--line2); color: var(--text); font: 14px var(--fui); outline: none; }
.eform input:focus { border-color: var(--lime); }
.tiny { font-size: 12px; line-height: 1.55; color: var(--dim); }
.tiny.bad { color: var(--red); } .tiny.good { color: var(--lime); }
.tiny a { color: var(--muted); text-decoration: underline; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .25s; }
.plan:hover { transform: translateY(-6px); }
.plan.pro { border-color: rgba(216,255,60,.55); background: radial-gradient(500px 220px at 50% 0%, rgba(216,255,60,.1), transparent 70%), var(--card); box-shadow: 0 0 60px rgba(216,255,60,.08); }
.badge { position: absolute; top: -12px; right: 22px; padding: 5px 9px; background: var(--lime); color: #000; font-family: var(--fpix); font-size: 10px; clip-path: var(--notch); }
.pname { font-family: var(--fpix); font-size: 13px; color: var(--lime); }
.price b { font-family: var(--fhead); font-size: 64px; line-height: 1; }
.price span { margin-left: 8px; color: var(--muted); }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: #cfcfd4; }
.plan li i { flex: none; width: 8px; height: 8px; background: var(--lime); transform: translateY(-1px); }
.plan li.no { color: var(--dim); } .plan li.no i { background: var(--line2); }
.wide { width: 100%; text-align: center; justify-content: center; }
.gbtn.wide { display: block; padding: 14px; }
.refer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: 900px; margin: 28px auto 0; padding: 26px 28px; border: 1px dashed rgba(216,255,60,.4); border-radius: 16px; }
.refer h3 { font-family: var(--fhead); font-size: 26px; margin: 8px 0 6px; }
.refer p { color: var(--muted); font-size: 14px; max-width: 520px; line-height: 1.6; }
.faq { max-width: 900px; margin: 46px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--lime); font-family: var(--fpix); }
.faq details[open] summary::after { content: "-"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* dashboard */
.dash .reveal { animation: none; }
.dtop { padding-top: 60px; }
.dhello { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.dhello .gbtn { margin-left: auto; }
.dhello > div { min-width: 0; }
.dhello .h2 { overflow-wrap: anywhere; }
.dhello .avatar, .dhello .gbtn { flex-shrink: 0; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; background: #1a1a1d; border: 1px solid var(--line2); font-family: var(--fhead); font-size: 28px; color: var(--lime); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.meters { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.meter2 { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.meter2 > span { font-family: var(--fpix); font-size: 10px; color: var(--muted); }
.meter2 b { font-family: var(--fhead); font-size: 40px; line-height: 1; }
.meter2 small { color: var(--dim); font-size: 12px; }
.bar { height: 6px; background: #1e1e22; border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--lime); box-shadow: 0 0 10px rgba(216,255,60,.6); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.meter2.upsell { border-color: rgba(216,255,60,.4); background: radial-gradient(300px 160px at 100% 0%, rgba(216,255,60,.1), transparent 70%), var(--card); }
.meter2.upsell b { color: var(--lime); font-size: 32px; }
.meter2.upsell .pbtn { align-self: flex-start; margin-top: 4px; }
.invite { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 18px 20px; border: 1px dashed rgba(216,255,60,.35); border-radius: 14px; }
.invite p { color: var(--muted); font-size: 14px; margin-top: 6px; } .invite b { color: var(--text); }
.ilinkbox { display: flex; gap: 8px; flex: 1; min-width: 260px; }
.ilinkbox input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; background: #0e0e10; border: 1px solid var(--line2); color: var(--lime); font: 13px var(--fmono); }
.invite small { color: var(--dim); font-size: 12px; width: 100%; }
.dtool { padding-top: 70px; scroll-margin-top: 80px; }
.hist { display: flex; flex-direction: column; gap: 10px; }
.hitem { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.hitem p { font-size: 13px; color: #cfcfd4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hitem small { grid-column: 2; color: var(--dim); font-size: 11px; }
.hk { grid-row: span 2; align-self: start; font-family: var(--fpix); font-size: 9px; padding: 4px 6px; background: var(--lime); color: #000; }
.hk.detect { background: #2a2a30; color: var(--lime); }

/* smart blur + dare */
.blurred { position: relative; margin-top: 14px; border-radius: 10px; overflow: hidden; }
.blurred p { filter: blur(5px); user-select: none; color: #bdbdc3; white-space: pre-wrap; max-height: 200px; overflow: hidden; }
.bcta { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; background: linear-gradient(180deg, rgba(20,20,22,.2), rgba(20,20,22,.85)); font-family: var(--fui); white-space: normal; }
.bcta b { font-family: var(--fhead); font-size: 22px; color: var(--text); }
.bcta span { font-size: 12px; color: var(--muted); }
.dare { margin-top: 14px; padding: 10px 12px; border-left: 2px solid var(--lime); background: rgba(216,255,60,.05); font-family: var(--fui); font-size: 12px; color: var(--muted); white-space: normal; }
.dare a { color: var(--lime); }

/* slim footer + legal */
footer.slim { margin-top: 60px; background: none; }
footer.slim .fine a { color: var(--muted); } footer.slim .fine a:hover { color: var(--lime); }
.legal .prose { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.legal h3 { font-family: var(--fhead); font-size: 22px; margin-top: 16px; }
.legal p { color: var(--muted); line-height: 1.7; font-size: 15px; } .legal a { color: var(--lime); }

@media (max-width: 900px) {
  .authcard, .plans, .meters { grid-template-columns: 1fr; }
  .authart { min-height: 240px; }
  .authform { padding: 32px 22px; }
}
