/* Share your creation: one sheet for phones and computers, guests and members.
   Phone  = full-height bottom sheet, one step at a time, big thumb-friendly buttons.
   Desktop = centred window, live preview on the left, form on the right.
   Colours follow the showcase (violet + mint) and switch to dark with the visitor's system setting. */

.fs, .fs *, .fs *:before, .fs *:after { box-sizing: border-box; }
.fs {
	--fs-s: 1; --bg: #ffffff; --bg2: #f5f5fb; --text: #17172b; --muted: #5d5d78; --line: #e3e3ef;
	--brand: #6d5dfc; --brand2: #00c2a8; --ok: #0f9d6e; --err: #d6336c; --ring: rgba(109, 93, 252, .35);
	position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147483000;
	display: none; align-items: flex-end; justify-content: center;
	background: rgba(12, 12, 30, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: calc(16px * var(--fs-s)); line-height: 1.5; color: var(--text);
	-webkit-text-size-adjust: 100%; overscroll-behavior: contain;
}
@media (prefers-color-scheme: dark) {
	.fs { --bg: #14142a; --bg2: #1d1d38; --text: #f1f1fa; --muted: #a9a9c6; --line: #2e2e4d; --ring: rgba(143, 123, 255, .45); --err: #ff6b9a; --ok: #3ddc9e; }
}
.fs.is-open { display: flex; }
.fs.is-in { animation: fs-fade .22s ease both; }
.fs button, .fs input, .fs select, .fs textarea { font: inherit; color: inherit; }
.fs [hidden] { display: none !important; }

.fs-panel {
	position: relative; width: 100%; height: 100%; height: 100dvh; max-height: 100%; display: flex; flex-direction: column;
	background: var(--bg); border-radius: 0; overflow: hidden;
}
.fs.is-in .fs-panel { animation: fs-up .32s cubic-bezier(.2, .9, .3, 1) both; }

/* ---------- header ---------- */
.fs-head { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 8px; }
.fs-x, .fs-back { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--bg2); color: var(--text); cursor: pointer; }
.fs-x:hover, .fs-back:hover { background: var(--line); }
.fs-back[disabled] { opacity: 0; pointer-events: none; }
.fs-title { flex: 1; min-width: 0; text-align: center; font-weight: 800; font-size: 1.05em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-title small { display: block; font-weight: 600; font-size: .72em; color: var(--muted); letter-spacing: .02em; }
.fs-steps { flex: none; display: flex; gap: 6px; padding: 0 16px 10px; }
.fs-steps i { flex: 1; height: 5px; border-radius: 9px; background: var(--line); position: relative; overflow: hidden; }
.fs-steps i:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--brand2)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.fs-steps i.on:after { transform: scaleX(1); }

/* ---------- body ---------- */
.fs-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.fs-main { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 6px 18px 18px; scroll-behavior: smooth; }
.fs-side { display: none; }
.fs-step { display: none; }
.fs-step.on { display: block; animation: fs-step .28s ease both; }
.fs-h { margin: 6px 0 4px; font-size: 1.55em; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.fs-sub { margin: 0 0 16px; color: var(--muted); }

/* ---------- step 1: media ---------- */
.fs-drop {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
	min-height: 230px; padding: 22px 16px; border: 2px dashed var(--line); border-radius: 22px; background: var(--bg2); transition: border-color .15s, background .15s, transform .15s;
}
.fs-drop.over { border-color: var(--brand); background: rgba(109, 93, 252, .08); transform: scale(1.01); }
.fs-drop-ic { width: 64px; height: 64px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2)); box-shadow: 0 10px 26px rgba(109, 93, 252, .35); }
.fs-drop b { font-size: 1.1em; }
.fs-drop p { margin: 0; color: var(--muted); font-size: .92em; }
.fs-pick { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 4px; }
.fs-media { position: relative; border-radius: 22px; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; max-height: 46vh; }
.fs-media img, .fs-media video { display: block; max-width: 100%; max-height: 46vh; width: auto; margin: 0 auto; }
.fs-media audio { width: calc(100% - 28px); margin: 34px 14px; }
.fs-media.is-audio { background: linear-gradient(135deg, #3b2f9e, #00a08a); min-height: 120px; }
.fs-media-bar { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: .9em; }
.fs-media-bar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs-skip { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--brand); font-weight: 700; cursor: pointer; padding: 10px; }

/* ---------- inputs ---------- */
.fs-f { margin: 0 0 16px; }
.fs-f > label, .fs-lab { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 6px; font-weight: 700; font-size: .95em; }
.fs-f > label em, .fs-lab em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .88em; }
.fs-in, .fs-ta {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--text);
	font-size: max(16px, 1em); -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s;
}
.fs-ta { min-height: 130px; resize: vertical; line-height: 1.5; }
.fs-in:focus, .fs-ta:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.fs-in.bad, .fs-ta.bad { border-color: var(--err); }
.fs-count { font-size: .82em; color: var(--muted); text-align: right; margin-top: 4px; }
.fs-err { color: var(--err); font-size: .9em; font-weight: 600; margin-top: 6px; }
.fs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fs-chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--text);
	font-weight: 600; font-size: .94em; cursor: pointer; transition: transform .12s, border-color .12s, background .12s;
}
.fs-chip:hover { border-color: var(--brand); }
.fs-chip:active { transform: scale(.96); }
.fs-chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--brand), #8f5bff); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(109, 93, 252, .35); }
.fs-chip.sm { min-height: 34px; padding: 4px 11px; font-size: .86em; }
.fs-chips.tight { margin-top: 8px; }

