/* NutieSchool community feed v2: body-first, one-column, brand-native */
:root{--community-v2-accent:#82bc43;--community-v2-accent-soft:rgba(130,188,67,.11);--community-v2-border:#e8ece4;--community-v2-muted:#77806f;--community-v2-card:#fff}
#view-channels.community-v2-feed-mode #channels-grid-container{display:none!important}
/* Desktop feed alignment: keep the Instagram-like feed visually central while preserving quick access to the left rail. */
@media (min-width: 1100px){
  #view-channels.community-v2-feed-mode .category-pills-container,
  #view-channels.community-v2-feed-mode .community-filter-posts{position:relative;left:100px}
}
#view-channels.community-v2-feed-mode .category-pills-container{max-width:820px;margin-left:auto;margin-right:auto}
#view-channels.community-v2-feed-mode .category-pills{gap:8px;flex-wrap:wrap}
#view-channels.community-v2-feed-mode .pill-btn[data-filter="임용고시"]{display:none!important}
#view-channels.community-v2-feed-mode .community-filter-posts{max-width:820px;margin:0 auto}
#view-channels.community-v2-feed-mode #community-filter-posts-list,
#view-channel-board.community-v2-feed-mode .feed-list{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:0!important;width:100%;max-width:820px;margin-left:auto;margin-right:auto}
#view-channels.community-v2-feed-mode .feed-post-card,
#view-channel-board.community-v2-feed-mode .feed-post-card{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;border:0!important;border-bottom:1px solid var(--community-v2-border)!important;border-radius:0!important;box-shadow:none!important;background:var(--community-v2-card)!important;padding:20px 18px!important;transition:background .15s ease;flex-wrap:wrap!important;align-items:flex-start!important;overflow:visible!important}
#view-channels.community-v2-feed-mode .feed-post-card:hover,
#view-channel-board.community-v2-feed-mode .feed-post-card:hover{background:#fbfdf9!important}
#view-channels.community-v2-feed-mode .feed-post-card .post-title,
#view-channels.community-v2-feed-mode .feed-post-card .board-post-title,
#view-channel-board.community-v2-feed-mode .feed-post-card .post-title,
#view-channel-board.community-v2-feed-mode .feed-post-card .board-post-title{display:none!important}
/* NutieSchool feed is titleless in every category, including 업무자료. */
#view-channels.community-v2-feed-mode .feed-post-card.community-v2-resource-card .post-title,
#view-channels.community-v2-feed-mode .feed-post-card.community-v2-resource-card .board-post-title,
#view-channel-board.community-v2-feed-mode .feed-post-card.community-v2-resource-card .post-title,
#view-channel-board.community-v2-feed-mode .feed-post-card.community-v2-resource-card .board-post-title{display:none!important}
#view-channels.community-v2-feed-mode .feed-post-card .post-content,
#view-channels.community-v2-feed-mode .feed-post-card .board-post-excerpt,
#view-channel-board.community-v2-feed-mode .feed-post-card .post-content,
#view-channel-board.community-v2-feed-mode .feed-post-card .board-post-excerpt{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:5!important;overflow:hidden!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;max-height:none!important;font-size:16px!important;line-height:2.06!important;color:inherit!important;margin-top:7px!important}
#view-channels.community-v2-feed-mode .feed-post-card.community-v2-expanded .post-content,
#view-channels.community-v2-feed-mode .feed-post-card.community-v2-expanded .board-post-excerpt,
#view-channel-board.community-v2-feed-mode .feed-post-card.community-v2-expanded .post-content,
#view-channel-board.community-v2-feed-mode .feed-post-card.community-v2-expanded .board-post-excerpt{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
.community-v2-more{appearance:none;border:0;background:transparent;color:#5e8f2e;font:inherit;font-size:13px;font-weight:700;padding:6px 0 0;cursor:pointer}
.community-v2-more:hover{text-decoration:underline}
#view-channels.community-v2-feed-mode .feed-post-card .post-footer,
#view-channel-board.community-v2-feed-mode .feed-post-card .post-footer{flex-wrap:wrap;border-top:0;padding-top:6px}
.community-v2-comments-toggle{display:none!important}
.community-v2-comment-icon-toggle{cursor:pointer;-webkit-tap-highlight-color:transparent}
.community-v2-thread{flex:1 1 100%;width:100%;max-width:100%;order:20;margin-top:8px;padding-top:10px;border-top:1px solid var(--community-v2-border);box-sizing:border-box}
.community-v2-thread[hidden]{display:none!important}
.community-v2-thread-author{display:none}
.community-v2-thread-form{display:flex;align-items:center;gap:10px;margin:0 0 14px}
.community-v2-thread-avatar{width:36px;height:36px}
.community-v2-thread-input{flex:1;min-width:0;border:1px solid #dfe6d8;border-radius:10px;padding:9px 12px;font:inherit;font-size:13px;background:#fff;color:inherit}
.community-v2-thread-submit{appearance:none;border:0;border-radius:10px;background:var(--community-v2-accent);color:#fff;font-weight:700;padding:9px 14px;cursor:pointer;flex-shrink:0}
.community-v2-thread-submit:disabled{opacity:.55;cursor:default}
.community-v2-thread-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.community-v2-thread-item{display:flex;align-items:flex-start;gap:10px}
.community-v2-thread-item.is-reply{padding-left:18px}
.community-v2-thread-item-copy{min-width:0;flex:1}
.community-v2-thread-item-meta{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.community-v2-thread-item-meta strong{font-size:13px;color:#3f4a38}
.community-v2-thread-time{font-size:12px;font-weight:400;color:var(--community-v2-muted)}
.community-v2-thread-op{font-size:12px;font-weight:500;color:#9aa194}
.community-v2-thread-item p{margin:3px 0 0;font-size:14px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.community-v2-thread-actions{display:flex;align-items:center;gap:12px;margin-top:4px}
.community-v2-thread-action{appearance:none;border:0;background:transparent;padding:0;display:inline-flex;align-items:center;gap:4px;color:var(--community-v2-muted);font:inherit;font-size:12px;cursor:pointer}
.community-v2-thread-action svg{width:16px;height:16px}
.community-v2-thread-like.is-liked{color:#e25563}
.community-v2-thread-action:hover{color:#3f4a38}
.community-v2-thread-like.is-liked:hover{color:#c43d4c}
.community-v2-thread-reply-hint{display:flex;align-items:center;gap:8px;margin:-6px 0 12px 46px;font-size:12px;color:var(--community-v2-muted)}
.community-v2-thread-reply-hint[hidden]{display:none!important}
.community-v2-thread-reply-hint button{appearance:none;border:0;background:transparent;padding:0;color:#5e8f2e;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.community-v2-thread-empty{font-size:13px;color:var(--community-v2-muted);padding-left:46px}
#view-meal-feed .meal-feed-card{cursor:default}
#view-meal-feed .meal-feed-card-thumb-wrap{cursor:default}
#view-meal-feed .meal-feed-comment-stat{cursor:pointer;-webkit-tap-highlight-color:transparent}
#view-meal-feed .mobile-meal-feed-content{display:flex;align-items:flex-end;gap:5px;min-width:0;margin-top:5px}
#view-meal-feed .mobile-meal-feed-content-text{display:-webkit-box;min-width:0;margin:0;overflow:hidden;color:inherit;font-size:14px;line-height:1.55;white-space:pre-line;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#view-meal-feed .mobile-meal-feed-content.is-expanded{display:block}
#view-meal-feed .mobile-meal-feed-content.is-expanded .mobile-meal-feed-content-text{display:block;overflow:visible;-webkit-line-clamp:unset}
#view-meal-feed .mobile-meal-feed-more{flex-shrink:0;padding:0;border:0;background:transparent;color:var(--community-v2-muted);font:inherit;font-size:13px;cursor:pointer}
#view-meal-feed .mobile-meal-feed-content.is-expanded .mobile-meal-feed-more{margin-top:3px}
#view-meal-feed .community-v2-meal-thread{width:100%;margin-top:10px}
#view-meal-feed .community-v2-meal-thread[hidden]{display:none!important}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-item-meta strong{color:#d7e2cc}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-op{color:#8d9686}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-input{background:#151b22;border-color:#303a2b;color:#e7ecf2}
#view-channels.community-v2-feed-mode .feed-post-card img,
#view-channel-board.community-v2-feed-mode .feed-post-card img{border-radius:14px;max-width:100%;height:auto}
#view-channels.community-v2-feed-mode .feed-post-card .community-v2-thread img,
#view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-thread img{border-radius:50%;width:100%;height:100%}
#view-channels.community-v2-feed-mode .feed-post-card .channel-tag,
#view-channels.community-v2-feed-mode .feed-post-card .post-channel,
#view-channel-board.community-v2-feed-mode .feed-post-card .channel-tag,
#view-channel-board.community-v2-feed-mode .feed-post-card .post-channel{border-radius:999px;background:var(--community-v2-accent-soft);color:#588627;border:1px solid rgba(130,188,67,.18);font-weight:700}
#view-channels.community-v2-feed-mode .feed-post-card .feed-notice-badge,
#view-channel-board.community-v2-feed-mode .feed-post-card .feed-notice-badge{display:none}
.community-v2-notice-badge{
  display:inline-flex!important;
  align-items:center;
  flex:0 0 auto;
  visibility:visible!important;
  border-radius:999px;
  padding:1px 7px;
  background:#fee2e2;
  border:1px solid #fca5a5;
  color:#b42318;
  font-size:11px;
  font-weight:800;
  line-height:1.4;
  white-space:nowrap;
}
html[data-nutie-theme-resolved="dark"] .community-v2-notice-badge{
  background:#3a1a1a;
  border-color:#7f2d2d;
  color:#f3b4b4;
}
#view-post-detail .detail-header-meta-row > .community-v2-notice-badge{flex-shrink:0}
#view-post-detail .detail-title-row .detail-notice-badge{display:none}
.community-v2-card-menu-action.is-notice-action{color:#b42318}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-action.is-notice-action{color:#f3b4b4}
.community-v2-category-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;position:relative}
.community-v2-category-picker button{--category-border:#dfe3df;--category-bg:#fff;--category-text:#586052;appearance:none;border:1px solid var(--category-border);background:var(--category-bg);color:var(--category-text);border-radius:999px;padding:8px 13px;font-size:13px;font-weight:700;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .15s ease;position:relative}
.community-v2-category-picker button:hover,.community-v2-category-picker button:focus-visible{transform:translateY(-1px);box-shadow:0 3px 10px rgba(41,48,43,.10);outline:none}
.community-v2-category-picker button[data-category-key="story"]:hover,.community-v2-category-picker button[data-category-key="story"]:focus-visible,.community-v2-category-picker button[data-category-key="story"].is-selected{--category-border:#8ec5ff;--category-bg:#eff6ff;--category-text:#2563b9}
.community-v2-category-picker button[data-category-key="anonymous"]:hover,.community-v2-category-picker button[data-category-key="anonymous"]:focus-visible,.community-v2-category-picker button[data-category-key="anonymous"].is-selected{--category-border:#a9cf79;--category-bg:#f1f8e8;--category-text:#5d8f2a}
.community-v2-category-picker button[data-category-key="product"]:hover,.community-v2-category-picker button[data-category-key="product"]:focus-visible,.community-v2-category-picker button[data-category-key="product"].is-selected{--category-border:#e6c45c;--category-bg:#fff7d6;--category-text:#9a6817}
.community-v2-category-picker button[data-category-key="resource"]:hover,.community-v2-category-picker button[data-category-key="resource"]:focus-visible,.community-v2-category-picker button[data-category-key="resource"].is-selected{--category-border:#e4a0a0;--category-bg:#fff0f0;--category-text:#b84545}
.community-v2-category-picker button[data-category-key="meal"]:hover,.community-v2-category-picker button[data-category-key="meal"]:focus-visible,.community-v2-category-picker button[data-category-key="meal"].is-selected{--category-border:#f0b57a;--category-bg:#fff4e8;--category-text:#b86518}
@media(hover:hover) and (pointer:fine){
  .community-v2-category-picker button::after{content:attr(data-description);position:absolute;left:50%;bottom:calc(100% + 9px);transform:translateX(-50%) translateY(3px);width:max-content;max-width:260px;padding:7px 9px;border-radius:7px;background:#333a36;color:#fff;font-size:12px;font-weight:500;line-height:1.35;white-space:normal;text-align:center;opacity:0;visibility:hidden;pointer-events:none;z-index:20;transition:opacity .14s ease,transform .14s ease}
  .community-v2-category-picker button::before{content:"";position:absolute;left:50%;bottom:calc(100% + 4px);transform:translateX(-50%) translateY(3px);border:5px solid transparent;border-top-color:#333a36;opacity:0;visibility:hidden;pointer-events:none;z-index:20;transition:opacity .14s ease,transform .14s ease}
  .community-v2-category-picker button:hover::after,.community-v2-category-picker button:hover::before,.community-v2-category-picker button:focus-visible::after,.community-v2-category-picker button:focus-visible::before{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
}
@media(max-width:768px){
  .community-v2-category-picker[data-active-description]::after{content:attr(data-active-description);flex-basis:100%;display:block;margin-top:2px;color:#7a827b;font-size:12px;line-height:1.45}
}
.community-v2-original-channel{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
#write-post-title.community-v2-titleless{display:none!important}
/* 글쓰기 본문 가로폭·글자크기를 피드 본문과 같게 맞춰 줄바꿈을 예측할 수 있게 한다 */
#view-write-post .write-page-card{max-width:820px;margin-left:auto;margin-right:auto;padding:20px 18px;box-sizing:border-box}
#view-write-post .write-composer .write-content-editor,
#view-write-post .write-composer .write-content-editor:focus{font-size:16px;line-height:2.06;font-family:inherit;letter-spacing:inherit;word-break:break-word;overflow-wrap:break-word}
#view-write-post .write-composer .write-content-editor.is-empty::before{font-size:16px;line-height:2.06}
#view-channels.community-v2-feed-mode .feed-post-card:not(.has-thumb)::after,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.has-thumb)::after{content:none!important;display:none!important;flex:none!important;width:0!important;height:0!important}
.community-v2-fab{display:none;position:fixed;right:18px;bottom:84px;z-index:1200;width:54px;height:54px;border:0;border-radius:50%;background:var(--community-v2-accent);color:white;font-size:30px;font-weight:300;line-height:1;box-shadow:0 8px 24px rgba(59,91,28,.28);cursor:pointer;align-items:center;justify-content:center;transition:transform .2s ease,bottom .2s ease,opacity .2s ease}
@media(max-width:768px){
  #view-channels.community-v2-feed-mode .board-header{padding-left:14px;padding-right:14px}
  #view-channels.community-v2-feed-mode .category-pills-container{padding-left:12px;padding-right:12px}
  #view-channels.community-v2-feed-mode .community-filter-posts{max-width:none;margin-left:-16px;margin-right:-16px}
  #view-channels.community-v2-feed-mode .feed-post-card,
  #view-channel-board.community-v2-feed-mode .feed-post-card{padding:16px 16px 17px!important}
  #view-channels.community-v2-feed-mode .feed-post-card .post-content,
  #view-channels.community-v2-feed-mode .feed-post-card .board-post-excerpt,
  #view-channel-board.community-v2-feed-mode .feed-post-card .post-content,
  #view-channel-board.community-v2-feed-mode .feed-post-card .board-post-excerpt{font-size:15px!important;line-height:2.02!important}
  #view-write-post .write-page-card{padding:16px}
  #view-write-post .write-composer .write-content-editor,
  #view-write-post .write-composer .write-content-editor:focus,
  #view-write-post .write-composer .write-content-editor.is-empty::before{font-size:15px;line-height:2.02}
  body.community-v2-community-active .community-v2-fab{display:flex}
  .mobile-bottom-nav{transition:transform .22s ease,opacity .22s ease!important;will-change:transform}
  body.community-v2-nav-hidden .mobile-bottom-nav{transform:translateY(calc(100% + env(safe-area-inset-bottom,0px)))!important;opacity:0!important;pointer-events:none!important}
  body.community-v2-nav-hidden .community-v2-fab{bottom:22px}
}
html[data-nutie-theme-resolved="dark"]{--community-v2-border:#29313a;--community-v2-muted:#aab3a7;--community-v2-card:#11161d}
html[data-nutie-theme-resolved="dark"] #view-channels.community-v2-feed-mode .feed-post-card,
html[data-nutie-theme-resolved="dark"] #view-channel-board.community-v2-feed-mode .feed-post-card{background:#11161d!important;border-color:#29313a!important}
html[data-nutie-theme-resolved="dark"] #view-channels.community-v2-feed-mode .feed-post-card:hover,
html[data-nutie-theme-resolved="dark"] #view-channel-board.community-v2-feed-mode .feed-post-card:hover{background:#151b22!important}
html[data-nutie-theme-resolved="dark"] .community-v2-category-picker button{--category-border:#3a4340;--category-bg:#11161d;--category-text:#d5dbe2}
html[data-nutie-theme-resolved="dark"] .community-v2-category-picker button::after{background:#e7ece9;color:#202622}
html[data-nutie-theme-resolved="dark"] .community-v2-category-picker button::before{border-top-color:#e7ece9}


/* Feed reactions and inline reply composer */
#view-channels.community-v2-feed-mode .post-footer .post-stat,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat{
  border-radius:8px;
  padding:4px 6px;
  transition:background-color .15s ease,color .15s ease;
}
#view-channels.community-v2-feed-mode .post-footer .post-stat:hover,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat:hover{
  background:#eef0ed;
}
#view-channels.community-v2-feed-mode .post-footer button.post-stat:hover,
#view-channel-board.community-v2-feed-mode .post-footer button.post-stat:hover{
  cursor:pointer;
}
#view-channels.community-v2-feed-mode .post-footer .post-stat .feed-like-count,
#view-channels.community-v2-feed-mode .post-footer .post-stat .feed-comment-count,
#view-channels.community-v2-feed-mode .post-footer .post-stat .feed-view-count,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat .feed-like-count,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat .feed-comment-count,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat .feed-view-count{
  font-size:14px;
}
#view-channels.community-v2-feed-mode .post-footer .post-stat svg,
#view-channels.community-v2-feed-mode .post-footer .post-stat i,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat svg,
#view-channel-board.community-v2-feed-mode .post-footer .post-stat i{
  width:18px;
  height:18px;
}
.community-v2-thread-field{
  display:flex;
  align-items:center;
  gap:9px;
  flex:1;
  min-width:0;
  border:1px solid #dfe6d8;
  border-radius:10px;
  padding:4px 12px 4px 6px;
  background:#fff;
}
.community-v2-thread-field .community-v2-thread-avatar{
  width:32px;
  height:32px;
  flex:0 0 32px;
}
.community-v2-thread-field .community-v2-thread-input{
  flex:1;
  min-width:0;
  border:0;
  border-radius:0;
  padding:5px 0;
  outline:0;
  box-shadow:none;
  background:transparent;
  font-size:11px;
}
.community-v2-thread-field .emoji-picker-btn{
  width:28px;
  height:28px;
  font-size:16px;
}
.community-v2-thread-submit{
  background:#7d8580;
}
.community-v2-thread-submit:hover:not(:disabled){
  background:#666e69;
}
.community-v2-thread-action{
  border-radius:7px;
  padding:4px 6px;
  font-size:14px;
  transition:background-color .15s ease,color .15s ease;
}
.community-v2-thread-action svg{
  width:18px;
  height:18px;
}
.community-v2-thread-action:hover{
  background:#eef0ed;
}
html[data-nutie-theme-resolved="dark"] #view-channels.community-v2-feed-mode .post-footer .post-stat:hover,
html[data-nutie-theme-resolved="dark"] #view-channel-board.community-v2-feed-mode .post-footer .post-stat:hover,
html[data-nutie-theme-resolved="dark"] .community-v2-thread-action:hover{
  background:#252d35;
}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-field{
  background:#151b22;
  border-color:#303a2b;
}

/* 글쓰기 등록 버튼: 첨부 도구 줄 오른쪽의 간결한 주요 동작 */
#view-write-post .write-extra-tools{display:flex!important;width:100%!important;max-width:none!important;box-sizing:border-box}
#view-write-post .write-post-submit-compact{width:125px!important;min-width:125px;max-width:125px;min-height:42px;margin:0 0 0 auto!important;padding:9px 20px;border-radius:10px;align-self:center;font-size:15px;line-height:1.2;flex:0 0 auto}
@media(max-width:768px){
  #view-write-post .write-extra-tools{align-items:center}
  #view-write-post .write-post-submit-compact{width:110px!important;min-width:110px;max-width:110px;min-height:40px;padding:8px 16px;font-size:14px}
}

/* Community v2 inline attachment gallery: Threads-like body media */
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .feed-post-main,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .feed-post-main{
  flex:1 1 100%!important;
  width:100%;
  min-width:0;
}
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .feed-post-thumb.post-image-gallery,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .feed-post-thumb.post-image-gallery,
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-thumb.post-image-gallery,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-thumb.post-image-gallery{
  order:10;
  flex:1 1 100%!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:1.72 / 1;
  margin:12px 0 2px!important;
  align-self:stretch!important;
  border-radius:14px!important;
  background:#f5f5f5;
}
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery .post-gallery-viewport,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery .post-gallery-viewport{
  width:100%;
  height:100%;
  aspect-ratio:1.72 / 1;
  border-radius:inherit;
  overflow:hidden;
  touch-action:pan-y;
}
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery .post-gallery-track,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery .post-gallery-track,
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery .post-gallery-slide,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery .post-gallery-slide{
  height:100%;
}
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery img,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .post-image-gallery img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  border-radius:0!important;
}
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-preview,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-preview{
  flex-wrap:wrap;
}
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-preview-text,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-preview-text{
  flex:1 1 100%;
  width:100%;
}
@media(max-width:768px){
  #view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .feed-post-thumb.post-image-gallery,
  #view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .feed-post-thumb.post-image-gallery,
  #view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-thumb.post-image-gallery,
  #view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-resource-card) .board-post-thumb.post-image-gallery{
    width:calc(100% + 32px)!important;
    max-width:none!important;
    margin:11px -16px 1px!important;
    border-left:0!important;
    border-right:0!important;
    border-radius:0!important;
  }
}


/* 게시글 상세: 관리 버튼·댓글 제목·댓글 등록 버튼 색상 및 정렬 */
#view-post-detail #detail-delete-btn{
  border-color:#e1e5e8!important;
  background:#fff!important;
  color:#535b64!important;
}
#view-post-detail #detail-delete-btn:hover{
  border-color:#cfd5da!important;
  background:#f2f4f5!important;
  color:#30363c!important;
}
#view-post-detail .detail-comments-heading,
#view-post-detail #detail-comments-heading-label,
#view-post-detail #detail-comments-heading-count{
  color:#191b1d!important;
}
#view-post-detail .detail-comment-compose{
  align-items:stretch;
}
#view-post-detail .detail-comment-submit{
  align-self:flex-end;
  margin-bottom:8px;
  background:#1f2124!important;
  border-color:#1f2124!important;
  color:#fff!important;
}
#view-post-detail .detail-comment-submit:hover{
  background:#000!important;
  border-color:#000!important;
}
@media(max-width:768px){
  #view-post-detail .detail-comment-submit{
    margin-bottom:0;
    bottom:6px;
  }
}
html[data-nutie-theme-resolved="dark"] #view-post-detail #detail-delete-btn{
  border-color:#3a424a!important;
  background:#252b31!important;
  color:#dce2e7!important;
}
html[data-nutie-theme-resolved="dark"] #view-post-detail .detail-comments-heading,
html[data-nutie-theme-resolved="dark"] #view-post-detail #detail-comments-heading-label,
html[data-nutie-theme-resolved="dark"] #view-post-detail #detail-comments-heading-count{
  color:#f1f4f6!important;
}


/* Author avatar before each feed-card nickname */
.community-v2-feed-author-avatar{
  width:28px;
  height:28px;
  flex:0 0 28px;
  margin-right:7px;
  vertical-align:middle;
}
.community-v2-feed-author-avatar img,
.community-v2-feed-author-avatar .member-profile-avatar-icon{
  width:100%;
  height:100%;
}


/* Feed author profile navigation */
.feed-post-card.community-v2-anonymous-card .post-author,
.feed-post-card.community-v2-anonymous-card .author-nickname-btn,
.feed-post-card.community-v2-anonymous-card .community-v2-feed-author-avatar{
  cursor:default;
}
.community-v2-member-card{
  display:flex;
  align-items:flex-start;
  gap:16px;
}
.community-v2-member-card .community-v2-member-avatar{
  width:64px;
  height:64px;
  flex:0 0 64px;
}
.community-v2-member-copy{
  min-width:0;
}
.community-v2-member-name{
  margin:0 0 6px;
  font-size:20px;
  font-weight:800;
}
.community-v2-member-bio{
  margin:0;
  color:var(--community-v2-muted);
  font-size:14px;
  line-height:1.6;
  white-space:pre-wrap;
}
#member-profile-posts-list tr[data-post-id]{
  cursor:pointer;
}
#member-profile-posts-list tr[data-post-id]:hover{
  background:#f5f6f4;
}
html[data-nutie-theme-resolved="dark"] #member-profile-posts-list tr[data-post-id]:hover{
  background:#1b222a;
}


/* 글쓰기 등록 버튼: 검은색 주요 동작 */
#view-write-post .write-post-submit-compact{
  background:#1f2124!important;
  border-color:#1f2124!important;
  color:#fff!important;
}
#view-write-post .write-post-submit-compact:hover:not(:disabled){
  background:#000!important;
  border-color:#000!important;
}


/* 게시글 분류 배지: 글쓰기 분류 버튼과 동일한 색상 */
[data-community-category="story"]{
  background:#eff6ff!important;
  border-color:#8ec5ff!important;
  color:#2563b9!important;
}
[data-community-category="anonymous"]{
  background:#f1f8e8!important;
  border-color:#a9cf79!important;
  color:#5d8f2a!important;
}
[data-community-category="product"]{
  background:#fff7d6!important;
  border-color:#e6c45c!important;
  color:#9a6817!important;
}
[data-community-category="resource"]{
  background:#fff0f0!important;
  border-color:#e4a0a0!important;
  color:#b84545!important;
}
[data-community-category="meal"]{
  background:#fff4e8!important;
  border-color:#f0b57a!important;
  color:#b86518!important;
}


/* 게시글 더보기: 중립 회색 */
#view-channels .community-v2-more,
#view-channel-board .community-v2-more{
  color:#7d8580!important;
  font-size:15px!important;
}
#view-channels .community-v2-more:hover,
#view-channel-board .community-v2-more:hover{
  color:#5f6762!important;
}
@media(max-width:768px){
  #view-channels .community-v2-more,
  #view-channel-board .community-v2-more{
    font-size:14px!important;
  }
}


/* 게시글 카드 오른쪽 위 점 3개 메뉴 */
#view-channels.community-v2-feed-mode .feed-post-card,
#view-channel-board.community-v2-feed-mode .feed-post-card{
  position:relative!important;
}
.community-v2-card-menu{
  position:absolute;
  top:14px;
  right:14px;
  z-index:30;
}
.community-v2-card-menu-trigger{
  appearance:none;
  width:34px;
  height:30px;
  padding:0 0 6px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#7d8792;
  font:700 23px/1 sans-serif;
  letter-spacing:1px;
  cursor:pointer;
}
.community-v2-card-menu-trigger:hover,
.community-v2-card-menu-trigger:focus-visible,
.community-v2-card-menu.is-open .community-v2-card-menu-trigger{
  background:#eef0f2;
  color:#343a40;
  outline:none;
}
.community-v2-card-menu-panel{
  position:absolute;
  top:34px;
  right:0;
  min-width:164px;
  padding:6px;
  border:1px solid #e1e5e8;
  border-radius:10px;
  background:#fff;
  box-shadow:0 8px 24px rgba(26,31,36,.14);
}
.community-v2-card-menu.is-open .community-v2-card-menu-panel{display:block}
.community-v2-card-menu-action{
  appearance:none;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding:9px 11px;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#30363c;
  font:inherit;
  font-size:14px;
  font-weight:600;
  text-align:left;
  white-space:nowrap;
  cursor:pointer;
}
.community-v2-card-menu-icon{width:18px;height:18px;flex:0 0 18px}
.community-v2-card-menu-label{min-width:0}
.community-v2-card-menu-action:hover{background:#f1f3f4}
.community-v2-card-menu-action.is-delete{color:#30363c}
.community-v2-card-menu-action.is-delete:hover{background:#f1f3f4}
.community-v2-card-menu-action.is-active{color:#a56d0a}
.community-v2-card-menu-action:disabled{opacity:.55;cursor:default}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-trigger:hover,
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-trigger:focus-visible,
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu.is-open .community-v2-card-menu-trigger{background:#252d35;color:#edf1f4}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-panel{background:#171d24;border-color:#303842;box-shadow:0 8px 24px rgba(0,0,0,.35)}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-action{color:#e1e6eb}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-action:hover{background:#252d35}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-action.is-delete{color:#e1e6eb}
@media(max-width:768px){
  .community-v2-card-menu{top:10px;right:9px}
}

/* Community cards: softly separated containers including inline comments */
#view-channels.community-v2-feed-mode #community-filter-posts-list,
#view-channel-board.community-v2-feed-mode .feed-list{
  gap:12px!important;
}
#view-channels.community-v2-feed-mode .feed-post-card,
#view-channel-board.community-v2-feed-mode .feed-post-card{
  margin:0!important;
  border:1px solid var(--community-v2-border)!important;
  border-radius:12px!important;
  box-shadow:none!important;
  overflow:visible!important;
}
#view-channels.community-v2-feed-mode .feed-post-card:hover,
#view-channel-board.community-v2-feed-mode .feed-post-card:hover{
  border-color:#dce3d6!important;
}
@media (max-width:768px){
  #view-channels.community-v2-feed-mode #community-filter-posts-list,
  #view-channel-board.community-v2-feed-mode .feed-list{
    gap:10px!important;
  }
  #view-channels.community-v2-feed-mode .feed-post-card,
  #view-channel-board.community-v2-feed-mode .feed-post-card{
    border-radius:11px!important;
  }
}

/* Community v2 inline media placement: single and multiple photos */
#view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media,
#view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media{
  display:flex!important;
  order:10;
  flex:1 1 100%!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  aspect-ratio:1.72 / 1;
  margin:12px 0 8px!important;
  align-self:stretch!important;
  border-radius:14px!important;
  overflow:hidden!important;
  background:#f5f5f5;
}
#view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media > img,
#view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media > img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  border-radius:0!important;
}
#view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media.post-image-gallery .post-gallery-viewport,
#view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media.post-image-gallery .post-gallery-viewport{
  width:100%!important;
  height:100%!important;
  aspect-ratio:1.72 / 1;
}
@media(max-width:768px){
  #view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media,
  #view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media{
    width:100%!important;
    max-width:100%!important;
    margin:11px 0 7px!important;
    border-radius:12px!important;
  }
}

