.profile-shell{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}.profile-hero{position:relative;overflow:hidden;border-radius:34px;padding:28px}.profile-hero:before{content:"";position:absolute;inset:0 0 auto;height:7px;background:linear-gradient(90deg,var(--rose),var(--cyan),var(--yellow),var(--violet))}.profile-head{display:grid;grid-template-columns:132px minmax(0,1fr) auto;gap:22px;align-items:center}.avatar-upload{position:relative;width:132px;height:132px;border:0;background:transparent;border-radius:34px;padding:0;cursor:pointer;overflow:hidden;box-shadow:0 20px 45px rgba(31,42,68,.18)}.avatar-upload img{width:100%;height:100%;object-fit:cover}.avatar-upload span{position:absolute;inset:0;display:grid;place-items:center;background:rgba(15,23,42,.52);color:#fff;font-size:34px;opacity:0;transition:.2s ease}.avatar-upload:hover span,.avatar-upload:focus-visible span{opacity:1}.avatar-upload input{position:absolute;inline-size:1px;block-size:1px;opacity:0}.profile-name h1{font-size:clamp(32px,5vw,58px);letter-spacing:-.07em;line-height:.95;margin-bottom:10px}.profile-name p{color:var(--muted);font-weight:800}.edit-fab{width:50px;height:50px;border-radius:18px;border:1px solid var(--line);background:var(--soft);color:var(--ink);cursor:pointer;font-size:24px}.profile-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}.meta-card{border:1px solid var(--line);background:var(--soft);border-radius:22px;padding:16px}.meta-card b{display:block;font-size:14px;color:var(--muted);margin-bottom:6px}.meta-card strong{font-size:18px}.profile-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.profile-tab{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:22px;padding:16px;text-align:left;cursor:pointer}.profile-tab.active{background:linear-gradient(135deg,#111827,#164e63,#312e81);color:#fff}.profile-tab b{display:block;font-size:24px}.profile-tab span{display:block;font-weight:900}.profile-main{display:grid;gap:18px;margin-top:22px}.create-question-card{display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:30px;padding:20px;background:linear-gradient(135deg,rgba(236,72,153,.14),rgba(6,182,212,.12),rgba(132,204,22,.10));border:1px solid var(--line)}.create-question-card h2{font-size:24px;letter-spacing:-.04em}.create-question-card p{color:var(--muted);margin-top:5px}.profile-feed{display:grid;gap:16px}.profile-post{border-radius:30px;padding:22px;position:relative;overflow:hidden}.profile-post:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--cyan),var(--violet),var(--rose))}.post-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.post-tag{display:inline-flex;border-radius:999px;padding:8px 11px;background:#cffafe;color:#0e7490;font-weight:950;font-size:13px}.post-actions{display:flex;gap:8px}.icon-btn{border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:14px;width:40px;height:40px;cursor:pointer}.profile-post h3{font-size:clamp(22px,3vw,32px);letter-spacing:-.05em;line-height:1.05;margin:16px 0 10px}.profile-post p{color:var(--muted);line-height:1.55}.post-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.post-stats span{border:1px solid var(--line);background:var(--soft);border-radius:999px;padding:8px 10px;color:var(--muted);font-weight:850;font-size:14px}.profile-sidebar{display:grid;gap:16px;position:sticky;top:88px}.side-card{border-radius:28px;padding:20px}.side-card h2{font-size:20px;margin-bottom:14px}.rating-big{font-size:42px;font-weight:1000;letter-spacing:-.06em}.rating-caption{color:var(--muted);font-weight:800;margin-top:2px}.progress{height:10px;border-radius:999px;background:var(--soft);border:1px solid var(--line);overflow:hidden;margin-top:14px}.progress span{display:block;height:100%;width:72%;border-radius:999px;background:linear-gradient(90deg,var(--rose),var(--cyan),var(--yellow))}.balance{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.balance strong{font-size:36px;letter-spacing:-.05em}.profile-menu{display:grid;gap:8px}.profile-menu a,.profile-menu button{border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:18px;padding:12px 14px;text-align:left;font-weight:900;cursor:pointer}.profile-menu .active{background:linear-gradient(135deg,#111827,#164e63,#312e81);color:white}.birthday-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mobile-only{display:none}.status-dot{width:10px;height:10px;border-radius:999px;background:var(--green);box-shadow:0 0 0 6px rgba(34,197,94,.12)}
@media(max-width:1050px){.profile-shell{grid-template-columns:1fr}.profile-sidebar{position:static;grid-template-columns:repeat(3,1fr)}.profile-menu{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.profile-head{grid-template-columns:92px minmax(0,1fr) 48px;gap:14px}.avatar-upload{width:92px;height:92px;border-radius:26px}.profile-meta,.profile-tabs,.profile-sidebar{grid-template-columns:1fr 1fr}.profile-menu{grid-template-columns:1fr}.create-question-card{display:grid}.create-question-card .btn{width:100%}.desktop-only{display:none}.mobile-only{display:inline}.profile-hero{padding:22px;border-radius:28px}.profile-tab{padding:13px}.profile-tab b{font-size:20px}}
@media(max-width:520px){.profile-head{grid-template-columns:1fr;justify-items:start}.edit-fab{position:absolute;right:18px;top:18px}.profile-meta,.profile-tabs,.profile-sidebar{grid-template-columns:1fr}.post-top{flex-direction:column}.post-actions{align-self:flex-end}.profile-name h1{padding-right:54px}.profile-shell{gap:14px}.side-card,.profile-post{border-radius:24px}}
.profile-about-card{
    margin-top:18px;
    padding:18px 20px;
    border:1px solid rgba(120,130,160,.25);
    border-radius:22px;
    background:rgba(255,255,255,.65);
    box-shadow:0 14px 35px rgba(20,30,60,.06);
}

.profile-about-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    color:#111827;
}

.profile-about-text{
    color:#53627c;
    line-height:1.55;
    font-size:15px;
}