:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Hiragino Sans,Yu Gothic UI,sans-serif;color:#f7f9fc;background:#070809;font-synthesis:none;text-rendering:optimizeLegibility;--background: #070809;--panel: #17191c;--panel-border: rgba(131, 179, 224, .22);--muted: #aeb8c4;--subtle: #7e8b99;--accent: #48a9ff;--danger: #ff7c85;--card-gradient: linear-gradient(180deg, #263f59 0%, #1c2b3a 42%, #11171d 76%, #090b0e 100%)}*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth}[hidden]{display:none!important}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at 50% -20%,rgba(72,169,255,.2),transparent 40rem),var(--background)}button,textarea,select,input{font:inherit}button,select,input[type=color],summary{cursor:pointer}button:focus-visible,textarea:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid rgba(72,169,255,.58);outline-offset:2px}a{color:inherit}.skip-link{position:fixed;left:1rem;top:-4rem;z-index:99;padding:.75rem 1rem;border-radius:.75rem;background:#fff;color:#000}.skip-link:focus{top:1rem}.site-header,.site-footer,.page-shell{width:min(1400px,calc(100% - 1.5rem));margin-inline:auto}.site-header,.site-footer{display:flex;align-items:center;justify-content:space-between}.site-header{min-height:64px;border-bottom:1px solid rgba(255,255,255,.08)}.brand{display:inline-flex;gap:.65rem;align-items:center;font-weight:750;text-decoration:none;letter-spacing:.02em}.brand-mark{width:32px;height:32px;padding:7px;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:2px;border:1px solid rgba(147,211,255,.4);border-radius:9px;background:var(--card-gradient);box-shadow:0 0 24px #48a9ff24}.brand-mark i{background:#ccecff;border-radius:1px}.brand-mark i:nth-child(2){grid-column:3}.brand-mark i:nth-child(3){grid-column:2;grid-row:2}.brand-mark i:nth-child(4){grid-column:1;grid-row:3}.brand-mark i:nth-child(5){grid-column:3;grid-row:3}.header-label{color:var(--subtle);font-size:.75rem;text-transform:uppercase;letter-spacing:.12em}.page-shell{padding:1.35rem 0 2.5rem}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;margin-bottom:1.1rem}.eyebrow{margin:0 0 .35rem;color:#8dcbff;font-size:.7rem;font-weight:750;letter-spacing:.11em;text-transform:uppercase}h1{margin:0;font-size:clamp(2rem,4.5vw,3.65rem);line-height:1;letter-spacing:-.048em}.hero-copy{margin:.65rem 0 0;color:var(--muted);font-size:.93rem;line-height:1.55}.storage-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .85rem;border:1px solid rgba(83,214,138,.25);border-radius:999px;color:#9aefbb;background:#1d4e3438;font-size:.76rem}.storage-pill svg{width:17px;fill:currentColor}.generator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;align-items:stretch}.panel{min-width:0;height:clamp(600px,calc(100vh - 230px),760px);border:1px solid var(--panel-border);border-radius:24px;box-shadow:0 22px 60px #00000047}.controls-panel{overflow-y:auto;padding:1.35rem;background:var(--panel)}.history-panel{display:flex;flex-direction:column;overflow:hidden;padding:1rem;background:var(--card-gradient)}.section-heading{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:1.15rem}.section-heading h2{margin:0 0 .2rem;font-size:1.08rem}.section-heading p{margin:0;color:var(--muted);font-size:.78rem;line-height:1.45}.step-number{display:grid;place-items:center;flex:0 0 31px;height:31px;border-radius:10px;color:#d9f0ff;background:#48a9ff2e;border:1px solid rgba(72,169,255,.32);font-size:.86rem;font-weight:750}.field-label{display:block;margin-bottom:.5rem;color:#e6ebf0;font-size:.82rem;font-weight:650}textarea,select{width:100%;border:1px solid rgba(255,255,255,.14);border-radius:13px;color:#fff;background:#0d0f12}textarea{min-height:114px;padding:.9rem;resize:vertical;line-height:1.55}select{min-height:42px;padding:0 2.2rem 0 .75rem}.field-meta{min-height:34px;display:flex;justify-content:space-between;align-items:center;color:var(--subtle);font-size:.72rem}.text-button{border:0;padding:.4rem 0;color:#8dcbff;background:transparent}.options{margin-top:.7rem;border-top:1px solid rgba(255,255,255,.08)}.options summary{padding:.9rem 0;color:#dbe5ee;font-size:.86rem;font-weight:650}.options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.options-grid label{display:grid;gap:.4rem;color:var(--muted);font-size:.75rem}.color-field span{min-height:42px;display:flex;align-items:center;gap:.55rem;padding:.35rem .65rem;border:1px solid rgba(255,255,255,.14);border-radius:13px;background:#0d0f12}.color-field input{width:33px;height:27px;padding:0;border:0;background:transparent}.color-field output{color:#fff;font-size:.72rem;font-variant-numeric:tabular-nums}.primary-button{border:1px solid #72bfff;color:#04111d;background:#48a9ff;box-shadow:0 9px 24px #48a9ff38;font-weight:750}.create-button{width:100%;min-height:48px;margin-top:1.2rem;border-radius:999px}.status-message{min-height:1.35rem;margin:.75rem 0 0;color:#bcd5e8;font-size:.76rem;line-height:1.45;text-align:center}button:disabled{cursor:not-allowed;opacity:.45}.history-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}.history-heading .section-heading{margin-bottom:.8rem}.compact-button{flex:0 0 auto;min-height:30px;padding:0 .65rem;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#cce8ff;background:#0708096b;font-size:.62rem}.history-state{display:grid;place-items:center;flex:1;min-height:180px;padding:1rem;border:1px dashed rgba(255,255,255,.14);border-radius:17px;color:var(--muted);font-size:.7rem;text-align:center}.history-state strong,.history-state span{display:block}.history-state strong{margin-bottom:.35rem;color:#e8f4ff;font-size:.82rem}.history-list{flex:1;min-height:0;margin:0;padding:0 .25rem 0 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:rgba(141,203,255,.38) transparent;list-style:none}.load-more-button{align-self:center;flex:0 0 auto;margin-top:.55rem}.history-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:.65rem;min-width:0;margin-bottom:.5rem;padding:.55rem;border:1px solid rgba(255,255,255,.11);border-radius:15px;background:#05080b85}.history-qr{width:82px;min-height:82px;display:grid;place-items:center;overflow:hidden;border-radius:10px;color:#536070;background:#fff;font-size:.55rem;text-align:center}.history-qr canvas{display:block;width:82px!important;height:82px!important;image-rendering:pixelated}.history-content{min-width:0;font-size:.66rem;line-height:1.35}.history-meta{display:flex;justify-content:space-between;gap:.65rem;margin-bottom:.18rem;color:#91a0ae;font-size:.58rem}.history-meta code{color:#a9dcff;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.64rem;font-weight:700;letter-spacing:.08em}.history-meta time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-short-url,.history-original-url{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none}.history-short-url{color:#91d0ff;font-size:.72rem;font-weight:700}.history-original-url{margin-top:.14rem;color:#8f9aa6;font-size:.61rem}.history-short-url:hover,.history-original-url:hover{text-decoration:underline}.history-actions{display:flex;flex-wrap:wrap;gap:.28rem;margin-top:.45rem}.history-action{min-height:30px;padding:0 .56rem;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#e5f3ff;background:#ffffff0f;font-size:.61rem;font-weight:650}.history-action-copy{border-color:#48a9ff57;color:#a9dcff}.history-action-delete{margin-left:auto;border-color:#ff7c8557;color:var(--danger)}.info-card{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:.8rem;padding:1rem;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:#17191cb8}.info-card article{padding-left:.8rem;border-left:2px solid rgba(72,169,255,.34)}.info-card h2{margin:0 0 .25rem;font-size:.76rem}.info-card p{margin:0;color:var(--muted);font-size:.68rem;line-height:1.55}.info-card code{color:#9fd7ff}.site-footer{min-height:78px;color:var(--subtle);font-size:.75rem;border-top:1px solid rgba(255,255,255,.08)}.site-footer nav{display:flex;gap:1rem}.site-footer a{color:#9bcfff;text-decoration:none}@media(max-width:900px){.hero{align-items:flex-start;flex-direction:column;gap:.8rem}.generator-grid{grid-template-columns:1fr}.panel{height:auto;min-height:0}.history-panel{height:min(680px,75vh)}}@media(max-width:560px){.site-header,.site-footer,.page-shell{width:min(100% - .75rem,1400px)}.header-label{display:none}.panel{border-radius:19px}.controls-panel,.history-panel{padding:.85rem}.options-grid,.info-card{grid-template-columns:1fr}.history-panel{height:min(650px,78vh)}.history-item{grid-template-columns:68px minmax(0,1fr);gap:.5rem;padding:.46rem}.history-qr{width:68px;min-height:68px}.history-qr canvas{width:68px!important;height:68px!important}.history-action{min-height:34px}.history-action-delete{margin-left:0}.site-footer{align-items:flex-start;flex-direction:column;justify-content:center;gap:.65rem}}@media(prefers-reduced-motion:no-preference){.primary-button,.compact-button,.history-action{transition:transform .15s ease,filter .15s ease}.primary-button:hover,.compact-button:hover,.history-action:hover{transform:translateY(-1px);filter:brightness(1.08)}}.generator-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.controls-panel{height:auto;min-height:600px}.result{margin-top:1rem;text-align:center}.result img{display:block;width:min(100%,420px);height:auto;margin:0 auto;border-radius:16px;background:#fff}.result p{color:var(--muted);font-size:.76rem;line-height:1.5}.actions{display:flex;justify-content:center;gap:.6rem;margin-top:.8rem}.actions button{font-size:.8rem;min-height:40px;padding:0 1rem}@media(max-width:900px){.generator-grid{grid-template-columns:minmax(0,1fr)}.controls-panel{min-height:0}}
