:root {
  --bg: #e6ebf2;
  --text: #323a5c;
  --muted: #7a84a3;
  --accent: #4f5fff;
  --accent2: #8a6bff;
  --ok: #17935c;
  --err: #d6455d;
  --dark: #aeb9cd;
  --light: #ffffff;
  --out: 9px 9px 18px var(--dark), -9px -9px 18px var(--light);
  --out-sm: 5px 5px 11px var(--dark), -5px -5px 11px var(--light);
  --in: inset 5px 5px 10px var(--dark), inset -5px -5px 10px var(--light);
  --press: inset 3px 3px 7px var(--dark), inset -3px -3px 7px var(--light);
}
:root { --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --font-head: var(--font); --fs: 16px; }
@media (prefers-color-scheme: dark) {
  html[data-theme="neumorphism"] {
    --bg: #2a2e3a; --text: #e6e9f5; --muted: #98a1c0; --accent: #8c98ff; --accent2: #b39bff;
    --ok: #4cd08f; --err: #ff7088; --dark: #1c1f28; --light: #383d4c;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: var(--fs)/1.5 var(--font);
  display: flex; justify-content: center; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

/* Phone-width column, centered on desktop */
.app {
  width: 100%; max-width: 430px; min-height: 100vh;
  padding: 30px 20px 40px; display: flex; flex-direction: column; gap: 26px;
}
@media (min-width: 600px) {
  body { padding: 28px 0; }
  .app { min-height: calc(100vh - 56px); border-radius: 38px; box-shadow: var(--out); padding: 34px 24px 40px; }
}

/* Hero */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); box-shadow: var(--out-sm);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.mark {
  margin: 28px 0 20px; width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: var(--out); position: relative;
}
.mark::before { content: ""; position: absolute; inset: 11px; border-radius: 50%; box-shadow: var(--in); }
.mark span {
  position: relative; font-size: 38px; font-weight: 800; text-transform: uppercase; line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.domain { margin: 0 0 8px; font-size: clamp(26px, 8vw, 34px); line-height: 1.15; word-break: break-word; letter-spacing: -.015em; font-weight: 800; }
.domain em { font-style: normal; color: var(--accent); }
.tagline { margin: 0; color: var(--muted); max-width: 30ch; }
.about { margin: 14px 0 0; color: var(--text); opacity: .85; font-size: 14px; max-width: 36ch; white-space: pre-line; }

/* Quick nav */
.quick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
.q {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
  font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; line-height: 1.2;
}
.ico {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  box-shadow: var(--out-sm); transition: box-shadow .15s, transform .15s; color: var(--accent);
}
.q:active .ico { box-shadow: var(--press); transform: scale(.97); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cards */
.card { border-radius: 28px; padding: 22px 20px; box-shadow: var(--out); animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.card h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head h2 { margin: 0; }
.pill { font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 12px; border-radius: 999px; box-shadow: var(--in); white-space: nowrap; }
.muted { color: var(--muted); font-size: 13px; font-weight: 400; }
.copy { margin: 0 0 16px; }

.price-well {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 20px 12px; border-radius: 22px; box-shadow: var(--in); margin-bottom: 16px;
}
.price-well small, .stats small { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 600; }
.price-well strong {
  font-size: 42px; line-height: 1.15; letter-spacing: -.03em; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 6px; border-radius: 16px; box-shadow: var(--out-sm); }
.stats b { font-size: 15px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 15px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
input, textarea {
  width: 100%; border: 0; outline: 0; background: var(--bg); color: var(--text);
  font: inherit; font-weight: 500; padding: 14px 16px; border-radius: 16px; box-shadow: var(--in);
  transition: box-shadow .15s;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .6; font-weight: 400; }
input:focus-visible, textarea:focus-visible { box-shadow: var(--in), 0 0 0 2px var(--accent); }
textarea { resize: vertical; min-height: 88px; }
.money { display: flex; align-items: center; border-radius: 16px; box-shadow: var(--in); }
.money .cur { padding-left: 16px; font-weight: 800; color: var(--accent); }
.money input { box-shadow: none !important; background: transparent; padding-left: 8px; font-size: 18px; font-weight: 700; }
.money:focus-within { box-shadow: var(--in), 0 0 0 2px var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: -4px; }
.chip {
  flex: 1; min-width: 70px; border: 0; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700;
  color: var(--muted); background: var(--bg); padding: 9px 10px; border-radius: 12px; box-shadow: var(--out-sm);
}
.chip:active, .chip.on { box-shadow: var(--press); color: var(--accent); }

.btn {
  border: 0; cursor: pointer; font: inherit; font-weight: 800; letter-spacing: .01em; color: var(--text);
  background: var(--bg); padding: 15px 18px; border-radius: 18px; box-shadow: var(--out-sm);
  transition: box-shadow .15s, transform .15s;
}
.btn:active { box-shadow: var(--press); transform: translateY(1px); }
.btn.primary { color: var(--accent); }
.btn:focus-visible, .chip:focus-visible, .seg-btn:focus-visible, .q:focus-visible .ico, .network a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.seg { display: flex; gap: 8px; margin-bottom: 18px; padding: 6px; border-radius: 20px; box-shadow: var(--in); }
.seg-btn { flex: 1; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--muted); background: transparent; padding: 11px; border-radius: 15px; transition: .15s; }
.seg-btn.on { color: var(--accent); background: var(--bg); box-shadow: var(--out-sm); }

.sub { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(122,132,163,.28); }
.sub-title { margin: 0; font-size: 13px; font-weight: 700; }
.sub-row { display: flex; gap: 10px; }
.sub-row input { flex: 1; min-width: 0; }
.sub-row .btn { padding: 12px 14px; white-space: nowrap; }
.note { margin: 0; font-size: 12px; color: var(--muted); }
.status { margin: 0; font-size: 14px; font-weight: 700; padding: 12px 14px; border-radius: 14px; box-shadow: var(--in); }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.status:empty { display: none; }

/* Other domains */
.network { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.network a {
  display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; text-decoration: none; color: inherit;
  box-shadow: var(--out-sm); transition: box-shadow .15s, transform .15s;
}
.network a:active { box-shadow: var(--press); transform: scale(.99); }
.network .dot {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; text-transform: uppercase; color: var(--accent); box-shadow: var(--in);
}
.network .txt { flex: 1; min-width: 0; }
.network b { display: block; word-break: break-word; font-size: 15px; }
.network span { font-size: 13px; color: var(--muted); }
.network svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.foot { text-align: center; margin-top: auto; padding-top: 8px; font-size: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0;
  max-width: min(390px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 18px;
  background: var(--bg); box-shadow: var(--out); font-weight: 700; font-size: 14px;
  transition: .25s; pointer-events: none; text-align: center; z-index: 10;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.price-well strong, .mark span { padding: 0 .12em; } /* gradient text clips slanted glyph overhang */
.ts { display: flex; justify-content: center; min-height: 0; }

/* ================= Style switcher ================= */
/* pinned to the top while scrolling */
.style-bar {
  position: sticky; top: 0; z-index: 25; margin: 0 -20px; padding: 8px 20px;
  display: flex; justify-content: center; background: var(--bg);
  transition: box-shadow .2s;
}
.style-bar.stuck { box-shadow: 0 8px 14px -10px var(--dark, rgba(0,0,0,.35)); }
@media (min-width: 600px) { .style-bar { margin: 0 -24px; padding-left: 24px; padding-right: 24px; } }
.style-wheel { position: relative; display: flex; }
/* previous / next style buttons tucked behind the menu button, one on each side */
.style-wheel { flex-direction: row; align-items: center; justify-content: center; gap: 0; align-self: center; margin: 0; width: max-content; max-width: 100%; }
.peek {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 38px; width: auto; border: 0; cursor: pointer; flex: 0 0 auto;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700; white-space: nowrap;
  color: var(--text); background: var(--bg); box-shadow: var(--out-sm);
  transition: transform .15s, box-shadow .15s, color .15s;
}
.peek span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.peek svg { flex: none; width: 13px; height: 13px; fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.peek.prev { margin-right: -16px; padding: 0 20px 0 12px; border-radius: 16px 0 0 16px; }
.peek.next { margin-left: -16px; padding: 0 12px 0 20px; border-radius: 0 16px 16px 0; }
.peek:hover { color: var(--accent); }
.peek.prev:hover { transform: translateX(-3px); }
.peek.next:hover { transform: translateX(3px); }
.peek.prev:hover svg { transform: translateX(-2px); }
.peek.next:hover svg { transform: translateX(2px); }
.peek:active { box-shadow: var(--press); }
.peek:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.style-wheel .style-fab { position: relative; z-index: 2; }
.style-fab {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit;
  font-size: 13px; font-weight: 700; color: var(--accent); background: var(--bg);
  padding: 10px 16px; border-radius: 999px; box-shadow: var(--out-sm); transition: box-shadow .15s;
}
.style-fab:active { box-shadow: var(--press); }
.style-fab:focus-visible, .theme-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.style-fab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.theme-btn {
  border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; text-align: left;
  color: var(--muted); background: var(--bg); padding: 14px 18px; border-radius: 18px; box-shadow: var(--out-sm);
  transition: box-shadow .15s;
}
.theme-btn[aria-pressed="true"] { color: var(--accent); box-shadow: var(--press); }

.sheet { position: fixed; inset: 0; z-index: 30; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15,18,30,.35); animation: fade .2s both; }
.sheet-panel {
  position: absolute; left: 50%; bottom: 0; width: min(430px, 100%); transform: translateX(-50%);
  background: var(--bg); color: var(--text); padding: 22px 20px 28px; border-radius: 28px 28px 0 0;
  box-shadow: var(--out); animation: slideup .28s cubic-bezier(.2,.9,.3,1) both;
}
.sheet-panel h2 { margin: 0 0 16px; font-size: 18px; font-family: var(--font-head); }
.sheet-list { display: flex; flex-direction: column; gap: 12px; max-height: 70vh; overflow-y: auto; padding: 4px 6px 8px; margin: 0 -6px; }
@keyframes fade { from { opacity: 0; } }
@keyframes slideup { from { transform: translate(-50%, 40px); opacity: 0; } }

.domain, .card h2, .price-well strong, .mark span, .stats b, .btn, .theme-btn, .seg-btn { font-family: var(--font-head); }

/* ================= Retro (70s/80s) ================= */
html[data-theme="retro"] {
  --bg: #fff1d0; --text: #1d1a2f; --muted: #6b5f7a; --accent: #ff3d7f; --accent2: #ff9f1c;
  --ok: #0a7f50; --err: #c1121f; --ink: #1d1a2f;
  --out: 0 0 0 3px var(--ink), 7px 7px 0 3px var(--ink);
  --out-sm: 0 0 0 2.5px var(--ink), 4px 4px 0 2.5px var(--ink);
  --in: inset 0 0 0 3px var(--ink);
  --press: inset 0 0 0 3px var(--ink), inset 3px 3px 0 3px rgba(29,26,47,.25);
  --font: "Space Mono", ui-monospace, monospace; --font-head: "Righteous", "Space Mono", sans-serif;
  --fs: 15px;
}
html[data-theme="retro"] { background-image: radial-gradient(var(--ink) 1.2px, transparent 1.6px); background-size: 20px 20px; }
html[data-theme="retro"] .app { background: var(--bg); }
html[data-theme="retro"] .badge { background: var(--accent2); color: var(--ink); }
html[data-theme="retro"] .hero { background: repeating-linear-gradient(180deg, var(--accent) 0 8px, var(--accent2) 8px 16px, #ffd23f 16px 24px); margin: -10px -4px 0; padding: 22px 4px 24px; border-radius: 18px; box-shadow: var(--out-sm); }
html[data-theme="retro"] .mark, html[data-theme="retro"] .domain, html[data-theme="retro"] .tagline { background: var(--bg); }
html[data-theme="retro"] .domain { padding: 4px 14px; border-radius: 10px; box-shadow: 0 0 0 2.5px var(--ink); margin-top: 14px; }
html[data-theme="retro"] .tagline { color: var(--ink); padding: 4px 12px; border-radius: 10px; margin-top: 8px; }
html[data-theme="retro"] .btn { background: var(--accent2); color: var(--ink); }
html[data-theme="retro"] .btn.primary { background: var(--accent); color: #fff; }
html[data-theme="retro"] .seg-btn.on, html[data-theme="retro"] .chip.on { background: #ffd23f; color: var(--ink); }
html[data-theme="retro"] .theme-btn[aria-pressed="true"] { background: #ffd23f; color: var(--ink); }
html[data-theme="retro"] .price-well { background: #ffd23f; }

/* ================= Pixel art ================= */
html[data-theme="pixel"] {
  --bg: #1a1c2c; --text: #f4f4f4; --muted: #94b0c2; --accent: #ffcd75; --accent2: #ef7d57;
  --ok: #a7f070; --err: #ff6b6b; --edge: #f4f4f4; --shade: rgba(0,0,0,.45);
  --out: 4px 0 0 0 var(--edge), -4px 0 0 0 var(--edge), 0 4px 0 0 var(--edge), 0 -4px 0 0 var(--edge), 8px 8px 0 0 var(--shade);
  --out-sm: 3px 0 0 0 var(--edge), -3px 0 0 0 var(--edge), 0 3px 0 0 var(--edge), 0 -3px 0 0 var(--edge), 5px 5px 0 0 var(--shade);
  --in: 3px 0 0 0 var(--muted), -3px 0 0 0 var(--muted), 0 3px 0 0 var(--muted), 0 -3px 0 0 var(--muted), inset 4px 4px 0 0 var(--shade);
  --press: 3px 0 0 0 var(--accent), -3px 0 0 0 var(--accent), 0 3px 0 0 var(--accent), 0 -3px 0 0 var(--accent), inset 4px 4px 0 0 var(--shade);
  --font: "Press Start 2P", ui-monospace, monospace; --font-head: var(--font); --fs: 11px;
}
html[data-theme="pixel"] :is(.app, .sheet) *, html[data-theme="pixel"] :is(.app, .sheet) *::before { border-radius: 0 !important; transition: none !important; letter-spacing: 0 !important; }
html[data-theme="pixel"] body { line-height: 1.8; image-rendering: pixelated; }
html[data-theme="pixel"] .card, html[data-theme="pixel"] .app { animation-timing-function: steps(4); }
html[data-theme="pixel"] .domain { font-size: 17px; line-height: 1.5; }
html[data-theme="pixel"] .card h2 { font-size: 13px; }
html[data-theme="pixel"] .price-well strong { font-size: 24px; }
html[data-theme="pixel"] .mark span { font-size: 28px; }
html[data-theme="pixel"] :is(.muted, .note, .foot, .network span, .tagline) { font-size: 9px; }
html[data-theme="pixel"] :is(.stats small, .price-well small, .badge, .q, .chip, .theme-btn, .pill) { font-size: 8px; }
html[data-theme="pixel"] :is(label, .seg-btn, .status, .toast, .network b, .stats b, input, textarea) { font-size: 10px; }
html[data-theme="pixel"] .btn { font-size: 11px; background: var(--accent); color: var(--bg); }
html[data-theme="pixel"] .btn.primary { background: var(--accent2); color: var(--bg); }
html[data-theme="pixel"] .money input { font-size: 12px; }
html[data-theme="pixel"] .badge i { width: 8px; height: 8px; box-shadow: none; }
html[data-theme="pixel"] .mark::before { inset: 10px; }

/* ================= Editorial ================= */
html[data-theme="editorial"] {
  --bg: #faf7f0; --text: #161616; --muted: #6a645a; --accent: #a4161a; --accent2: #a4161a;
  --ok: #1d6b3a; --err: #a4161a; --rule: #161616;
  --out: none; --out-sm: none;
  --in: inset 0 -1px 0 var(--rule); --press: inset 0 -3px 0 var(--accent);
  --font: "Lora", Georgia, serif; --font-head: "Playfair Display", Georgia, serif;
}
html[data-theme="editorial"] :is(.app, .sheet) *, html[data-theme="editorial"] :is(.app, .sheet) *::before { border-radius: 0 !important; }
html[data-theme="editorial"] .app { border: 0; }
html[data-theme="editorial"] .badge { box-shadow: none; padding: 0; border-top: 2px solid var(--rule); border-bottom: 1px solid var(--rule); width: 100%; justify-content: center; border-radius: 0; padding: 7px 0; }
html[data-theme="editorial"] .mark { display: none; }
html[data-theme="editorial"] .domain { font-size: clamp(36px, 11vw, 48px); font-weight: 800; line-height: 1.05; margin-top: 22px; }
html[data-theme="editorial"] .tagline { font-style: italic; font-size: 17px; }
html[data-theme="editorial"] .quick { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 14px 0; }
html[data-theme="editorial"] .ico { box-shadow: 0 0 0 1px var(--rule); }
html[data-theme="editorial"] .card { box-shadow: none; padding: 20px 0 0; border-top: 4px double var(--rule); }
html[data-theme="editorial"] .card h2 { font-size: 24px; font-weight: 800; }
html[data-theme="editorial"] .price-well { box-shadow: none; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 16px 0; }
html[data-theme="editorial"] .price-well strong { font-size: 56px; font-weight: 800; }
html[data-theme="editorial"] .stats div { box-shadow: none; border-left: 1px solid var(--rule); }
html[data-theme="editorial"] .stats div:first-child { border-left: 0; }
html[data-theme="editorial"] input, html[data-theme="editorial"] textarea { padding-left: 0; background: transparent; }
html[data-theme="editorial"] textarea { box-shadow: inset 0 0 0 1px var(--rule); padding: 10px; }
html[data-theme="editorial"] .money { box-shadow: inset 0 -1px 0 var(--rule); }
html[data-theme="editorial"] .money .cur { padding-left: 0; }
html[data-theme="editorial"] .btn { background: var(--text); color: var(--bg); box-shadow: none; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
html[data-theme="editorial"] .btn.primary { background: var(--accent); }
html[data-theme="editorial"] .chip, html[data-theme="editorial"] .theme-btn, html[data-theme="editorial"] .network a { box-shadow: 0 0 0 1px var(--rule); }
html[data-theme="editorial"] .seg { box-shadow: inset 0 0 0 1px var(--rule); }
html[data-theme="editorial"] .seg-btn.on { background: var(--text); color: var(--bg); box-shadow: none; }
html[data-theme="editorial"] .chip.on, html[data-theme="editorial"] .theme-btn[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }
html[data-theme="editorial"] .status, html[data-theme="editorial"] .pill { box-shadow: 0 0 0 1px var(--rule); }
html[data-theme="editorial"] .toast { box-shadow: 0 0 0 1px var(--rule); }

/* ================= Bohemian ================= */
html[data-theme="bohemian"] {
  --bg: #f4e9d8; --text: #4b3426; --muted: #8a6f5a; --accent: #c4623a; --accent2: #7d8f5a;
  --ok: #4f7a3a; --err: #b23a48;
  --out: 0 12px 28px rgba(120,76,44,.20), inset 0 0 0 2px #dcc3a0;
  --out-sm: 0 6px 14px rgba(120,76,44,.18), inset 0 0 0 1.5px #dcc3a0;
  --in: inset 0 2px 8px rgba(120,76,44,.25), inset 0 0 0 1.5px #dcc3a0;
  --press: inset 0 3px 8px rgba(120,76,44,.32);
  --font: "Quicksand", system-ui, sans-serif; --font-head: "Cormorant Garamond", Georgia, serif;
}
html[data-theme="bohemian"] .app {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 6%, rgba(196,98,58,.14) 0 110px, transparent 111px),
    radial-gradient(circle at 95% 38%, rgba(125,143,90,.18) 0 130px, transparent 131px),
    radial-gradient(circle at 8% 78%, rgba(220,170,90,.18) 0 120px, transparent 121px);
}
html[data-theme="bohemian"] .mark { width: 100px; height: 120px; border-radius: 999px 999px 22px 22px; }
html[data-theme="bohemian"] .mark::before { border-radius: 999px 999px 14px 14px; }
html[data-theme="bohemian"] .domain { font-size: clamp(34px, 10.5vw, 44px); font-style: italic; font-weight: 700; }
html[data-theme="bohemian"] .tagline { font-size: 16px; }
html[data-theme="bohemian"] .card { border-radius: 44px 44px 28px 28px; background: rgba(255,250,240,.35); }
html[data-theme="bohemian"] .card h2 { font-size: 26px; font-weight: 700; }
html[data-theme="bohemian"] .price-well strong { font-size: 50px; font-weight: 700; }
html[data-theme="bohemian"] .btn { background: var(--accent); color: #fff6ea; }
html[data-theme="bohemian"] .btn.primary { background: var(--accent2); }
html[data-theme="bohemian"] .chip.on, html[data-theme="bohemian"] .seg-btn.on { color: var(--accent); }

/* ================= Handwritten ================= */
html[data-theme="handwritten"] {
  --bg: #fffdf5; --text: #26324a; --muted: #5d6a85; --accent: #d6336c; --accent2: #2f6fde;
  --ok: #2b8a3e; --err: #c92a2a; --ink: #26324a;
  --out: 0 0 0 2.5px var(--ink), 4px 5px 0 0 rgba(38,50,74,.25);
  --out-sm: 0 0 0 2px var(--ink), 3px 4px 0 0 rgba(38,50,74,.22);
  --in: inset 0 0 0 2px var(--ink);
  --press: inset 0 0 0 2px var(--ink), inset 2px 3px 0 rgba(38,50,74,.2);
  --font: "Caveat", "Segoe Print", "Comic Sans MS", cursive; --font-head: var(--font); --fs: 20px;
}
html[data-theme="handwritten"] .app { background-color: var(--bg); background-image: repeating-linear-gradient(transparent 0 31px, #cfe0f5 31px 32px); }
html[data-theme="handwritten"] :is(.card, .btn, .chip, .seg, .seg-btn, .stats div, .price-well, .pill, .badge, .theme-btn, input, textarea, .money, .status, .network a, .ico, .toast, .app) {
  border-radius: 18px 7px 22px 9px / 9px 20px 7px 18px;
}
html[data-theme="handwritten"] .card, html[data-theme="handwritten"] .status, html[data-theme="handwritten"] .toast { background: var(--bg); }
html[data-theme="handwritten"] :is(.muted, .note, .network span, .foot, .tagline) { font-size: 17px; }
html[data-theme="handwritten"] :is(label, .status, .chip, .seg-btn, .pill, .q, .badge, .theme-btn, .network b, .stats b, .toast) { font-size: 19px; }
html[data-theme="handwritten"] :is(.stats small, .price-well small) { font-size: 16px; text-transform: none; letter-spacing: 0; }
html[data-theme="handwritten"] .badge { text-transform: none; letter-spacing: 0; }
html[data-theme="handwritten"] .domain { font-size: clamp(44px, 13vw, 56px); transform: rotate(-1.5deg); line-height: 1; }
html[data-theme="handwritten"] .card h2 { font-size: 32px; }
html[data-theme="handwritten"] .price-well strong { font-size: 60px; }
html[data-theme="handwritten"] .btn { font-size: 26px; }
html[data-theme="handwritten"] input, html[data-theme="handwritten"] textarea { font-size: 21px; }
html[data-theme="handwritten"] .money input { font-size: 24px; }
html[data-theme="handwritten"] .status { transform: rotate(-.6deg); }

/* ================= Minimalism ================= */
html[data-theme="minimal"] {
  --bg: #ffffff; --text: #111111; --muted: #767676; --accent: #111111; --accent2: #111111;
  --ok: #1a7f4b; --err: #c62828; --line: #e4e4e4;
  --out: 0 0 0 1px var(--line); --out-sm: 0 0 0 1px var(--line);
  --in: inset 0 0 0 1px var(--line); --press: inset 0 0 0 1px var(--text);
  --font: "Inter", system-ui, sans-serif; --font-head: var(--font);
}
html[data-theme="minimal"] :is(.card, .btn, .chip, .seg, .seg-btn, .stats div, .price-well, .pill, .theme-btn, input, textarea, .money, .status, .network a, .ico, .toast) { border-radius: 10px; }
html[data-theme="minimal"] .app { box-shadow: none; }
html[data-theme="minimal"] .card { box-shadow: none; padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); border-radius: 0; padding-top: 24px; }
html[data-theme="minimal"] .domain { font-weight: 600; letter-spacing: -.035em; }
html[data-theme="minimal"] .mark { box-shadow: 0 0 0 1px var(--line); width: 72px; height: 72px; }
html[data-theme="minimal"] .mark::before { display: none; }
html[data-theme="minimal"] .mark span { font-size: 28px; }
html[data-theme="minimal"] .badge { box-shadow: none; padding: 0; }
html[data-theme="minimal"] .badge i { box-shadow: none; }
html[data-theme="minimal"] .ico { box-shadow: 0 0 0 1px var(--line); }
html[data-theme="minimal"] .price-well strong { font-weight: 600; letter-spacing: -.04em; }
html[data-theme="minimal"] .btn, html[data-theme="minimal"] .btn.primary { background: var(--text); color: var(--bg); box-shadow: none; }
html[data-theme="minimal"] .chip.on, html[data-theme="minimal"] .seg-btn.on, html[data-theme="minimal"] .theme-btn[aria-pressed="true"] { box-shadow: 0 0 0 1px var(--text); }
html[data-theme="minimal"] .seg-btn.on { background: var(--bg); }
html[data-theme="minimal"] input:focus-visible, html[data-theme="minimal"] textarea:focus-visible { box-shadow: inset 0 0 0 1px var(--text); }

html[data-theme="pixel"] .peek { font-size: 9px; }
html[data-theme="handwritten"] .peek { font-size: 18px; }
html[data-theme="editorial"] .peek { box-shadow: 0 0 0 1px var(--rule); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
html[data-theme="pixel"] .style-fab, html[data-theme="pixel"] .theme-btn, html[data-theme="pixel"] .sheet-panel h2 { font-size: 10px; }
html[data-theme="handwritten"] .style-fab, html[data-theme="handwritten"] .theme-btn { font-size: 21px; border-radius: 18px 7px 22px 9px / 9px 20px 7px 18px; }
html[data-theme="handwritten"] .sheet-panel h2 { font-size: 30px; }
html[data-theme="handwritten"] .sheet-panel { background-image: repeating-linear-gradient(transparent 0 31px, #cfe0f5 31px 32px); }
html[data-theme="editorial"] .style-fab { box-shadow: 0 0 0 1px var(--rule); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
html[data-theme="editorial"] .sheet-panel { border-top: 4px double var(--rule); box-shadow: none; }
html[data-theme="editorial"] .sheet-panel h2 { font-size: 24px; }
html[data-theme="minimal"] .style-fab, html[data-theme="minimal"] .theme-btn { border-radius: 10px; }
html[data-theme="minimal"] .sheet-panel { border-top: 1px solid var(--line); box-shadow: none; }
html[data-theme="bohemian"] .sheet-panel h2 { font-size: 26px; }

@media (max-width: 420px) {
  .style-wheel .style-fab svg { display: none; }
  .peek { padding-left: 10px; padding-right: 10px; font-size: 11.5px; }
  .peek.prev { padding-right: 24px; }
  .peek.next { padding-left: 24px; }
}

/* ================= First page: choose your style ================= */
html.choosing { background: #e6ebf2; overflow: hidden; }
html.choosing body { background: #e6ebf2; }
html.choosing .app { visibility: hidden; }
.chooser {
  position: fixed; top: 0; bottom: 0; left: 50%; width: min(430px, 100%); transform: translateX(-50%); z-index: 40;
  background: #e6ebf2; color: #20243a; display: flex; flex-direction: column; justify-content: center; gap: 26px;
  padding: 30px 22px; overflow-y: auto; font: 16px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (min-width: 600px) {
  .chooser { top: 28px; bottom: 28px; border-radius: 38px; box-shadow: 9px 9px 18px #aeb9cd, -9px -9px 18px #fff; }
}
.ch-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; min-height: 150px; justify-content: center; }
.ch-kicker { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7a84a3; }
.ch-domain { margin: 0; font-size: 36px; line-height: 1.1; word-break: break-word; max-width: 100%; }
.ch-domain[data-f="neumorphism"] { font-weight: 800; color: #323a5c; letter-spacing: -.02em; text-shadow: 3px 3px 6px #aeb9cd, -3px -3px 6px #fff; }
.ch-domain[data-f="retro"] { font-family: "Righteous", sans-serif; color: #ff3d7f; text-shadow: 3px 3px 0 #1d1a2f; font-size: 40px; }
.ch-domain[data-f="pixel"] { font-family: "Press Start 2P", monospace; font-size: 18px; line-height: 1.6; color: #1a1c2c; text-shadow: 3px 3px 0 #ef7d57; }
.ch-domain[data-f="editorial"] { font-family: "Playfair Display", Georgia, serif; font-weight: 800; color: #161616; letter-spacing: -.02em; font-size: 40px; }
.ch-domain[data-f="bohemian"] { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; color: #c4623a; font-size: 44px; }
.ch-domain[data-f="handwritten"] { font-family: "Caveat", cursive; font-weight: 700; color: #26324a; font-size: 54px; transform: rotate(-2deg); }
.ch-domain[data-f="minimal"] { font-family: "Inter", sans-serif; font-weight: 600; color: #111; letter-spacing: -.04em; }

.ch-list { display: flex; flex-direction: column; gap: 18px; padding: 6px 4px; }
.opt { border: 0; cursor: pointer; width: 100%; padding: 16px 20px; text-align: center; font-size: 20px; line-height: 1.2; will-change: transform; }
.opt:focus-visible { outline: 3px solid #4f5fff; outline-offset: 4px; }
.opt[data-style="neumorphism"] { background: #e6ebf2; color: #323a5c; font-weight: 800; border-radius: 20px; box-shadow: 7px 7px 14px #aeb9cd, -7px -7px 14px #fff; }
.opt[data-style="retro"] { background: #ff9f1c; color: #1d1a2f; font-family: "Righteous", sans-serif; font-size: 22px; border-radius: 14px; box-shadow: 0 0 0 3px #1d1a2f, 6px 6px 0 3px #1d1a2f; }
.opt[data-style="pixel"] { background: #1a1c2c; color: #ffcd75; font-family: "Press Start 2P", monospace; font-size: 13px; border-radius: 0; box-shadow: 4px 0 0 0 #1a1c2c, -4px 0 0 0 #1a1c2c, 0 4px 0 0 #1a1c2c, 0 -4px 0 0 #1a1c2c, 8px 8px 0 0 rgba(0,0,0,.35); }
.opt[data-style="editorial"] { background: #faf7f0; color: #161616; font-family: "Playfair Display", Georgia, serif; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 16px; border-radius: 0; border-top: 4px double #161616; border-bottom: 1px solid #161616; }
.opt[data-style="bohemian"] { background: #f4e9d8; color: #c4623a; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 700; font-size: 26px; border-radius: 44px 44px 16px 16px; box-shadow: 0 8px 18px rgba(120,76,44,.25), inset 0 0 0 2px #dcc3a0; }
.opt[data-style="handwritten"] { background: #fffdf5; color: #26324a; font-family: "Caveat", cursive; font-weight: 700; font-size: 28px; border-radius: 18px 7px 22px 9px / 9px 20px 7px 18px; box-shadow: 0 0 0 2.5px #26324a, 4px 5px 0 0 rgba(38,50,74,.3); }
.opt[data-style="minimal"] { background: #fff; color: #111; font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: -.01em; font-size: 17px; border-radius: 10px; box-shadow: 0 0 0 1px #d9d9d9; }

/* ---- compact style wheel ---- */
.style-wheel .style-fab { padding: 6px 12px; font-size: 12px; gap: 6px; }
.style-wheel .style-fab svg { width: 15px; height: 15px; }
.peek { height: 28px; font-size: 11px; gap: 4px; }
.peek svg { width: 11px; height: 11px; }
.peek.prev { margin-right: -14px; padding: 0 18px 0 9px; border-radius: 12px 0 0 12px; }
.peek.next { margin-left: -14px; padding: 0 9px 0 18px; border-radius: 0 12px 12px 0; }
@media (max-width: 420px) {
  .peek { font-size: 10.5px; padding-left: 8px; padding-right: 8px; }
  .peek.prev { padding-right: 18px; }
  .peek.next { padding-left: 18px; }
}
html[data-theme="pixel"] .style-wheel .style-fab { font-size: 8px; }
html[data-theme="pixel"] .peek { font-size: 7px; }
html[data-theme="handwritten"] .style-wheel .style-fab { font-size: 18px; }
html[data-theme="handwritten"] .peek { font-size: 15px; }
html[data-theme="editorial"] .style-wheel .style-fab { font-size: 10.5px; }
html[data-theme="editorial"] .peek { font-size: 9.5px; }
html[data-theme="bohemian"] .style-wheel .style-fab { font-size: 15px; }
html[data-theme="bohemian"] .peek { font-size: 13px; }
html[data-theme="retro"] .peek, html[data-theme="retro"] .style-wheel .style-fab { font-size: 11.5px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
