:root{
  --bg:#0b1220;
  --card:#0f1b33;
  --card2:#0d1730;
  --line:#243355;
  --text:#e8eefc;
  --muted:#a9b6d4;
  --primary:#7dd3fc;
  --primary2:#a78bfa;
  --ok:#86efac;
  --warn:#fbbf24;
  --bad:#fb7185;
  --shadow:0 14px 40px rgba(0,0,0,.38);
  --radius:18px;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 650px at 15% 0%, rgba(167,139,250,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 25%, rgba(125,211,252,.18), transparent 60%),
    linear-gradient(180deg, var(--bg), #050812 75%);
}

.topbar{
  max-width:980px;
  margin:0 auto;
  padding:18px 16px 10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.brand{display:flex; align-items:center; gap:12px;}
.logo{
  width:40px;height:40px;border-radius:14px;
  display:grid; place-items:center;
  background:rgba(125,211,252,.10);
  border:1px solid rgba(125,211,252,.25);
}
.title{font-weight:800; letter-spacing:.2px}
.subtitle{font-size:12px;color:var(--muted); margin-top:2px}

.container{
  max-width:980px;
  margin:0 auto;
  padding:10px 16px 28px;
  display:grid;
  gap:14px;
}

.card{
  background: linear-gradient(180deg, rgba(15,27,51,.92), rgba(13,23,48,.92));
  border:1px solid rgba(36,51,85,.92);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

.hidden{display:none}

h1{margin:0 0 10px; font-size:20px}
h2{margin:0; font-size:16px}
.muted{color:var(--muted)}
.small{font-size:12px}
.row{display:flex; align-items:center}
.between{justify-content:space-between}
.gap{gap:10px}

.grid2{display:grid; gap:12px}
@media(min-width:860px){ .grid2{grid-template-columns:1fr 1fr;} }

.mini{
  background:rgba(8,12,24,.35);
  border:1px solid rgba(36,51,85,.78);
  border-radius:16px;
  padding:12px;
}
.mini-h{font-weight:800; font-size:13px; margin-bottom:8px}
.mini ul{margin:0; padding-left:18px; color:var(--muted); font-size:12.5px; line-height:1.6}

.btn{
  border:1px solid rgba(36,51,85,.9);
  background:rgba(15,27,51,.35);
  color:var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  user-select:none;
}
.btn:hover{border-color:rgba(125,211,252,.45)}
.btn.primary{
  background:rgba(125,211,252,.18);
  border-color:rgba(125,211,252,.35);
  font-weight:800;
}
.btn.ghost{background:transparent}

.form{display:grid; gap:12px; margin-top:10px;}
.field{
  background:rgba(8,12,24,.25);
  border:1px solid rgba(36,51,85,.82);
  border-radius:16px;
  padding:12px;
}
label{display:block; font-weight:800; font-size:13px; margin-bottom:8px}
input[type="text"]{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(36,51,85,.85);
  background:rgba(15,27,51,.35);
  color:var(--text);
  outline:none;
}
input[type="text"]::placeholder{color:rgba(169,182,212,.7)}

.seg{display:grid; gap:8px}
.seg label{
  font-weight:600;
  font-size:12.5px;
  color:var(--text);
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(36,51,85,.8);
  background:rgba(15,27,51,.25);
  cursor:pointer;
}
.seg label:hover{border-color:rgba(125,211,252,.35)}
.seg input{margin-right:8px}

.actions{display:flex; justify-content:space-between; gap:10px}

.progress{
  width:160px; height:10px;
  border-radius:999px;
  background:rgba(36,51,85,.55);
  overflow:hidden;
  border:1px solid rgba(36,51,85,.9);
}
.bar{height:100%; width:0%; background:rgba(125,211,252,.6);}

.scoreBox{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  padding:12px;
  border-radius:16px;
  background:rgba(8,12,24,.25);
  border:1px solid rgba(36,51,85,.85);
}
.score{font-size:34px; font-weight:900; letter-spacing:.5px}
.badgeWrap{display:flex; flex-direction:column; align-items:flex-end; gap:6px}
.badge{
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  border:1px solid rgba(36,51,85,.9);
  background:rgba(15,27,51,.35);
}
.divider{height:1px;background:rgba(36,51,85,.9); margin:14px 0;}

.panel{
  background:rgba(8,12,24,.25);
  border:1px solid rgba(36,51,85,.85);
  border-radius:16px;
  padding:12px;
}
.panel-h{font-weight:900; font-size:13px; margin-bottom:10px}

.dims{display:grid; gap:10px}
.dim{
  border:1px solid rgba(36,51,85,.82);
  border-radius:14px;
  padding:10px;
  background:rgba(15,27,51,.18);
}
.dim .k{font-weight:900; font-size:12.5px; margin-bottom:4px}
.dim .v{font-size:12px; color:var(--muted); line-height:1.5}

.olist{margin:0; padding-left:18px; color:var(--text); font-size:12.8px; line-height:1.65}
.olist li{margin:6px 0}

.share{display:grid; gap:10px}
.share-h{font-weight:900; font-size:13px}
.shareText{
  width:100%;
  min-height:140px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(36,51,85,.85);
  background:rgba(15,27,51,.25);
  color:var(--text);
  outline:none;
  resize:vertical;
  font-size:12.5px;
  line-height:1.5;
}

.footer{
  max-width:980px;
  margin:0 auto;
  padding:0 16px 26px;
}
