/* The built-in «basic» site theme of the beta (src/sites/themes/basic.js): plain, readable, mobile first. */
:root { color-scheme: light; --bg: #f6f4ef; --surface: #ffffff; --line: #d8d3c7; --text: #17171a; --muted: #55534d; --accent: #1f5f57; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
header, main, footer { width: min(760px, 100%); margin: 0 auto; padding: 16px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
header nav { display: flex; gap: 16px; }
a { color: var(--accent); }
.brand { color: var(--text); font-weight: 800; font-size: 20px; text-decoration: none; }
h1 { margin: 8px 0; font-size: clamp(28px, 7vw, 40px); line-height: 1.1; }
.lead { color: var(--muted); }
.tool { display: grid; gap: 12px; margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.tool label { display: grid; gap: 6px; }
.tool .adult { display: flex; align-items: center; gap: 8px; }
.tool select { min-height: 44px; font: inherit; }
/* The native file input stays for keyboards and screen readers; the label is the visible button in the page's language. */
.tool .file { position: relative; }
.tool .file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.tool .file span { display: grid; place-items: center; min-height: 56px; border: 2px dashed var(--line); border-radius: 12px; color: var(--accent); font-weight: 700; cursor: pointer; }
.tool .file:focus-within span { outline: 3px solid var(--accent); outline-offset: 2px; }
.tool button, .buy button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--accent); color: #ffffff; font: inherit; font-weight: 700; cursor: pointer; }
.buy { display: grid; gap: 10px; }
.buy .packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.buy .packs button { white-space: nowrap; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 500; }
.buy .packs button strong { color: var(--accent); }
.buy h2 { margin: 8px 0 0; font-size: 18px; }
.buy .methods { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.buy .methods label { display: flex; align-items: center; gap: 6px; }
.status { min-height: 1.5em; margin: 0; color: var(--muted); }
.result img { display: block; width: 100%; border-radius: 14px; }
.effects { display: grid; gap: 8px; padding: 0; list-style: none; }
.effects li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
details { margin: 8px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
footer { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 14px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
