/* Verde design system: black, HUD, video-game. One file for public site, admin, portal and operator app. */
:root {
  --bg: #050607; --bg2: #0a0c0f; --panel: #0f1216; --panel2: #151920; --panel3: #1b2029; --line: #1f2630; --line2: #2a323e;
  --text: #e9eef4; --muted: #8b95a5; --dim: #5c6675;
  --green: #22ff88; --green2: #11c868; --red: #ff3355; --red2: #c81f3f; --amber: #ffb020; --cyan: #35d7ff; --violet: #9d7bff; --gold: #ffd166;
  --glow-green: 0 0 24px rgba(34,255,136,.45), 0 0 80px rgba(34,255,136,.18); --glow-red: 0 0 24px rgba(255,51,85,.5), 0 0 80px rgba(255,51,85,.2); --glow-amber: 0 0 24px rgba(255,176,32,.45);
  --font-display: 'Rajdhani', 'Inter', system-ui, sans-serif; --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --r: 12px; --r2: 18px; --sidebar: 236px;
}
* { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.5; min-height: 100vh; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(1200px 600px at 20% -10%, rgba(34,255,136,.07), transparent 60%), radial-gradient(900px 500px at 100% 100%, rgba(53,215,255,.05), transparent 60%); }
body.scan::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px); }
a { color: var(--cyan); text-decoration: none; }
svg { max-width: 100%; } h1 svg, h2 svg, h3 svg, h4 svg, p svg, li svg, td svg, th svg, dd svg, label svg, .card > svg, .stat svg, .tag svg, .chip svg, .corner svg, .flash svg, .kv svg, .timeline svg, .hud svg, .station-tile svg, .empty svg, .userchip svg, .apptop svg, .bigicon-wrap svg { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; } h1 svg, h2 svg, h3 svg { margin-right: .35rem; color: var(--green); } .bigicon svg { width: 64px; height: 64px; }
 a:hover { text-decoration: underline; }
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 700; letter-spacing: .02em; line-height: 1.1; margin: 0 0 .5rem; text-transform: uppercase; }
h1 { font-size: 2rem; } h2 { font-size: 1.4rem; } h3 { font-size: 1.1rem; } h4 { font-size: .95rem; color: var(--muted); }
p { margin: 0 0 1rem; } small, .small { font-size: .82rem; } .muted { color: var(--muted); } .dim { color: var(--dim); } .mono { font-family: var(--font-mono); font-size: .85em; }
.num { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.green { color: var(--green); } .red { color: var(--red); } .amber { color: var(--amber); } .cyan { color: var(--cyan); } .violet { color: var(--violet); } .gold { color: var(--gold); }
.hide { display: none !important; } .right { text-align: right; } .center { text-align: center; } .nowrap { white-space: nowrap; } .flex { display: flex; gap: .75rem; align-items: center; } .between { justify-content: space-between; } .wrap { flex-wrap: wrap; } .grow { flex: 1; } .col { display: flex; flex-direction: column; gap: .5rem; }
.mt { margin-top: 1rem; } .mt2 { margin-top: 2rem; } .mb { margin-bottom: 1rem; } .mb0 { margin-bottom: 0; } .gap { gap: 1rem; } .w100 { width: 100%; }

/* layout */
.shell { position: relative; z-index: 1; display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar { background: var(--bg2); border-right: 1px solid var(--line); padding: 1.1rem .9rem; display: flex; flex-direction: column; gap: .25rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: .6rem; padding: .3rem .4rem 1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.brand .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: var(--glow-green); }
.brand .sub { font-size: .65rem; color: var(--muted); letter-spacing: .2em; margin-left: auto; }
.nav a { display: flex; align-items: center; gap: .6rem; padding: .5rem .65rem; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: .9rem; }
.nav a:hover { background: var(--panel); color: var(--text); text-decoration: none; } .nav a.active { background: linear-gradient(90deg, rgba(34,255,136,.14), transparent); color: var(--green); }
.nav a svg { width: 17px; height: 17px; opacity: .85; } .nav .sec { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); padding: .9rem .65rem .25rem; }
.nav .pill { margin-left: auto; font-size: .7rem; background: var(--panel3); padding: 0 .45rem; border-radius: 99px; color: var(--text); }
.main { padding: 1.4rem 1.8rem 4rem; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.topbar h1 { margin: 0; font-size: 1.6rem; } .topbar .crumbs { color: var(--muted); font-size: .85rem; } .topbar .spacer { flex: 1; }
.userchip { display: flex; align-items: center; gap: .5rem; padding: .3rem .6rem .3rem .3rem; border: 1px solid var(--line); border-radius: 99px; background: var(--panel); font-size: .85rem; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--panel3), var(--line2)); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--text); flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; } .avatar.lg { width: 56px; height: 56px; font-size: 1.2rem; }
.sidebar .foot { margin-top: auto; padding: .6rem .4rem 0; font-size: .75rem; color: var(--dim); }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } .sidebar { position: fixed; z-index: 50; width: min(84vw, 300px); height: 100vh; left: -110%; transition: left .2s; box-shadow: 0 0 60px rgba(0,0,0,.6); } .sidebar.open { left: 0; } .main { padding: 1rem; } .menubtn { display: inline-flex !important; } }
.menubtn { display: none; }

