:root{--ink:#172033;--muted:#667085;--paper:#fffaf0;--card:#fff;--line:#e4d8c7;--orange:#f39a2e;--orange-dark:#9a4d00;--yellow:#ffd45d;--green:#176b46;--danger:#9b1c1c;color-scheme:light}
*{box-sizing:border-box}html{min-height:100%}body{min-height:100vh;margin:0;color:var(--ink);background:radial-gradient(circle at 10% 0%,#fff2c8 0,transparent 32rem),var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:var(--orange-dark)}button,input{font:inherit}
button,.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:.55rem;border:1px solid transparent;border-radius:999px;padding:.7rem 1.1rem;color:#1d2433;background:var(--yellow);box-shadow:0 8px 24px rgb(79 48 0/12%);font-weight:800;text-decoration:none;cursor:pointer}
button.secondary,.button.secondary{border-color:var(--line);background:#fff;box-shadow:none}button.danger{border-color:#efb6b6;color:var(--danger);background:#fff7f7;box-shadow:none}
button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #155eef;outline-offset:3px}button[disabled]{cursor:wait;opacity:.65}
.shell{width:min(960px,calc(100% - 2rem));margin:0 auto;padding:2rem 0 4rem}.masthead{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:2rem}
.brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--ink);text-decoration:none;font-weight:950;letter-spacing:-.025em}.brand img{width:46px;height:46px;object-fit:contain}.brand span{font-size:1.25rem}
.card{border:1px solid var(--line);border-radius:24px;padding:clamp(1.25rem,3vw,2.25rem);background:rgb(255 255 255/92%);box-shadow:0 18px 60px rgb(65 41 4/10%)}
.hero{max-width:680px;margin:7vh auto 0;text-align:center}.eyebrow{margin:0 0 .5rem;color:var(--orange-dark);font-size:.83rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
h1,h2{margin-top:0;letter-spacing:-.035em}h1{margin-bottom:.8rem;font-size:clamp(2.1rem,7vw,4.4rem);line-height:.98}h2{margin-bottom:.45rem;font-size:clamp(1.35rem,4vw,2rem)}
.lede{color:#465064;font-size:clamp(1rem,2.5vw,1.2rem);line-height:1.6}.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.7rem;margin-top:1.4rem}
.status{min-height:1.5rem;margin:1rem 0 0;color:var(--muted);font-weight:650}.status.error{color:var(--danger)}.status.success{color:var(--green)}
.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.2rem}.account-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.user{display:flex;align-items:center;gap:.8rem;min-width:0}.user img{width:48px;height:48px;border-radius:50%;background:#eee}.user-copy{min-width:0}.user-copy strong,.user-copy span{display:block;overflow:hidden;text-overflow:ellipsis}.user-copy span{color:var(--muted);font-size:.9rem}
.handle{display:inline-flex;border-radius:999px;margin:.4rem 0 0;padding:.35rem .65rem;color:#5c3400;background:#fff0bd;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:850}
form{display:grid;gap:1rem}label{display:grid;gap:.4rem;font-weight:800}input{width:100%;min-height:48px;border:1px solid #b9ad9c;border-radius:12px;padding:.7rem .8rem;color:var(--ink);background:#fff}
.hint{color:var(--muted);font-size:.87rem;font-weight:500;line-height:1.45}.link-list{display:grid;gap:.8rem}.link-card{display:grid;gap:.65rem;border:1px solid var(--line);border-radius:16px;padding:1rem;background:#fff}
.link-title{font-weight:900}.short-url{overflow-wrap:anywhere;color:var(--orange-dark);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800}.destination{overflow:hidden;color:var(--muted);font-size:.88rem;text-overflow:ellipsis;white-space:nowrap}
.link-actions{display:flex;flex-wrap:wrap;gap:.5rem}.link-actions button{min-height:38px;padding:.45rem .75rem;font-size:.86rem}.privacy-note{border-left:4px solid var(--orange);margin-top:1rem;padding:.8rem 1rem;color:#495367;background:#fff8e8;line-height:1.5}
[hidden]{display:none!important}@media(min-width:820px){.dashboard-grid{grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);align-items:start}.links-panel{grid-column:1/-1}}
