.account-page{min-height:65vh;padding-block:clamp(36px,7vw,88px)}.account-card{max-width:560px;margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:clamp(24px,5vw,48px)}.account-card h1{font-size:clamp(32px,4vw,46px);line-height:1.1;margin:8px 0 16px}.account-card>p{color:var(--slate)}.account-card .icelandic-profile-form{max-width:none}.account-card .icelandic-account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin-top:24px}.account-card #account-message:empty{display:none}.account-card #account-message{font-size:14px;line-height:1.6}.account-card .icelandic-primary:disabled{opacity:.55;cursor:not-allowed}

.account-card .admin-entry{display:inline-flex;margin-bottom:24px}
.account-progress{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 12px}.account-progress>div{border:1px solid var(--line);border-radius:12px;padding:18px}.account-progress strong{display:block;font:700 30px var(--serif);color:var(--ink)}.account-progress span,.account-joined{font-size:14px;color:var(--slate)}

.account-profile-heading{display:flex;align-items:flex-start;gap:18px;justify-content:space-between}.account-profile-heading>div{min-width:0}.account-profile-heading .eyebrow{margin-top:0}.account-profile-heading p{color:var(--slate)}.account-avatar{width:90px;height:90px;flex:0 0 90px;object-fit:contain;background:var(--paper);border:1px solid var(--line);border-radius:50%;padding:5px}.account-avatar[hidden]{display:none}.account-activity{margin:24px 0 18px;display:grid;gap:12px}.account-dropdown{border:1px solid var(--line);border-radius:12px;overflow:hidden}.account-dropdown>summary{min-height:60px;padding:16px;display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:700;list-style:none}.account-dropdown>summary::-webkit-details-marker{display:none}.account-dropdown>summary:after{content:'';width:8px;height:8px;flex-shrink:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:auto;color:var(--blue)}.account-dropdown[open]>summary:after{transform:rotate(225deg)}.account-dropdown[open]>summary{border-bottom:1px solid var(--line)}.account-dropdown>summary:focus-visible{outline:3px solid var(--orange);outline-offset:-4px}.account-count{font-size:14px;font-weight:500;color:var(--slate)}.account-dropdown-body{padding:18px}.account-learning-total{margin-top:0;font-weight:600}.account-lesson-list,.account-article-list{list-style:none;margin:0 0 20px;padding:0}.account-lesson-list a{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px 0;text-decoration:none;border-bottom:1px solid var(--line)}.account-lesson-list small{display:block;font-size:14px;color:var(--slate);margin-top:4px}.account-lesson-stars{flex-shrink:0;font-size:14px;color:var(--slate)}.account-article-list li{padding:10px 0;border-bottom:1px solid var(--line)}.account-card .small{font-size:14px;color:var(--slate)}
@media(max-width:480px){.account-avatar{width:64px;height:64px;flex-basis:64px}.account-profile-heading{gap:10px}.account-dropdown>summary{gap:8px;padding:14px}.account-count{margin-left:auto}.account-dropdown>summary:after{margin-left:0}.account-dropdown-body{padding:14px}.account-lesson-list a{align-items:flex-start}.account-profile-heading h1{font-size:32px}}

/* Compact account overview with a close profile crop. */
.account-avatar{display:block;overflow:hidden;padding:0;width:96px;height:96px;flex-basis:96px}.account-avatar img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;transform:translateY(4%) scale(1.28);transform-origin:center top}.account-profile-heading h1{overflow-wrap:anywhere}.account-admin-footer{display:flex;justify-content:flex-end;margin-top:24px}.account-card .account-admin-footer .admin-entry{margin:0;min-height:44px}.account-profile-heading>div{flex:1}
@media(max-width:480px){.account-avatar{width:76px;height:76px;flex-basis:76px}.account-profile-heading h1{font-size:30px}}

/* Purpose composed portrait; no zoomed sticker crop. */
.account-avatar{background:#dbeaf3;border:0}.account-avatar img{object-fit:cover;transform:none;transform-origin:center;}

/* Readable, touch friendly links within account activity. */
.account-article-list,.account-lesson-list{display:grid;gap:10px;margin-bottom:18px}.account-article-list li,.account-lesson-list li{padding:0;border:0}.account-article-list a,.account-lesson-list a{display:flex;align-items:center;min-height:52px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:16px;font-weight:600;line-height:1.5;text-decoration:none;overflow-wrap:anywhere;box-shadow:0 2px 5px rgb(0 0 0 / .05);transition:border-color .16s,background-color .16s,box-shadow .16s}.account-article-list a:hover,.account-lesson-list a:hover{border-color:var(--blue);background:var(--paper);box-shadow:0 3px 9px rgb(0 0 0 / .1)}.account-explore-button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 20px;margin-top:8px;border:1px solid #ef9200;border-radius:12px;background:#ffad32;color:#102c4d;font-size:16px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;box-shadow:0 3px 0 #cf7900;transition:background-color .16s,box-shadow .16s}.account-explore-button:hover{background:#ffbc59;color:#102c4d}.account-explore-button:active{box-shadow:0 1px 0 #cf7900}.account-article-list a:focus-visible,.account-lesson-list a:focus-visible,.account-explore-button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}@media(max-width:480px){.account-explore-button{width:100%;box-sizing:border-box}}@media(prefers-reduced-motion:reduce){.account-article-list a,.account-lesson-list a,.account-explore-button{transition:none}}