/* cards + grid */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: 1.1rem 1.2rem; position: relative; }
.card.glow { border-color: rgba(34,255,136,.3); box-shadow: inset 0 0 0 1px rgba(34,255,136,.08), 0 0 40px rgba(34,255,136,.06); }
.card h3 { display: flex; align-items: center; gap: .5rem; } .card > h3:first-child, .card > h2:first-child { margin-bottom: .9rem; }
.card .corner { position: absolute; top: .9rem; right: 1rem; font-size: .8rem; color: var(--muted); }
.grid { display: grid; gap: 1rem; } .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); }
.g23 { grid-template-columns: 2fr 3fr; } .g32 { grid-template-columns: 3fr 2fr; } .g13 { grid-template-columns: 1fr 3fr; }
@media (max-width: 1200px) { .g4, .g5, .g6 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .g2, .g3, .g4, .g5, .g6, .g23, .g32, .g13 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .g2, .g3, .g4, .g5, .g6, .g23, .g32, .g13 { grid-template-columns: 1fr; } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r2); padding: .9rem 1.1rem; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.stat .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); } .stat .v { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; } .stat .d { font-size: .78rem; color: var(--muted); }
.stat.good .v { color: var(--green); text-shadow: 0 0 18px rgba(34,255,136,.35); } .stat.bad .v { color: var(--red); } .stat.warn .v { color: var(--amber); } .stat.info .v { color: var(--cyan); }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: .88rem; } .table th { text-align: left; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: .5rem .6rem; border-bottom: 1px solid var(--line); }
.table td { padding: .55rem .6rem; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; } .table tr:hover td { background: rgba(255,255,255,.015); } .table .r { text-align: right; } .tablewrap { overflow-x: auto; }
.table .ck { white-space: nowrap; }

