:root{
  --card-width: 340px;
  --accent: #000;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #fff;
  color: #000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.page{width:100%;max-width:var(--card-width)}
.card{
  background: #fff;
  border: 1px solid #eee;
  padding:14px;
  border-radius:8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.card h1{margin:0;font-size:20px}
/* footer link color */
.footer a{color:#ff9f1c;text-decoration:none}
.footer a:hover{text-decoration:underline}
.field{display:flex;align-items:flex-start;margin:10px 0}
.refresh{
  background:#f6f6f6;
  border:1px solid #ddd;
  border-radius:50%;
  width:30px;
  height:30px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:10px;
  cursor:pointer;
  font-size:14px;
  padding:0;
}
.refresh:active{transform:scale(0.98)}
.meta{flex:1}
.label{font-weight:600;font-size:13px;color:#111}
.value{margin-top:6px;font-size:16px}
#controls, .controls{display:flex;gap:8px;justify-content:flex-start;margin-top:10px}
#reroll, #copy-link{padding:8px 12px;border-radius:6px;border:1px solid #111;background:#fff;color:#000;cursor:pointer}
#reroll:hover, #copy-link:hover{background:#f0f0f0}
.footer{margin-top:18px;text-align:center;color:#333;font-size:13px}

@media (max-width:560px){
  :root{--card-width:100%}
  .card{padding:16px}
}
