@import "https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap";.code-image-layout{grid-template-columns:420px 1fr;align-items:start;gap:1.5rem;display:grid}#code-input{resize:none;width:100%;height:100%;font-family:inherit;font-size:inherit;line-height:inherit;color:#0000;caret-color:var(--caret-color,#fff);white-space:pre;box-sizing:border-box;z-index:2;background:0 0;border:none;outline:none;margin:0;padding:0;position:absolute;top:0;left:0;overflow:auto hidden}.settings-grid{grid-template-columns:1fr 1fr;gap:.875rem;margin-top:.5rem;display:grid}.toggle-row{grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.5rem;display:grid}.toggle-row .toggle-switch{border:1px solid var(--color-hairline);border-radius:var(--radius-md);min-height:72px;color:var(--color-ink);background:var(--color-canvas-soft);cursor:pointer;text-align:center;user-select:none;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;padding:.55rem .25rem;font-size:.75rem;transition:border-color .2s,background .2s;display:flex;position:relative}.toggle-row .toggle-switch:hover{border-color:var(--color-primary-soft);background:var(--color-canvas-mute)}.toggle-row .toggle-switch:focus-within{border-color:var(--color-accent);box-shadow:0 0 0 3px color-mix(in srgb, var(--color-accent) 16%, transparent)}.toggle-row .toggle-switch input{opacity:0;width:0;height:0;position:absolute}.switch-slider{background-color:#cbd5e1;border:1px solid #94a3b8;border-radius:99px;width:34px;height:18px;transition:background-color .2s,border-color .2s;display:inline-block;position:relative}.switch-slider:before{content:"";background-color:#fff;border-radius:50%;width:12px;height:12px;transition:transform .2s;position:absolute;bottom:2px;left:2px;box-shadow:0 1px 3px #0f172a52}.toggle-row .toggle-switch input:checked+.switch-slider{background-color:#3b82f6;border-color:#2563eb}.toggle-row .toggle-switch input:checked+.switch-slider:before{transform:translate(16px)}.dark .switch-slider{background-color:#475569;border-color:#64748b}.dark .toggle-row .toggle-switch input:checked+.switch-slider{background-color:#3b82f6;border-color:#60a5fa}.range-grid{grid-template-columns:1fr 1fr;gap:.875rem;margin-top:.5rem;display:grid}input[type=range]{cursor:pointer;padding:0}.action-row{grid-template-columns:1fr 1fr;gap:.5rem;margin-top:1rem;display:grid}.secondary-action{border:1px solid var(--color-hairline);border-radius:var(--radius-md);background:var(--color-card);height:44px;color:var(--color-ink);cursor:pointer;font-size:.8125rem;font-weight:600}.secondary-action:hover{border-color:var(--color-hairline-strong)}.export-dropdown-container{margin-right:2px;display:inline-block;position:relative}.split-button{border-radius:var(--radius-md);background:var(--color-accent);box-shadow:var(--shadow-2);border:1px solid #ffffff1a;align-items:center;display:flex;overflow:hidden}.export-btn-main{color:#fff;cursor:pointer;white-space:nowrap;background:0 0;border:none;border-radius:0;align-items:center;gap:.5rem;height:38px;padding:0 .875rem 0 1rem;font-size:.8125rem;font-weight:600;transition:background .15s;display:flex}.export-btn-main:hover{background:#ffffff1f}.export-btn-chevron{color:#fff;cursor:pointer;background:0 0;border:none;border-left:1px solid #ffffff26;border-radius:0;justify-content:center;align-items:center;width:34px;height:38px;transition:background .15s;display:flex}.export-btn-chevron:hover{background:#ffffff1f}.export-dropdown-menu{z-index:100;background:var(--color-card);border:1px solid var(--color-hairline);border-radius:var(--radius-lg);min-width:240px;box-shadow:var(--shadow-4);animation:slideDown .15s var(--ease-out);flex-direction:column;padding:.375rem;display:none;position:absolute;top:calc(100% + 6px);right:0}@keyframes slideDown{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.export-dropdown-menu.show{display:flex}.dropdown-item{border-radius:var(--radius-md);width:100%;color:var(--color-ink);text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:.625rem;padding:.5rem .75rem;font-size:.8125rem;font-weight:500;transition:background .15s,color .15s;display:flex}.dropdown-item:hover{background:var(--color-surface)}.dropdown-item .item-icon{color:var(--color-mute);flex-shrink:0;transition:color .15s}.dropdown-item:hover .item-icon{color:var(--color-ink)}.dropdown-item .item-label{flex-grow:1}.dropdown-item .item-shortcut{opacity:.5;gap:2px;display:flex}.shortcut-kbd{background:var(--color-canvas-soft);border:1px solid var(--color-hairline);min-width:16px;height:16px;font-family:var(--font-sans);color:var(--color-mute);border-radius:3px;justify-content:center;align-items:center;padding:0 4px;font-size:.6875rem;font-weight:600;display:inline-flex}.dropdown-divider{background:var(--color-hairline);height:1px;margin:.375rem 0}.preview-panel{flex-direction:column;min-height:500px;display:flex}.preview-header-row{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.preview-header-row h2{margin:0}.preview-body{background:var(--color-canvas-soft);border-radius:var(--radius-md);border:1px solid var(--color-hairline);flex-grow:1;justify-content:center;align-items:center;min-height:320px;padding:1.25rem;display:flex;position:relative;overflow:hidden}.status-text{color:var(--color-mute);margin:.75rem 0 0;font-size:.8125rem}.share-panel-card{background:var(--color-canvas-soft);border-radius:var(--radius-md);border:1px solid var(--color-hairline);margin-top:1.5rem;padding:1.25rem}.share-header h3{color:var(--color-ink);margin:0 0 .25rem;font-size:.95rem;font-weight:600}.share-header p{color:var(--color-mute);margin:0 0 1rem;font-size:.8125rem}.share-actions-row{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.share-native-btn{align-items:center;gap:.5rem;height:44px;padding:0 1.25rem;font-size:.875rem;display:flex}.social-links-container{flex-wrap:wrap;gap:.5rem;display:flex}.social-share-btn{border-radius:var(--radius-md);color:#fff;justify-content:center;align-items:center;height:40px;padding:0 1rem;font-size:.8125rem;font-weight:600;text-decoration:none;transition:opacity .2s;display:flex}.social-share-btn:hover{opacity:.9}.social-share-btn.tw{background:#0f1419}.social-share-btn.li{background:#0a66c2}.social-share-btn.wa{background:#25d366}.social-share-btn.rd{background:#ff4500}.export-target{transform-origin:50%;box-sizing:border-box;justify-content:center;align-items:center;width:100%;max-width:900px;transition:transform .1s;display:flex;position:relative}.gradient-sunset{background:linear-gradient(135deg,#f59e0b,#ef4444,#ec4899)}.gradient-ocean{background:linear-gradient(135deg,#06b6d4,#3b82f6,#6366f1)}.gradient-cyber{background:linear-gradient(135deg,#f43f5e,#a855f7,#6366f1)}.gradient-peach{background:linear-gradient(135deg,#ffedd5,#fecdd3,#f5d0fe)}.solid-dark{background:#0f172a}.solid-light{background:#f8fafc}.grid{background-color:#0f172a;background-image:radial-gradient(#ffffff26 1px,#0000 0);background-size:24px 24px}.none{background:0 0}.code-card{text-align:left;box-sizing:border-box;border:1px solid #ffffff1a;border-radius:12px;flex-direction:column;width:100%;font-size:15px;line-height:1.5;display:flex;overflow:hidden}.code-card.shadow-enabled{box-shadow:0 20px 40px #00000059}.font-jetbrains{font-family:"JetBrains Mono", "JetBrains Mono Variable", var(--font-mono)!important}.font-fira{font-family:"Fira Code", "Fira Mono", var(--font-mono)!important}.font-source{font-family:"Source Code Pro", var(--font-mono)!important}.font-monospace{font-family:var(--font-mono)!important}.card-header{border-bottom:1px solid #ffffff0f;align-items:center;padding:14px 18px;display:flex;position:relative}.window-controls{gap:8px;display:flex}.control-dot{border-radius:50%;width:12px;height:12px}.control-dot.close{background:#ff5f56}.control-dot.minimize{background:#ffbd2e}.control-dot.expand{background:#27c93f}.window-title{font-size:13px;font-weight:500;position:absolute;left:50%;transform:translate(-50%)}.card-body{margin:0;padding:24px;position:relative}.editor-wrapper{box-sizing:border-box;width:100%;position:relative}.editor-wrapper textarea{resize:none;white-space:pre;box-sizing:border-box;z-index:2;width:100%;height:100%;position:absolute;top:0;left:0;overflow:auto hidden;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:normal!important;text-transform:none!important;color:#0000!important;caret-color:var(--caret-color,#fff)!important;background:0 0!important;border:none!important;outline:none!important;margin:0!important;padding:0!important}.editor-wrapper textarea::-webkit-scrollbar{display:none!important}.card-body pre::-webkit-scrollbar{display:none!important}.editor-wrapper textarea,.card-body pre{-ms-overflow-style:none!important;scrollbar-width:none!important}.editor-wrapper.has-gutter textarea,.editor-wrapper.has-gutter pre{padding-left:3.25rem!important}.line-numbers-gutter{text-align:right;user-select:none;pointer-events:none;box-sizing:border-box;opacity:.3;z-index:1;width:2.75rem;padding-right:.5rem;display:none;position:absolute;top:0;left:0;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}.gutter-line-number{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}.card-body pre{white-space:pre;pointer-events:none;box-sizing:border-box;overflow:hidden;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:normal!important;text-transform:none!important;background:0 0!important;border:none!important;margin:0!important;padding:0!important}.card-body code{color:inherit;white-space:inherit;background:0 0!important;padding:0!important;font-family:inherit!important}.theme-dracula{--caret-color:#f8f8f2}.theme-one-dark{--caret-color:#abb2bf}.theme-vs-dark{--caret-color:#d4d4d4}.theme-github-light{--caret-color:#24292e}.theme-synthwave{--caret-color:#f0efe7}.card-watermark{opacity:.5;text-align:right;border-top:1px solid #ffffff0d;padding:8px 18px;font-size:11px;font-weight:600}.theme-dracula{color:#f8f8f2!important;background:#282a36!important}.theme-dracula .window-title{color:#bdc6ee!important}.theme-dracula .card-watermark{color:#bd93f9!important}.theme-dracula .token.comment{color:#6272a4!important;font-style:italic!important}.theme-dracula .token.keyword{color:#ff79c6!important}.theme-dracula .token.string{color:#f1fa8c!important}.theme-dracula .token.number{color:#bd93f9!important}.theme-dracula .token.function{color:#50fa7b!important}.theme-dracula .token.operator{color:#ff79c6!important}.theme-dracula .token.class-name{color:#8be9fd!important}.theme-dracula .token.property{color:#ffb86c!important}.theme-one-dark{color:#abb2bf!important;background:#282c34!important}.theme-one-dark .window-title{color:#5c6370!important}.theme-one-dark .card-watermark{color:#c678dd!important}.theme-one-dark .token.comment{color:#5c6370!important;font-style:italic!important}.theme-one-dark .token.keyword{color:#c678dd!important}.theme-one-dark .token.string{color:#98c379!important}.theme-one-dark .token.number{color:#d19a66!important}.theme-one-dark .token.function{color:#61afef!important}.theme-one-dark .token.operator{color:#56b6c2!important}.theme-one-dark .token.class-name{color:#e5c07b!important}.theme-one-dark .token.property{color:#e06c75!important}.theme-vs-dark{color:#d4d4d4!important;background:#1e1e1e!important}.theme-vs-dark .window-title{color:gray!important}.theme-vs-dark .card-watermark{color:#569cd6!important}.theme-vs-dark .token.comment{color:#6a9955!important}.theme-vs-dark .token.keyword{color:#569cd6!important}.theme-vs-dark .token.string{color:#ce9178!important}.theme-vs-dark .token.number{color:#b5cea8!important}.theme-vs-dark .token.function{color:#dcdcaa!important}.theme-vs-dark .token.operator{color:#d4d4d4!important}.theme-vs-dark .token.class-name{color:#4ec9b0!important}.theme-vs-dark .token.property{color:#9cdcfe!important}.theme-vs-dark .token.boolean{color:#569cd6!important}.theme-vs-dark .token.punctuation{color:#d4d4d4!important}.theme-vs-dark .token.regex{color:#d16969!important}.theme-vs-dark .token.variable{color:#9cdcfe!important}.theme-vs-dark .token.constant{color:#4fc1ff!important}.theme-github-light{color:#24292e!important;background:#fff!important;border:1px solid #e1e4e8!important}.theme-github-light .window-title{color:#6a737d!important}.theme-github-light .card-watermark{color:#0366d6!important}.theme-github-light .token.comment{color:#6a737d!important;font-style:italic!important}.theme-github-light .token.keyword{color:#d73a49!important}.theme-github-light .token.string{color:#032f62!important}.theme-github-light .token.number{color:#005cc5!important}.theme-github-light .token.function{color:#6f42c1!important}.theme-github-light .token.operator{color:#d73a49!important}.theme-github-light .token.class-name{color:#e36209!important}.theme-github-light .token.property{color:#005cc5!important}.theme-synthwave{color:#f0efe7!important;background:#262335!important}.theme-synthwave .window-title{color:#726b80!important}.theme-synthwave .card-watermark{color:#ff7edb!important}.theme-synthwave .token.comment{color:#848bb3!important;font-style:italic!important}.theme-synthwave .token.keyword{color:#fede5d!important;text-shadow:0 0 2px #fede5d!important}.theme-synthwave .token.string{color:#ff7edb!important;text-shadow:0 0 2px #ff7edb!important}.theme-synthwave .token.number{color:#f97e72!important}.theme-synthwave .token.function{color:#36f9f6!important;text-shadow:0 0 2px #36f9f6!important}.theme-synthwave .token.operator{color:#36f9f6!important}.theme-synthwave .token.class-name{color:#fe4450!important}.theme-synthwave .token.property{color:#ff7edb!important}@media (width<=1024px){.code-image-layout{grid-template-columns:1fr}}@media (width<=600px){.settings-grid,.toggle-row,.range-grid,.action-row{grid-template-columns:1fr}.preview-body{padding:1rem}.share-actions-row{flex-direction:column;align-items:stretch}.social-links-container{justify-content:space-between}.social-share-btn{text-align:center;flex:1}}