/* badges + lights */
.tag { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 99px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: var(--panel3); color: var(--muted); border: 1px solid var(--line2); white-space: nowrap; }
.tag.green { background: rgba(34,255,136,.12); color: var(--green); border-color: rgba(34,255,136,.3); } .tag.red { background: rgba(255,51,85,.12); color: var(--red); border-color: rgba(255,51,85,.3); } .tag.amber { background: rgba(255,176,32,.12); color: var(--amber); border-color: rgba(255,176,32,.3); } .tag.cyan { background: rgba(53,215,255,.12); color: var(--cyan); border-color: rgba(53,215,255,.3); } .tag.violet { background: rgba(157,123,255,.12); color: var(--violet); border-color: rgba(157,123,255,.3); } .tag.gold { background: rgba(255,209,102,.12); color: var(--gold); border-color: rgba(255,209,102,.3); }
.light { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--dim); flex: none; }
.light.green { background: var(--green); box-shadow: 0 0 10px var(--green); } .light.red { background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1s infinite; } .light.yellow { background: var(--amber); box-shadow: 0 0 10px var(--amber); } .light.running { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); } .light.idle { background: var(--line2); } .light.offline { background: #333; } .light.paused { background: var(--violet); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* forms */
label { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .3rem; font-weight: 600; }
.field { margin-bottom: .9rem; } .field .help { font-size: .76rem; color: var(--dim); margin-top: .25rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], input[type=url], input[type=tel], input[type=date], input[type=datetime-local], input[type=time], select, textarea { width: 100%; background: var(--bg2); border: 1px solid var(--line2); color: var(--text); border-radius: 10px; padding: .6rem .75rem; font: inherit; font-size: .95rem; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,255,136,.12); } textarea { min-height: 96px; resize: vertical; } select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
input[type=checkbox], input[type=radio] { accent-color: var(--green); width: 16px; height: 16px; } .check { display: flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--text); font-weight: 400; }
.row { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .6rem 1.1rem; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; white-space: nowrap; text-decoration: none !important; }
.btn:hover { background: var(--panel3); border-color: var(--muted); } .btn:active { transform: translateY(1px); } .btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--green); border-color: var(--green); color: #04110a; box-shadow: 0 0 20px rgba(34,255,136,.25); } .btn.primary:hover { background: #4dffa0; }
.btn.danger { background: rgba(255,51,85,.12); border-color: rgba(255,51,85,.4); color: var(--red); } .btn.danger:hover { background: rgba(255,51,85,.25); }
.btn.ghost { background: transparent; } .btn.sm { padding: .32rem .65rem; font-size: .78rem; border-radius: 8px; } .btn.lg { padding: .9rem 1.6rem; font-size: 1.05rem; border-radius: 14px; } .btn.block { width: 100%; }
.btn svg { width: 16px; height: 16px; }
.btnrow { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.flash { padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; border: 1px solid; font-size: .9rem; } .flash.ok { background: rgba(34,255,136,.1); border-color: rgba(34,255,136,.35); color: var(--green); } .flash.bad { background: rgba(255,51,85,.1); border-color: rgba(255,51,85,.4); color: var(--red); } .flash.info { background: rgba(53,215,255,.1); border-color: rgba(53,215,255,.35); color: var(--cyan); }
.toast { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); background: var(--panel3); border: 1px solid var(--line2); color: var(--text); padding: .7rem 1.1rem; border-radius: 12px; z-index: 999; box-shadow: 0 10px 40px rgba(0,0,0,.6); font-size: .9rem; max-width: 92vw; }
.toast.ok { border-color: var(--green); } .toast.bad { border-color: var(--red); }
.empty { padding: 2.2rem 1rem; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: var(--r2); }
.progress { height: 8px; background: var(--bg2); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); } .progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green2), var(--green)); border-radius: 99px; box-shadow: 0 0 10px rgba(34,255,136,.5); transition: width .5s; } .progress.cyan i { background: linear-gradient(90deg, #1aa0c8, var(--cyan)); box-shadow: 0 0 10px rgba(53,215,255,.5); } .progress.amber i { background: var(--amber); box-shadow: none; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; font-size: .9rem; } .kv dt { color: var(--muted); } .kv dd { margin: 0; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; overflow-x: auto; } .tabs a { padding: .55rem .9rem; color: var(--muted); font-weight: 600; font-size: .88rem; border-bottom: 2px solid transparent; white-space: nowrap; } .tabs a.active { color: var(--green); border-bottom-color: var(--green); } .tabs a:hover { text-decoration: none; color: var(--text); }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: end; margin-bottom: 1rem; } .filters .field { margin: 0; min-width: 140px; }
.chip { display: inline-flex; padding: .3rem .7rem; border-radius: 99px; border: 1px solid var(--line2); color: var(--muted); font-size: .8rem; font-weight: 600; } .chip.active, .chip:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
code, pre { font-family: var(--font-mono); } pre { background: var(--bg2); border: 1px solid var(--line); padding: .8rem 1rem; border-radius: 10px; overflow-x: auto; font-size: .8rem; line-height: 1.5; }
.hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 200; padding: 1rem; } .modal.open { display: flex; } .modal .box { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r2); padding: 1.3rem; width: min(640px, 100%); max-height: 92vh; overflow: auto; }
.qr { background: #fff; padding: 10px; border-radius: 10px; display: inline-block; }
.timeline { list-style: none; margin: 0; padding: 0; } .timeline li { display: grid; grid-template-columns: 14px 1fr; gap: .7rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: .88rem; } .timeline .light { margin-top: .35rem; }
.markdown h1, .markdown h2, .markdown h3 { text-transform: none; letter-spacing: 0; margin-top: 1.4rem; } .markdown table { border-collapse: collapse; width: 100%; font-size: .85rem; margin: .8rem 0; } .markdown th, .markdown td { border: 1px solid var(--line); padding: .4rem .6rem; text-align: left; vertical-align: top; } .markdown th { background: var(--panel2); } .markdown ul { padding-left: 1.3rem; } .markdown blockquote { border-left: 3px solid var(--green); margin: 1rem 0; padding: .2rem 1rem; color: var(--muted); } .markdown a { word-break: break-all; }
.hud { border: 1px solid var(--line2); border-radius: var(--r2); padding: 1rem; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); position: relative; }
.hud::before, .hud::after { content: ''; position: absolute; width: 14px; height: 14px; border-color: var(--green); border-style: solid; } .hud::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-radius: 4px 0 0 0; } .hud::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 4px 0; }
.station-tile { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; display: flex; flex-direction: column; gap: .3rem; min-height: 104px; position: relative; overflow: hidden; }
.station-tile.green { border-color: rgba(34,255,136,.5); box-shadow: inset 0 0 40px rgba(34,255,136,.08); } .station-tile.red { border-color: var(--red); box-shadow: inset 0 0 50px rgba(255,51,85,.15), var(--glow-red); animation: pulse 1.4s infinite; } .station-tile.yellow { border-color: var(--amber); box-shadow: inset 0 0 40px rgba(255,176,32,.1); } .station-tile.running { border-color: rgba(53,215,255,.4); } .station-tile.offline { opacity: .5; }
.station-tile .name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; } .station-tile .state { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: .06em; } .station-tile .msg { font-size: .8rem; color: var(--muted); } .station-tile .op { font-size: .78rem; color: var(--dim); margin-top: auto; }
.sparkbar { display: flex; align-items: flex-end; gap: 2px; height: 36px; } .sparkbar i { flex: 1; background: var(--green2); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .8; } .sparkbar i.bad { background: var(--red); }