/* ---------- step 3: who ---------- */
.fs-seg { display: flex; padding: 4px; gap: 4px; border-radius: 16px; background: var(--bg2); margin-bottom: 14px; }
.fs-seg button { flex: 1; min-height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; }
.fs-seg button[aria-pressed="true"] { background: var(--bg); color: var(--text); box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.fs-seg button[disabled] { opacity: .45; cursor: not-allowed; }
.fs-card { padding: 14px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--bg2); margin-bottom: 14px; }
.fs-me { display: flex; align-items: center; gap: 12px; }
.fs-av { flex: none; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; font-weight: 800; font-size: 1.2em; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.fs-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fs-me b { display: block; line-height: 1.25; }
.fs-me span { color: var(--muted); font-size: .9em; }
.fs-tok { margin-left: auto; flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(0, 194, 168, .15); color: var(--ok); font-weight: 800; font-size: .88em; white-space: nowrap; }
.fs-tok.low { background: rgba(214, 51, 108, .13); color: var(--err); }
.fs-note { margin: 10px 0 0; color: var(--muted); font-size: .9em; }
.fs-note b { color: var(--text); }
.fs-two { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.fs-perks { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: .92em; }
.fs-perks li:before { content: "\2713\00a0\00a0"; color: var(--ok); font-weight: 900; }
.fs-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 16px; cursor: pointer; font-size: .94em; }
.fs-check input { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--brand); }
.fs-check.bad { border-color: var(--err); }
.fs-check a { color: var(--brand); font-weight: 700; }
.fs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- buttons ---------- */
.fs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 999px;
	font-weight: 800; font-size: 1em; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s, opacity .12s; -webkit-tap-highlight-color: transparent;
}
.fs-btn:active { transform: scale(.97); }
.fs-btn[disabled] { opacity: .55; cursor: not-allowed; }
.fs-btn.pri { background: linear-gradient(135deg, var(--brand), #8f5bff); color: #fff; box-shadow: 0 8px 22px rgba(109, 93, 252, .38); }
.fs-btn.mint { background: var(--brand2); color: #04251f; }
.fs-btn.ghost { background: var(--bg2); color: var(--text); }
.fs-btn.sm { min-height: 42px; padding: 0 16px; font-size: .92em; }
.fs button:focus-visible, .fs a:focus-visible, .fs input:focus-visible, .fs select:focus-visible { outline: 3px solid var(--brand2); outline-offset: 2px; }

.fs-foot { flex: none; display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.fs-foot .fs-btn { flex: 1; }
.fs-foot .fs-btn.ghost { flex: none; }
.fs-msg { flex: none; margin: 0; padding: 10px 18px; background: rgba(214, 51, 108, .1); color: var(--err); font-weight: 700; font-size: .92em; }
.fs-msg:empty { display: none; }

/* ---------- sending + done ---------- */
.fs-send { position: absolute; inset: 0; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; text-align: center; background: var(--bg); }
.fs-send.on { display: flex; }
.fs-ring { width: 74px; height: 74px; border-radius: 50%; border: 6px solid var(--line); border-top-color: var(--brand); animation: fs-spin .9s linear infinite; }
.fs-bar { width: min(320px, 80%); height: 10px; border-radius: 9px; background: var(--line); overflow: hidden; }
.fs-bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: linear-gradient(90deg, var(--brand), var(--brand2)); transition: width .2s; }
.fs-done { position: absolute; inset: 0; z-index: 6; display: none; flex-direction: column; background: var(--bg); overflow-y: auto; }
.fs-done.on { display: flex; }
.fs-done-in { margin: auto; width: 100%; max-width: 520px; padding: 30px 22px calc(30px + env(safe-area-inset-bottom, 0px)); text-align: center; }
.fs-tick { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--brand2), #4ade80); box-shadow: 0 14px 34px rgba(0, 194, 168, .4); animation: fs-pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.fs-tick svg { stroke-dasharray: 40; stroke-dashoffset: 40; animation: fs-draw .5s .25s ease forwards; }
.fs-done h3 { margin: 0 0 6px; font-size: 1.6em; line-height: 1.2; }
.fs-done p { margin: 0 0 14px; color: var(--muted); }
.fs-flow { display: flex; justify-content: space-between; gap: 6px; margin: 18px 0; padding: 14px 10px; border-radius: 18px; background: var(--bg2); font-size: .8em; color: var(--muted); }
.fs-flow div { flex: 1; } .fs-flow b { display: block; font-size: 1.5em; margin-bottom: 2px; }
.fs-flow .now { color: var(--ok); font-weight: 800; }
.fs-spread { margin: 4px 0 8px; font-weight: 800; }
.fs-soc { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.fs-soc a, .fs-soc button { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--bg2); color: var(--text); cursor: pointer; text-decoration: none; transition: transform .12s, background .12s; }
.fs-soc a:hover, .fs-soc button:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.fs-act { display: flex; flex-direction: column; gap: 10px; }
.fs-conf { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; z-index: 7; }
.fs-conf i { position: absolute; top: -14px; width: 9px; height: 15px; border-radius: 2px; opacity: 0; animation: fs-fall 2.4s ease-in forwards; }

/* ---------- live preview card (desktop side, and recap on phones) ---------- */
.fs-pv { border-radius: 22px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(20, 20, 60, .22); }
.fs-pv-m { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; font-size: 56px; background: linear-gradient(135deg, #6d5dfc, #00c2a8); color: #fff; overflow: hidden; }
.fs-pv-m img, .fs-pv-m video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fs-pv-b { padding: 14px 16px 16px; }
.fs-pv-cat { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(109, 93, 252, .14); color: var(--brand); font-weight: 800; font-size: .78em; }
.fs-pv h4 { margin: 8px 0 4px; font-size: 1.12em; line-height: 1.3; overflow-wrap: anywhere; }
.fs-pv p { margin: 0 0 10px; color: var(--muted); font-size: .9em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fs-pv-by { display: flex; align-items: center; gap: 8px; font-size: .86em; color: var(--muted); }
.fs-pv-by .fs-av { width: 26px; height: 26px; font-size: .8em; }
.fs-pv-by b { color: var(--text); }
.fs-recap { margin-bottom: 14px; }
.fs-recap .fs-pv { box-shadow: none; display: flex; }
.fs-recap .fs-pv-m { flex: none; width: 96px; aspect-ratio: auto; font-size: 34px; }
.fs-recap .fs-pv-b { min-width: 0; padding: 10px 12px; }
.fs-recap .fs-pv p { display: none; }
.fs-recap .fs-pv h4 { margin: 4px 0 2px; font-size: 1em; }
.fs-pvl { margin: 0 0 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .72em; color: rgba(255, 255, 255, .85); }
.fs-hint { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; font-size: .88em; line-height: 1.45; }

/* ---------- the button on the page ---------- */
.fs-cta { position: relative; overflow: hidden; padding: 20px 18px; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #6d5dfc, #8f5bff 55%, #00c2a8); box-shadow: 0 14px 34px rgba(109, 93, 252, .38); text-align: left; }
.fs-cta:before { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.fs-cta h2 { position: relative; margin: 0 0 4px; font-size: 1.5em; line-height: 1.2; color: #fff; }
.fs-cta p { position: relative; margin: 0 0 14px; color: rgba(255, 255, 255, .92); }
.fs-cta .fs-btn { position: relative; background: #fff; color: #3a2fa8; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }
.fs-cta ul { position: relative; list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86em; color: rgba(255, 255, 255, .92); }
#ft-share.fs-on .form-wrap .card > *:not(.fs-cta) { display: none !important; }
#ft-share.fs-on .form-wrap .card { padding: 0; background: none; border: 0; box-shadow: none; }

.fs-fab {
	position: fixed; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); z-index: 99990; display: none; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px;
	border: 0; border-radius: 999px; background: linear-gradient(135deg, #6d5dfc, #8f5bff); color: #fff; font: 800 16px system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	box-shadow: 0 10px 28px rgba(109, 93, 252, .5); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.fs-fab.on { display: inline-flex; animation: fs-pop .4s ease both; }
.fs-fab:active { transform: scale(.96); }

/* ---------- computers ---------- */
@media (min-width: 860px) {
	.fs { align-items: center; padding: 24px; }
	.fs-panel { width: min(1040px, 100%); height: min(720px, 100%); border-radius: 28px; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
	.fs.is-in .fs-panel { animation-name: fs-zoom; }
	.fs-head { padding-top: 14px; padding-left: 18px; padding-right: 18px; }
	.fs-body { flex-direction: row; }
	.fs-side { display: flex; flex-direction: column; flex: none; width: 360px; padding: 22px; background: linear-gradient(160deg, #4a3fd1, #6d5dfc 45%, #00a08a); overflow-y: auto; }
	.fs-main { padding: 8px 30px 22px; }
	.fs-h { font-size: 1.8em; }
	.fs-two { grid-template-columns: 1fr 1fr; }
	.fs-recap { display: none; }
	.fs-fab { display: none !important; }
	.fs-media, .fs-media img, .fs-media video { max-height: 340px; }
	.fs-drop { min-height: 280px; }
}
@media (max-width: 859px) { .fs-fab.on { display: inline-flex; } }
@media (max-height: 560px) and (max-width: 859px) { .fs-drop { min-height: 150px; } .fs-drop-ic { display: none; } }

@keyframes fs-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fs-up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fs-zoom { from { transform: scale(.95) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fs-step { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes fs-spin { to { transform: rotate(360deg); } }
@keyframes fs-pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fs-draw { to { stroke-dashoffset: 0; } }
@keyframes fs-fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(105vh) rotate(720deg); opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
	.fs *, .fs *:before, .fs *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.fs-conf { display: none; }
}
html.fs-lock, html.fs-lock body { overflow: hidden !important; }
.fs-cta .fs-cta-sign { margin: 10px 0 0 10px; }

/* ---------- v2.22.2: the Prompt box (shown on the Explore page) ---------- */
.fs-f > label.fs-plab { display: flex; align-items: center; justify-content: flex-start; gap: 8px; font-size: 1.12em; font-weight: 800; letter-spacing: -.01em; }
.fs-plab svg { color: var(--brand); flex: none; }
.fs-plab em { margin-left: auto; text-align: right; }
.fs-pbox { position: relative; border-radius: 18px; padding: 2px; background: linear-gradient(135deg, rgba(109, 93, 252, .55), rgba(0, 194, 168, .55)); box-shadow: 0 10px 28px -14px rgba(109, 93, 252, .55); transition: box-shadow .2s; }
.fs-pbox:focus-within { box-shadow: 0 0 0 4px var(--ring), 0 14px 32px -12px rgba(109, 93, 252, .6); }
.fs-ta.fs-prompt { display: block; min-height: 190px; border: 0; border-radius: 16px; background: var(--bg); padding: 16px 16px 14px; line-height: 1.6; resize: vertical;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: max(16px, .94em); }
.fs-ta.fs-prompt:focus { box-shadow: none; }
.fs-ta.fs-prompt.bad { box-shadow: inset 0 0 0 2px var(--err); }
.fs-ta.fs-prompt::placeholder { color: var(--muted); opacity: .75; }
.fs-ptools { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; flex-wrap: wrap; }
.fs-pbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 13px; border-radius: 999px; border: 1.5px solid var(--brand); background: rgba(109, 93, 252, .1); color: var(--brand); font-weight: 700; font-size: .88em; cursor: pointer; transition: background .15s, transform .15s; }
.fs-pbtn svg { width: 16px; height: 16px; }
.fs-pbtn:hover { background: rgba(109, 93, 252, .2); }
.fs-pbtn:active { transform: scale(.96); }
.fs-pbtn.ghost { border-color: var(--line); background: none; color: var(--muted); }
.fs-pbtn.ghost:hover { border-color: var(--err); color: var(--err); background: none; }
.fs-meter { margin: 0 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fs-meter::before { content: ""; width: 74px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--meter, var(--brand)) var(--p, 0%), var(--line) var(--p, 0%)); }
.fs-meter.good { --meter: var(--ok); color: var(--ok); }
.fs-meter.warm { --meter: #f5a301; color: #b27700; }
.fs-meter.hot { --meter: var(--err); color: var(--err); }
.fs-ptpl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.fs-ptpl > span { font-size: .84em; font-weight: 700; color: var(--muted); margin-right: 2px; }
.fs-ptip { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--bg2); color: var(--muted); font-size: .86em; line-height: 1.45; }
/* live preview: the prompt looks like the prompt on the Explore page */
.fs-pv .fs-pv-prompt { margin: 6px 0 10px; padding: 9px 12px 10px; border-radius: 12px; background: var(--bg2); border-left: 3px solid var(--brand); }
.fs-pv .fs-pv-pl { display: block; margin: 0 0 3px; font-size: .68em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.fs-pv .fs-pv-prompt p { margin: 0; color: var(--text); font-size: .86em; line-height: 1.5; -webkit-line-clamp: 5; }


/* ---------- v2.22.3: better close (X) and back buttons, close dialog ---------- */
.fs-x, .fs-back { width: 46px; height: 46px; background: var(--bg2); color: var(--text); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 20, 50, .06); transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s; -webkit-tap-highlight-color: transparent; }
.fs-x svg, .fs-back svg { stroke-width: 2.4; transition: transform .2s ease; }
.fs-x:hover { background: var(--err); border-color: var(--err); color: #fff; box-shadow: 0 6px 16px rgba(214, 51, 108, .35); }
.fs-x:hover svg { transform: rotate(90deg); }
.fs-back:hover { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(109, 93, 252, .35); }
.fs-back:hover svg { transform: translateX(-2px); }
.fs-x:active, .fs-back:active { transform: scale(.92); }
.fs-x:focus-visible, .fs-back:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.fs-back[disabled] { opacity: 0; pointer-events: none; visibility: hidden; }

.fs-ask { position: absolute; inset: 0; z-index: 8; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(12, 12, 30, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fs-fade .18s ease both; }
.fs-ask-box { width: 100%; max-width: 420px; padding: 24px 22px 20px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(12, 12, 40, .4); text-align: center; }
.fs-ask-box h3 { margin: 0 0 6px; font-size: 1.25em; line-height: 1.25; }
.fs-ask-box p { margin: 0 0 18px; color: var(--muted); font-size: .95em; }
.fs-ask-row { display: flex; flex-direction: column; gap: 10px; }
.fs-ask-row .fs-btn { width: 100%; }
.fs-btn.danger { color: var(--err); }
.fs-btn.danger:hover { background: var(--err); color: #fff; }
@media (prefers-reduced-motion: reduce) { .fs-x:hover svg, .fs-back:hover svg { transform: none; } .fs-ask { animation: none; } }
