*{box-sizing:border-box}body{background:var(--ks-bg);color:var(--ks-ink)}main{flex:1;width:100%;margin:0 auto;padding:40px 24px 64px}a{color:inherit}ion-icon{vertical-align:middle}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--ks-primary);outline-offset:3px} .profile-container{max-width:900px}.profile-back{display:inline-flex;align-items:center;gap:7px;color:var(--ks-muted);text-decoration:none;font-size:13px;margin-bottom:18px}.profile-back:hover{color:var(--ks-primary-ink)}.profile-card,.stat-card,.profile-course,.not-found{background:var(--ks-surface);border:1px solid var(--ks-border);border-radius:16px;overflow:hidden}.profile-banner{height:100px;background-color:var(--ks-primary-soft);background-image:repeating-linear-gradient(125deg,transparent 0 32px,var(--ks-primary-border-soft) 33px 34px,transparent 35px 60px)}.profile-content{padding:26px}.profile-top{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.profile-avatar{display:grid;place-items:center;width:76px;height:76px;flex-shrink:0;border-radius:18px;background:var(--ks-primary-soft);color:var(--ks-primary-ink);font-size:32px;font-weight:700}.profile-top h1{margin:0;font-size:clamp(22px,4vw,30px);overflow-wrap:anywhere}.profile-top>div:nth-child(2){flex:1;min-width:0}.profile-date,.profile-bio,.profile-course-description,.profile-course-count,.profile-courses-empty{color:var(--ks-muted);font-size:13px;line-height:1.7;overflow-wrap:anywhere}.profile-date{margin-top:6px}.profile-edit{padding:10px 14px;border:1px solid var(--ks-border);border-radius:9px;text-decoration:none;font-size:13px}.profile-section{margin-top:24px;padding-top:20px;border-top:1px solid var(--ks-border)}.profile-section h2{font-size:16px;margin:0 0 8px}.profile-bio{margin:0}.profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-top:18px}.stat-card{padding:20px;display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:center}.stat-card ion-icon{color:var(--ks-primary);font-size:23px;grid-row:1}.stat-card:nth-child(2) ion-icon{color:var(--ks-success-text)}.stat-label{grid-row:1;grid-column:2;color:var(--ks-muted);font-size:13px}.stat-value{grid-column:1/-1;font-size:30px;font-weight:700}.profile-courses{margin-top:28px}.profile-courses h2{font-size:20px;margin:0 0 14px}.profile-courses-list{display:grid;gap:14px}.profile-course{padding:22px}.profile-course h3{margin:0;font-size:17px}.profile-course-progress{display:flex;justify-content:space-between;font-size:13px;color:var(--ks-muted);margin:18px 0 8px}.profile-course-progress strong{color:var(--ks-primary-ink)}.profile-course-track{height:8px;border-radius:20px;background:var(--ks-progress-bg);overflow:hidden}.profile-course-fill{height:100%;background:var(--ks-primary);border-radius:inherit}.profile-course-count{margin:8px 0 0}.not-found{text-align:center;padding:40px 20px}.not-found ion-icon{font-size:40px;color:var(--ks-primary)}.not-found p{color:var(--ks-muted)}@media(max-width:540px){main{padding:28px 16px 44px}.profile-content{padding:18px}.profile-avatar{width:58px;height:58px;font-size:24px}.profile-banner{height:72px}.profile-stats{grid-template-columns:1fr}}