.profile-edit-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:var(--surface);font:700 13px/1.3 var(--font-ui),sans-serif;text-decoration:none}.profile-edit-link:focus-visible,.profile-edit-link:hover{outline:2px solid var(--profile-accent,var(--accent));outline-offset:2px}.profile-hero__avatar,.profile-hero__banner{position:relative}.profile-hero--reader-passport .profile-hero__banner{height:220px;min-height:0}.profile-hero--reader-passport .profile-hero__banner>img{position:absolute;inset:0}.profile-hero--reader-passport .profile-hero__identity{margin-top:-32px;align-items:start}.profile-hero--reader-passport .profile-hero__copy{padding-top:40px}.profile-edit-link--banner{position:absolute;bottom:12px;right:12px;z-index:2}.profile-edit-link--avatar{position:absolute;bottom:2px;right:2px;width:36px;min-height:36px;padding:0;z-index:2}.profile-edit-link--avatar span{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.profile-hero__copy>.profile-edit-link{margin-top:8px;justify-self:start}[data-profile-theme=fantasy]{--profile-accent:#236f58}[data-profile-theme=space]{--profile-accent:#276985}[data-profile-theme=mystery]{--profile-accent:#934a5b}[data-profile-theme=romance]{--profile-accent:#ac4663}.profile-page-layout[data-profile-theme] .profile-hero{border-color:var(--profile-accent)}.profile-page-layout[data-profile-theme] .profile-hero__banner img{object-position:50% 25%}.profile-page-layout[data-profile-theme] .profile-hero__actions .primary-link{background:var(--profile-accent);color:#fff;border-color:var(--profile-accent)}.profile-page-layout[data-profile-theme] .profile-hero__avatar{border-color:var(--profile-accent)}.profile-page-layout[data-profile-theme] .profile-tabs a.is-active{background:var(--profile-accent);color:#fff}#profile-about,#profile-avatar,#profile-banner,#profile-themes{scroll-margin-top:24px}.profile-theme-picker{min-width:0;padding-block:20px;border-block:1px solid var(--line)}.profile-theme-picker__heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:16px}.profile-theme-picker__heading h2{margin:0;font:800 22px/1.25 var(--font-ui),sans-serif}.profile-theme-picker__parts{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:6px}.profile-theme-picker__parts button{min-height:38px;padding:8px 12px;border:0;border-radius:4px;background:transparent;color:var(--ink);font:700 13px/1.2 var(--font-ui),sans-serif;cursor:pointer}.profile-theme-picker__parts button[aria-pressed=true]{color:#fff;background:#3b4751}.profile-theme-picker__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.profile-theme-picker__choice{min-width:0;display:grid;align-content:start;padding:0 0 12px;grid-gap:7px;gap:7px;text-align:left;border:2px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);overflow:hidden;cursor:pointer}.profile-theme-picker__choice[aria-pressed=true]{border-color:var(--profile-accent,var(--accent));outline:2px solid var(--profile-accent,var(--accent));outline-offset:2px}.profile-theme-picker__choice:focus-visible{outline:3px solid var(--ink);outline-offset:3px}.profile-theme-picker__art{position:relative;display:block;width:100%;aspect-ratio:2/1;overflow:hidden}.profile-theme-picker__art img{object-fit:cover;object-position:50% 30%}.profile-theme-picker__choice strong{padding-inline:10px;font:800 15px/1.3 var(--font-ui),sans-serif}.profile-theme-picker__choice small{padding-inline:10px;font:400 12px/1.4 var(--font-ui),sans-serif;color:var(--muted)}.profile-settings-preview-switcher summary{cursor:pointer;min-height:40px;padding-block:10px;font-weight:700}@media (max-width:720px){.profile-hero--reader-passport .profile-hero__banner{height:160px}.profile-theme-picker__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-theme-picker__choice strong{font-size:14px}.profile-edit-link--banner{bottom:8px;right:8px}.profile-edit-link--banner span{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%)}.profile-edit-link--banner{width:44px;padding:0}.profile-theme-picker__parts button{min-height:44px;padding-inline:10px}}@media (min-width:1220px) and (max-width:1400px){body:has(.profile-page-layout) .site-header.site-header--unified,body:has(.profile-settings-form) .site-header.site-header--unified{grid-template-columns:minmax(0,1fr) auto}body:has(.profile-page-layout) .site-header.site-header--unified .site-header__search--desktop,body:has(.profile-settings-form) .site-header.site-header--unified .site-header__search--desktop{display:none}}