/* Community media uses local artwork; announcement and policy typography stays intact. */
.shell .fluent-emoji,.shell .article .fluent-emoji{display:inline-block;width:1.65em;height:1.65em;max-width:none;max-height:none;vertical-align:-.43em;margin:0 .06em;border:0;border-radius:0;background:transparent;object-fit:contain}
.shell .social-reactions .fluent-emoji{width:24px;height:24px;margin:0}.shell .social-reactions button{display:inline-flex;align-items:center;gap:5px}
.shell .emoji-panel{width:392px;max-width:100%;padding:16px;border:1px solid #dfe5d8;border-radius:16px;background:#fafbf7;box-shadow:0 8px 28px #2838200c}
.emoji-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:13px}.emoji-panel-head span{color:#6a735f;font-size:11px}
.emoji-tabs{display:flex;gap:6px;margin-bottom:12px}.shell .emoji-tabs button{min-height:34px;padding:5px 13px;font-size:12px;border:0;background:transparent}.shell .emoji-tabs button[aria-pressed=true]{background:#ffe86c;color:#25291d}
.emoji-curated-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.shell .emoji-choice{display:grid;place-items:center;min-width:0;min-height:48px;padding:4px;background:transparent;border:1px solid transparent;border-radius:12px}.shell .emoji-choice:hover{background:white;border-color:#d8e1ce}.shell .emoji-choice .fluent-emoji{width:36px;height:36px;margin:0}
.shell .community-cover{display:block;width:auto;height:auto;max-width:100%;max-height:260px;align-self:flex-start;border-radius:10px;margin:16px 0 0;background:transparent;object-fit:contain}.shell .community-feed .notice>p{overflow-wrap:anywhere}
.shell details.comment-upload{margin:12px 0;padding:12px 0;border-top:1px solid #e3e7de;border-bottom:1px solid #e3e7de}.shell details.comment-upload summary{font-size:13px;color:#526047;cursor:pointer;padding:4px 0}.shell details.comment-upload[open] summary{margin-bottom:12px}
.shell .hub-comment.comment-highlight{background:#fff9d7;box-shadow:0 0 0 12px #fff9d7;border-radius:6px}
.social-today-details>summary{cursor:pointer;color:#59634f;font-size:13px;padding:12px 0}.social-today-details>summary span{font-size:11px;color:#6a735f;margin-left:8px}.social-today-details[open]>summary span{display:none}
@media(max-width:640px){.shell .content>.pagehead:has(#new-post){padding:20px;min-height:0;gap:12px}.shell .content>.pagehead:has(#new-post) h1{font-size:28px}.shell .content>.pagehead:has(#new-post) p{font-size:12px;margin-bottom:0}.shell .social-today{margin:18px 0}.shell .social-today h2{font-size:18px}.shell .social-today-details{border-bottom:1px solid #e3e7de}.shell .social-today-grid>section{padding:14px}.shell .social-today-grid{gap:10px}.shell .community-note{margin:14px 0}}
.viewing-image{overflow:hidden}
.community-lightbox{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;border:0;padding:0;background:#131613f5;color:#f8faf4;overflow:hidden}
.community-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.community-lightbox::backdrop{background:#131613ed}
.lightbox-bar,.lightbox-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;background:#131613;z-index:1}.lightbox-bar>div{display:flex;gap:10px;align-items:center}.lightbox-count{font-variant-numeric:tabular-nums;font-size:14px}
.community-lightbox button,.community-lightbox a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #4b5148;border-radius:10px;background:#292e27;color:#f8faf4;text-decoration:none;cursor:pointer;font-size:13px;font-family:inherit}.community-lightbox button:disabled{opacity:.35;cursor:default}.community-lightbox button:focus-visible,.community-lightbox a:focus-visible{outline:3px solid #ffe135;outline-offset:2px}
.lightbox-frame{position:relative;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;padding:16px;touch-action:pan-y}.lightbox-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:0;cursor:zoom-in}.lightbox-image[hidden]{display:none}.lightbox-frame.is-zoomed{display:block;touch-action:auto;text-align:center}.lightbox-frame.is-zoomed .lightbox-image{display:inline-block;max-width:none;max-height:none;min-width:100%;cursor:zoom-out}.lightbox-status{color:#e0e6d8;font-size:14px;text-align:center}.lightbox-status:empty{display:none}.lightbox-controls{justify-content:center;padding-bottom:max(16px,env(safe-area-inset-bottom))}.lightbox-controls span{font-size:12px;color:#aab2a3}
@media(max-width:640px){.shell .emoji-panel{padding:12px}.emoji-curated-grid{gap:3px}.shell .emoji-choice .fluent-emoji{width:32px;height:32px}.lightbox-bar{padding:12px}.lightbox-bar>div{gap:6px}.community-lightbox button,.community-lightbox a{padding:8px 10px;font-size:12px}.lightbox-controls span{display:none}.lightbox-frame{padding:8px}}
