:root{
  --bg:#f7f7f7;
  --card:#ffffff;
  --accent:#e60012; /* Nintendo-ish red */
  --muted:#666;
  --glass: rgba(0,0,0,0.04);
  --radius:12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html,body{
  height:100%;
  margin:0;
  background:var(--bg);
}

#app{
  height:100vh; /* mobile single-screen experience */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  box-sizing:border-box;
}

.card{
  width:100%;
  max-width:520px;
  background:linear-gradient(180deg,var(--card),#fbfbfb);
  border-radius:var(--radius);
  box-shadow: 0 8px 24px rgba(16,16,16,0.08);
  padding:16px;
  box-sizing:border-box;
  border:1px solid var(--glass);
}

.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.row label{
  flex:1 0 86px;
  color:var(--muted);
  font-size:13px;
}

.row select,
.row input{
  flex:1 1 auto;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,0.08);
  font-size:15px;
  background:#fff;
  outline:none;
}

.row input:focus,
.row select:focus{
  box-shadow:0 0 0 3px rgba(230,0,18,0.06);
  border-color:var(--accent);
}

.small{
  font-size:13px;
  color:var(--muted);
  justify-content:space-between;
}

.actions{
  justify-content:flex-end;
}

button{
  background:var(--accent);
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  font-size:14px;
  min-width:72px;
}

button#clear{
  background:#888;
  margin-right:8px;
}

.note{
  margin-top:10px;
  font-size:12px;
  color:var(--muted);
  text-align:center;
}
@media (max-height:600px){
  .card{ padding:12px; }
  body{ font-size:14px; }
}