/* famousstar.de — name-on-template generator */

.fs-tool { background: linear-gradient(135deg, #fff8e8, #fff); border: 2px solid #f4d35e;
  border-radius: 12px; padding: 1.25rem; margin: 0 0 2rem; }
.fs-tool h2 { margin-top: 0; }

.fs-input-row { display: flex; gap: .6rem; margin-bottom: 1rem; flex-wrap: wrap; }
.fs-input-row input { flex: 1; min-width: 220px; padding: .8rem 1rem; font-size: 1.3rem;
  border: 2px solid var(--border); border-radius: 6px; font-weight: 600; }
.fs-input-row input:focus { outline: none; border-color: var(--accent); }
.fs-input-row button { padding: .8rem 1.25rem; background: var(--accent); color: #fff;
  border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.fs-input-row button:hover { background: var(--accent-h); }

.fs-stage { background: #1a1a1a; border-radius: 8px; padding: 8px; margin-bottom: 1rem;
  overflow: hidden; }
.fs-stage canvas { width: 100%; height: auto; display: block; border-radius: 4px; }

.fs-pick-title { margin: 1.5rem 0 .5rem; font-size: 1.05rem; color: #555; }

.fs-tabs { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.fs-tab { background: #fff; border: 1px solid var(--border); padding: .4rem .85rem;
  border-radius: 20px; cursor: pointer; font-size: .9rem; }
.fs-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.fs-tab:hover { background: #e8f0fe; }
.fs-tab.active:hover { background: var(--accent-h); }

.fs-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .6rem; }
.fs-thumb { background: #fff; border: 2px solid var(--border); border-radius: 6px;
  cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s; }
.fs-thumb:hover { border-color: var(--accent); transform: translateY(-1px); }
.fs-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,115,170,.2); }
.fs-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.fs-thumb-name { font-size: .85rem; padding: .4rem .5rem; color: #333; }

.fs-explain { margin: 1.5rem 0; }
.fs-explain ol { padding-left: 1.2em; }
.fs-explain li { margin: .35rem 0; }

.fs-source { color: var(--muted); font-size: .85rem; margin-top: 2rem; }

/* Per-template detail pages */
.fs-tpl-detail { background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem; margin-bottom: 2rem; }
.fs-tpl-detail h1 { margin-top: 0; }
.fs-tpl-detail .blurb { color: #555; max-width: 65ch; }
.fs-tpl-detail img.preview { width: 100%; max-width: 720px; border-radius: 8px;
  display: block; margin: 1rem 0; }
.fs-tpl-cta { text-align: center; margin: 1.5rem 0; }
.fs-tpl-cta a { display: inline-block; background: var(--accent); color: #fff;
  padding: .8rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.fs-tpl-cta a:hover { background: var(--accent-h); }
