/* /account/: brand colours from the 2026 theme tokens */
.tsm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:0;max-width:1100px;margin:32px auto 56px;padding:0 16px;min-height:620px}
.tsm-art{position:relative;overflow:hidden;border-start-start-radius:28px;border-end-start-radius:28px;background:#0B0F1A;color:#fff}
.tsm-mosaic{position:absolute;inset:-40px;display:grid;grid-template-columns:repeat(5,1fr);gap:10px;transform:rotate(-8deg) scale(1.12);opacity:.5}
.tsm-mosaic img{width:100%;aspect-ratio:1;border-radius:14px;object-fit:cover}
.tsm-art::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(11,15,26,.15),#0B0F1A 92%)}
.tsm-art__t{position:absolute;z-index:2;inset-inline:32px;bottom:32px}
.tsm-art__t b{display:block;font-size:28px;line-height:1.5}
.tsm-art__t span{color:#C9DCDC;font-size:15px}
.tsm-card{display:flex;flex-direction:column;justify-content:center;background:var(--ts-surface,#fff);border-start-end-radius:28px;border-end-end-radius:28px;padding:32px 30px;box-shadow:0 24px 60px -36px rgba(11,15,26,.35)}
.tsm svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tsm h1{margin:0 0 6px;font-size:24px}
.tsm-muted{color:var(--ts-muted,#5B6B70);font-size:14px;line-height:1.9;margin:0 0 14px}
.tsm-seg{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:14px;background:var(--ts-surface2,#EEF3F3);margin-bottom:20px}
.tsm-seg[hidden]{display:none}
.tsm-seg button{height:42px;border:0;border-radius:11px;background:none;font:700 14px var(--ts-font,inherit);color:var(--ts-muted,#5B6B70);cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}
.tsm-seg button[aria-selected=true]{background:var(--ts-surface,#fff);color:var(--ts-text,#0B0F1A);box-shadow:0 4px 12px -6px rgba(0,0,0,.25)}
.tsm-form[hidden],.tsm-sent[hidden]{display:none}
.tsm-f{display:block;margin-bottom:14px}
.tsm-f>span:first-child{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.tsm-in{display:flex;align-items:center;gap:8px;height:52px;padding:0 14px;border-radius:14px;background:var(--ts-surface,#fff);box-shadow:inset 0 0 0 1.5px var(--ts-line,#E2EAEA);color:var(--ts-muted,#5B6B70);transition:box-shadow .2s}
.tsm-in:focus-within{box-shadow:inset 0 0 0 2px var(--ts-accent,#245451),0 0 0 4px var(--ts-accent-soft,#E3EEEC)}
.tsm-in input{flex:1;min-width:0;height:100%;border:0!important;background:none!important;box-shadow:none!important;outline:0;padding:0!important;font:400 15px var(--ts-font,inherit);color:var(--ts-text,#0B0F1A)}
.tsm-in input[dir=ltr]{text-align:left}
.tsm-eye{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:10px;background:none;color:inherit;cursor:pointer}
.tsm-eye[aria-pressed=true]{color:var(--ts-accent,#245451)}
.tsm-str{display:flex;gap:4px;margin:-6px 0 14px}
.tsm-str i{flex:1;height:4px;border-radius:2px;background:var(--ts-line,#E2EAEA);transition:background .2s}
.tsm-str i.on{background:#3C7F79}
.tsm-rem{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:-2px 0 16px;font-size:13px}
.tsm-rem label{display:flex;align-items:center;gap:6px;cursor:pointer}
.tsm-rem input{width:18px;height:18px;accent-color:var(--ts-accent,#245451)}
.tsm-link{border:0;background:none;padding:0;font:700 13px var(--ts-font,inherit);color:var(--ts-accent,#245451);cursor:pointer}
.tsm-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:52px;border:0;border-radius:14px;font:700 15px var(--ts-font,inherit);cursor:pointer;text-decoration:none;transition:transform .15s,opacity .2s}
.tsm-btn:active{transform:scale(.98)}
.tsm-btn--g{background:linear-gradient(135deg,#F0D47A,#CDA64A 55%,#A8812C);color:#2A1E02;box-shadow:0 10px 24px -12px #CDA64A}
.tsm-btn--o{background:var(--ts-surface,#fff);color:var(--ts-text,#0B0F1A);box-shadow:inset 0 0 0 1.5px var(--ts-line,#E2EAEA)}
.tsm-btn.is-busy{opacity:.6;pointer-events:none}
.tsm-err{min-height:22px;margin:10px 0 0;color:#B23A48;font-size:13px;font-weight:700}
.tsm-fine{margin:10px 0 0;font-size:12px;color:var(--ts-muted,#5B6B70)}
.tsm-fine a{color:inherit;text-decoration:underline}
.tsm-why{list-style:none;margin:24px 0 0;padding:18px 0 0;border-top:1px solid var(--ts-line,#E2EAEA);display:grid;gap:10px}
.tsm-why li{display:flex;align-items:center;gap:10px;font-size:13.5px}
.tsm-why svg{width:32px;height:32px;padding:7px;border-radius:10px;background:var(--ts-accent-soft,#E3EEEC);color:var(--ts-accent,#245451)}
.tsm-note{display:flex;gap:10px;padding:14px;border-radius:16px;font-size:13.5px;line-height:1.9;margin-bottom:16px;text-align:start}
.tsm-note--ok{background:var(--ts-accent-soft,#E3EEEC);color:var(--ts-accent-deep,#1B403E)}
.tsm-note--warn{background:#FFF7E3;color:#5b4410}
.tsm-sent{text-align:center;padding:24px 8px}
.tsm-sent svg{width:44px;height:44px;color:var(--ts-accent,#245451)}
.tsm-sent b{display:block;font-size:18px;margin:8px 0}
.tsm-sent p{color:var(--ts-muted,#5B6B70);line-height:2}
.tsm-me{text-align:center}
.tsm-me__av{width:88px;height:88px;border-radius:50%;margin-bottom:10px}
.tsm-soon{margin:8px 0 18px;color:var(--ts-muted,#5B6B70);font-size:13px}
.tsm-row{display:flex;gap:10px}
html[data-theme=dark] .tsm-note--warn{background:#2A2312;color:#F0D47A}
@media (max-width:860px){
	.tsm{grid-template-columns:1fr;margin:0 auto 40px;padding:0}
	.tsm-art{height:220px;border-radius:0}
	.tsm-card{display:block}
	.tsm-art__t{inset-inline:20px;bottom:30px}.tsm-art__t b{font-size:21px}.tsm-art__t span{font-size:13px}
	.tsm-card{border-radius:24px 24px 0 0;margin-top:-18px;position:relative;z-index:2;padding:22px 18px 28px;box-shadow:none}
}
@media (prefers-reduced-motion:reduce){.tsm-btn,.tsm-seg button,.tsm-in{transition:none}}

/* signed in: profile editor */
.tsm-avwrap{position:relative;width:112px;margin:0 auto 6px}
.tsm-me__av{width:112px!important;height:112px!important;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px var(--ts-surface,#fff),0 0 0 6px var(--ts-gold,#CDA64A);transition:opacity .2s}
.tsm-cam{position:absolute;bottom:2px;inset-inline-end:2px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#F0D47A,#CDA64A 55%,#A8812C);color:#2A1E02;cursor:pointer;box-shadow:0 6px 14px -6px rgba(0,0,0,.4)}
.tsm-cam svg{width:17px;height:17px}
.tsm-rmav{display:block;margin:0 auto}
.tsm-prof{margin-top:6px}
.tsm-in--url{padding-inline-end:6px;gap:0}
.tsm-pre{order:2;color:var(--ts-muted,#5B6B70);font-size:13px;white-space:nowrap}
.tsm-in--url input{order:3;padding-inline-start:2px!important}
.tsm-hint{display:block;margin-top:5px;font-size:11.5px;font-weight:400;color:var(--ts-muted,#5B6B70)}
.tsm-f>span:first-child .tsm-hint{display:inline;margin:0}
.tsm-ta{width:100%;min-height:72px;padding:12px 14px;border:0;border-radius:14px;background:var(--ts-surface,#fff);box-shadow:inset 0 0 0 1.5px var(--ts-line,#E2EAEA);font:400 14px/1.9 var(--ts-font,inherit);color:var(--ts-text,#0B0F1A);resize:vertical;outline:0}
.tsm-ta:focus{box-shadow:inset 0 0 0 2px var(--ts-accent,#245451),0 0 0 4px var(--ts-accent-soft,#E3EEEC)}
.tsm-sw{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--ts-surface2,#EEF3F3);margin-bottom:16px;cursor:pointer}
.tsm-sw input{width:20px;height:20px;margin-top:3px;accent-color:var(--ts-accent,#245451);flex:none}
.tsm-sw b{display:block;font-size:14px}.tsm-sw small{font-size:12px;color:var(--ts-muted,#5B6B70);line-height:1.8}
.tsm-err.is-ok{color:var(--ts-accent,#245451)}
.tsm-btn--p{background:var(--ts-accent,#245451);color:#fff!important}
.tsm-row--links{margin-top:8px}
.tsm-center{text-align:center}

/* /u/{handle} */
.tsm-pf{max-width:900px;margin:24px auto 56px;background:var(--ts-surface,#fff);border-radius:28px;overflow:hidden;box-shadow:0 24px 60px -36px rgba(11,15,26,.35);padding-bottom:28px}
.tsm-pf--none{padding:48px 24px;text-align:center}
.tsm-pf__cover{height:180px;background:radial-gradient(120% 120% at 90% 0%,#3C7F79,#1B403E 55%,#0B0F1A)}
.tsm-pf__head{display:flex;align-items:flex-end;gap:18px;padding:0 28px;margin-top:-56px;flex-wrap:wrap}
.tsm-pf__av{width:128px!important;height:128px!important;border-radius:50%;object-fit:cover;box-shadow:0 0 0 5px var(--ts-surface,#fff)}
.tsm-pf__who{flex:1;min-width:180px;padding-bottom:6px}
.tsm-pf__who h1{margin:0;font-size:26px}
.tsm-pf__who .tsm-muted{margin:0;text-align:start}
.tsm-pf__since{font-size:12.5px}
.tsm-pf__acts{display:flex;gap:8px;padding-bottom:10px}
.tsm-pf__acts .tsm-btn{width:auto;height:44px;padding:0 18px;font-size:14px}
.tsm-pf__bio{margin:16px 28px 0;font-size:15px;line-height:2}
.tsm-pf__empty{margin:24px 28px 0;padding:18px;border-radius:16px;background:var(--ts-surface2,#EEF3F3);color:var(--ts-muted,#5B6B70);text-align:center;font-size:14px}
@media (max-width:640px){.tsm-pf{margin:0 0 40px;border-radius:0}.tsm-pf__cover{height:140px}.tsm-pf__head{padding:0 18px;margin-top:-48px}.tsm-pf__av{width:104px!important;height:104px!important}.tsm-pf__bio,.tsm-pf__empty{margin-inline:18px}}
