/* DOME mobile — Ionity (Pty) Ltd */
@font-face { font-family: Orbitron; src: url(../assets/fonts/orbitron-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url(../assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url(../assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
:root { --bg: #07111f; --bg2: #0d1b2a; --card: #0f2236; --line: rgba(0, 191, 255, .16); --cyan: #00bfff; --text: #e8f5ff; --muted: #8aa6c0; --ok: #2fd18b; --warn: #ffb547; --bad: #ff5d73; --head: Orbitron, 'Segoe UI', sans-serif; --body: 'IBM Plex Sans', system-ui, sans-serif; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--body); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); min-height: 100vh; background: radial-gradient(circle at 50% -10%, rgba(0, 191, 255, .18), transparent 55%), var(--bg); }
a { color: var(--cyan); }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top)) 16px 12px; background: rgba(7, 17, 31, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wm { height: 13px; }
.top .pn { font: 700 13px var(--head); letter-spacing: .3em; color: var(--cyan); padding-left: 10px; border-left: 1px solid var(--line); }
.top .ghost { margin-left: auto; }
main { max-width: 640px; margin: 0 auto; padding: 16px; }
h1 { font: 700 22px var(--head); margin: 6px 0 4px; letter-spacing: .03em; }
h2 { font: 700 13px var(--head); letter-spacing: .2em; color: var(--cyan); margin: 22px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.card { background: linear-gradient(160deg, rgba(0, 191, 255, .07), rgba(13, 27, 42, .85) 60%); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 10px 0; }
.row { display: flex; align-items: center; gap: 12px; }
.sp { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 191, 255, .07); color: var(--text); font: 600 15px var(--body); cursor: pointer; text-decoration: none; }
.btn.pri { background: linear-gradient(180deg, #19c8ff, #0096d6); color: #04121f; border-color: transparent; }
.btn + .btn { margin-top: 10px; }
.ghost { background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; height: 34px; min-width: 34px; font-size: 16px; cursor: pointer; }
input { width: 100%; height: 50px; border-radius: 14px; border: 1px solid var(--line); background: #0a1726; color: var(--text); padding: 0 14px; font: 16px var(--body); margin: 6px 0; }
input:focus { outline: none; border-color: var(--cyan); }
.err { color: var(--bad); font-size: 13px; min-height: 18px; margin: 6px 0; }
.center { text-align: center; }
.pad { padding: 40px 0; }
.spin { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--cyan); animation: s 1s linear infinite; margin: 0 auto; }
@keyframes s { to { transform: rotate(360deg); } }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .n { position: absolute; inset: 0; display: grid; place-items: center; font: 700 17px var(--head); }
.ring.lg { width: 130px; height: 130px; margin: 6px auto; }
.ring.lg .n { font-size: 34px; }
.pc b { font-size: 16px; }
.tag { display: inline-block; font: 700 10px var(--head); letter-spacing: .14em; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.tag.ok { color: var(--ok); border-color: rgba(47, 209, 139, .4); } .tag.warn { color: var(--warn); border-color: rgba(255, 181, 71, .4); } .tag.bad { color: var(--bad); border-color: rgba(255, 93, 115, .4); }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
.seg { margin: 12px 0; }
.list .it { padding: 12px 0; border-bottom: 1px solid rgba(0, 191, 255, .08); }
.list .it:last-child { border-bottom: 0; }
.steps { counter-reset: s; padding: 0; list-style: none; }
.steps li { position: relative; padding: 0 0 16px 44px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 191, 255, .14); color: var(--cyan); font: 700 13px var(--head); }
.kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: #0a1726; font-size: 13px; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(10, 23, 38, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: 0; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 3px; font: 600 11px var(--body); cursor: pointer; padding: 4px 0; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs button.on { color: var(--cyan); }
.toast { position: fixed; left: 16px; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 9; background: #0f2236; border: 1px solid var(--cyan); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.tabs[hidden], [hidden] { display: none !important; }
