html,body{margin:0;padding:0;height:100%}body{background-color:#020617;font-family:system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Segoe UI,Roboto,Helvetica,Arial,sans-serif}*,*:before,*:after{box-sizing:border-box}.card{background:#0f172a8c;padding:2rem;border-radius:16px;box-shadow:0 8px 40px #0006;border:1px solid rgba(148,163,184,.15);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);text-align:left}.label,.result-title{display:block;font-size:.9rem;font-weight:600;text-transform:uppercase;color:#94a3b8;margin-bottom:.5rem}.form{display:flex;flex-direction:column;gap:1rem}.input-row{display:flex;gap:1rem}.input{flex:1;padding:.8rem 1rem;border-radius:.6rem;border:1px solid rgba(148,163,184,.25);background:#ffffff0d;color:#f8fafc;font-size:1rem;outline:none}.input:focus{border-color:#38bdf8;box-shadow:0 0 0 2px #38bdf84d}.input-error{border-color:#f87171}.error{color:#f87171;font-size:.9rem}.btn{border:none;cursor:pointer;padding:.75rem 1rem;border-radius:.6rem;font-weight:600;font-size:.95rem;transition:.15s ease}.btn-primary{background:linear-gradient(135deg,#38bdf8,#818cf8);color:#0f172a}.btn-primary:hover{opacity:.9}.btn-secondary{background:#ffffff1a;border:1px solid rgba(148,163,184,.25);color:#e2e8f0}.btn-secondary:hover{background:#ffffff26}button:disabled{opacity:.5;cursor:not-allowed}.spinner{border:2px solid rgba(255,255,255,.2);border-left-color:#f8fafc;border-radius:50%;width:16px;height:16px;display:inline-block;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.short-url{font-size:1.2rem;color:#38bdf8;text-decoration:none;font-weight:600}.short-url:hover{text-decoration:underline}.meta-label{font-size:.8rem;color:#94a3b8;margin-bottom:.2rem}.meta-value{font-size:.95rem;color:#e2e8f0}.original-url{opacity:.8;font-size:.95rem}.icon-btn{border:1px solid rgba(148,163,184,.25);background:#0f172a8c;color:#e2e8f0;width:36px;height:36px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem;cursor:pointer;transition:.15s ease}.icon-btn:hover{background:#94a3b82e}.icon-btn-ghost{width:auto;padding:.45rem .75rem;font-size:.85rem}.danger{border-color:#f871718c;background:#f8717124;color:#fecaca}.danger:hover{background:#f8717138}.link-btn{border:none;background:transparent;color:#e2e8f0cc;font-weight:600;cursor:pointer;padding:.2rem .4rem}.link-btn:hover{color:#e2e8f0}.link-btn:disabled{color:#e2e8f08c;cursor:default}.pagination{display:flex;justify-content:flex-end;gap:.75rem;margin-top:1rem}.toast{position:fixed;top:20px;right:20px;background:#38bdf8f2;color:#0f172a;padding:.7rem 1rem;border-radius:.55rem;font-weight:600;box-shadow:0 4px 14px #38bdf859;animation:fadeInOut 2s ease forwards;z-index:2000}@keyframes fadeInOut{0%{opacity:0;transform:translateY(-10px)}10%{opacity:1;transform:translateY(0)}90%{opacity:1}to{opacity:0;transform:translateY(-10px)}}.page{max-width:900px;margin:0 auto;text-align:center}.header{margin-bottom:2rem}.logo{width:60px;height:60px;margin:0 auto 1.25rem;border-radius:18px;background:linear-gradient(135deg,#60a5fa,#a855f7);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;letter-spacing:.04em;color:#fff}.title{font-size:2.5rem;margin:.25rem 0}.subtitle{opacity:.7;margin-top:.25rem}.header-actions{margin-top:1rem;display:flex;justify-content:center;gap:.75rem;flex-wrap:wrap}.account-btn{gap:.5rem}.status-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 4px #34d3991f}.logged-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .9rem;border-radius:999px;border:1px solid rgba(52,211,153,.45);background:#22c55e1f;color:#bbf7d0;font-weight:600}.logged-pill-quiet{border-color:#94a3b840;background:#94a3b814;color:#e2e8f0bf}.auth-title{font-size:.95rem;font-weight:700;letter-spacing:.02em}.auth-status{font-size:.8rem;font-weight:700;padding:.35rem .6rem;border-radius:999px;border:1px solid rgba(148,163,184,.25);background:#ffffff0f;color:#e2e8f0;white-space:nowrap}.auth-status-on{border-color:#38e0b98c;background:#38e0b91f;color:#a7f3d0}.auth-status-off{border-color:#94a3b840;background:#ffffff0f;color:#e2e8f0d9}.auth-hint{margin-top:.35rem;opacity:.7;font-size:.9rem;line-height:1.4}.auth-tabs{display:flex;gap:.5rem;margin-top:1rem;border-bottom:1px solid rgba(148,163,184,.2)}.auth-tab{flex:1;padding:.35rem .4rem .55rem;border:none;background:transparent;color:#e2e8f099;font-weight:600;cursor:pointer;transition:.2s ease}.auth-tab:hover{color:#e2e8f0d9}.auth-tab-active{color:#e2e8f0;box-shadow:inset 0 -2px #818cf8cc}.auth-form{display:flex;flex-direction:column;gap:.9rem;margin-top:1rem}.auth-field{flex:1;min-width:0}.auth-actions{margin-top:.75rem}.auth-logged{margin-top:1.25rem;display:flex;flex-direction:column;align-items:center;gap:1rem}.auth-logged-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem .9rem;border-radius:999px;background:#22c55e1f;border:1px solid rgba(34,197,94,.4);color:#bbf7d0;font-weight:600}.auth-logged-icon{display:inline-flex;width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#22c55e33;font-size:.8rem}.logout-actions{margin-top:1.5rem;display:flex;flex-direction:column;gap:.75rem}.auth-overlay{position:fixed;inset:0;background:#0f172aa6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:1200;display:flex;justify-content:center;align-items:center;padding:1.5rem}.auth-panel{width:min(460px,100%);background:#020617f2;padding:1.75rem;border-radius:1rem;border:1px solid rgba(148,163,184,.2);box-shadow:0 18px 40px #00000073;animation:popIn .22s ease}.auth-panel-compact{width:min(420px,100%)}.auth-panel-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.auth-panel-text{flex:1;min-width:0}.auth-submit{width:100%;justify-content:center;padding:.7rem 1rem;font-size:.95rem;border-color:#818cf88c;background:#818cf81f;color:#e0e7ff}@keyframes popIn{0%{transform:translateY(12px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.result{margin-top:1.5rem}.result-main{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.result-text{flex:1 1 220px}.result-row{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.qr-card{background:#fff;padding:.6rem .6rem .8rem;border-radius:1rem;border:3px solid #38e0b9;display:flex;flex-direction:column;align-items:center;width:auto;max-width:230px;box-shadow:0 6px 20px #0000001f}.qr-url{width:100%;text-align:center;font-size:1rem;font-weight:700;color:#1f2937;margin-bottom:.3rem;padding:.6rem .2rem 0;word-break:break-all}.qr-code-wrapper{position:relative;background:#fff;padding:.25rem;border-radius:.6rem}.qr-code-wrapper qrcode canvas,.qr-code-wrapper qrcode img{display:block;border-radius:.4rem}.qr-logo{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.qr-logo-inner{width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#60a5fa,#a855f7);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.8rem;box-shadow:0 2px 8px #00000040}.qr-container{display:flex;flex-direction:column;align-items:center;margin-left:2rem}.qr-actions{display:flex;gap:.75rem;margin-top:.8rem}.qr-action-btn{padding:.5rem .9rem;font-size:.85rem}.my-urls{margin-top:2rem}.my-urls-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.my-urls-title{margin-top:1rem;font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8bf}.my-urls-actions{display:flex;align-items:center;gap:.75rem;justify-content:space-between;width:100%}.my-urls-left{display:flex;align-items:center;gap:.5rem}.my-urls-meta{font-size:.85rem;color:#e2e8f0b3}.my-urls-list{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.my-urls-item{display:flex;justify-content:space-between;gap:1.5rem;padding:1rem;border-radius:.75rem;background:#0f172a80;border:1px solid rgba(148,163,184,.15)}.my-urls-main{flex:1;min-width:0}.my-urls-original{font-size:.9rem;color:#e2e8f0b3;word-break:break-word;margin-top:.25rem}.my-urls-stats{display:flex;gap:1.5rem;min-width:180px}.my-urls-empty{margin-top:.75rem;color:#e2e8f0b3}.footer{margin-top:2rem;opacity:.45;font-size:.9rem;text-align:center}@media(max-width:768px){.input-row{display:flex;flex-direction:column;align-items:stretch;gap:.75rem}.input-row input,.input-row .btn-primary,.auth-panel{width:100%}.result-main{flex-direction:column;align-items:stretch;gap:.75rem}.result-row{flex-wrap:wrap;gap:.5rem}.result-row .short-url{flex:1 1 100%;word-break:break-all}.result-row .btn{flex:1 1 auto;min-width:120px;justify-content:center}.qr-container{margin-left:0;margin-top:.25rem;align-self:center}.my-urls-item{flex-direction:column}.my-urls-stats{min-width:0}.my-urls-actions{flex-direction:column;align-items:stretch;width:100%}.card{padding:1.25rem}}
