/* Fly Fantasy — professional template-based merch creator. Scoped to its own page. */
.ff-merch-templates-page{background:radial-gradient(ellipse at top,#27142b,#0b0910 62%);padding:38px 0 75px;min-height:75vh}
.ff-merch-intro h1{font:700 clamp(34px,4vw,52px)/1.1 'Playfair Display',Georgia,serif;margin:11px 0;color:#fae6ca}
.ff-merch-intro h1 em{color:#f0be80}
.ff-merch-intro>p:not(.eyebrow){font-size:15px;line-height:1.7;color:#f2e5ef;max-width:800px}
.ff-merch-top-actions{display:flex;gap:11px;flex-wrap:wrap;margin:22px 0}
.ff-merch-grid{display:grid;grid-template-columns:minmax(300px,.9fr) minmax(330px,1.1fr);gap:21px;margin:26px 0 32px;align-items:start}
.ff-merch-panel{background:linear-gradient(140deg,#261728,#0f0d14);border:1px solid #b18962;border-radius:14px;padding:clamp(17px,2.5vw,30px);box-shadow:0 13px 30px #0007;min-width:0}
.ff-merch-panel h2{font:700 27px 'Playfair Display',Georgia,serif;margin:0 0 10px;color:#f5d299}
.ff-merch-panel h3{font:700 25px 'Playfair Display',Georgia,serif;margin:15px 0;color:#f3d4a3}
.ff-merch-panel p{line-height:1.6}
.ff-merch-stepcount{color:#f0ca8f;font-weight:800;font-size:13px;margin:15px 0 6px}
.ff-merch-progress{display:block;width:100%;height:10px;accent-color:#e2ad64;margin-bottom:22px}
.ff-merch-step[hidden],#ff-merch-creator[hidden],#merch-auth[hidden]{display:none!important}
.ff-merch-step>p{font-size:14px;color:#eadce9}
.ff-merch-step label{display:block;color:#f0d3a1;font-size:15px;font-weight:750;margin:20px 0}
.ff-merch-step input:not([type=checkbox]),.ff-merch-step select{display:block;width:100%;font-size:16px;padding:13px;background:#170f1b;color:#fff;border:1px solid #95758b;border-radius:8px;margin-top:8px}
.ff-merch-step input[type=range]{padding:2px 0;accent-color:#f0c287}
.ff-merch-step input:focus-visible,.ff-merch-step select:focus-visible,.ff-merch-side:focus-visible{outline:3px solid #f7d89b;outline-offset:2px}
.ff-merch-rights{display:flex!important;align-items:start;gap:12px;line-height:1.55}
.ff-merch-rights input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:#deab69}
.ff-merch-hint{font-size:12px!important;color:#cfc0d0!important;line-height:1.65;margin:11px 0}
.ff-merch-controls{display:flex;justify-content:space-between;gap:10px;margin:29px 0 14px;flex-wrap:wrap}
.ff-merch-controls button{min-height:48px;cursor:pointer;font-size:14px}
.ff-merch-controls button[hidden]{display:none!important}
.ff-merch-controls #merch-next{margin-left:auto}
.ff-merch-controls button:disabled{opacity:.5}
.ff-merch-feedback{border-top:1px solid #6e546d;margin-top:22px;padding-top:13px;color:#f1d3a0;font-size:14px;line-height:1.65}
.ff-merch-feedback.error{color:#ffb7bc}
.ff-merch-description{color:#ecdfe9;font-size:14px}
.ff-merch-side-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0}
.ff-merch-side{appearance:none;background:#1c1420;color:#efd1b0;border:1px solid #b08665;border-radius:7px;padding:10px 12px;min-height:44px;font-size:13px;cursor:pointer}
.ff-merch-side[aria-pressed=true]{background:#e9c58f;color:#1c1120;font-weight:800}
.ff-merch-placement{color:#eacb9e;font-size:14px;margin:14px 0}
.ff-merch-canvas-wrap{background:#0a0811;border:1px solid #76556d;border-radius:10px;padding:11px;overflow:hidden;min-height:300px}
.ff-merch-canvas-wrap canvas{display:block;width:100%;height:auto;object-fit:contain;max-height:680px}
.ff-merch-spec{font-size:14px;color:#f3d9ae;font-weight:700;margin:17px 0 9px}
.ff-merch-quality{border:1px solid #6f6479;border-radius:8px;padding:12px;background:#24192b;color:#f5e1d4;font-size:14px}
.ff-merch-quality[data-state=good]{border-color:#56ba7f;color:#bcf7d2}
.ff-merch-quality[data-state=warn]{border-color:#d8a15e;color:#f8e0a4}
.ff-merch-quality[data-state=bad]{border-color:#c77679;color:#ffd6d9}
.ff-merch-template-link{color:#f8d69f;display:inline-block;margin-top:8px;font-size:13px;text-decoration:underline}
.ff-merch-template-link[hidden]{display:none!important}
.ff-merch-bottom{margin-top:25px}
.ff-merch-draft-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.ff-merch-draft-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:13px;margin-top:22px}
.ff-merch-draft{display:flex;align-items:center;gap:11px;border-radius:9px;border:1px solid #725b6a;padding:13px;background:#1a1420}
.ff-merch-draft div{flex:1;min-width:0}.ff-merch-draft strong{color:#f7d3a0;font-size:14px}.ff-merch-draft p{color:#d5c5d5;font-size:12px}
.ff-merch-draft img{object-fit:contain;border-radius:5px;background:#0d0d10}
.ff-merch-draft button{font-size:13px;cursor:pointer}
.ff-merch-review p{font-size:14px;color:#e9d9e6}.ff-merch-review strong{color:#f0cd99}
.ff-merch-note{font-size:13px;color:#d0c3d1;margin:22px 0 0}
@media(max-width:940px){.ff-merch-grid{grid-template-columns:1fr}.ff-merch-preview-panel{order:-1}}
@media(max-width:570px){.ff-merch-templates-page{padding-top:21px}.ff-merch-panel{padding:17px}.ff-merch-side{flex:1 1 calc(50% - 7px);text-align:center}.ff-merch-controls button{flex:1 1 42%}.ff-merch-draft-list{grid-template-columns:1fr}}