/* public site */
.pub { position: relative; z-index: 1; } .pubnav { display: flex; align-items: center; gap: 1.4rem; padding: 1.1rem clamp(1rem, 5vw, 4rem); max-width: 1240px; margin: 0 auto; } .pubnav .links { display: flex; gap: 1.2rem; margin-left: auto; align-items: center; } .pubnav .links a { color: var(--muted); font-weight: 600; font-size: .9rem; } .pubnav .links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 760px) { .pubnav .links a.txt { display: none; } }
.hero { max-width: 1240px; margin: 0 auto; padding: clamp(2rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem) 3rem; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: .98; margin-bottom: 1.2rem; } .hero h1 em { font-style: normal; color: var(--green); text-shadow: 0 0 30px rgba(34,255,136,.5); } .hero p { font-size: 1.1rem; color: var(--muted); max-width: 560px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
.section { max-width: 1240px; margin: 0 auto; padding: 3rem clamp(1rem, 5vw, 4rem); } .section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1.6rem; } .section .lead { color: var(--muted); font-size: 1.05rem; max-width: 700px; margin-bottom: 2rem; }
.eyebrow { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: .6rem; }
.feature { padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r2); background: var(--panel); } .feature .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(34,255,136,.12); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; } .feature .ic svg { width: 20px; height: 20px; } .feature h3 { font-size: 1.05rem; } .feature p { color: var(--muted); font-size: .92rem; margin: 0; }
.phone { width: 300px; max-width: 100%; margin: 0 auto; aspect-ratio: 9/18.5; background: #000; border: 10px solid #15181d; border-radius: 42px; box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px #2a2f37; overflow: hidden; position: relative; }
.phone .screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; transition: background .4s; }
.phone .screen.green { background: radial-gradient(circle at 50% 40%, #1fe07a, #0a7a3f 70%, #053d21); } .phone .screen.red { background: radial-gradient(circle at 50% 40%, #ff4d6d, #a3122e 70%, #4a0916); }
.phone .big { font-family: var(--font-display); font-weight: 700; font-size: 3.2rem; color: #fff; letter-spacing: .06em; text-shadow: 0 4px 30px rgba(0,0,0,.4); } .phone .sub { color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 600; text-align: center; padding: 0 1.4rem; } .phone .pts { position: absolute; top: 1.2rem; right: 1.2rem; font-family: var(--font-display); font-weight: 700; color: #fff; background: rgba(0,0,0,.3); padding: .2rem .6rem; border-radius: 99px; font-size: .85rem; }
.pricing { border: 1px solid var(--line); border-radius: var(--r2); padding: 1.5rem; background: var(--panel); display: flex; flex-direction: column; gap: .6rem; } .pricing.hot { border-color: var(--green); box-shadow: 0 0 40px rgba(34,255,136,.1); } .pricing .price { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; } .pricing .price small { font-size: .9rem; color: var(--muted); font-weight: 500; } .pricing ul { padding-left: 1.1rem; color: var(--muted); font-size: .9rem; margin: 0; line-height: 1.8; }
.footer { border-top: 1px solid var(--line); padding: 2rem clamp(1rem, 5vw, 4rem); color: var(--dim); font-size: .82rem; display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; max-width: 1240px; margin: 2rem auto 0; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; position: relative; z-index: 1; } .login .card { width: min(420px, 100%); padding: 1.8rem; }
.langsw { display: inline-flex; border: 1px solid var(--line2); border-radius: 99px; overflow: hidden; font-size: .75rem; font-weight: 700; } .langsw a { padding: .25rem .6rem; color: var(--muted); } .langsw a.on { background: var(--panel3); color: var(--text); } .langsw a:hover { text-decoration: none; }

/* operator app (mobile-first PWA) */
.app { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; } .app main { flex: 1; padding: 1rem 1rem 6rem; } .app.full main { padding: 0; }
.apptop { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem .4rem; } .apptop .title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.25rem; letter-spacing: .05em; } .apptop .spacer { flex: 1; }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(8,10,13,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: .45rem 0 calc(.45rem + env(safe-area-inset-bottom)); max-width: 560px; margin: 0 auto; }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .8rem; } .tabbar a svg { width: 22px; height: 22px; } .tabbar a.active { color: var(--green); } .tabbar a:hover { text-decoration: none; }
.lightscreen { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: background .35s ease; background: radial-gradient(circle at 50% 35%, #1a2028, #0a0c0f 70%); z-index: 30; padding: 1.2rem; }
.lightscreen.green { background: radial-gradient(circle at 50% 35%, #27f58a, #0d8f4a 60%, #063b22); } .lightscreen.red { background: radial-gradient(circle at 50% 35%, #ff5c78, #b01433 60%, #4d0a18); animation: redpulse 1.1s infinite; } .lightscreen.yellow { background: radial-gradient(circle at 50% 35%, #ffc44d, #b8750a 60%, #4a3005); } .lightscreen.running { background: radial-gradient(circle at 50% 35%, #1b3a47, #0b1a22 65%, #06090c); } .lightscreen.offline { background: #111; }
@keyframes redpulse { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(.78); } }
.lightscreen .word { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.6rem, 18vw, 6.5rem); letter-spacing: .06em; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.45); line-height: 1; }
.lightscreen .step { font-size: clamp(1rem, 4.5vw, 1.3rem); color: rgba(255,255,255,.95); font-weight: 600; max-width: 480px; margin-top: .6rem; }
.lightscreen .hudtop { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: calc(.8rem + env(safe-area-inset-top)) 1rem .5rem; color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; }
.lightscreen .hudbot { position: absolute; bottom: 0; left: 0; right: 0; padding: .8rem 1rem calc(1rem + env(safe-area-inset-bottom)); display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.lightscreen .btn { background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.25); color: #fff; backdrop-filter: blur(6px); } .lightscreen .btn.primary { background: #fff; color: #000; border-color: #fff; box-shadow: none; }
.lightscreen .counter { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; } .lightscreen .counter small { font-size: .7rem; letter-spacing: .14em; display: block; font-weight: 600; opacity: .85; }
.steplist { list-style: none; margin: 1rem 0 0; padding: 0; width: min(440px, 100%); text-align: left; } .steplist li { display: flex; gap: .6rem; align-items: center; padding: .35rem .6rem; border-radius: 8px; color: rgba(255,255,255,.75); font-size: .88rem; } .steplist li.done { color: rgba(255,255,255,.95); } .steplist li.cur { background: rgba(255,255,255,.14); color: #fff; font-weight: 600; } .steplist li.bad { background: rgba(0,0,0,.3); color: #fff; font-weight: 700; } .steplist .n { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; flex: none; } .steplist li.done .n { background: #fff; color: #000; border-color: #fff; }
.bigbtn { display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 1.2rem; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel); color: var(--text); font: inherit; text-align: left; cursor: pointer; } .bigbtn:hover { border-color: var(--green); text-decoration: none; } .bigbtn .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(34,255,136,.12); color: var(--green); display: flex; align-items: center; justify-content: center; flex: none; } .bigbtn .ic svg { width: 24px; height: 24px; } .bigbtn > svg, .bigbtn .go svg, .bigbtn .arrow svg { width: 22px; height: 22px; flex: none; margin-left: auto; color: var(--muted); } .bigbtn b { display: block; font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; } .bigbtn span { color: var(--muted); font-size: .85rem; }
.xpbar { height: 12px; background: var(--bg2); border: 1px solid var(--line2); border-radius: 99px; overflow: hidden; } .xpbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--green)); border-radius: 99px; }
.levelring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--line) 0); position: relative; } .levelring::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--panel); } .levelring b { position: relative; font-family: var(--font-display); font-size: 1.7rem; z-index: 1; }
.rewardcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: .4rem; } .rewardcard .cost { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--gold); } .rewardcard.rare { border-color: rgba(157,123,255,.5); } .rewardcard.epic { border-color: rgba(255,209,102,.6); box-shadow: 0 0 30px rgba(255,209,102,.1); } .rewardcard .ic { font-size: 1.8rem; }
.badgegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; } .badge { text-align: center; padding: .7rem .3rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); font-size: .7rem; color: var(--muted); } .badge .ic { font-size: 1.6rem; margin-bottom: .2rem; } .badge.on { border-color: var(--gold); color: var(--text); box-shadow: 0 0 20px rgba(255,209,102,.12); } .badge.off { opacity: .4; filter: grayscale(1); }
.celebrate { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.75); backdrop-filter: blur(6px); text-align: center; padding: 1rem; } .celebrate.open { display: flex; } .celebrate .w { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--gold); text-shadow: 0 0 40px rgba(255,209,102,.6); animation: pop .5s ease-out; } @keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }
.pulse-row { display: flex; justify-content: space-between; gap: .4rem; } .pulse-row button { flex: 1; font-size: 1.7rem; padding: .5rem 0; background: var(--panel); border: 1px solid var(--line2); border-radius: 14px; cursor: pointer; } .pulse-row button:hover, .pulse-row button.on { border-color: var(--green); background: rgba(34,255,136,.1); }
.print-only { display: none; } @media print { body { background: #fff; color: #000; } body::before, body::after, .sidebar, .topbar, .btn, .tabbar, .noprint { display: none !important; } .shell { display: block; } .main { padding: 0; } .print-only { display: block; } .card { border-color: #ccc; background: #fff; color: #000; page-break-inside: avoid; } }
