/* King Token Factory — presentation polish (21 Oct 2026). Pure styling: no layout order, functions, fees or bars changed.
   Cleaner cards, readable labels, calmer hero, tidy review box. Dark + gold theme kept. No backdrop-filter. */
html body .ktf-sparks{opacity:.28}
/* hero */
html body .ktf-hero{padding:36px 18px 22px}
html body .ktf-hero h1{font-size:clamp(1.45rem,6.4vw,2.6rem);letter-spacing:1.5px;line-height:1.15;margin:0 0 10px;background:linear-gradient(180deg,#fff3cf 0%,#e2b93b 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:none;text-shadow:none}
html body .ktf-hero p{font-family:'Inter',system-ui,sans-serif;font-size:.86rem;letter-spacing:.2px;line-height:1.55;color:rgba(232,226,210,.72);margin:0 auto 16px;max-width:520px}
html body .ktf-hero-badges{gap:6px;margin-bottom:20px}
html body .ktf-badge{font-family:'Inter',system-ui,sans-serif;font-size:.72rem;font-weight:600;letter-spacing:.2px;color:#e9d8a6;background:rgba(255,255,255,.035);border:1px solid rgba(212,160,23,.28);border-radius:999px;padding:5px 11px;box-shadow:none}
html body .ktf-badge.tfp-dot::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#D4A017;margin:0 6px 1px 0;vertical-align:middle}
html body #ktf-connect-btn{font-family:'Inter',system-ui,sans-serif;font-weight:700;letter-spacing:.3px;font-size:.92rem;border-radius:12px;box-shadow:0 2px 10px rgba(212,160,23,.18)}
/* network picker */
html body .ktf-chain-selected{border:1px solid rgba(212,160,23,.4);border-radius:12px;background:#0a0f24;box-shadow:0 6px 18px rgba(0,0,0,.28)}
html body .ktf-chain-sel-name{font-family:'Inter',system-ui,sans-serif;font-weight:600;font-size:.95rem;letter-spacing:.1px}
html body .ktf-chain-opt .ktf-chain-opt-name{font-family:'Inter',system-ui,sans-serif;font-weight:600}
/* tabs = segmented control */
html body .ktf-tabs{border:1px solid rgba(212,160,23,.22);border-radius:12px;background:#090d21;padding:4px;gap:2px;box-shadow:none}
html body .ktf-tab{font-family:'Inter',system-ui,sans-serif;font-size:.74rem;font-weight:600;letter-spacing:.1px;text-transform:none;color:rgba(232,226,210,.62);border-radius:9px;padding:10px 4px;line-height:1.25}
html body .ktf-tab.active{background:rgba(212,160,23,.14);color:#f3d27a;box-shadow:inset 0 0 0 1px rgba(212,160,23,.35)}
/* cards */
html body .ktf-card{background:rgba(9,13,32,.96);border:1px solid rgba(212,160,23,.18);border-radius:16px;padding:22px 18px;box-shadow:0 1px 0 rgba(255,255,255,.03) inset,0 12px 32px rgba(0,0,0,.38)}
html body .ktf-section-label{font-family:'Inter',system-ui,sans-serif;font-size:.78rem;font-weight:700;letter-spacing:.6px;color:#f0d68a;text-transform:uppercase;margin:0 0 14px;padding-bottom:9px;border-bottom:1px solid rgba(212,160,23,.14)}
html body .ktf-section-label::after{display:none}
html body .ktf-divider{background:transparent;margin:14px 0}
/* fields */
html body .ktf-form-row label{font-family:'Inter',system-ui,sans-serif;font-size:.8rem;font-weight:600;letter-spacing:.1px;text-transform:none;color:#d9cba3;margin-bottom:6px}
html body .ktf-input{font-family:'Inter',system-ui,sans-serif;font-size:16px;background:#060a1a;border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:12px 13px;color:#f1ede2}
html body .ktf-input::placeholder{color:rgba(232,226,210,.32);text-transform:none}
html body .ktf-input:focus{border-color:rgba(212,160,23,.75);box-shadow:0 0 0 3px rgba(212,160,23,.14)}
html body .ktf-checks{flex-direction:column;gap:8px}
html body .ktf-chk{background:#0b1129;border:1px solid rgba(255,255,255,.09);border-radius:10px;padding:11px 12px;font-family:'Inter',system-ui,sans-serif;font-size:.84rem;color:#e6e0cf}
html body .ktf-chk input{accent-color:#D4A017;width:17px;height:17px;flex-shrink:0}
html body #ktf-safe-note{font-family:'Inter',system-ui,sans-serif;background:rgba(80,200,120,.06);border:1px solid rgba(80,200,120,.22);border-radius:10px;padding:10px 12px;margin-top:10px !important}
html body .ktf-logo-upload-btn{font-family:'Inter',system-ui,sans-serif;font-weight:600;border-radius:10px}
/* premium (auto-liquidity) card */
html body .ktf-premium{border:1px solid rgba(212,160,23,.35);border-radius:12px;background:#0b1129;box-shadow:none}
html body .ktf-premium-title{font-family:'Inter',system-ui,sans-serif;font-size:.9rem;font-weight:700;letter-spacing:0;color:#f3e6c4}
html body .ktf-premium-sub{font-family:'Inter',system-ui,sans-serif;font-size:.74rem;color:rgba(232,226,210,.6)}
html body .ktf-premium-badge{background:transparent;color:#e9c45a;border:1px solid rgba(212,160,23,.5);font-family:'Inter',system-ui,sans-serif;font-weight:700;font-size:.6rem;letter-spacing:.6px}
/* fee summary */
html body .ktf-fee-box{background:#0b1129;border:1px solid rgba(212,160,23,.25);border-radius:12px;padding:13px 14px;gap:12px;align-items:center}
html body .ktf-fee-label{font-family:'Inter',system-ui,sans-serif;font-size:.84rem;font-weight:700;letter-spacing:0;text-transform:none;color:#f3e6c4}
html body .ktf-fee-amount{font-family:'Inter',system-ui,sans-serif;font-size:.98rem;font-weight:700;color:#f0c94b;text-align:right;font-variant-numeric:tabular-nums;text-shadow:none;line-height:1.3}
/* buttons */
html body .ktf-btn{font-family:'Inter',system-ui,sans-serif;font-weight:800;font-size:.92rem;letter-spacing:.4px;border-radius:12px;padding:15px}
html body .ktf-btn-primary{background:linear-gradient(180deg,#e6bd3c,#c99512);box-shadow:0 2px 0 rgba(0,0,0,.25),0 6px 16px rgba(212,160,23,.18)}
html body .ktf-status{font-family:'Inter',system-ui,sans-serif;border-radius:10px}
/* review / progress box (king-factory-pro.js) */
html body .ktfp-review{background:#0a0f25;border:1px solid rgba(212,160,23,.28);border-radius:14px;padding:16px 14px;font-family:'Inter',system-ui,sans-serif}
html body .ktfp-review h4{font-size:.95rem;font-weight:700;color:#f3e6c4;margin:0 0 10px;padding-bottom:9px;border-bottom:1px solid rgba(212,160,23,.15)}
html body .ktfp-review .kc-line{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.05);font-size:.84rem}
html body .ktfp-review .kc-line>span:first-child{color:rgba(232,226,210,.6);flex-shrink:0}
html body .ktfp-review .kc-line>span:last-child{text-align:right;color:#f1ede2;min-width:0;overflow-wrap:anywhere}
/* step indicator (create) */
html body .tfp-steps{list-style:none;display:flex;gap:0;margin:0 0 12px;padding:0;counter-reset:tfps}
html body .tfp-steps li{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative;font-family:'Inter',system-ui,sans-serif;font-size:.7rem;font-weight:600;color:rgba(232,226,210,.5);text-align:center}
html body .tfp-steps li::before{counter-increment:tfps;content:counter(tfps);width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.72rem;font-weight:700;background:#0b1129;border:1px solid rgba(255,255,255,.16);color:rgba(232,226,210,.65);position:relative;z-index:1}
html body .tfp-steps li:not(:last-child)::after{content:'';position:absolute;top:12px;left:calc(50% + 15px);right:calc(-50% + 15px);height:1px;background:rgba(255,255,255,.12)}
html body .tfp-steps li.on{color:#f3d27a}
html body .tfp-steps li.on::before{border-color:#D4A017;color:#f3d27a;box-shadow:0 0 0 3px rgba(212,160,23,.14)}
html body .tfp-steps li.done{color:#d9cba3}
html body .tfp-steps li.done::before{content:'✓';background:#D4A017;border-color:#D4A017;color:#0a0700}
html body .tfp-steps li.done:not(:last-child)::after{background:rgba(212,160,23,.55)}
html body .tfp-steps small{display:block;font-size:.62rem;font-weight:500;color:rgba(232,226,210,.42);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:360px){html body .ktf-card{padding:18px 14px}html body .ktf-tab{font-size:.68rem;padding:9px 2px}html body .tfp-steps li{font-size:.64rem}}
