.social {
  --soc-line: color-mix(in srgb,currentColor 20%,transparent);
  --soc-soft: color-mix(in srgb,currentColor 5%,transparent);
  --soc-strong: var(--accent,#a12747);
  width:100%;
  min-width:0;
  overflow-wrap:anywhere;
}
.social h1,.social h2,.social blockquote {font-family:Georgia,'Times New Roman',serif;font-weight:400}
.social h1 {font-size:clamp(2.5rem,6vw,4.5rem);line-height:1.02;margin:0}
.social h2 {font-size:clamp(1.7rem,4.5vw,2.5rem);line-height:1.12;margin:0}
.soc-head,.soc-footer,.soc-controls,.soc-person,.soc-filter,.soc-like-caption {display:flex;align-items:center;gap:.75rem}
.soc-head {justify-content:space-between;flex-wrap:wrap;margin-bottom:1.2rem}
.soc-footer {margin:1rem 0;justify-content:space-between}
.soc-controls {flex-wrap:wrap}
.soc-icon,.soc-tabs button,.soc-thread {font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.soc-icon {width:44px;height:44px;display:inline-grid;place-items:center;border:1px solid var(--soc-line);border-radius:50%;flex-shrink:0}
.soc-empty,.soc-incoming,.soc-chat,.soc-settings,.soc-tabs,.soc-thread {max-width:48rem;margin-inline:auto}
.soc-empty {padding:clamp(2rem,8vw,5rem) 0}
.soc-tabs {display:flex;gap:1.5rem;border-bottom:1px solid var(--soc-line);margin-block:1.25rem 1.75rem}
.soc-tabs button {min-height:44px;font-size:1rem;border-bottom:2px solid transparent}
.soc-tabs button[aria-pressed=true] {color:var(--soc-strong);border-color:currentColor}
.soc-incoming {padding:clamp(1rem,4vw,2rem);border:1px solid var(--soc-line);border-radius:1.2rem}
.soc-person>img {width:64px;height:76px;object-fit:cover;border-radius:.6rem}
.soc-person .soc-icon {margin-left:auto}
.soc-person h1 {font-size:clamp(2rem,6vw,3rem)}
.soc-person p,.soc-person small {margin:.25rem 0 0;opacity:.75}
.soc-like-caption {margin:1.5rem 0 .8rem;color:var(--soc-strong);font-size:.9rem}
.soc-origin {border-left:2px solid var(--soc-strong);padding:.5rem 0 .5rem 1.1rem;margin:1rem 0 1.5rem}
.soc-origin span {font-size:.9rem;opacity:.8}
.soc-origin blockquote {margin:.5rem 0 0;font-size:clamp(1.4rem,3vw,1.85rem);line-height:1.25;white-space:pre-wrap}
.soc-origin-photo {width:min(100%,320px);border-radius:.8rem}
.soc-thread {width:100%;text-align:left;padding:1rem 0;border-bottom:1px solid var(--soc-line)}
.soc-thread span {min-width:0}
.soc-thread strong,.soc-thread small {display:block}
.soc-thread small {overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.soc-thread strong {font-family:Georgia,serif;font-size:1.6rem;font-weight:400}
.soc-settings {margin-block:1.2rem;display:flex;flex-wrap:wrap;gap:.6rem}
.soc-danger {color:var(--soc-strong)!important}
.soc-notice {border-left:3px solid var(--soc-strong);padding:.65rem 1rem;background:var(--soc-soft)}
.soc-liked {color:var(--soc-strong)!important}
.soc-liked svg {fill:currentColor}
.soc-message {background:var(--soc-soft);padding:.8rem 1rem;border-radius:1rem 1rem .2rem 1rem;width:fit-content;max-width:85%;margin:.7rem 0 .7rem auto;white-space:pre-wrap}
#soc-compose {margin:1.5rem 0;display:grid;gap:.65rem}
#soc-compose textarea {resize:vertical;min-height:54px;width:100%;box-sizing:border-box;border:1px solid var(--soc-line);padding:.75rem;border-radius:.6rem;font:inherit;color:inherit;background:transparent}
#soc-compose .btn {justify-self:end}
#soc-compose small {opacity:.72}
.soc-scrim {--sheet-height:min(100dvh,var(--visible-height,100dvh),var(--tg-viewport-height,100dvh));position:fixed;inset:0;height:var(--sheet-height);display:flex;align-items:flex-end;justify-content:center;background:#17141475;z-index:100}
.soc-sheet {--sheet-padding:clamp(1rem,4vw,2rem);width:min(100%,560px);max-height:max(0px,min(88dvh,calc(var(--sheet-height) - var(--edge-top))));overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;background:var(--bg,#fbf8f2);color:inherit;border-radius:1.25rem 1.25rem 0 0;padding:var(--sheet-padding);padding-bottom:max(var(--sheet-padding),var(--edge-bottom));box-shadow:0 -8px 40px #0002}
.soc-sheet>.btn,.soc-sheet form>.btn {width:100%;margin-top:.5rem}
.soc-sheet .soc-head {flex-wrap:nowrap}
.soc-sheet fieldset {min-width:0}
#soc-report fieldset {border:0;padding:0;margin:1rem 0}
#soc-report fieldset label {min-height:44px;display:flex;align-items:center;gap:.65rem}
#soc-report input {width:1rem;height:1rem;accent-color:var(--soc-strong)}
.soc-status {position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
.social {padding-block:clamp(1.15rem,3vw,2rem)}
