.activity-nav-icon{position:relative;display:inline-flex;align-items:center;justify-content:center}
.activity-nav-icon svg{width:24px;height:24px}
.activity-badge{position:absolute;top:-7px;right:-10px;min-width:16px;height:16px;padding:0 3px;border-radius:20px;background:#b74727;color:#fff;font:700 10px/16px system-ui;text-align:center;border:1px solid #fff}
.activity-badge[hidden]{display:none}
html[data-design] #main .creator-profile-choice .profile-edit-icon{left:auto;right:16px}
@media(max-width:400px){html[data-design] #main .creator-profile-choice .profile-edit-icon{left:auto;right:12px}}
.activity-page{max-width:760px;margin:auto}
.activity-heading,.activity-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.activity-heading h1{margin:0}
.activity-tools{margin:20px 0}
.activity-tabs{display:flex;gap:8px;flex-wrap:wrap}
.activity-tabs button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}
.activity-list{list-style:none;padding:0;margin:16px 0;border:1px solid var(--line,#d0d9dc);border-radius:22px;background:var(--paper,#fffdf9);overflow:hidden}
.activity-item{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:14px;margin:0;border-bottom:1px solid var(--line,#d0d9dc);overflow-wrap:anywhere}
.activity-item:last-child{border-bottom:0}
.activity-page.activity-reading .activity-item.is-unread{background:var(--soft,#e5eff2)}
.activity-item-content{min-width:0}
.activity-symbol{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#fbe6df;color:#aa4e2d}
.activity-symbol svg{width:17px;height:17px}
.activity-symbol-favorite svg{fill:currentColor;stroke-width:1.2}
.activity-symbol-comment{background:#e4eff5;color:#356e8c}
.activity-symbol-follow{background:#fae9d7;color:#a65026}
.activity-symbol-rating{background:#fff0be;color:#b4800c}
.activity-symbol-rating svg{fill:currentColor;stroke-width:1}
.activity-symbol-repost{background:#e1efe4;color:#34734b}
.activity-avatars{display:flex;align-items:center;min-height:32px;margin-bottom:6px;padding-inline-start:2px}
.activity-avatars .activity-avatar{box-sizing:border-box;width:32px;height:32px;min-height:32px;border:2px solid var(--paper,#fffdf9);margin-inline-start:-2px}
.activity-avatars .activity-avatar+.activity-avatar{margin-inline-start:-10px}
.activity-avatars .activity-avatar:hover,.activity-avatars .activity-avatar:focus-visible{position:relative;z-index:1}
.activity-avatars-more{font-family:inherit;font-size:.8rem;font-weight:700;line-height:1;color:var(--ink,#193343)}
.activity-avatar{display:block;align-self:start;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:var(--soft);overflow:hidden;flex:none}
button.activity-avatar{cursor:pointer}
.activity-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.activity-avatar:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.activity-item .activity-summary{margin:0 0 5px;line-height:1.45}
.activity-time{display:block;font-size:.8rem;color:var(--muted,#586871)}
.activity-item blockquote{margin:8px 0;padding:6px 10px;border-inline-start:2px solid var(--line,#cbd4d8);font-size:.95rem;white-space:pre-wrap}
.activity-link,.activity-more-people{border:0;padding:0;min-height:0;background:none;color:var(--ink,#193343);font:inherit;font-weight:700;text-align:start;cursor:pointer}
.activity-link:hover,.activity-more-people:hover{text-decoration:underline;text-underline-offset:3px}
.activity-link:focus-visible,.activity-more-people:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.activity-rating-value{white-space:nowrap;color:#927020}
.activity-recipe-preview{display:block;box-sizing:border-box;width:100%;padding:0;margin:8px 0 0;border:1px solid var(--line,#d0d9dc);border-radius:14px;overflow:hidden;background:var(--paper,#fffdf9);color:var(--ink,#193343);text-align:start;font:inherit;cursor:pointer}
.activity-recipe-preview>img{display:block;width:100%;aspect-ratio:3/1;max-height:165px;object-fit:cover}
.activity-recipe-title{display:grid;gap:3px;padding:8px 10px}
.activity-recipe-title small{display:none}
.activity-recipe-title strong{line-height:1.3}
.activity-recipe-preview:hover{border-color:var(--accent)}
.activity-recipe-preview:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.activity-new{display:inline-block;width:7px;height:7px;margin-inline-start:6px;border-radius:50%;background:var(--accent)}
.activity-status{padding:18px;border-radius:18px;background:var(--paper,#fffdf9)}
.activity-actors-dialog{box-sizing:border-box;width:min(480px,calc(100% - 28px));max-height:80vh;max-height:80dvh;padding:20px;border:1px solid var(--line,#d0d9dc);border-radius:22px;background:var(--paper,#fffdf9);color:var(--ink,#193343);overflow:auto}
.activity-actors-dialog::backdrop{background:rgb(16 36 48 / .45)}
.activity-actors-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.activity-actors-dialog h2{margin:0;font-size:1.2rem}
.activity-actors-close{flex:none;width:40px;height:40px;padding:0;border:1px solid var(--line,#d0d9dc);border-radius:50%;background:var(--paper,#fffdf9);color:inherit;font:inherit;font-size:1.5rem;cursor:pointer}
.activity-actors-dialog ul{list-style:none;padding:0;margin:14px 0 0}
.activity-actors-dialog li{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#d0d9dc);overflow-wrap:anywhere}
.activity-actors-dialog li:last-child{border:0}
.activity-actors-dialog .activity-link{min-width:0}
@media(max-width:400px){.activity-tools>.btn{width:100%}.activity-item{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:12px 10px}.activity-symbol{width:28px;height:28px}.activity-avatars .activity-avatar{width:30px;height:30px;min-height:30px}.activity-avatars{min-height:30px}.activity-avatars-more{font-size:.75rem}.activity-recipe-title{padding:7px 9px}}
@media(max-width:350px){.activity-recipe-preview>img{aspect-ratio:4/1}}
