/* Story Font is a route-owned, full viewport workspace. Its exported canvas stays transparent. */
.sf-editor{--sf-pink:#f13c96;--sf-text:#fff;--sf-muted:#f3c8dd;--sf-line:rgba(255,255,255,.2);--sf-vh:100dvh;position:fixed;z-index:1040;inset:var(--sf-top,0) 0 auto;height:var(--sf-vh);width:100%;max-width:none;margin:0;padding:env(safe-area-inset-top,0) 0 env(safe-area-inset-bottom,0);display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(165deg,#d52b81 0%,#bd1d70 56%,#8e174e 100%);color:var(--sf-text);font-family:inherit;isolation:isolate}
.sf-editor *{box-sizing:border-box}.sf-editor button,.sf-editor input,.sf-editor select,.sf-editor textarea,.sf-editor a{font:inherit}.sf-editor button,.sf-editor a{touch-action:manipulation}.sf-editor button,.sf-editor .sf-download,.sf-editor .sf-open-image{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;border:1px solid var(--sf-line);border-radius:13px;padding:8px 13px;background:rgba(255,255,255,.08);color:inherit;text-decoration:none;cursor:pointer;box-shadow:none}.sf-editor button:disabled{opacity:.4;cursor:default}.sf-editor button:focus-visible,.sf-editor a:focus-visible,.sf-editor input:focus-visible,.sf-editor select:focus-visible,.sf-editor textarea:focus-visible{outline:3px solid #ffda80;outline-offset:3px}.sf-editor button.is-active{background:rgba(255,255,255,.18);border-color:#fff}.sf-editor svg{height:22px;width:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.sf-editor .sf-symbols{position:absolute;width:0;height:0;overflow:hidden}.sf-editor .sf-icon-button{padding:8px;min-width:42px;border:0;background:transparent}.sf-editor .sf-primary{border-color:#fff;background:#fff;color:#9f1759;font-weight:800;border-radius:24px;padding:9px 18px}.sf-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sf-heading{height:76px;flex:none;width:min(100%,1200px);margin:0 auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.sf-brand,.sf-toolbar{display:flex;align-items:center;gap:9px}.sf-heading h1{font-size:19px;font-weight:800;line-height:1.6;color:#fff;margin:0}.sf-eyebrow{font-size:10px;color:var(--sf-muted)}.sf-toolbar .sf-primary{font-size:12px}.sf-workspace{width:min(100%,1100px);margin:0 auto;min-height:0;flex:1;display:flex;flex-direction:column}.sf-preview-panel{display:flex;flex-direction:column;flex:1;min-height:120px;padding:0 24px}.sf-preview-top{display:flex;align-items:center;justify-content:space-between;min-height:40px;flex:none}.sf-save-state{font-size:10px;color:var(--sf-muted)}.sf-undo-bar{display:flex;gap:2px}.sf-undo-bar .sf-icon-button{min-width:36px;min-height:36px;padding:7px}.sf-undo-bar svg{width:20px;height:20px}.sf-stage-wrap{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:0 38px}.sf-stage{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,640px);max-height:100%;aspect-ratio:3/2}.sf-stage-square{aspect-ratio:1;width:auto;height:100%;max-width:100%}.sf-stage-portrait{aspect-ratio:4/5;width:auto;height:100%;max-width:100%}.sf-stage-story{aspect-ratio:9/16;width:auto;height:100%;max-width:100%}.sf-canvas{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;touch-action:none;user-select:none;-webkit-user-select:none}.sf-action-rail{position:absolute;right:0;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:9px}.sf-action-rail button{width:40px;height:40px;min-height:40px;padding:8px;border:0;background:rgba(102,8,52,.19);border-radius:13px}.sf-editor .sf-empty{position:absolute;inset:40% 8% auto;background:transparent;border:0;font-size:16px;color:#ffdaec}.sf-stage-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none}.sf-hint{font-size:11px;line-height:1.9;margin:9px 0;color:var(--sf-muted)}.sf-stage-footer .sf-hint{font-size:10px;margin:4px 0}.sf-editor .sf-canvas-button{font-size:11px;padding:4px 7px;min-height:34px;border:0;background:none;color:var(--sf-muted)}.sf-canvas-button svg{width:18px;height:18px}.sf-layer-strip{display:flex;flex:none;gap:6px;align-items:center;overflow:auto;max-width:100%;padding:5px 1px 9px;scrollbar-width:none}.sf-layer-strip::-webkit-scrollbar{display:none}.sf-editor .sf-layer-chip,.sf-editor .sf-add-layer{min-height:31px;max-width:160px;flex:none;border-radius:20px;padding:5px 12px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.sf-editor .sf-add-layer{display:inline-flex;background:rgba(255,255,255,.14)}.sf-add-layer svg{width:13px;height:13px}
.sf-controls{width:100%;max-width:780px;margin:0 auto;flex:none;padding:5px 20px 0}.sf-edit-row{display:flex;align-items:center;border:1px solid rgba(255,255,255,.24);background:rgba(84,3,43,.14);border-radius:15px;padding:2px 5px 2px 12px;gap:5px}.sf-editor textarea{background:none;border:0;box-shadow:none;color:#fff;width:100%;min-height:50px;height:54px;max-height:80px;padding:9px 8px;resize:none;font-size:17px;line-height:1.8;scrollbar-width:thin}.sf-editor textarea::placeholder{color:#f6c2db}.sf-size-slider{display:flex;align-items:center;gap:10px;margin:5px 3px 4px;height:29px}.sf-size-slider svg{width:16px;height:16px}.sf-size-slider output{min-width:28px;font-size:11px;text-align:center;font-variant-numeric:tabular-nums}.sf-editor input[type=range]{accent-color:#fff;direction:ltr;cursor:pointer;height:22px;min-width:0;flex:1;width:100%;background:transparent}.sf-choice-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.sf-categories{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding:5px 1px 9px;min-width:0}.sf-categories::-webkit-scrollbar{display:none}.sf-editor .sf-categories button{min-height:28px;padding:4px 13px;border-radius:20px;font-size:11px;white-space:nowrap;flex:none}.sf-choice-heading input[type=search]{border:1px solid var(--sf-line);background:rgba(255,255,255,.08);color:#fff;border-radius:20px;width:96px;min-width:60px;font-size:11px;height:29px;padding:4px 11px;margin-bottom:4px}.sf-choice-heading input::placeholder{color:var(--sf-muted)}.sf-card-strip{display:flex;gap:10px;overflow:auto;scroll-snap-type:x proximity;scrollbar-width:none;padding:3px 2px 7px;min-height:105px;align-items:center}.sf-card-strip::-webkit-scrollbar{display:none}.sf-editor .sf-font-card,.sf-editor .sf-preset-card{position:relative;flex:none;scroll-snap-align:center;width:105px;height:96px;border:1px solid rgba(255,255,255,.12);border-radius:19px;padding:10px 8px;flex-direction:column;overflow:hidden;background:rgba(83,6,45,.3);gap:8px}.sf-editor .sf-font-card.is-active,.sf-editor .sf-preset-card.is-active{border:2px solid #fff;background:rgba(83,6,45,.4)}.sf-font-sample{width:100%;font-size:19px;line-height:1.7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sf-card-name{font-size:10px;opacity:.85;line-height:1.6}.sf-editor .sf-preset-card{padding:4px 5px 8px;background:linear-gradient(145deg,rgba(255,197,226,.32),rgba(44,7,49,.5));gap:0}.sf-preset-card img{display:block;width:96px;height:64px;object-fit:contain}.sf-editor .sf-more-fonts{font-size:11px;flex:none;width:95px;min-height:76px;border-style:dashed}.sf-tabs{display:flex;gap:10px;align-items:stretch;justify-content:center;padding:4px 0 0;height:51px}.sf-editor .sf-tabs button{position:relative;flex:1;max-width:160px;font-size:14px;font-weight:600;border:0;background:none;opacity:.65;border-radius:0;padding:8px 16px 14px;gap:8px}.sf-editor .sf-tabs button.is-active{opacity:1;background:none}.sf-tabs button.is-active:after{content:'';position:absolute;bottom:2px;height:3px;border-radius:3px;left:22%;right:22%;background:#fff}.sf-tabs svg{width:18px;height:18px}.sf-swatches{gap:15px;padding-top:13px;padding-bottom:18px}.sf-editor .sf-swatches button{position:relative;width:60px;height:60px;min-height:60px;border-radius:50%;padding:0;flex:none;border:2px solid rgba(255,255,255,.2);box-shadow:0 3px 8px rgba(45,4,27,.15)}.sf-editor .sf-swatches button.is-active,.sf-swatches button[aria-pressed=true]{outline:3px solid #fff;outline-offset:3px}.sf-swatches button span{position:absolute;bottom:-20px;font-size:10px;white-space:nowrap;color:#fff}.sf-custom-colors{height:105px;display:flex;gap:14px;align-items:center;overflow:auto;padding:3px}.sf-custom-colors label{flex:none;font-size:11px;min-width:65px}.sf-custom-colors .sf-range-label{min-width:100px}.sf-editor input[type=color]{display:block;width:100%;height:36px;min-width:50px;border:1px solid var(--sf-line);border-radius:10px;padding:3px;background:transparent;margin-top:7px;cursor:pointer}.sf-font-loading{position:absolute;top:76px;left:24px;font-size:11px;background:#fff;color:#922259;padding:7px 11px;border-radius:20px;z-index:2}.sf-messages{position:absolute;top:78px;left:50%;transform:translateX(-50%);width:min(90%,600px);z-index:15;pointer-events:none}.sf-messages:empty{display:none}.sf-notice,.sf-error,.sf-progress{pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;margin:0 0 6px;border-radius:13px;font-size:12px;line-height:1.8;box-shadow:0 4px 20px #500b3330}.sf-notice,.sf-progress{color:#612442;background:#fff0f7}.sf-error{background:#fff1e8;color:#8b2525}.sf-editor .sf-notice button{border:0;background:none;min-height:28px;padding:3px}.sf-notice svg{width:18px;height:18px}.sf-loading{margin:auto}.sf-cover-actions{display:flex;flex-wrap:wrap;gap:8px;padding:8px 20px;font-size:11px}
.sf-sheet-backdrop{position:absolute;z-index:20;inset:0;background:rgba(36,3,25,.22);display:flex;align-items:flex-end;justify-content:center;padding:16px 16px 0;backdrop-filter:blur(3px)}.sf-sheet{width:min(100%,650px);max-height:82%;display:flex;flex-direction:column;border-radius:32px 32px 0 0;background:#211b23;color:#fff;box-shadow:0 -15px 70px rgba(39,3,26,.25);overflow:hidden;padding:11px 20px 0;border:1px solid rgba(255,255,255,.08);border-bottom:0}.sf-sheet-handle{width:43px;height:5px;border-radius:6px;background:#63575f;margin:0 auto 8px;flex:none}.sf-sheet-heading{display:flex;align-items:center;justify-content:space-between;flex:none;gap:12px;padding:2px 0 12px}.sf-sheet-heading h2{font-size:19px;font-weight:700;margin:0;color:#fff}.sf-editor .sf-sheet-heading button{border:0;background:none;padding:6px;min-width:38px;min-height:38px}.sf-sheet-body{min-height:0;overflow:auto;padding:0 2px max(20px,env(safe-area-inset-bottom,0));overscroll-behavior:contain;scrollbar-width:thin}.sf-sheet-tabs{display:flex;gap:3px;padding:5px;background:#161217;border-radius:18px;margin:0 0 17px;position:sticky;top:0;z-index:1}.sf-editor .sf-sheet-tabs button{flex:1;background:none;border:0;font-size:12px;padding:10px 8px;color:#b6a8b2}.sf-editor .sf-sheet-tabs button.is-active{background:#332630;color:#fff}.sf-setting-group{background:#171318;border-radius:19px;padding:16px;margin-bottom:12px}.sf-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:15px}.sf-sheet label{font-size:12px;line-height:1.9}.sf-editor .sf-sheet select{display:block;width:100%;border:1px solid #54414f;border-radius:11px;background:#2a2028;color:#fff;padding:9px;margin-top:7px;font-size:12px}.sf-check-row{display:flex;gap:15px;flex-wrap:wrap;padding-top:15px}.sf-check{display:flex!important;align-items:center;gap:7px;white-space:nowrap}.sf-editor input[type=checkbox]{accent-color:var(--sf-pink);width:17px;height:17px}.sf-range-label{display:block;margin:9px 0 22px;font-size:12px}.sf-range-label:last-child{margin-bottom:2px}.sf-range-label output{float:left;color:#d9cbd6;font-size:12px;font-variant-numeric:tabular-nums}.sf-range-label input[type=range]{display:block;margin-top:12px;accent-color:var(--sf-pink)}.sf-range-label small{font-size:10px;color:#c9b5c1;display:block;line-height:1.7}.sf-layer-actions{display:flex;gap:8px;margin-top:18px}.sf-layer-actions button{font-size:11px;flex:1;padding:7px}.sf-position-controls{padding:0 8px;margin-top:20px}.sf-canvas-settings>label{display:block}.sf-background-options{display:flex;gap:8px;margin:20px 0}.sf-background-options button{flex:1;font-size:12px}.sf-editor .sf-upload{display:block;padding:20px;border:1px dashed #81586d;border-radius:15px;background:#30212a}.sf-upload input{display:block;max-width:100%;font-size:12px;margin:14px 0}.sf-upload span{font-size:10px;color:#d2b5c6}.sf-sheet .sf-hint{color:#c5b0be;margin-top:18px}.sf-output{text-align:center}.sf-output-image{display:block;max-width:100%;width:auto;max-height:42vh;object-fit:contain;margin:12px auto;background:repeating-conic-gradient(#e2dbe3 0% 25%,#fff 0% 50%) 50%/20px 20px;border-radius:13px;-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto}.sf-output>p{font-size:12px}.sf-output-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.sf-output-actions>*{flex:1;font-size:12px!important;white-space:nowrap}.sf-history{display:grid;gap:12px}.sf-editor .sf-history>button{display:flex;flex-direction:column;gap:6px;width:100%;padding:13px 15px;background:#100c12;border:1px solid #4b2e40;border-radius:19px}.sf-history>button>span:last-child{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:#d5b7cb}.sf-history-preview{width:100%;height:110px;display:flex;align-items:center;justify-content:center;background:#4e173b;border-radius:11px;overflow:hidden}.sf-history-preview img{display:block;max-width:100%;max-height:100%;object-fit:contain}.sf-history-preview>span{font-size:11px;color:#c5aabb}.sf-history-empty{padding:35px 12px;font-size:13px;text-align:center;color:#ceb4c5}.sf-history-sheet{background:#321025;max-height:90%}
@media(min-width:900px){.sf-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(350px,.8fr);gap:32px;align-items:stretch;padding:18px 25px 38px}.sf-preview-panel{padding:0;border-radius:28px;border:1px solid #ffffff1c;background:linear-gradient(150deg,#ffffff07,#490a3014)}.sf-preview-top,.sf-stage-footer,.sf-layer-strip{margin:0 20px}.sf-preview-top{padding-top:12px}.sf-stage-wrap{padding:20px 50px;min-height:0}.sf-action-rail{right:12px}.sf-controls{align-self:center;padding:18px 20px 6px;border:1px solid #ffffff26;border-radius:25px;background:#6a09382b;backdrop-filter:blur(12px)}.sf-edit-row{margin-bottom:14px}.sf-editor textarea{height:100px;max-height:160px;font-size:19px}.sf-size-slider{margin-bottom:20px}.sf-card-strip{min-height:135px}.sf-editor .sf-font-card,.sf-editor .sf-preset-card{width:112px;height:112px}.sf-preset-card img{height:77px}.sf-tabs{margin-top:13px}.sf-sheet-backdrop{padding-bottom:25px}.sf-sheet{border-radius:30px;border-bottom:1px solid #ffffff14;max-height:84%}.sf-heading{height:88px}.sf-heading h1{font-size:22px}.sf-stage-footer{flex-wrap:wrap}.sf-stage-footer .sf-hint{font-size:10px}}
@media(max-width:600px){.sf-heading{height:66px;padding:8px 12px;gap:5px}.sf-heading h1{font-size:15px}.sf-eyebrow{font-size:9px}.sf-brand{gap:1px}.sf-toolbar{gap:1px}.sf-toolbar .sf-primary{padding:8px 11px;font-size:10px;min-height:38px;gap:4px}.sf-toolbar .sf-primary svg{width:17px;height:17px}.sf-editor .sf-icon-button{min-width:35px;min-height:38px;padding:7px}.sf-preview-panel{padding:0 13px;min-height:115px}.sf-preview-top{min-height:31px}.sf-stage-wrap{padding:0 34px 0 5px}.sf-action-rail{gap:7px}.sf-action-rail button{width:32px;height:34px;min-height:34px;border-radius:10px;padding:7px}.sf-action-rail svg{width:19px;height:19px}.sf-stage-footer .sf-hint{max-width:48%;font-size:9px}.sf-editor .sf-canvas-button{font-size:9px;gap:4px}.sf-canvas-button svg{width:16px;height:16px}.sf-controls{padding:2px 13px 0}.sf-edit-row{border-radius:12px}.sf-editor textarea{height:49px;min-height:49px;font-size:16px;padding:7px}.sf-size-slider{margin:4px 3px;height:24px}.sf-card-strip{gap:8px;min-height:93px}.sf-editor .sf-font-card,.sf-editor .sf-preset-card{width:88px;height:83px;border-radius:16px}.sf-font-sample{font-size:17px}.sf-card-name{font-size:9px}.sf-preset-card img{width:81px;height:54px}.sf-categories{gap:4px;padding-bottom:6px}.sf-editor .sf-categories button{font-size:10px;padding:4px 10px;min-height:25px}.sf-choice-heading{gap:6px}.sf-choice-heading input[type=search]{width:73px;font-size:10px;height:27px}.sf-tabs{height:45px;padding-top:0}.sf-editor .sf-tabs button{font-size:13px;padding:7px 10px 12px}.sf-tabs svg{width:16px;height:16px}.sf-layer-strip{padding-bottom:6px}.sf-sheet-backdrop{padding:8px 9px 0}.sf-sheet{padding:10px 14px 0;border-radius:28px 28px 0 0;max-height:81%}.sf-sheet-heading h2{font-size:17px}.sf-messages{top:68px}.sf-custom-colors{height:93px}.sf-font-loading{top:66px;left:14px}.sf-swatches{padding-top:10px;gap:13px}.sf-editor .sf-swatches button{width:53px;height:53px;min-height:53px}.sf-setting-group{padding:14px}.sf-sheet-tabs{margin-bottom:13px}.sf-history-preview{height:100px}.sf-undo-bar .sf-icon-button{min-height:31px;height:31px}.sf-output-image{max-height:36vh}}
@media(max-height:600px){.sf-editor .sf-heading{height:48px;padding-top:4px;padding-bottom:4px}.sf-eyebrow,.sf-save-state,.sf-stage-footer .sf-hint{display:none}.sf-preview-top{position:absolute;top:48px;left:12px;z-index:2}.sf-preview-panel{min-height:75px}.sf-layer-strip{padding-top:2px;padding-bottom:3px}.sf-editor textarea{height:39px;min-height:39px;font-size:16px;padding-top:4px;padding-bottom:4px}.sf-edit-row{max-height:43px}.sf-size-slider{height:20px;margin:1px 3px}.sf-controls .sf-card-strip{min-height:73px}.sf-editor .sf-font-card,.sf-editor .sf-preset-card{height:65px;width:82px;gap:1px}.sf-preset-card img{height:40px}.sf-tabs{height:40px}.sf-messages{top:50px}.sf-stage-footer{justify-content:flex-end}.sf-sheet{max-height:90%}.sf-sheet-heading{padding-bottom:6px}.sf-sheet-heading h2{font-size:16px}.sf-sheet-handle{margin-bottom:4px}}
.sf-stage,.sf-stage-story,.sf-stage-square,.sf-stage-portrait{width:100%;height:100%;aspect-ratio:auto}.sf-canvas{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.sf-editor a.sf-icon-button{color:inherit;text-decoration:none}.sf-history-preview img{width:100%;height:100%}
.sf-portability-warning{margin-top:15px;padding:12px;background:#49313a;border:1px solid #8b6579;border-radius:12px}.sf-portability-warning p{font-size:11px;line-height:1.8;margin:0 0 10px}.sf-portability-warning button{font-size:11px}
.sf-settings-backdrop{backdrop-filter:none;background:rgba(36,3,25,.06)}.sf-sheet.sf-settings-sheet{max-height:55%}
@media(max-width:899px) and (min-height:601px){.sf-settings-open:not(.sf-keyboard-open) .sf-stage{transform:translateY(-32px)}}
@media(min-width:900px){.sf-settings-backdrop{justify-content:flex-end;padding-left:max(25px,calc((100vw - 1100px)/2));padding-bottom:28px}.sf-sheet.sf-settings-sheet{width:405px;max-height:78%}}
.sf-editor.sf-keyboard-open .sf-eyebrow,.sf-editor.sf-keyboard-open .sf-save-state,.sf-editor.sf-keyboard-open .sf-stage-footer .sf-hint{display:none}.sf-editor.sf-keyboard-open .sf-layer-strip{padding-bottom:2px}.sf-editor.sf-keyboard-open .sf-preview-panel{min-height:60px}
.sf-editor.sf-keyboard-open .sf-heading{height:48px;padding-top:4px;padding-bottom:4px}.sf-editor.sf-keyboard-open .sf-preview-top{position:absolute;top:48px;left:12px;z-index:2}.sf-editor.sf-keyboard-open textarea{height:39px;min-height:39px;padding-top:4px;padding-bottom:4px}.sf-editor.sf-keyboard-open .sf-edit-row{max-height:43px}.sf-editor.sf-keyboard-open .sf-size-slider{height:20px;margin:1px 3px}.sf-editor.sf-keyboard-open .sf-card-strip{min-height:73px}.sf-editor.sf-keyboard-open .sf-font-card,.sf-editor.sf-keyboard-open .sf-preset-card{height:65px;width:82px;gap:1px}.sf-editor.sf-keyboard-open .sf-preset-card img{height:40px}.sf-editor.sf-keyboard-open .sf-tabs{height:40px}.sf-editor.sf-keyboard-open .sf-messages{top:50px}.sf-editor.sf-keyboard-open .sf-stage-footer{justify-content:flex-end}.sf-editor.sf-keyboard-open .sf-sheet{max-height:90%}
.sf-editor.sf-keyboard-open .sf-sheet.sf-settings-sheet{max-height:55%}
@media(prefers-reduced-motion:no-preference){.sf-editor button{transition:background .16s,border-color .16s,opacity .16s}.sf-sheet{animation:sf-sheet-in .18s ease-out}@keyframes sf-sheet-in{from{transform:translateY(22px);opacity:.5}to{transform:translateY(0);opacity:1}}}

.sf-font-warning{pointer-events:auto;background:#fff4df;color:#673b13;padding:10px 13px;margin:0 0 6px;border-radius:13px;font-size:12px;line-height:1.8;box-shadow:0 4px 20px #500b3330}.sf-font-warning>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:7px}.sf-editor .sf-font-warning button{background:#673b13;color:#fff;border:0;min-height:34px;font-size:11px;padding:6px 9px}.sf-font-card{position:relative}.sf-font-unready{visibility:hidden}.sf-font-card-status{position:absolute;top:30%;left:3px;right:3px;font-size:9px;line-height:1.4;color:#fff}.sf-editor .sf-font-card.sf-font-failed{border-style:dashed;border-color:#ffd498}.sf-catalog-status{display:flex;align-items:center;justify-content:center;gap:7px;font-size:10px;line-height:1.6;padding:4px 0}.sf-editor .sf-catalog-status button{font-size:10px;padding:4px 8px;min-height:28px;flex:none}
.sf-pin-badge{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.38);color:rgba(255,255,255,.6);border:1px solid rgba(255,255,255,.18);cursor:pointer;z-index:6;padding:0;transition:all .18s ease}
.sf-pin-badge:hover{background:rgba(241,60,150,.85);color:#fff;transform:scale(1.12)}
.sf-pin-badge.is-pinned{background:#f13c96;color:#fff;border-color:#ffdaec;box-shadow:0 2px 8px rgba(241,60,150,.55)}
.sf-pin-badge svg{width:12px;height:12px;stroke-width:2}
.sf-pin-badge.is-pinned svg{fill:currentColor}
.sf-editor .sf-font-card.is-pinned,.sf-editor .sf-preset-card.is-pinned{border-color:rgba(241,60,150,.5);background:rgba(125,12,68,.35)}
@media(max-width:600px){.sf-pin-badge{top:2px;right:2px;width:18px;height:18px}.sf-pin-badge svg{width:10px;height:10px}}
