/* Vycat refined tool surfaces */
body main .center-form{width:100%;max-width:1140px;margin-inline:auto}
body main .center-form>form,body main .center-form>.text-form{position:relative;border:1px solid var(--svc-border)!important;border-radius:20px!important;background:var(--svc-surface)!important;padding:26px!important;box-shadow:0 14px 44px rgba(12,19,36,.045)!important}
:root[data-theme="dark"] body main .center-form>form,:root[data-theme="dark"] body main .center-form>.text-form{box-shadow:0 18px 52px rgba(0,0,0,.18)!important}
body main .center-form .form,body main .center-form .lang-select{border:1px solid var(--svc-border)!important;border-radius:12px!important;background:var(--svc-surface2)!important;color:var(--svc-text)!important;transition:border-color .2s,box-shadow .2s!important}
body main .center-form .form:focus,body main .center-form .lang-select:focus{outline:none!important;border-color:#7889ff!important;box-shadow:0 0 0 4px rgba(108,111,255,.12)!important}
body main .center-form .button{border-radius:11px!important;min-height:46px;font-weight:700!important;box-shadow:none!important;transition:transform .18s,filter .18s,box-shadow .18s!important}
body main .center-form .button:hover{transform:translateY(-1px);filter:brightness(1.07);box-shadow:0 8px 20px rgba(91,85,220,.15)!important}
body main .center-form .upload-group{display:flex;flex-direction:column;gap:14px}
body main .center-form .upload-drop-zone{position:relative;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:230px;padding:30px 20px!important;border:1.5px dashed var(--svc-border)!important;border-radius:15px!important;background:var(--svc-surface2)!important;transition:background .2s,border-color .2s,transform .2s!important;cursor:pointer}
body main .center-form .upload-drop-zone:hover,body main .center-form .upload-drop-zone.dragover{border-color:#8585fa!important;background:rgba(113,106,244,.065)!important}
body main .center-form .upload-drop-zone .upload-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:rgba(111,104,244,.11);color:#8582ff!important;font-size:27px!important}
body main .center-form .upload-drop-zone .upload-title{font-weight:750!important;text-align:center;color:var(--svc-text)!important}
body main .center-form .upload-drop-zone .upload-meta{font-size:12px!important;color:var(--svc-text3)!important;text-align:center}
body main .center-form .upload-group>.button{align-self:flex-start;padding-inline:24px!important}
body main .center-form #codeForm{display:flex;flex-direction:column;gap:14px}
body main .center-form #codeForm .lang-select{min-height:46px;padding:10px 14px}
body main .center-form #codeInput{min-height:270px;padding:18px!important;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important;resize:vertical}
body main .center-form #codeForm>.button{align-self:flex-end;padding-inline:25px!important}
body main .center-form #urlForm .input-group{gap:12px}
body main .center-form #urlInput,body main .center-form #qrInput{min-height:50px;padding:12px 16px!important}
body main .center-form .vycat-result{display:flex;flex-direction:column;gap:12px;margin:0 0 20px!important;padding:18px!important;border:1px solid var(--svc-border)!important;border-radius:15px!important;background:var(--svc-surface2)!important;color:var(--svc-text)!important}
body main .center-form .vycat-result-title{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:750;color:var(--svc-text2)}
body main .center-form .vycat-result-title i{font-size:18px;color:#36b992}
body main .center-form .vycat-result-field{display:flex;align-items:center;gap:0;min-width:0;overflow:hidden;border:1px solid var(--svc-border);border-radius:11px;background:var(--svc-surface)}
body main .center-form .vycat-result-field>.bi{padding:0 13px 0 15px;color:#8b90e9;font-size:18px;flex:none}
body main .center-form .vycat-result-field>a{display:block;flex:1;min-width:0;padding:14px 0;color:var(--svc-text)!important;text-decoration:none!important;font-size:14px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body main .center-form .vycat-result-field>a:hover{color:#8b90e9!important}
body main .center-form .vycat-copy-btn{display:grid;place-items:center;flex:none;width:49px;min-height:49px;margin:0 5px 0 8px;border:0;border-radius:9px;background:rgba(109,102,246,.12);color:#8b86f7;font-size:20px;cursor:pointer;transition:background .18s,transform .18s}
body main .center-form .vycat-copy-btn:hover{background:rgba(109,102,246,.22);transform:translateY(-1px)}
body main .center-form .vycat-copy-btn:focus-visible{outline:2px solid #8b86f7;outline-offset:2px}
body main .center-form .error-message{border-radius:12px!important}
@media(max-width:600px){body main .center-form>form,body main .center-form>.text-form{padding:15px!important;border-radius:16px!important}body main .center-form .upload-drop-zone{min-height:200px;padding:24px 14px!important}body main .center-form .upload-group>.button,body main .center-form #codeForm>.button{align-self:stretch;width:100%}body main .center-form .vycat-result{padding:12px!important}body main .center-form .vycat-result-field>a{font-size:12px}}
@media(prefers-reduced-motion:reduce){body main .center-form .button,body main .center-form .upload-drop-zone,body main .center-form .vycat-copy-btn{transition:none!important}}

/* Flatten nested panels: one outer form, one subtle upload area */
body main .center-form>form,body main .center-form>.text-form{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
body main .center-form .upload-group{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
body main .center-form .upload-drop-zone{border:1px dashed var(--svc-border)!important;background:var(--svc-surface2)!important}
body main .center-form .vycat-result{background:transparent!important;border:0!important;padding:0!important;border-radius:0!important;margin-bottom:20px!important}
body main .center-form .vycat-result-field{background:var(--svc-surface2)!important}

/* Clean result card: override legacy success-message image, width and shadow */
body > main .center-form #successMessage.vycat-result{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0 0 22px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;font-size:14px!important}
body > main .center-form #successMessage .vycat-result-title{width:100%;padding:0 0 2px!important}
body > main .center-form #successMessage .vycat-result-field{width:100%;box-sizing:border-box;box-shadow:none!important;border:1px solid var(--svc-border)!important;background:var(--svc-surface2)!important}
body > main .center-form #successMessage .vycat-result-field a{font-size:14px!important;line-height:1.4!important}
body > main .center-form .upload-group{box-sizing:border-box;width:100%!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body > main .center-form .upload-group .upload-drop-zone{width:100%;box-sizing:border-box;border-radius:14px!important}
body > main .center-form .upload-group>.button{margin:0!important}
body > main .center-form .vycat-copy-btn{color:#7165ef}
:root[data-theme="dark"] body > main .center-form .vycat-copy-btn{color:#a4a0ff}
@media(max-width:600px){body > main .center-form #successMessage.vycat-result{margin-bottom:16px!important}}

/* Compact upload layout, shared by photo and file in both themes */
body > main .center-form:has(#fileForm){max-width:1000px!important;padding:24px!important;border-radius:17px!important}
body > main .center-form #fileForm{display:flex;flex-direction:column;gap:0}
body > main .center-form #fileForm .upload-group{gap:12px!important}
body > main .center-form #fileForm .upload-drop-zone{min-height:156px!important;padding:24px 18px!important;gap:7px!important;border:1px dashed var(--svc-border)!important;background:transparent!important}
body > main .center-form #fileForm .upload-drop-zone:hover,body > main .center-form #fileForm .upload-drop-zone.dragover{background:rgba(115,107,244,.055)!important;border-color:#8881f7!important}
body > main .center-form #fileForm .upload-icon{width:42px!important;height:42px!important;border-radius:12px!important;font-size:21px!important;margin-bottom:2px!important}
body > main .center-form #fileForm .upload-title{font-size:14px!important;font-weight:650!important;line-height:1.5!important}
body > main .center-form #fileForm .upload-meta{font-size:12px!important}
body > main .center-form #fileForm .upload-group>.button{align-self:flex-end!important;min-height:42px!important;padding:9px 22px!important;font-size:13px!important}
body > main .center-form #fileForm #successMessage.vycat-result{margin:0 0 18px!important;gap:9px!important}
body > main .center-form #fileForm .vycat-result-title{font-size:12px!important;font-weight:650!important;color:var(--svc-text3)!important}
body > main .center-form #fileForm .vycat-result-title i{font-size:16px!important}
body > main .center-form #fileForm .vycat-result-field{min-height:46px!important;border-radius:10px!important;background:transparent!important}
body > main .center-form #fileForm .vycat-result-field>a{padding:11px 0!important;font-size:13px!important;font-weight:600!important}
body > main .center-form #fileForm .vycat-copy-btn{min-height:38px!important;width:40px!important;margin:3px 4px 3px 8px!important;font-size:17px!important}
@media(max-width:600px){body > main .center-form:has(#fileForm){padding:16px!important}body > main .center-form #fileForm .upload-drop-zone{min-height:160px!important;padding:20px 12px!important}body > main .center-form #fileForm .upload-group>.button{align-self:stretch!important;width:100%!important}}

/* Flat surfaces: no elevation or inset shadow in tool forms */
body > main .center-form,body > main .center-form>form,body > main .center-form>.text-form,body > main .center-form .input-group,body > main .center-form .upload-group,body > main .center-form .upload-drop-zone,body > main .center-form #successMessage.vycat-result,body > main .center-form .vycat-result-field,body > main .center-form .vycat-copy-btn,body > main .center-form .button{box-shadow:none!important;filter:none!important}
body > main .center-form .button:hover,body > main .center-form .vycat-copy-btn:hover{box-shadow:none!important;filter:none!important}

body > main .center-form #fileForm .input-group.upload-group{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}
body > main .center-form #fileForm .input-group.upload-group:focus-within{background:transparent!important;box-shadow:none!important}

/* Unified text-editor layout for all remaining tools */
body > main .center-form:has(#fileForm){max-width:1140px!important}
body > main .center-form #fileForm .upload-group{display:flex!important;flex-direction:column!important;gap:0!important;overflow:hidden!important;border:1px solid var(--svc-border)!important;border-radius:14px!important;background:transparent!important;box-shadow:none!important}
body > main .center-form #fileForm .upload-drop-zone{min-height:190px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body > main .center-form #fileForm .upload-group>.button{align-self:flex-end!important;margin:12px!important}
body > main .center-form #fileForm .upload-group:focus-within{box-shadow:none!important}
body > main .center-form #codeForm,body > main .center-form #urlForm{border:1px solid var(--svc-border)!important;border-radius:14px!important;padding:16px!important;background:transparent!important;box-shadow:none!important}
body > main .center-form #codeForm textarea{border-radius:10px!important}
body > main .center-form #urlForm .input-group{border:0!important;background:transparent!important;box-shadow:none!important}
body > main .center-form #fileForm .upload-group,body > main .center-form #codeForm,body > main .center-form #urlForm{background-image:none!important}

/* Upload editor uses the same header, workspace and footer as the text editor */
body > main .center-form #fileForm .vycat-upload-editor{overflow:hidden;border:1px solid var(--svc-border)!important;border-radius:14px!important;background:var(--svc-surface2)!important;box-shadow:none!important}
body > main .center-form #fileForm .vycat-upload-editor .text-editor-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--svc-border)}
body > main .center-form #fileForm .vycat-upload-editor .text-editor-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:650}
body > main .center-form #fileForm .vycat-upload-editor .text-editor-count{font-size:12px;opacity:.65}
body > main .center-form #fileForm .vycat-upload-body{padding:0!important;background:transparent!important}
body > main .center-form #fileForm .vycat-upload-body .upload-drop-zone{box-sizing:border-box;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%!important;min-height:270px!important;padding:28px 16px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body > main .center-form #fileForm .vycat-upload-body .upload-drop-zone:hover{background:rgba(115,107,244,.045)!important}
body > main .center-form #fileForm .vycat-upload-editor .text-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--svc-border);background:transparent!important}
body > main .center-form #fileForm .vycat-upload-editor .text-editor-hint{display:flex;align-items:center;gap:7px;font-size:12px;opacity:.65}
body > main .center-form #fileForm .vycat-upload-editor .text-editor-actions .button{margin:0!important;min-height:43px!important;padding:10px 20px!important;border-radius:10px!important}
@media(max-width:600px){body > main .center-form #fileForm .vycat-upload-body .upload-drop-zone{min-height:210px!important}body > main .center-form #fileForm .vycat-upload-editor .text-editor-actions{flex-wrap:wrap}body > main .center-form #fileForm .vycat-upload-editor .text-editor-actions .button{width:100%!important}}

/* Code editor matches the text editor, with language selector in header */
body > main .center-form #codeForm{display:block!important;border:0!important;padding:0!important;background:transparent!important}
body > main .center-form #codeForm .code-editor{overflow:hidden;border:1px solid var(--svc-border)!important;border-radius:14px!important;background:var(--svc-surface2)!important;box-shadow:none!important}
body > main .center-form #codeForm .text-editor-header{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--svc-border)}
body > main .center-form #codeForm .text-editor-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:650}
body > main .center-form #codeForm .code-editor-controls{margin-left:auto}
body > main .center-form #codeForm .code-editor-controls .lang-select{width:auto!important;max-width:220px;min-height:36px!important;padding:7px 11px!important;font-size:12px!important;border-radius:9px!important}
body > main .center-form #codeForm .text-editor-count{min-width:24px;text-align:right;font-size:12px;opacity:.65}
body > main .center-form #codeForm #codeInput{display:block;box-sizing:border-box;width:100%;min-height:300px;margin:0!important;padding:20px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:none!important;resize:vertical;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace!important}
body > main .center-form #codeForm #codeInput:focus{box-shadow:inset 3px 0 0 #818cf8!important}
body > main .center-form #codeForm .text-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--svc-border)}
body > main .center-form #codeForm .text-editor-hint{display:flex;align-items:center;gap:7px;font-size:12px;opacity:.65}
body > main .center-form #codeForm .text-editor-actions .button{display:inline-flex;align-items:center;gap:8px;margin:0!important;min-height:43px!important;padding:10px 20px!important}
@media(max-width:600px){body > main .center-form #codeForm .text-editor-header{flex-wrap:wrap}body > main .center-form #codeForm .code-editor-controls{margin-left:auto}body > main .center-form #codeForm #codeInput{min-height:230px;padding:14px!important}body > main .center-form #codeForm .text-editor-actions .button{width:100%}}

/* Homepage and QR generator: same editor header / body / footer */
body > main .center-form .vycat-link-editor,body > main .center-form .vycat-qr-editor{overflow:hidden;border:1px solid var(--svc-border)!important;border-radius:14px!important;background:var(--svc-surface2)!important;box-shadow:none!important}
body > main .center-form .vycat-link-editor .text-editor-header,body > main .center-form .vycat-qr-editor .text-editor-header{display:flex;align-items:center;padding:14px 18px;border-bottom:1px solid var(--svc-border)}
body > main .center-form .vycat-link-editor .text-editor-label,body > main .center-form .vycat-qr-editor .text-editor-label{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:650}
body > main .center-form .vycat-link-body{padding:20px!important}
body > main .center-form .vycat-link-body .form{box-sizing:border-box;width:100%!important;min-height:52px!important;margin:0!important;padding:13px 16px!important;border:1px solid var(--svc-border)!important;border-radius:11px!important;background:var(--svc-surface)!important;color:var(--svc-text)!important;font-size:15px!important}
body > main .center-form .vycat-link-editor .text-editor-actions,body > main .center-form .vycat-qr-editor .text-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-top:1px solid var(--svc-border)}
body > main .center-form .vycat-link-editor .text-editor-hint,body > main .center-form .vycat-qr-editor .text-editor-hint{display:flex;align-items:center;gap:7px;font-size:12px;opacity:.65}
body > main .center-form .vycat-link-editor .text-editor-actions .button,body > main .center-form .vycat-qr-editor .text-editor-actions .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0!important;min-height:43px!important;padding:10px 20px!important}
body > main .center-form #urlForm{padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body > main .center-form .vycat-qr-form{max-width:none!important;width:100%;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body > main .center-form .vycat-qr-result{margin-top:18px!important;padding:22px!important;border:1px solid var(--svc-border)!important;border-radius:14px!important;background:var(--svc-surface2)!important;box-shadow:none!important;text-align:center}
body > main .center-form .vycat-qr-result .qr-container{display:flex;justify-content:center;max-width:100%;overflow:hidden}
body > main .center-form .vycat-qr-result #qrcode{max-width:100%}
body > main .center-form .vycat-qr-result #qrcode img,body > main .center-form .vycat-qr-result #qrcode canvas{max-width:100%!important;height:auto!important}
body > main .center-form .vycat-qr-result .download-btn{display:inline-flex;align-items:center;gap:8px;margin-top:18px!important}
@media(max-width:600px){body > main .center-form .vycat-link-body{padding:14px!important}body > main .center-form .vycat-link-editor .text-editor-actions .button,body > main .center-form .vycat-qr-editor .text-editor-actions .button{width:100%}}

/* Homepage: compact single-row URL shortener */
body > main .center-form:has(#urlForm){max-width:900px!important}
body > main .center-form #urlForm .vycat-home-url{width:100%;box-sizing:border-box}
body > main .center-form #urlForm .vycat-home-url-label{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:13px;font-weight:650;color:var(--svc-text)}
body > main .center-form #urlForm .vycat-home-url-label i{color:#8882fa;font-size:17px}
body > main .center-form #urlForm .vycat-home-url-row{display:flex;align-items:stretch;gap:10px;width:100%}
body > main .center-form #urlForm .vycat-home-url-row .form{flex:1;min-width:0;width:100%!important;height:49px!important;min-height:49px!important;margin:0!important;padding:11px 15px!important;border:1px solid var(--svc-border)!important;border-radius:11px!important;background:var(--svc-surface2)!important;box-shadow:none!important;font-size:14px!important}
body > main .center-form #urlForm .vycat-home-url-row .button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:49px!important;height:49px!important;margin:0!important;padding:10px 20px!important;white-space:nowrap;box-shadow:none!important}
body > main .center-form #urlForm{margin:0!important}
body > main .center-form #urlForm #successMessage.vycat-result{margin-bottom:18px!important}
@media(max-width:600px){body > main .center-form #urlForm .vycat-home-url-row{flex-direction:column}body > main .center-form #urlForm .vycat-home-url-row .button{width:100%}}

/* Refined copy action: compact icon button instead of a large colored block */
body main .center-form .vycat-result-field .vycat-copy-btn{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;height:34px!important;min-height:34px!important;margin:5px 7px 5px 8px!important;padding:0!important;border:1px solid var(--svc-border)!important;border-radius:8px!important;background:transparent!important;color:var(--svc-text2,#9b9ef0)!important;box-shadow:none!important;filter:none!important;transition:background .16s,border-color .16s,color .16s!important}
body main .center-form .vycat-result-field .vycat-copy-btn i{font-size:16px!important;line-height:1!important}
body main .center-form .vycat-result-field .vycat-copy-btn:hover{background:rgba(124,113,245,.10)!important;border-color:rgba(124,113,245,.45)!important;color:#8882fa!important;transform:none!important;box-shadow:none!important}
body main .center-form .vycat-result-field .vycat-copy-btn:focus-visible{outline:2px solid #8882fa!important;outline-offset:2px!important}
@media(max-width:600px){body main .center-form .vycat-result-field .vycat-copy-btn{flex-basis:38px!important;width:38px!important;height:38px!important;min-height:38px!important}}

/* Lightweight terminal download hint on file and photo pages */
body > main .vycat-curl-tip{box-sizing:border-box;width:100%;max-width:100%;margin:8px 0 0;padding:16px 18px;border:1px solid var(--svc-border);border-radius:14px;background:var(--svc-surface,rgba(120,130,160,.08));color:var(--svc-text2);box-shadow:none}
body > main .vycat-curl-tip-title{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:var(--svc-text)}
body > main .vycat-curl-tip-title i{color:#8985f5;font-size:17px}
body > main .vycat-curl-tip p{margin:8px 0 12px;font-size:13px;line-height:1.6}
body > main .vycat-curl-tip code{display:block;overflow-x:auto;white-space:nowrap;padding:12px 14px;border:1px solid var(--svc-border);border-radius:9px;background:var(--svc-surface2);color:var(--svc-text);font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}

/* Filled surface for terminal tip in both themes */
:root[data-theme="dark"] body > main .vycat-curl-tip{background:#171a24!important;border-color:rgba(145,157,195,.20)!important}
:root[data-theme="light"] body > main .vycat-curl-tip{background:#fff!important;border-color:rgba(60,75,110,.14)!important}

/* Copyable terminal command shown immediately after successful upload */
.vycat-result .vycat-result-terminal{margin-top:13px}
.vycat-result .vycat-result-terminal-label{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;font-weight:650;color:var(--svc-text2)}
.vycat-result .vycat-result-terminal-label i{font-size:15px;color:#8d85f7}
.vycat-result .vycat-result-terminal-row{display:flex;align-items:center;gap:8px;min-width:0;padding:7px 8px 7px 12px;border:1px solid var(--svc-border);border-radius:10px;background:var(--svc-surface2)}
.vycat-result .vycat-result-terminal-row code{display:block;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;color:var(--svc-text);font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}
.vycat-result .vycat-result-terminal-row .vycat-copy-btn{flex-shrink:0}

/* Selected upload: clear green success state, no extra decoration */
.vycat-upload-editor .upload-drop-zone.has-file{background:rgba(36,174,107,.10)!important;border-color:rgba(38,174,108,.68)!important;box-shadow:inset 0 0 0 1px rgba(38,174,108,.16)!important}
.vycat-upload-editor .upload-drop-zone.has-file .upload-icon{color:#26a96b!important}
.vycat-upload-editor .upload-drop-zone.has-file .upload-title{color:#208957!important;font-weight:700;overflow-wrap:anywhere}
.vycat-upload-editor .upload-drop-zone.has-file .upload-meta{color:#288d60!important;overflow-wrap:anywhere}
:root[data-theme="dark"] .vycat-upload-editor .upload-drop-zone.has-file{background:rgba(36,174,107,.13)!important;border-color:rgba(64,207,132,.68)!important}
:root[data-theme="dark"] .vycat-upload-editor .upload-drop-zone.has-file .upload-title{color:#70dda4!important}
:root[data-theme="dark"] .vycat-upload-editor .upload-drop-zone.has-file .upload-meta{color:#a0dcbc!important}

/* Terminal upload examples for text and code */
.vycat-terminal-help{margin:18px auto 0;max-width:760px;padding:18px 20px;border:1px solid var(--svc-border,rgba(127,127,127,.22));border-radius:14px;background:var(--svc-surface,transparent);color:var(--svc-text,inherit)}
.vycat-terminal-help-title{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700}
.vycat-terminal-help p{font-size:13px;line-height:1.55;color:var(--svc-text2,inherit);margin:10px 0 13px}
.vycat-terminal-help-command{display:flex;align-items:center;gap:10px;padding:9px 10px 9px 12px;border:1px solid var(--svc-border,rgba(127,127,127,.22));border-radius:10px;background:var(--svc-surface2,rgba(127,127,127,.07))}
.vycat-terminal-help-command code{flex:1;min-width:0;overflow-x:auto;white-space:nowrap;font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}
.vycat-terminal-help-command button{flex-shrink:0}

/* Match the terminal example card to the full content width. */
.vycat-terminal-help{box-sizing:border-box;width:100%;max-width:1200px}
@media(max-width:767px){.vycat-terminal-help{max-width:100%;padding:16px}}

/* Smoothly reveal generated short links on every Vycat form. */
.success-message.vycat-result{
 animation:vycatResultReveal .55s cubic-bezier(.22,1,.36,1) both;
 transform-origin:top center;
}
@keyframes vycatResultReveal{
 from{opacity:0;transform:translateY(16px) scale(.985);filter:blur(3px)}
 to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}
}
@media(prefers-reduced-motion:reduce){
 .success-message.vycat-result{animation:none!important}
}
