:root{
  --bg:#0b0f17;
  --card:#111827;
  --muted:#9ca3af;
  --text:#e5e7eb;
  --line:#1f2937;
  --btn:#1d4ed8;
  --btn2:#111827;
  --danger:#b91c1c;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:linear-gradient(180deg,#05070b, var(--bg));
  color:var(--text);
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.wrap{max-width:520px;margin:0 auto;padding:16px}
.top{
  display:flex;align-items:center;justify-content:space-between;
  margin:8px 0 14px 0;
}
.title{font-size:22px;font-weight:700}
.sub{color:var(--muted);font-size:12px;margin-top:2px}
.pill{
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--text);
  background:rgba(17,24,39,.6);
  font-variant-numeric:tabular-nums;
}
.card{
  background:rgba(17,24,39,.7);
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  margin:10px 0;
  box-shadow:0 8px 30px rgba(0,0,0,.25);
}
.imgbox{
  width:100%;
  background:#0a0f1a;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
}
img{width:100%;display:block}
.info{margin:10px 0}
.row{display:flex;justify-content:space-between;align-items:center;margin:6px 0}
.badge{
  color:var(--muted);
  font-size:12px;
}
.value{font-size:14px}
.answerbox{
  display:flex;gap:8px;margin-top:10px
}
input{
  flex:1;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0a0f1a;
  color:var(--text);
  outline:none;
}
button{
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--btn);
  color:white;
  cursor:pointer;
}
button:active{transform:scale(.99)}
.actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.ghost{
  background:var(--btn2);
  color:var(--text);
}
.danger{background:var(--danger)}
.msg{margin-top:10px;color:var(--text);min-height:18px}
.clue{margin-top:6px;color:var(--muted);font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.sectionTitle{font-weight:700;margin-bottom:10px}
.lb{
  margin:10px 0 0 0;
  white-space:pre-wrap;
  color:var(--muted);
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.foot{color:var(--muted);font-size:12px;text-align:center;margin-top:12px}
