@font-face {
  font-family: "Special-Elite";
  src: url("../../assets/fonts/quote_js/special-elite/SpecialElite.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "zai-Courier-Polski-1941";
  src: url("../../assets/fonts/quote_js/courier-polski-1941/zai_CourierPolski1941.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aachen-Typewriter";
  src: url("../../assets/fonts/quote_js/aachen-typewriter/Aachen Typewriter Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "zai-Olivetti-Hispano-Pluma-22-Typewriter";
  src: url("../../assets/fonts/quote_js/zai-olivetti-hispano-pluma-22-typewriter/zai_OlivettiHispanoPluma22Typewriter.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Erika-Ormig";
  src: url("../../assets/fonts/quote_js/Erika Ormig.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #1f1a17;
  --muted: #6b6b6b;
  --paper: #ffffff;
  --accent: #8367c7;
  --border: rgba(0, 0, 0, 0.08);
  font-family: "Onest", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}

.ts-nav-wrap {
  background: #b3e9c7;
  padding: 0 20px;
}

.ts-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 22px;
  padding: 16px 10px;
  background: #b3e9c7;
  border-radius: 0 0 18px 18px;
}

.ts-brand {
  color: #111111;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.ts-links {
  display: flex;
  gap: 18px;
  font-size: 1.05rem;
}

.ts-links a {
  color: #7b5bd6;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ts-links a:hover {
  opacity: 0.7;
}

.wrap {
  max-width: 1100px;
  margin: 24px auto 64px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
  text-align: center;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  text-align: center;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.muted {
  color: var(--muted);
  margin-top: 0;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

textarea, select, input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.preset-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

.preset-note {
  margin: 6px 0 0;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

button {
  border: 1px solid var(--border);
  background: #f5f1ea;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

button.primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.status {
  color: var(--muted);
  font-size: 0.95rem;
}

canvas {
  width: 100%;
  height: auto;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: #fff;
}

code {
  background: #f2e8da;
  padding: 1px 6px;
  border-radius: 6px;
}
