.forum-profile-layout #content{display:none}.forum-profile-page{max-width:1200px;margin:auto;padding:40px clamp(20px,4vw,64px) 70px;min-width:0;color:var(--ink)}.forum-profile-hero{display:flex;align-items:center;gap:22px;min-height:230px;padding:32px;border:1px solid var(--line);border-radius:24px;background:var(--paper);margin-bottom:26px}.forum-profile-hero>.forum-avatar{width:86px;height:86px;flex:0 0 86px;font-size:36px;background:var(--rose-soft);color:var(--rose-deep);border:3px solid var(--paper)}.forum-profile-identity{flex:1;min-width:0}.forum-profile-identity h1{font-size:clamp(26px,4vw,42px);overflow-wrap:anywhere;margin:8px 0 12px}.profile-hint{font-size:12px;line-height:1.7;color:var(--muted);margin:0}.profile-actions,.profile-post-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.profile-actions{justify-content:flex-end;max-width:220px}.profile-actions a{text-decoration:none}.profile-status,.profile-save-status{font-size:13px;line-height:1.8;color:var(--rose-deep);overflow-wrap:anywhere}.forum-profile-editor{max-width:740px;padding:26px;margin-bottom:30px;border:1px solid var(--line);border-radius:18px;background:var(--paper);scroll-margin-top:20px}.forum-profile-editor[hidden],.forum-profile-posts[hidden]{display:none}.forum-profile-editor h2{font-size:24px}.forum-profile-editor form{display:grid;gap:14px}.forum-profile-editor label{display:grid;gap:7px;font-size:13px;color:var(--ink)}.forum-profile-editor input:not([type=file]){min-width:0;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--wash);color:var(--ink)}.forum-profile-editor input[type=file]{max-width:100%;min-width:0}.forum-profile-editor button{justify-self:start;min-height:42px}.forum-profile-editor .profile-background-editor{margin:0}.profile-avatar-preview .forum-avatar{width:72px;height:72px;font-size:30px}.profile-posts-heading{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);margin-bottom:18px}.profile-posts-heading h2{font-size:27px}.profile-posts-count{color:var(--muted);font-size:13px}.profile-post-list{display:grid;gap:15px}.profile-post-card{min-width:0;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.profile-post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--muted)}.profile-hidden-marker{display:inline-flex;align-items:center;justify-content:center;color:var(--rose-deep);vertical-align:middle}.profile-post-title{display:block;margin:12px 0;color:var(--ink);font-size:21px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}.profile-post-excerpt{margin:8px 0 12px;font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}.profile-post-actions .text-button{min-height:38px}.profile-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px}.profile-post-note,.profile-post-error{font-size:12px;line-height:1.8;color:var(--muted)}.profile-post-error{color:var(--rose-deep)}.topic-card__author{color:inherit;text-decoration:none}.topic-card__author:hover .topic-card__identity strong{color:var(--rose)}.topic-card__content{text-decoration:none;color:inherit}.topic-card:focus-within{outline:2px solid var(--rose);outline-offset:3px}.profile-name{display:inline-flex;align-items:center;gap:7px;text-decoration:none}.topic-private-note{padding:10px 14px;border:1px solid var(--line);border-radius:10px;color:var(--rose-deep);background:var(--wash);font-size:12px}.forum-sidebar .account-button[aria-current=page]{background:var(--rose-soft);border-color:var(--rose)}
@media(max-width:760px){.forum-profile-page{padding:24px 16px 45px}.forum-profile-hero{flex-wrap:wrap;gap:16px;min-height:210px;padding:22px;border-radius:18px}.forum-profile-hero>.forum-avatar{width:66px;height:66px;flex-basis:66px;font-size:28px}.profile-actions{max-width:none;width:100%;justify-content:flex-start}.forum-profile-editor{padding:18px;scroll-margin-top:124px}.forum-profile-editor input:not([type=file]),.profile-post-dialog textarea,.profile-post-dialog input{font-size:16px}.profile-post-card{padding:18px}.profile-post-title{font-size:19px}.profile-post-actions .text-button,.profile-actions button{min-height:44px}.profile-post-dialog .dialog-panel{padding:20px 16px}.forum-profile-identity h1{font-size:26px}}

