*,:after,:before{box-sizing:border-box;margin:0;padding:0}:root{--bg:#1e1e2e;--surface:#181825;--border:#313244;--text:#cdd6f4;--subtext:#a6adc8;--orange:#e8733a;--orange-light:#f5a06e;--green:#a6e3a1;--red:#f38ba8;--radius:10px;--mono:"JetBrains Mono","Fira Code",monospace}body{background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,sans-serif;min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:48px 20px;gap:40px}header{text-align:center}header h1{font-size:2rem;font-weight:700;color:var(--orange-light)}header p{color:var(--subtext);margin-top:8px;font-size:1rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px;width:100%;max-width:720px}.card h2{font-size:1rem;font-weight:600;color:var(--subtext);text-transform:uppercase;letter-spacing:.08em;margin-bottom:16px}.form-row{display:flex;gap:10px;flex-wrap:wrap}input[type=text],select{background:var(--bg);border:1px solid var(--border);border-radius:6px;color:var(--text);font-size:.95rem;padding:8px 12px;outline:none;transition:border-color .15s}input[type=text]{flex:1 1;min-width:150px}input[type=text]:focus,select:focus{border-color:var(--orange)}button{background:var(--orange);border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:600;padding:8px 20px;transition:background .15s}button:hover{background:var(--orange-light)}#preview{margin-top:20px;min-height:80px;display:flex;align-items:center;justify-content:center;width:100%}#preview img{max-width:100%;border-radius:8px}#preview .placeholder{color:var(--subtext);font-size:.9rem}#preview .placeholder.error{color:var(--red)}.snippet{background:var(--bg);border:1px solid var(--border);border-radius:6px;font-family:var(--mono);font-size:.82rem;padding:14px 16px;overflow-x:auto;white-space:pre;color:var(--orange-light);position:relative}.copy-btn{position:absolute;top:8px;right:8px;background:var(--border);border:none;border-radius:4px;color:var(--subtext);cursor:pointer;font-size:.75rem;padding:4px 10px}.copy-btn:hover{background:var(--orange);color:#fff}.themes{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.theme-pill{border:1px solid var(--border);border-radius:20px;cursor:pointer;font-size:.82rem;padding:4px 14px;background:transparent;color:var(--subtext);transition:all .15s}.theme-pill.active,.theme-pill:hover{border-color:var(--orange);color:var(--orange-light)}table{width:100%;border-collapse:collapse;font-size:.9rem}th{text-align:left;color:var(--subtext);font-weight:600;padding:6px 8px}td,th{border-bottom:1px solid var(--border)}td{padding:8px;color:var(--text)}td:first-child{font-family:var(--mono);color:var(--orange-light);font-size:.82rem}td:last-child{color:var(--subtext);font-size:.85rem}tr:last-child td{border-bottom:none}footer{color:var(--subtext);font-size:.82rem;text-align:center}a{color:var(--orange-light);text-decoration:none}a:hover{text-decoration:underline}