:root { --bg: #05070d; --panel: #0e1a33; --text: #e6eefc; --muted: #9fb3d6; --accent: #4f9bff; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: 2em; margin: 0.2em 0 0.4em; }
h2 { font-size: 1.2em; margin-top: 1.8em; color: var(--accent); }
a { color: var(--accent); }
.muted, .back { color: var(--muted); }
.lead { font-size: 1.1em; color: var(--muted); }
ul { padding-left: 1.2em; }
li { margin: 0.4em 0; }
.tool { background: var(--panel); border-radius: 16px; padding: 24px 16px; text-align: center; }
.result { font-size: 2.6em; font-weight: 700; min-height: 1.4em; margin: 0.2em 0 0.6em; word-break: break-word; }
button { font: inherit; font-weight: 600; color: #fff; background: var(--accent); border: 0;
  border-radius: 12px; padding: 12px 28px; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--muted); border-radius: 8px; padding: 8px; max-width: 100%; }
input[type=number] { width: 6em; }
textarea { width: 100%; min-height: 8em; }
label { display: inline-block; margin: 0.4em 0.6em; }
.cta { margin-top: 2em; padding: 16px; border: 1px solid var(--accent); border-radius: 12px; }
.tool-list a { font-weight: 600; }
#wheel { max-width: 100%; height: auto; }