.forum-profile-editor input[type=file]::file-selector-button{min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);margin-right:8px;font:inherit;cursor:pointer}
.profile-post-dialog{width:min(760px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:0;overflow:hidden}.profile-post-dialog .dialog-panel{min-width:0;max-width:100%;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.profile-post-dialog :is(input:not([type=radio]):not([type=file]),textarea,select){min-width:0;max-width:100%}
.profile-attachments-editor{min-width:0;padding:18px;margin:6px 0;border:1px solid var(--line);border-radius:14px;background:var(--wash)}.profile-attachments-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.profile-attachments-heading h3{font-size:15px}.profile-attachments-heading .file-picker{margin:0;min-height:40px;width:auto;font-size:12px}.profile-attachment-list{display:grid;gap:9px;margin:14px 0}.profile-attachment-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.profile-attachment-info{flex:1 1 150px;min-width:0}.profile-attachment-info strong{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere;color:var(--ink)}.profile-attachment-info small{display:block;margin-top:3px;font-size:11px;color:var(--muted)}.profile-attachment-row.is-removed{border-style:dashed}.profile-attachment-row.is-removed strong{text-decoration:line-through;color:var(--muted)}.profile-post-dialog :is(.profile-attachment-cover,.profile-cover-none){display:inline-flex;align-items:center;gap:7px;width:auto;margin:0;font-size:12px;white-space:nowrap}.profile-post-dialog input[name=articleCover]{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:var(--rose-deep);flex:none}.profile-attachment-row .text-button{min-height:38px;font-size:12px;padding:8px 12px}.profile-file-count{font-size:11px;color:var(--muted);margin:10px 0 0}
@media(max-width:480px){.profile-attachments-editor{padding:13px}.profile-attachment-row{gap:10px;padding:10px}.profile-attachment-info{flex-basis:100%}.profile-attachment-row .text-button{margin-left:auto;min-height:42px}}

/* Adapted from Uiverse.io by doniaskima, btn-31. */
.profile-post-button,
.profile-post-button *,
.profile-post-button::before{box-sizing:border-box}
.profile-post-button{-webkit-tap-highlight-color:transparent;appearance:button;position:relative;isolation:isolate;overflow:hidden;min-height:44px;margin:0;padding:10px 20px;border:1px solid var(--ink);border-radius:10px;background:var(--ink);color:#fff;font-family:inherit;font-size:13px;font-weight:900;line-height:1.5;cursor:pointer;touch-action:manipulation}
.profile-post-button::before{--progress:100%;content:"";position:absolute;inset:0;background:var(--paper);-webkit-clip-path:polygon(100% 0,var(--progress) var(--progress),0 100%,100% 100%);clip-path:polygon(100% 0,var(--progress) var(--progress),0 100%,100% 100%);transition:clip-path .2s ease}
.profile-post-button .text-container{display:block;position:relative;overflow:hidden}
.profile-post-button .text{display:block;position:relative;font-weight:900;mix-blend-mode:difference}
.profile-post-button:disabled{cursor:default;opacity:.5}
.profile-post-button:focus-visible{outline:2px solid var(--rose);outline-offset:4px}
.profile-post-button:focus-visible::before,.profile-post-button:not(:disabled):active::before{--progress:0%}
.profile-post-button:focus-visible .text{animation:profile-button-move-up .3s ease forwards}
@media(hover:hover) and (pointer:fine){.profile-post-button:not(:disabled):hover::before{--progress:0%}.profile-post-button:not(:disabled):hover .text{animation:profile-button-move-up .3s ease forwards}}
@keyframes profile-button-move-up{0%{transform:translateY(0)}50%{transform:translateY(80%)}51%{transform:translateY(-80%)}100%{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.profile-post-button::before{transition:none}.profile-post-button .text{animation:none!important}}
