.fx-sheet{position:fixed;inset:auto 0 0 0;margin:0 auto;width:min(100%,520px);max-width:100%;max-height:92vh;overflow-y:auto;padding:10px 18px calc(18px + env(safe-area-inset-bottom));border:1px solid var(--line,#ffffff22);border-bottom:0;border-radius:26px 26px 0 0;background:var(--surface,#1b1c27);color:var(--text,#fff);box-sizing:border-box}
.fx-sheet[open]{animation:fx-up .22s ease-out}
.fx-sheet::backdrop{background:#0009;backdrop-filter:blur(3px)}
@keyframes fx-up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
.fx-grab{display:block;width:40px;height:4px;border-radius:4px;background:var(--muted,#888);opacity:.5;margin:0 auto 10px}
.fx-close{position:absolute;top:16px;right:14px;width:34px;height:34px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid var(--line,#ffffff30);background:var(--surface2,#ffffff14);color:var(--text,#fff);cursor:pointer}
.fx-close svg{width:16px;height:16px}
.fx-title{margin:4px 48px 2px 0;font-size:20px;line-height:1.25}
.fx-desc{margin:0;font-size:13px;color:var(--muted,#a6a5b6)}
.fx-stage{position:relative;display:block;width:100%;height:clamp(210px,62vw,300px);margin:16px 0 4px;padding:0;border:0;background:none;cursor:zoom-in}
.fx-card{position:absolute;top:8px;width:48%;aspect-ratio:3/4;max-height:calc(100% - 16px);margin:0;border-radius:18px;overflow:hidden;border:2px solid #ffffffd9;box-shadow:0 12px 30px #0008;background:#111}
.fx-card img{width:100%;height:100%;object-fit:cover;display:block}
.fx-ph{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#fff;font-weight:650;font-size:15px;background:linear-gradient(160deg,#3b2a66,#5a2b78 55%,#7a2f7e)}
.fx-ph svg{width:44px;height:44px;opacity:.9}
.fx-card figcaption{position:absolute;bottom:8px;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px;background:#000000a8;color:#fff}
.fx-b{left:6%;transform:rotate(-6deg)}.fx-b figcaption{left:8px}
.fx-a{right:6%;transform:rotate(5deg);z-index:2}.fx-a figcaption{right:8px}
.fx-stage.solo .fx-a{left:50%;right:auto;transform:translateX(-50%) rotate(2deg)}
.fx-arrow{position:absolute;left:43%;top:44%;width:44px;height:44px;z-index:3;filter:drop-shadow(0 2px 4px #0009)}
.fx-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin:4px 0 12px;font-size:12.5px;color:var(--muted,#a6a5b6)}
.fx-hint svg{width:15px;height:15px}
.fx-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.fx-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:600;background:var(--surface2,#ffffff14);border:1px solid var(--line,#ffffff22);color:var(--text,#fff)}
.fx-chip svg{width:14px;height:14px}
.fx-hot{background:linear-gradient(115deg,#924bfa,#e54e9e);border-color:transparent;color:#fff}
.fx-row{display:flex;gap:10px;align-items:center}
.fx-heart{flex:none;width:52px;height:48px;border-radius:16px;border:1px solid var(--line,#ffffff30);background:var(--surface2,#ffffff14);color:var(--text,#fff);font-size:20px;cursor:pointer}
.fx-sheet .fx-go{flex:1;min-height:48px!important;border-radius:16px!important;font-size:15px!important;gap:8px!important}
.fx-go svg{width:17px;height:17px}
.fx-cost{margin-left:4px;padding:3px 9px;border-radius:999px;background:#ffffff2e;font-size:13px}
.fx-zoom{padding:0;border:0;background:transparent;max-width:96vw;max-height:92vh}
.fx-zoom::backdrop{background:#000d}
.fx-zoom img{display:block;max-width:96vw;max-height:92vh;border-radius:16px;object-fit:contain}
#exampleLabel{display:block;margin-top:6px;font-size:11px;line-height:1.4;color:var(--muted,#a6a5b6);opacity:.85}
#editor .example>summary{pointer-events:none;cursor:default;list-style:none}
#editor .example>summary::-webkit-details-marker{display:none}
#editor .example>summary::marker{content:''}
.video-fixed{margin:8px 0;font-size:12px;color:var(--muted,#a6a5b6)}

/* quality choice (photo sheet and video editor): the user picks quality, the price follows */
.quality-chips{display:flex;gap:8px;margin:12px 0 4px}
.quality-chips[hidden]{display:none}
.q-chip{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px!important;min-height:0!important;border-radius:14px!important;border:1px solid var(--line,#ffffff30)!important;background:var(--surface2,#ffffff10)!important;color:var(--text,#fff)!important;font:inherit;cursor:pointer;box-shadow:none!important}
.q-chip b{font-size:13px;font-weight:650;white-space:nowrap}
.q-chip small{font-size:11.5px;color:var(--muted,#a6a5b6)}
.q-chip.on{border-color:color-mix(in srgb,var(--accent,#b06cff) 80%,transparent)!important;background:color-mix(in srgb,var(--accent,#b06cff) 22%,transparent)!important}
.q-chip.on small{color:color-mix(in srgb,var(--accent,#b06cff) 55%,#fff)}
.q-chip:disabled{opacity:.4;cursor:not-allowed}
.q-chip .q-sample{font-style:normal;font-size:10.5px;font-weight:600;color:color-mix(in srgb,var(--accent,#b06cff) 60%,#fff)}
.quality-chips{flex-wrap:wrap}
.quality-chips .q-title{flex:0 0 100%;margin:0 2px -2px;font-size:12px;font-weight:600;color:var(--muted,#a6a5b6)}