/* Community desktop left-aligned content rail (2026-09-16) */
@media (min-width: 769px) {
  #view-channels.community-v2-feed-mode .board-header,
  #view-channels.community-v2-feed-mode .category-pills-container,
  #view-channels.community-v2-feed-mode .community-filter-posts {
    width: 100%;
    max-width: 820px;
    margin-left: 0;
    margin-right: auto;
  }

  #view-channels.community-v2-feed-mode .board-header {
    display: grid;
    grid-template-columns: max-content minmax(240px, 1fr) max-content;
    align-items: center;
    column-gap: 24px;
  }

  #view-channels.community-v2-feed-mode .community-title-block {
    min-width: max-content;
  }

  #view-channels.community-v2-feed-mode .community-channel-search {
    width: 100%;
    max-width: 360px;
    margin: 0;
    justify-self: start;
  }

  #view-channels.community-v2-feed-mode #community-write-btn {
    justify-self: end;
  }

  #view-channels.community-v2-feed-mode .category-pills-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #view-channels.community-v2-feed-mode .community-sort {
    margin-left: auto;
  }

  #view-channels.community-v2-feed-mode #community-filter-posts-list {
    max-width: 820px;
    margin-left: 0;
    margin-right: auto;
  }
}



/* Expanded post menu and copied-link focus */
.community-v2-card-menu-panel{min-width:150px}
.community-v2-card-menu-action.is-move{color:#325f9b}
.community-v2-linked-post{
  border-color:#88b96f!important;
  box-shadow:0 0 0 3px rgba(111,161,84,.18)!important;
  transition:border-color .2s ease,box-shadow .2s ease;
}
html[data-nutie-theme-resolved="dark"] .community-v2-card-menu-action.is-move{color:#91bdf5}
@media(max-width:768px){
  .community-v2-card-menu-panel{min-width:146px}
}


/* Mobile centered community cards and tap-to-focus reply composer */
@media (max-width:768px){
  #view-channels.community-v2-feed-mode #community-filter-posts-list,
  #view-channel-board.community-v2-feed-mode .feed-list{
    width:100%!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
  /* Mobile: use more of the screen width while keeping a small, comfortable gutter. */
  #view-channels.community-v2-feed-mode .community-filter-posts,
  #view-channel-board.community-v2-feed-mode .feed-list{
    width:calc(100% + 20px)!important;
    max-width:calc(100% + 20px)!important;
    margin-left:-10px!important;
    margin-right:-10px!important;
    box-sizing:border-box!important;
  }
  #view-channels.community-v2-feed-mode .feed-post-card,
  #view-channel-board.community-v2-feed-mode .feed-post-card{
    width:calc(100% - 12px)!important;
    max-width:calc(100% - 12px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}


/* Reply overflow menu */
.community-v2-thread-item{position:relative;padding-right:34px}
.community-v2-thread-menu{position:absolute;top:0;right:0;z-index:18}
.community-v2-thread-menu-trigger{
  appearance:none;width:28px;height:26px;padding:0 0 5px;border:0;border-radius:7px;
  background:transparent;color:#7d8792;font:700 19px/1 sans-serif;cursor:pointer;
}
.community-v2-thread-menu-trigger:hover,
.community-v2-thread-menu-trigger:focus-visible,
.community-v2-thread-menu.is-open .community-v2-thread-menu-trigger{
  background:#eef0f2;color:#343a40;outline:none;
}
.community-v2-thread-menu-panel{
  position:absolute;top:28px;right:0;min-width:112px;padding:5px;border:1px solid #e1e5e8;
  border-radius:9px;background:#fff;box-shadow:0 8px 22px rgba(26,31,36,.14);
}
.community-v2-thread-menu.is-open .community-v2-thread-menu-panel{display:block}
.community-v2-thread-menu-delete{
  appearance:none;display:block;width:100%;padding:8px 10px;border:0;border-radius:6px;
  background:transparent;color:#d14343;font:inherit;font-size:13px;font-weight:600;
  text-align:left;white-space:nowrap;cursor:pointer;
}
.community-v2-thread-menu-delete:hover{background:#fff1f1}
.community-v2-thread-menu-delete:disabled{opacity:.55;cursor:default}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-menu-trigger:hover,
html[data-nutie-theme-resolved="dark"] .community-v2-thread-menu-trigger:focus-visible,
html[data-nutie-theme-resolved="dark"] .community-v2-thread-menu.is-open .community-v2-thread-menu-trigger{
  background:#252d35;color:#edf1f4;
}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-menu-panel{
  background:#171d24;border-color:#303842;box-shadow:0 8px 22px rgba(0,0,0,.35);
}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-menu-delete{color:#ff8d8d}
html[data-nutie-theme-resolved="dark"] .community-v2-thread-menu-delete:hover{background:#352326}
@media(max-width:768px){
  .community-v2-thread-item{padding-right:30px}
  .community-v2-thread-menu{top:-2px;right:-2px}
}


/* 2026-09-16: center every uploaded body image and open it at original size */
#view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media,
#view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media{
  display:flex!important;
  flex:0 0 100%!important;
  order:10!important;
  width:min(100%, 760px)!important;
  max-width:100%!important;
  height:auto!important;
  margin:14px auto 8px!important;
  align-self:center!important;
  justify-self:center!important;
  float:none!important;
  cursor:zoom-in!important;
}
#view-channels.community-v2-feed-mode .feed-post-card .board-post-preview:has(.community-v2-inline-media),
#view-channel-board.community-v2-feed-mode .feed-post-card .board-post-preview:has(.community-v2-inline-media){
  display:flex!important;
  flex-wrap:wrap!important;
}
#view-channels.community-v2-feed-mode .feed-post-card .board-post-preview-text,
#view-channel-board.community-v2-feed-mode .feed-post-card .board-post-preview-text{
  flex:1 1 100%!important;
  width:100%!important;
  min-width:0!important;
}
.community-v2-image-lightbox{
  position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(0,0,0,.88);cursor:zoom-out;
}
.community-v2-image-lightbox[hidden]{display:none!important}
.community-v2-image-lightbox img{
  display:block;max-width:calc(100vw - 48px);max-height:calc(100vh - 48px);
  width:auto;height:auto;object-fit:contain;box-shadow:0 8px 40px rgba(0,0,0,.35);
}
.community-v2-image-lightbox-close{
  position:fixed;top:14px;right:18px;width:44px;height:44px;border:0;border-radius:50%;
  background:rgba(255,255,255,.16);color:#fff;font-size:30px;line-height:1;cursor:pointer;
}
.community-v2-image-lightbox-download{
  position:fixed;top:18px;right:76px;z-index:1;
  border:1px solid rgba(255,255,255,.7);border-radius:8px;
  background:rgba(0,0,0,.55);color:#fff;padding:9px 12px;
  font-size:13px;font-weight:600;cursor:pointer;
}
.community-v2-image-lightbox-download:disabled{opacity:.5;cursor:wait}
.community-v2-image-lightbox-status{
  position:fixed;bottom:20px;left:50%;transform:translateX(-50%);
  color:#fff;background:rgba(0,0,0,.7);border-radius:8px;padding:6px 10px;
  font-size:13px;pointer-events:none;
}
.community-v2-image-lightbox-status:empty{display:none}

#view-channels .content-auto-link,
#view-channel-board .content-auto-link{
  color:#2563b9!important;text-decoration:underline!important;text-underline-offset:2px;cursor:pointer!important;
}
@media(max-width:768px){
  #view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media,
  #view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media{
    width:100%!important;margin:12px auto 7px!important;
  }
  .community-v2-image-lightbox{padding:10px}
  .community-v2-image-lightbox img{max-width:calc(100vw - 20px);max-height:calc(100vh - 20px)}
}

