/* Owner-approved 厨友圈 2026-09-03: scoped; recipes and following are unchanged. */
.community-page .discover-sticky-stack { position:static; padding-bottom:16px; }
.discovery-entry-page.community-page .discover-compact-controls { display:flex; align-items:center; gap:8px; margin-top:8px; }
.discovery-entry-page.community-page .discover-filter-scroll { flex:1; gap:8px; }
.discovery-entry-page.community-page .discover-filter-scroll button { flex:none; min-height:44px; padding:0 16px; border-radius:12px; font-size:14px; font-weight:400; }
.discovery-entry-page.community-page .discover-filter-scroll button.active { font-weight:600; }
.community-page .community-share-filter { box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:7px; flex:none; width:92px; height:44px; min-height:44px; padding:0 13px; border:1px solid #f2c8a6; border-radius:12px; color:#a94b0b; background:linear-gradient(135deg,#fff4ea,#ffe8d2); font-size:14px; font-weight:600; white-space:nowrap; }
.community-share-filter .community-share-icon { display:block; flex:none; width:20px; height:20px; }
.community-page .community-share-filter:active { background:#ffdfc1; }
.community-page .community-feed { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; columns:auto; }
.community-page .community-column { display:flex; flex-direction:column; gap:14px; min-width:0; }
.community-page .community-card { display:block; width:100%; min-width:0; margin:0; border:1px solid #f0ece7; border-radius:12px; background:#fff; box-shadow:none; }
.community-page .community-card .community-card-media { display:block; width:100%; padding:0; border:0; border-radius:0; aspect-ratio:auto; background:#f2eee7; }
.community-page .community-card-media img,.community-page .community-card-media video { display:block; width:100%; height:auto; }
.community-page .community-card-media::after { display:none; }
.community-page .community-card-media video { pointer-events:none; }
.community-page .community-play { width:30px; height:30px; top:10px; right:10px; left:auto; transform:none; background:#29263199; pointer-events:none; }
.community-page .community-play::after { top:8px; left:12px; border-top:7px solid transparent; border-bottom:7px solid transparent; border-left:10px solid #fff; }
.community-page .community-card-copy { padding:8px 7px 5px; }
.community-page .community-caption { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; width:100%; min-height:48px; padding:0; margin:0; border:0; color:#28252d; background:none; text-align:left; font-size:16px; font-weight:400; line-height:1.5; }
.community-page .community-meta { display:flex; align-items:center; gap:4px; min-height:44px; color:#655e6c; font-size:12px; }
.community-page .community-author { flex:1; min-width:0; gap:4px; margin:0; color:#655e6c; font-size:12px; }
.community-page .community-author span { width:20px; height:20px; flex:0 0 20px; color:#4f35c8; background:#f2eeff; font-weight:400; }
.community-page .community-author b { font-size:12px; font-weight:400; }
.community-page .community-like { display:flex; align-items:center; justify-content:flex-end; gap:3px; flex:none; min-width:44px; min-height:44px; padding:0; border:0; color:#655e6c; background:none; font-size:12px; }
.community-like img { width:18px; height:18px; }
.community-page .community-empty { display:flex; flex-direction:column; align-items:center; padding:64px 16px; border:0; border-radius:0; background:none; box-shadow:none; }
.community-empty .community-empty-icon { display:block; width:64px; height:64px; margin-bottom:20px; }
.community-page .community-empty b { font-size:18px; font-weight:500; }
.community-page .community-empty p { margin:8px 0 0; color:#655e6c; font-size:14px; line-height:1.7; }
.community-page .community-end { margin:22px 0; text-align:center; color:#655e6c; font-size:12px; }
@media(max-width:380px) { .discovery-entry-page.community-page .discover-filter-scroll { gap:6px; } .discovery-entry-page.community-page .discover-filter-scroll button { padding:0 13px; } .community-page .community-share-filter { width:88px; padding:0 10px; } }

/* Owner-approved rich 厨友圈 post R7, 2026-09-06. */
.community-composer-dialog { width:min(100% - 20px,620px); }
.community-composer-dialog form { display:flex; flex-direction:column; gap:16px; padding:18px; }
.community-share-tabs { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border:1px solid #e8e0dc; border-radius:14px; background:#fff; }
.community-share-tabs button { min-width:0; min-height:46px; padding:0 8px; border:0; color:#4b434d; background:#fff; font:inherit; font-size:13px; }
.community-share-tabs button.active { border:1px solid #9f80ef; border-radius:13px; color:#5b36cd; background:#fbf9ff; font-weight:650; }
.community-title-field,.community-body-field { display:block; }
.community-title-field>span,.community-body-field>span { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; font-size:15px; font-weight:700; }
.community-title-field input { box-sizing:border-box; width:100%; min-height:48px; padding:0 14px; border:1px solid #e7deda; border-radius:14px; color:#302832; background:#fff; font:inherit; font-size:16px; font-weight:600; }
.community-body-field>span button { flex:0 0 auto; width:auto; min-width:0; min-height:36px; padding:0 12px; border:1px solid #d9ccff; border-radius:12px; color:#5734cf; background:#faf8ff; font:inherit; font-size:12px; font-weight:650; white-space:nowrap; }
.community-body-field textarea { min-height:112px; }
.community-body-field>small { display:block; margin-top:7px; color:#817987; font-size:11px; line-height:1.55; }
.rich-media-picker { margin-top:0; }
.community-draft-media-grid { display:flex; gap:8px; overflow-x:auto; padding:0 0 3px; scroll-snap-type:x proximity; scrollbar-width:none; }
.community-draft-media-grid::-webkit-scrollbar { display:none; }
.community-draft-media-card { flex:0 0 calc((100% - 16px)/3); min-width:0; overflow:hidden; border:1px solid #e9dfda; border-radius:14px; background:#fff; scroll-snap-align:start; }
.community-draft-media-visual { position:relative; aspect-ratio:1/1.12; overflow:hidden; background:#f1ece8; }
.community-draft-media-visual img,.community-draft-media-visual video { display:block; width:100%; height:100%; object-fit:cover; }
.community-cover-badge { position:absolute; left:7px; bottom:7px; padding:3px 7px; border-radius:999px; color:#fff; background:#6c4cf1; font-size:10px; }
.community-image-caption { box-sizing:border-box; width:100%; height:76px; padding:9px; resize:none; border:0; border-bottom:1px solid #eee5e1; color:#39323a; background:#fff; font:inherit; font-size:12px; line-height:1.45; }
.community-draft-media-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); min-height:34px; }
.community-draft-media-actions button { min-width:0; padding:0; border:0; border-right:1px solid #eee5e1; color:#665c63; background:#fff; font:inherit; font-size:10px; }
.community-draft-media-actions button:last-child { border-right:0; color:#9b554f; }
.community-add-media { min-height:76px!important; margin-top:10px; grid-template-columns:auto 1fr!important; grid-template-rows:auto auto!important; column-gap:10px; padding:12px 16px!important; text-align:left!important; }
.community-add-media i { grid-row:1/3; font-size:26px!important; }
.community-add-media b { align-self:end; justify-self:start; }
.community-add-media small { align-self:start; justify-self:start; }
.community-media-order-note { margin:-8px 0 0; color:#817987; font-size:11px; }
.community-new-recipe { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:10px 14px; border:1px solid #dfd4ff; border-radius:14px; color:#4f35c8; background:#faf8ff; font:inherit; text-align:left; }
.community-new-recipe b { color:#4b414c; font-size:12px; }
.community-new-recipe span { font-size:12px; font-weight:650; }
.community-composer-dialog .community-related-select,.community-composer-dialog .community-review-note { margin:0; }
.community-post-dialog { padding:0 0 24px; }
.community-edit-row { display:flex; justify-content:flex-end; margin:8px 0; }
.community-edit-row button { min-height:44px; padding:0 14px; border:1px solid #dfd4ff; border-radius:12px; background:#faf8ff; color:#4f35c8; font:inherit; font-size:14px; }
.community-post-content h2.community-title-fallback { position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
.community-post-content { padding:26px 20px 20px; }
.community-post-content h2 { margin:16px 42px 12px 0; font-size:24px; font-weight:650; }
.community-post-body { margin:12px 0 18px; color:#4c434b; font-size:15px; line-height:1.75; white-space:pre-wrap; }
.community-post-gallery { display:flex; flex-direction:column; gap:18px; margin:0 -20px 18px; }
.community-post-gallery figure { margin:0; }
.community-post-gallery img { display:block; width:100%; height:auto; max-height:680px; object-fit:contain; background:#f2eee9; }
.community-post-gallery figcaption { padding:9px 20px 0; color:#5f555d; font-size:13px; line-height:1.65; }
.community-post-content>.community-post-media { margin:0 -20px 18px; border-radius:0; }
.community-organize-recipe { width:100%; min-height:48px; margin:12px 0; border:1px solid #dfd4ff; border-radius:13px; color:#4f35c8; background:#faf8ff; font:inherit; font-size:13px; font-weight:650; }
.community-share-work { width:100%; min-height:48px; margin-top:18px; border:0; border-radius:13px; color:#fff; background:#6c4cf1; font:inherit; font-size:14px; font-weight:650; }
@media(max-width:390px){.community-draft-media-grid{gap:6px}.community-image-caption{height:70px;padding:7px;font-size:11px}.community-draft-media-actions button{font-size:9px}}

/* Owner-approved constrained multi-image layouts, 2026-09-06. */
.community-set-cover { position:absolute; left:7px; bottom:7px; min-height:30px; padding:0 9px; border:1px solid rgba(255,255,255,.76); border-radius:999px; color:#fff; background:rgba(40,37,45,.72); font:inherit; font-size:10px; }
.community-layout-picker { margin:0; padding:0; border:0; }
.community-layout-picker legend { display:flex; width:100%; align-items:center; justify-content:space-between; margin-bottom:8px; padding:0; font-size:15px; font-weight:700; }
.community-layout-picker legend small { color:#817987; font-size:11px; font-weight:400; }
.community-layout-picker>div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.community-layout-option { min-width:0; min-height:82px; padding:7px 3px; border:1px solid #e2dcdf; border-radius:12px; color:#655e6c; background:#fff; font:inherit; text-align:center; }
.community-layout-option.active { border-color:#6c4cf1; color:#4f35c8; background:#faf8ff; box-shadow:inset 0 0 0 1px #6c4cf1; }
.community-layout-option b,.community-layout-option small { display:block; }
.community-layout-option b { margin-top:5px; font-size:11px; font-weight:650; white-space:nowrap; }
.community-layout-option small { margin-top:2px; color:#817987; font-size:9px; white-space:nowrap; }
.community-layout-icon { width:40px; height:27px; margin:0 auto; display:grid; gap:2px; }
.community-layout-icon span { display:block; border-radius:2px; background:#d6cedd; }
.community-layout-option.active .community-layout-icon span { background:#a895f7; }
.community-layout-icon--auto { grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; }
.community-layout-icon--auto span:first-child { grid-row:1/3; }
.community-layout-icon--hero { grid-template-columns:repeat(3,1fr); grid-template-rows:2fr 1fr; }
.community-layout-icon--hero span:first-child { grid-column:1/4; }
.community-layout-icon--grid { grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; }
.community-layout-icon--flow { grid-template-rows:repeat(4,1fr); }
.community-layout-picker>p { margin:7px 0 0; color:#817987; font-size:11px; line-height:1.5; }

.community-post-gallery:not(.community-post-gallery--flow) { display:grid; gap:4px; margin:0 0 18px; overflow:hidden; border-radius:16px; background:#f2eee9; }
.community-post-gallery:not(.community-post-gallery--flow) figure { position:relative; min-width:0; min-height:0; overflow:hidden; background:#f2eee9; }
.community-post-gallery:not(.community-post-gallery--flow) img { width:100%; height:100%; max-height:none; object-fit:cover; }
.community-post-gallery:not(.community-post-gallery--flow) figcaption { position:absolute; left:0; right:0; bottom:0; padding:24px 8px 7px; color:#fff; background:linear-gradient(transparent,rgba(27,22,26,.72)); font-size:11px; line-height:1.4; }
.community-post-gallery--hero { grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:246px; grid-auto-rows:112px; }
.community-post-gallery--hero figure:first-child { grid-column:1/-1; }
.community-post-gallery--auto { grid-template-columns:2fr 1fr; grid-template-rows:repeat(2,170px); }
.community-post-gallery--auto figure:first-child { grid-row:1/3; }
.community-post-gallery--grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:190px; }
.community-post-gallery--flow { display:flex; flex-direction:column; gap:18px; }
.community-post-gallery--flow img { height:auto; max-height:680px; object-fit:contain; }
.community-post-gallery--flow figcaption { position:static; padding:9px 20px 0; color:#5f555d; background:none; font-size:13px; }
.community-related-card { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:center; min-height:66px; padding:8px; border:1px solid #e2daf8; border-radius:14px; background:#fff; }
.community-related-main { min-width:0; padding:4px 7px; border:0; color:#28252d; background:transparent; font:inherit; text-align:left; }
.community-related-main small,.community-related-main b { display:block; }
.community-related-main small { color:#655e6c; font-size:11px; }
.community-related-main b { margin-top:4px; font-size:14px; }
.community-related-collect { min-height:44px; padding:0 11px; border:1px solid #6c4cf1; border-radius:11px; color:#4f35c8; background:#fff; font:inherit; font-size:12px; font-weight:650; }
.community-post-author{display:flex;align-items:center;justify-content:space-between;gap:12px}.community-post-author-main{display:flex;align-items:center;gap:10px;min-width:0;padding:0;border:0;color:#28252d;background:transparent;font:inherit;text-align:left}.community-post-author-main:disabled{opacity:1}.community-post-author-main>i{display:grid;width:40px;height:40px;flex:none;place-items:center;overflow:hidden;border-radius:50%;color:#4f35c8;background:#f2eeff;font-style:normal;font-weight:700}.community-post-author-main>i img{width:100%;height:100%;object-fit:cover}.community-post-author-main>span{min-width:0}.community-post-author-main b,.community-post-author-main small{display:block}.community-post-author-main b{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.community-post-author-main small{margin-top:3px;color:#655e6c;font-size:11px}.community-post-follow{min-width:76px;min-height:40px;padding:0 14px;border:0;border-radius:12px;color:#fff;background:#6c4cf1;font:inherit;font-size:13px;font-weight:650}.community-post-follow.is-followed{color:#4f35c8;background:#f2eeff}
.community-related-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center}.community-related-main>img,.community-related-placeholder{display:grid;width:48px;height:48px;place-items:center;border-radius:10px;object-fit:cover;color:#4f35c8;background:#f2eeff;font-size:14px}.community-related-main>span{min-width:0}.community-related-main>span b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.community-organize-recipe{display:flex;width:100%;min-height:58px;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:10px 14px;border:1px solid #dfd4ff;border-radius:14px;color:#4f35c8;background:#faf8ff;font:inherit;text-align:left}.community-organize-recipe span small,.community-organize-recipe span b{display:block}.community-organize-recipe span small{color:#655e6c;font-size:11px}.community-organize-recipe span b{margin-top:3px;font-size:13px}.community-organize-recipe>i{font-size:24px;font-style:normal}.community-post-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:hidden;border:1px solid #eee6df;border-radius:12px;background:#fff}.community-post-actions>*{display:grid!important;min-height:46px!important;place-items:center!important;margin:0!important;padding:0 6px!important;border:0!important;border-radius:0!important;background:transparent!important;font:inherit!important;font-size:13px!important}.community-post-actions>*+*{border-left:1px solid #eee6df!important}

@media(max-width:390px){
  .community-layout-picker>div{gap:5px}
  .community-layout-option{min-height:78px;padding-right:2px;padding-left:2px}
  .community-layout-option b{font-size:10px}
  .community-layout-option small{font-size:8px}
  .community-post-gallery--hero{grid-template-rows:218px;grid-auto-rows:96px}
  .community-post-gallery--auto{grid-template-rows:repeat(2,148px)}
  .community-post-gallery--grid{grid-auto-rows:166px}
}
