:root{font-family:Barlow,system-ui,sans-serif;color:#f7f1ea;background:#14100d;font-size:16px;--accent:#e2571e;--dark:#f7f1ea;--muted:#aa9e93;--border:#f7f1ea20;--surface:#1f1813}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ff8b55;outline-offset:3px}p{margin:0;color:var(--muted);line-height:1.55}h1,h2{margin:0;line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(2rem,4vw,3.1rem)}h2{font-size:1.23rem}.top{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,4vw,44px);background:var(--surface);border-bottom:1px solid var(--border)}.brand{display:inline-flex;align-items:center;gap:0;font-size:1.35rem;font-weight:700;letter-spacing:-.05em}.word{color:var(--accent)}.btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;border-radius:10px;border:1px solid transparent;padding:10px 15px;min-height:42px;font-size:.88rem;font-weight:700;white-space:nowrap}.primary{background:linear-gradient(135deg,#cf4712,#a8320a);color:#fff}.primary:hover{background:#a7310a}.secondary{background:var(--surface);color:var(--dark);border-color:var(--border)}.secondary:hover{background:#30231b}.top-right,.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account{color:var(--muted);font-size:.88rem;margin-right:8px;overflow-wrap:anywhere}.auth-layout{max-width:1140px;margin:0 auto;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:clamp(30px,8vw,100px);padding:54px 26px 60px}.auth-copy h1{font-size:clamp(3rem,7vw,5.5rem);line-height:.99}.auth-copy em{font-style:normal;color:var(--accent)}.auth-copy>p{max-width:400px;margin:20px 0 24px}.example{max-width:355px;border-radius:20px;overflow:hidden;box-shadow:0 16px 40px #31225c20}.example .profile{padding:22px;min-height:0}.example .avatar{width:42px;height:42px}.example .profile-link{min-height:39px}.auth-card,.empty,.page-card,.link-card,.preview-panel{background:var(--surface);border:1px solid var(--border);border-radius:18px}.auth-card{padding:clamp(25px,4vw,43px);box-shadow:0 14px 50px #0003}.auth-card h2{font-size:1.9rem}.auth-card>p{margin:10px 0 22px}form,.details,.link-fields{display:grid;gap:15px}label{display:grid;gap:6px;font-size:.88rem;font-weight:650}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),textarea{border:1px solid #f7f1ea32;background:#18120e;border-radius:9px;padding:11px 12px;color:var(--dark);width:100%;min-width:0}textarea{resize:vertical}.error{color:#ff9c86}.error:empty{display:none}.workspace{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 74px)}.sidebar{background:var(--surface);border-right:1px solid var(--border);padding:25px 18px;display:flex;flex-direction:column;gap:15px}.nav{display:flex;gap:10px;align-items:center;justify-content:flex-start;border:0;border-radius:9px;padding:12px;background:#392117;color:#ff9a6c;font-weight:750;font-size:.9rem}.dashboard,.editor{width:100%;max-width:1440px;padding:clamp(20px,4vw,48px);margin:0 auto}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:26px}.intro p{margin-top:8px}.empty{display:grid;place-items:center;gap:12px;padding:48px 20px;text-align:center;margin:0 auto;width:100%}.page-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,238px),1fr));gap:16px}.page-card{padding:22px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.page-card h2,.page-card p{grid-column:1/-1;overflow-wrap:anywhere}.page-card .btn{justify-self:start}.page-icon{width:47px;height:47px;background:#392117;color:var(--accent);display:grid;place-items:center;border-radius:13px}.pill{background:#392b22;border-radius:20px;padding:5px 8px;color:#e2c6b5;font-size:.78rem;font-weight:700}.pill.live{background:#23382b;color:#b6eac6}.text-btn{border:0;background:none;color:var(--accent);padding:0;margin-bottom:8px;font-size:.9rem;font-weight:700}.editor-head h1{overflow-wrap:anywhere}.editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(255px,1fr);gap:22px;align-items:start}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:20px}.tabs button{display:flex;align-items:center;gap:6px;border:0;border-bottom:2px solid transparent;background:none;padding:12px 10px;color:var(--muted);font-size:.88rem;font-weight:700}.tabs [aria-current]{color:var(--accent);border-color:var(--accent)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.hint,.empty-links{font-size:.88rem;overflow-wrap:anywhere}.empty-links{margin:20px 0}.link-card{padding:16px;margin-top:12px}.link-tools{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.toggle{display:flex;align-items:center;gap:5px;color:var(--muted)}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}.mini{display:inline-grid;place-items:center;background:transparent;color:var(--muted);border:0;border-radius:6px;width:34px;height:34px}.mini:hover{background:#392117;color:var(--accent)}.preview-panel{position:sticky;top:15px;text-align:center;padding:17px;background:#18120e}.preview-label{display:flex;justify-content:center;align-items:center;gap:7px;font-size:.88rem;font-weight:700;margin-bottom:14px}.preview-panel>p{margin:10px 0 0;font-size:.88rem;overflow-wrap:anywhere}.phone{max-width:280px;margin:auto;border:6px solid #0d0b09;border-radius:28px;background:#0d0b09;box-shadow:0 12px 28px #0005;overflow:hidden}.phone .profile{min-height:440px;max-height:530px;overflow:auto}.profile{--profile-bg:#241841;--profile-layer:#493574;background:radial-gradient(ellipse at top,var(--profile-layer),var(--profile-bg) 63%);color:#f7f1ea;display:flex;align-items:center;flex-direction:column;text-align:center;padding:32px 15px 17px;overflow-wrap:anywhere}.profile.floresta{--profile-bg:#112b27;--profile-layer:#216453}.profile.noite{--profile-bg:#131728;--profile-layer:#35426d}.avatar{border:1px solid #ffffff50;background:#ffffff22;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-weight:800;margin-bottom:13px}.avatar img{width:100%;height:100%;object-fit:cover}.profile p{color:#eee7ff;margin-top:7px;font-size:.9rem;white-space:pre-wrap}.profile-links{margin:20px 0;display:grid;gap:9px;width:100%;max-width:520px}.profile-link{display:flex;align-items:center;gap:10px;background:#ffffff19;border:1px solid #ffffff38;border-radius:10px;min-height:45px;padding:9px 12px;font-size:.89rem;font-weight:700;text-align:left}.profile-link svg{flex:none}.profile-link:hover{background:#ffffff2c}.powered{display:flex;align-items:center;gap:3px;color:#ece4ff;font-size:.8rem;margin-top:auto}.public-page .profile{min-height:100dvh;padding:48px 20px 24px}.public-page h2{font-size:2rem}.public-page .avatar{width:84px;height:84px}.public-page .profile-link{min-height:54px;font-size:1rem}.themes{display:flex;flex-wrap:wrap;gap:10px}.theme-option{display:grid;gap:6px;background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:7px;color:var(--dark)}.theme-option.selected{outline:2px solid var(--accent)}.theme-option span{display:block;width:60px;height:32px;border-radius:6px;background:#493574}.theme-option .floresta{background:#216453}.theme-option .noite{background:#35426d}dialog{max-width:min(480px,calc(100vw - 32px));width:100%;border:1px solid var(--border);border-radius:17px;padding:23px;color:var(--dark);box-shadow:0 20px 70px #0008}dialog::backdrop{background:#000a}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.qr-image{display:block;width:190px;height:190px;margin:10px auto}.share-actions{margin-top:12px}#toast{position:fixed;bottom:16px;right:16px;z-index:5;background:#38251a;color:#f7f1ea;border-radius:10px;max-width:calc(100vw - 32px);padding:10px 16px;display:none}#toast.on{display:block}.loading{padding:20px}
@media(max-width:900px){.workspace{grid-template-columns:1fr}.sidebar{flex-direction:row;justify-content:space-between;border-right:0;border-bottom:1px solid var(--border);padding:10px 16px}.editor-layout{gap:15px}}
@media(max-width:650px){.auth-layout,.editor-layout{grid-template-columns:1fr}.auth-layout{padding-top:28px}.auth-card{grid-row:1}.auth-copy h1{font-size:3rem}.preview-panel{position:static}.account{display:none}.editor,.dashboard{padding:18px 14px}.tabs button{padding-inline:8px}.btn{padding-inline:11px}}
@font-face{font-family:Barlow;src:url('/brand/barlow-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Barlow;src:url('/brand/barlow-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Barlow;src:url('/brand/barlow-700.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Anton;src:url('/brand/anton.woff2') format('woff2');font-weight:400;font-display:swap}
:root{color-scheme:dark}
.top,.sidebar{background:#19130f}
.brand,.powered{font-family:Anton,Barlow,sans-serif;font-weight:400;letter-spacing:.035em;gap:.4em;color:#f7f1ea}
.brand{font-size:1.5rem}
.brand img{width:30px;height:30px;object-fit:contain}
.word{color:#ff7944;margin-left:.09em}
.powered{background:#14100ded;padding:7px 10px;border-radius:7px;white-space:nowrap}
.powered img{width:14px;height:14px;object-fit:contain}
.auth-copy h1{font-family:Anton,Barlow,sans-serif;font-weight:400;font-size:clamp(2.8rem,6.4vw,5rem);text-transform:uppercase;line-height:1.05;letter-spacing:.01em}
.auth-copy em,.text-btn,.tabs [aria-current],.page-icon{color:#ff8c5b}
.dashboard h1,.editor h1{font-size:clamp(1.65rem,4vw,2.55rem);letter-spacing:-.025em}
.btn{min-height:44px}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]),textarea{color:#f7f1ea}
input[type=radio],input[type=range]{accent-color:var(--accent)}
.profile{position:relative;isolation:isolate;--profile-bg:#241841;--profile-layer:#493574;background:radial-gradient(ellipse at top,var(--profile-layer),var(--profile-bg) 65%);background:var(--custom-color,radial-gradient(ellipse at top,var(--profile-layer),var(--profile-bg) 65%))}
.profile.forja{--profile-bg:#14100d;--profile-layer:#58301f}
.profile.oceano{--profile-bg:#102630;--profile-layer:#1d6477}
.profile.vinho{--profile-bg:#2a111f;--profile-layer:#723151}
.profile.areia{--profile-bg:#34271f;--profile-layer:#75523a}
.profile.grafite{--profile-bg:#252525;--profile-layer:#4c4b48}
.profile h2,.profile p{text-shadow:0 1px 7px #000,0 0 13px #000}
.profile-link{background:#171114d9;color:#fff}
.profile-link:hover{background:#171114ed}
.wallpaper,.with-wallpaper::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.wallpaper{object-fit:cover;object-position:center}
.with-wallpaper::after{content:"";background:#14100d70}
.avatar.rounded,.image-sample.rounded,.crop-shell .rounded{border-radius:17%}
.image-sample.circle,.crop-shell .circle{border-radius:50%}
.link-thumb{width:36px;height:36px;object-fit:cover;flex:none;border-radius:7px}
.image-control{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:9px}
.details .image-control{margin-top:0}
.image-sample{width:52px;height:52px;border:1px solid var(--border);object-fit:cover}
.file-label{flex:1 1 180px;min-width:0}
input[type=file]{width:100%;min-width:0;color:var(--muted);padding:4px 0;background:none;border:0}
input[type=file]::file-selector-button{font:inherit;font-weight:700;color:#f7f1ea;background:#3c281d;border:1px solid var(--border);border-radius:7px;padding:8px;margin-right:8px;cursor:pointer}
fieldset{border:1px solid var(--border);border-radius:10px;margin:0;padding:10px}
legend{font-size:.875rem;font-weight:600}
.shape-controls{display:flex;gap:18px;flex-wrap:wrap}
.shape-controls label{display:flex;align-items:center;gap:4px;min-height:36px}
.color-control{display:flex;align-items:center;gap:12px;width:max-content}
input[type=color]{width:52px;height:39px;padding:4px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}
.theme-option .forja{background:#58301f}.theme-option .oceano{background:#1d6477}.theme-option .vinho{background:#723151}.theme-option .areia{background:#75523a}.theme-option .grafite{background:#4c4b48}
.crop-shell{display:grid;place-items:center;background:#14100d;border:1px solid var(--border);border-radius:12px;padding:10px}
.crop-shell canvas{display:block;width:min(240px,100%);height:auto;aspect-ratio:1;background:#211812;border:1px solid var(--border)}
.crop-sliders{display:grid;gap:7px;margin:12px 0}
.crop-sliders input[type=range]{padding:0;border:0;background:none}
.tabs{flex-wrap:wrap}
.profile-social{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:13px;max-width:520px}
.social-icon,.social-badge{display:grid;place-items:center;flex:none;background:#181210da;color:#f7f1ea;border:1px solid #f7f1ea36;border-radius:12px;width:44px;height:44px}
.social-icon:hover{background:#52301e}
.social-letter{font-size:1.25rem;font-weight:700;line-height:1}
.social-list{list-style:none;padding:0;margin:10px 0 16px;display:grid;gap:8px}
.social-row{display:flex;align-items:center;gap:10px;min-width:0;padding:9px;border:1px solid var(--border);border-radius:12px;background:#18120e}
.social-copy{flex:1;display:grid;min-width:0;gap:3px}
.social-copy>span{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem}
.social-switch{position:relative;display:grid;place-items:center;min-width:46px;min-height:44px;cursor:pointer}
.social-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.social-switch span{width:42px;height:24px;border-radius:24px;background:#5e5148;border:1px solid #f7f1ea30;pointer-events:none}
.social-switch span::after{content:"";display:block;width:16px;height:16px;margin:3px;border-radius:50%;background:#f7f1ea}
.social-switch input:checked+span{background:#a63c13}
.social-switch input:checked+span::after{transform:translateX(17px)}
.social-switch input:focus-visible+span{outline:3px solid #ff8b55;outline-offset:2px}
.social-search,#social-form{margin-top:14px}
#social-options{display:grid;gap:6px;margin-top:12px;max-height:min(52vh,460px);overflow:auto;padding:4px}
.social-option{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;text-align:left;color:inherit;background:#18120e;border:1px solid var(--border);border-radius:10px;padding:7px 10px}
.social-option:hover{background:#30231b}
dialog{max-height:calc(100dvh - 30px)}

.profile-social{margin-bottom:20px}
.profile-links+.profile-social{margin-top:0}