/* 본인 게시물 메뉴의 수정 동작 */
.community-v2-card-menu-panel .is-edit{color:#16a34a!important;font-weight:700}
.community-v2-card-menu-panel .is-edit:hover,
.community-v2-card-menu-panel .is-edit:focus-visible{background:#f0fdf4!important;color:#15803d!important}


/* 팔로잉 목록 */
.following-members-list{
  display:grid;
  gap:12px;
}
.following-member-card{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:92px;
  padding:18px 20px;
  cursor:pointer;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.following-member-card:hover,
.following-member-card:focus-visible{
  border-color:#cfd8cf;
  box-shadow:0 5px 18px rgba(0,0,0,.07);
  transform:translateY(-1px);
  outline:none;
}
.following-member-avatar{
  width:56px;
  height:56px;
  min-width:56px;
  pointer-events:none;
}
.following-member-copy{
  min-width:0;
  flex:1;
}
.following-member-copy h3{
  margin:0 0 4px;
  font-size:16px;
  color:#202124;
}
.following-member-meta,
.following-member-bio{
  margin:0;
  overflow:hidden;
  color:#7a8088;
  font-size:13px;
  line-height:1.5;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.following-member-meta{
  color:#5e7d61;
  font-weight:600;
}
.following-remove-btn{
  flex:none;
  min-width:72px;
  padding:8px 13px;
  border:1px solid #d9ded9;
  border-radius:999px;
  background:#fff;
  color:#303530;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.following-remove-btn:hover{ background:#f2f5f2; }
.following-empty-card,
.following-loading-card{
  display:flex;
  min-height:180px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#8a9098;
  text-align:center;
}
.following-empty-card svg{ width:34px; height:34px; }
.following-empty-card p{ margin:0; color:#34383d; font-weight:700; }
.following-empty-card span{ font-size:13px; }
@media (max-width:768px){
  .following-member-card{ min-height:82px; padding:15px 14px; gap:12px; }
  .following-member-avatar{ width:48px; height:48px; min-width:48px; }
  .following-remove-btn{ min-width:66px; padding:7px 11px; }
}


/* My profile card entry */
#my-public-profile-card > #my-public-profile-open{
  display:inline-flex;
  align-items:center;
  cursor:pointer;
  border-radius:6px;
}
#my-public-profile-card > #my-public-profile-open:hover,
#my-public-profile-card > #my-public-profile-open:focus-visible{
  color:#2f855a;
  outline:none;
}

/* 2026-09-23 community header centering */
@media (min-width:769px){
  #view-channels.community-v2-feed-mode .board-header{
    width:100%!important;
    max-width:820px!important;
    margin-left:0!important;
    margin-right:auto!important;
    display:grid!important;
    grid-template-columns:max-content minmax(280px,360px)!important;
    justify-content:center!important;
    align-items:center!important;
    column-gap:28px!important;
  }
  #view-channels.community-v2-feed-mode .community-title-block{
    justify-self:end!important;
    min-width:max-content!important;
  }
  #view-channels.community-v2-feed-mode .community-channel-search{
    width:360px!important;
    max-width:360px!important;
    margin:0!important;
    justify-self:start!important;
  }
}


/* 2026-09-24: desktop community heading + quick composer alignment */
@media (min-width:769px){
  #view-channels.community-v2-feed-mode .board-header{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:10px!important;
    width:100%!important;
    max-width:820px!important;
    margin-left:0!important;
    margin-right:auto!important;
  }
  #view-channels.community-v2-feed-mode .community-title-block{
    width:100%!important;
    min-width:0!important;
    justify-self:auto!important;
  }
  #view-channels.community-v2-feed-mode .community-channel-search{
    width:100%!important;
    max-width:420px!important;
    margin:0!important;
    justify-self:auto!important;
  }
}


