* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #f6f7ef; color: #193c2c; font: 16px/1.55 system-ui, sans-serif; }
header { background: #16432e; padding: .95rem max(5vw, 1rem); }
header a { color: white; font-weight: 750; text-decoration: none; }
main { max-width: 53rem; margin: auto; padding: clamp(.9rem, 3vw, 1.6rem); }
h1, h2, h3, p { margin: 0 0 .65rem; }
h1 { font: bold clamp(2.4rem, 8vw, 4.25rem)/1 Georgia, serif; }
h2 { font-size: 1.35rem; }
a { color: #175334; }
nav, .inline-actions, .account-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.community-intro { background: #e8efde; padding: clamp(1.1rem, 4vw, 2.2rem); border: 1px solid #d3e1ce; border-radius: 1.25rem; }
.community-intro p { margin-bottom: 0; max-width: 40rem; }
.announcement { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin: 1rem 0; padding: .85rem; background: #fff5d8; border: 1px solid #e6d59e; border-radius: .8rem; }
.announcement p { margin: .2rem 0 0; }
#notice { font-weight: 650; padding-inline: .25rem; }
#notice:empty { display: none; }
#guest { margin-top: 1rem; }
form, .panel, article, details { margin: 1rem 0; background: #fff; border: 1px solid #d5dfd5; border-radius: 1rem; padding: clamp(.85rem, 3vw, 1.35rem); }
form form, details form, #avatar-form { padding: .75rem 0 0; margin: 0; border: 0; }
summary { cursor: pointer; font-weight: 700; }
details > p:first-of-type, details > h2:first-of-type { margin-top: 1rem; }
label { display: block; margin: .7rem 0; font-weight: 650; }
input, textarea { display: block; width: 100%; min-width: 0; padding: .65rem; color: inherit; font: inherit; border: 1px solid #839987; border-radius: .55rem; background: #fff; }
input[type=checkbox] { display: inline; width: auto; }
input[type=file] { font-size: .94rem; }
textarea { resize: vertical; }
button { cursor: pointer; background: #22603c; color: #fff; font: inherit; font-weight: 700; min-height: 42px; border: 1px solid transparent; border-radius: .65rem; padding: .45rem .75rem; }
button:disabled { opacity: .55; cursor: default; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #84702d; outline-offset: 3px; }
.secondary { background: #edf4e9; color: #214b34; border-color: #d6e4d4; }
.hint, #join-avatar-label { display: block; color: #4a6151; font-size: .88rem; font-weight: 400; }
.account-panel { display: flex; gap: .8rem; flex-direction: column; }
.account-panel h2, .account-panel p { margin: 0; overflow-wrap: anywhere; }
.member-byline { display: flex; align-items: center; gap: .75rem; }
.member-avatar { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: #e0ecdc; color: #245438; font-weight: 800; }
.member-avatar > img, .member-avatar > canvas, .member-avatar > .avatar-symbol { width: 100%; height: 100%; object-fit: cover; }
.account-panel .member-avatar { width: 64px; height: 64px; font-size: 1.7rem; }
.member-byline p { margin: 0; color: #425749; font-size: .89rem; overflow-wrap: anywhere; }
.post-category { display: inline-block; color: #285a42; font-size: .79rem; font-weight: 750; margin-left: .35rem; }
.share-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .6rem; }
.share-actions button { text-align: left; color: #234933; background: #eef5e9; border: 1px solid #dbe7d7; min-height: 52px; }
.share-actions button[aria-expanded=true] { background: #225e3d; color: white; }
.share-actions span { display: inline-block; min-width: 1.6rem; }
.feed-heading { margin-top: 1.6rem; }
.feed-card { box-shadow: 0 3px 10px #193c2c0a; }
.feed-card article { background: #f8faf5; padding: .75rem; }
.feed-card p { overflow-wrap: anywhere; white-space: pre-wrap; }
.post-body { margin: .85rem 0; }
.post-actions { margin: .75rem 0; }
.comments-form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; align-items: flex-end; }
.comments-form textarea { flex: 1 1 10rem; min-height: 42px; }
.recipe-detail { margin-top: .85rem; }
.recipe-detail h3 { margin: .65rem 0 .25rem; font-size: 1rem; }
.recipe-detail :is(ol, ul) { margin-top: 0; padding-left: 1.5rem; overflow-wrap: anywhere; }
.recipe-photo, .recipe-video, .youtube-player { display: block; width: 100%; max-height: 34rem; object-fit: contain; background: #e8efe4; border: 0; border-radius: .75rem; margin: .75rem 0; }
.youtube-player { min-height: 200px; aspect-ratio: 16 / 9; background: #172d22; }
.youtube-prompt { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .75rem 0; }
.youtube-link { font-weight: 650; }
#composer-status, #profile-status, #avatar-status { margin: .45rem 0 0; }
.join-avatar { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
dialog { width: min(47rem, calc(100% - 1.5rem)); max-height: 88dvh; overflow-y: auto; background: #fff; color: inherit; border: 1px solid #d5dfd5; border-radius: 1rem; padding: clamp(.8rem, 3vw, 1.25rem); }
dialog::backdrop { background: #102719a6; }
.picker-header { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.picker-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin: .75rem 0; }
.picker-filters button[aria-pressed=true] { background: #225e3d; color: white; }
.avatar-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: .45rem; }
.avatar-options button { display: grid; place-items: center; padding: .25rem; background: #f3f6ef; border: 2px solid transparent; }
.avatar-options button[aria-pressed=true] { border-color: #287044; background: #e2efdf; }
.avatar-options canvas, .avatar-options .avatar-symbol { display: grid; place-items: center; width: min(100%, 58px); aspect-ratio: 1; border-radius: 50%; }
.avatar-symbol { display: grid; place-items: center; font-size: 1.65rem; }
.picker-footer { position: sticky; bottom: 0; background: #fff; margin-top: .75rem; padding-block: .6rem .2rem; border-top: 1px solid #d5dfd5; }

header .games-link { float: right; margin-left: 1rem; }

.community-news-link { display:block; padding:.65rem; margin:.55rem 0; border:1px solid #bed3bb; border-radius:.45rem; background:#edf4e9; font-weight:750; }
