/* Profile cards (/u/<username>) and the card section of the Post yourself form. */
.cardpage{position:relative;display:flex;justify-content:center;padding:56px 16px 80px;min-height:calc(100vh - 160px)}
.cardpage::before{content:"";position:absolute;inset:0 0 auto;height:360px;pointer-events:none;
  background:radial-gradient(55% 100% at 50% 0,var(--accent-soft),transparent 72%)}
.lcard{position:relative;width:min(520px,100%);display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;animation:cardIn .55s var(--ease,ease) both}
.lcard .pic{width:112px;height:112px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 4px var(--bg),0 0 0 6px var(--line)}
.lcard.pro .pic{box-shadow:0 0 0 4px var(--bg),0 0 0 7px var(--gold)}
.lcard h1{font-size:clamp(28px,7vw,40px);line-height:1.05;overflow-wrap:anywhere}
.lcard .handle{font-family:var(--f-mono);color:var(--muted);font-size:14px;margin-top:6px}
.lcard .hl{font-size:18px;font-weight:500;max-width:40ch;margin:0}
.lcard .meta{font-size:14px;margin:0}
.socials{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.socials a{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);color:var(--ink);transition:transform .2s var(--ease,ease),border-color .2s}
.socials a:hover{transform:translateY(-2px);border-color:var(--ink)}
.socials svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lbtns{width:100%;display:flex;flex-direction:column;gap:10px;margin-top:6px}
.lbtns:empty{display:none}
.lbtn{display:flex;align-items:center;gap:12px;width:100%;padding:17px 20px;border-radius:14px;border:1px solid var(--line);background:var(--surface);box-shadow:var(--shadow);
  text-decoration:none;color:var(--ink);font-weight:600;transition:transform .2s var(--ease,ease),border-color .2s;animation:cardIn .5s var(--ease,ease) both;animation-delay:calc(var(--i,0) * 55ms + 120ms)}
.lbtn:hover{transform:translateY(-2px);border-color:var(--ink)}
.lbtn .t{flex:1;min-width:0;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lbtn .h{font-family:var(--f-mono);font-size:12px;color:var(--muted);font-weight:400;white-space:nowrap}
.lcard .cta{justify-content:center;gap:10px;flex-wrap:wrap;margin-top:4px}
.lcard .about{width:100%;text-align:left;display:flex;flex-direction:column;gap:10px;margin-top:10px}
.lcard .about .prose{white-space:pre-line;margin:0}
.madewith{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);text-decoration:none;margin-top:14px}
.madewith:hover{color:var(--ink)}
.lcard .skl{display:block;height:14px;border-radius:7px;background:var(--sunk)}
.lcard .btnsk{width:100%;height:56px;border-radius:14px}
.lcard .pic.sk{background:var(--sunk)}
@keyframes cardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (max-width:560px){.lbtn .h{display:none}.cardpage{padding-top:36px}}

.mark.avimg{object-fit:cover;background:var(--sunk);padding:0}
.cf-av{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.cf-av .mark{border-radius:50%}
.prefix{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:8px;background:var(--surface);overflow:hidden}
.prefix>span{display:flex;align-items:center;flex:none;padding:0 2px 0 12px;font-family:var(--f-mono);font-size:13px;color:var(--muted);white-space:nowrap}
.prefix>span i{font-style:normal}
@media (max-width:480px){.prefix>span i{display:none}}
.prefix input[type=text]{border:0;border-radius:0;padding-left:2px;min-width:0}
.prefix:focus-within{outline:2px solid var(--v1);outline-offset:1px}
#cf-uhint.good{color:var(--a1)}
#cf-uhint.bad{color:var(--accent)}
.cf-check{display:flex;gap:10px;align-items:center;font-size:14px;cursor:pointer}
.cf-check input{width:18px;height:18px;accent-color:var(--accent);flex:none}