/* 2026-09-24: definitive desktop community header layout */
@media (min-width:769px){
  #view-channels.community-v2-feed-mode .board-header.board-header-with-search{
    display:grid!important;
    grid-template-columns:140px minmax(0,420px)!important;
    grid-template-rows:auto!important;
    align-items:center!important;
    justify-content:start!important;
    column-gap:16px!important;
    row-gap:0!important;
    width:100%!important;
    max-width:820px!important;
    min-height:52px!important;
    overflow:visible!important;
  }
  #view-channels.community-v2-feed-mode .community-title-block{
    grid-column:1!important;
    grid-row:1!important;
    width:140px!important;
    min-width:140px!important;
    max-width:140px!important;
    overflow:visible!important;
    white-space:nowrap!important;
  }
  #view-channels.community-v2-feed-mode .community-title-block .community-title-row,
  #view-channels.community-v2-feed-mode .community-title-block .view-title{
    width:auto!important;
    max-width:none!important;
    overflow:visible!important;
    white-space:nowrap!important;
    margin:0!important;
  }
  #view-channels.community-v2-feed-mode .community-channel-search{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    max-width:420px!important;
    min-width:0!important;
    margin:0!important;
    position:static!important;
    transform:none!important;
  }
}


/* 2026-09-24: align community heading/subtitle with the first category tab */
@media (min-width:769px){
  #view-channels.community-v2-feed-mode .board-header.board-header-with-search{
    margin-left:0!important;
    padding-left:0!important;
  }
  #view-channels.community-v2-feed-mode .community-title-block{
    margin-left:0!important;
    padding-left:0!important;
  }
  #view-channels.community-v2-feed-mode .community-title-block .community-title-row,
  #view-channels.community-v2-feed-mode .community-title-block .view-title,
  #view-channels.community-v2-feed-mode .community-title-block .view-subtitle{
    margin-left:0!important;
    padding-left:0!important;
  }
}


/* 2026-09-24: one desktop coordinate system for community header, tabs and feed.
   The old >=1100px left:100px rule moved only tabs/feed, leaving the header behind. */
@media (min-width:769px){
  #view-channels.community-v2-feed-mode .board-header.board-header-with-search,
  #view-channels.community-v2-feed-mode .category-pills-container,
  #view-channels.community-v2-feed-mode .community-filter-posts{
    position:relative!important;
    left:100px!important;
    width:100%!important;
    max-width:820px!important;
    margin-left:0!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  #view-channels.community-v2-feed-mode #community-filter-posts-list{
    width:100%!important;
    max-width:820px!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}
@media (min-width:769px) and (max-width:1099px){
  #view-channels.community-v2-feed-mode .board-header.board-header-with-search,
  #view-channels.community-v2-feed-mode .category-pills-container,
  #view-channels.community-v2-feed-mode .community-filter-posts{
    left:0!important;
  }
}


/* 2026-09-24: enforce three-line preview on every community feed body (web/mobile/PWA/app) */
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-expanded) .community-v2-body-clamp .post-content,
#view-channels.community-v2-feed-mode .feed-post-card:not(.community-v2-expanded) .community-v2-body-clamp .board-post-excerpt,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-expanded) .community-v2-body-clamp .post-content,
#view-channel-board.community-v2-feed-mode .feed-post-card:not(.community-v2-expanded) .community-v2-body-clamp .board-post-excerpt{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  max-height:calc(3 * 2.06em)!important;
}
#view-channels.community-v2-feed-mode .feed-post-card.community-v2-expanded .community-v2-body-clamp .post-content,
#view-channels.community-v2-feed-mode .feed-post-card.community-v2-expanded .community-v2-body-clamp .board-post-excerpt,
#view-channel-board.community-v2-feed-mode .feed-post-card.community-v2-expanded .community-v2-body-clamp .post-content,
#view-channel-board.community-v2-feed-mode .feed-post-card.community-v2-expanded .community-v2-body-clamp .board-post-excerpt{
  display:block!important;
  -webkit-line-clamp:unset!important;
  line-clamp:unset!important;
  overflow:visible!important;
  max-height:none!important;
}

/* 2026-09-28: desktop community uses the full container width, same as 급식레시피 */
@media (min-width:769px){
  #view-channels.community-v2-feed-mode .board-header.board-header-with-search,
  #view-channels.community-v2-feed-mode .category-pills-container,
  #view-channels.community-v2-feed-mode .community-filter-posts,
  #view-channels.community-v2-feed-mode #community-filter-posts-list,
  #view-channel-board.community-v2-feed-mode .feed-list{
    left:0!important;
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  #view-channels.community-v2-feed-mode .feed-post-card .community-v2-inline-media,
  #view-channel-board.community-v2-feed-mode .feed-post-card .community-v2-inline-media{
    width:100%!important;
  }
}
