.guide-community-shell{min-height:100vh;background:#f8f4ee;color:#26352e}
.guide-community-header{position:sticky;top:0;z-index:32;padding:10px 14px 0;border-bottom:1px solid rgba(229,221,210,.85);background:rgba(248,244,238,.97);backdrop-filter:blur(14px)}
.guide-title-row{height:52px;display:flex;align-items:center;gap:8px}
.guide-content-switch{min-width:108px;display:flex;align-items:center;gap:5px;font-family:Georgia,"Noto Serif SC",serif;font-size:22px;font-weight:700;white-space:nowrap}
.guide-content-switch a{color:#27352f}
.guide-content-switch span{color:#a6a39d;font-weight:400}
.guide-content-switch .snapshot-link{color:#d94f7a}
.guide-content-switch .is-current{font-weight:800}
.guide-search-panel{height:41px;min-width:0;flex:1;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid #e4dcd1;border-radius:21px;background:#fffdfa;box-shadow:0 5px 16px rgba(48,40,29,.04)}
.guide-search-panel>.ui-icon{width:18px;height:18px;flex:0 0 auto;color:#58645e}
.guide-search-panel input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#26352e;font-size:16px}
.guide-search-panel input::placeholder{color:#969995}
.guide-title-row .notify-btn{position:relative;width:32px;height:41px;flex:0 0 32px}
.guide-title-row .notify-btn i{position:absolute;right:3px;top:7px;width:7px;height:7px;border:2px solid #f8f4ee;border-radius:50%;background:#e5483f}
.guide-title-row .avatar-link{width:38px;height:38px;flex:0 0 38px}
.guide-rank-tabs{height:45px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.guide-rank-tabs button{position:relative;min-width:0;color:#424d47;font-size:12px;white-space:nowrap}
.guide-rank-tabs button.is-active{color:#1a2822;font-weight:800}
.guide-rank-tabs button.is-active::after{content:"";position:absolute;left:39%;right:39%;bottom:0;height:3px;border-radius:3px;background:#0b9569}

.guide-community-main{padding-bottom:103px}
.guide-category-band{margin:10px 14px 8px;display:flex;gap:6px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.guide-category-band::-webkit-scrollbar{display:none}
.guide-category-band button{min-width:0;height:38px;padding:0 4px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:19px;background:#f0ece6;color:#34463e}
.guide-category-band button:nth-child(1){width:56px}
.guide-category-band button:nth-child(2){width:58px}
.guide-category-band button:nth-child(3){width:58px}
.guide-category-band button:nth-child(4){width:58px}
.guide-category-band button:nth-child(5){width:68px}
.guide-category-band button:nth-child(6){width:58px}
.guide-category-band .ui-icon{width:18px;height:18px;color:#ed4d85}
.guide-category-band button:nth-child(2) .ui-icon{color:#df961e}
.guide-category-band button:nth-child(3) .ui-icon{color:#8157d4}
.guide-category-band button:nth-child(4) .ui-icon{color:#19934e}
.guide-category-band button:nth-child(5) .ui-icon{color:#2b9ad0}
.guide-category-band button:nth-child(6) .ui-icon{color:#3f83c5}
.guide-category-band span{flex:0 0 auto;font-size:10px;font-weight:700;white-space:nowrap}
.guide-category-band button.is-active{background:#e1f3e9;color:#087b59;box-shadow:inset 0 0 0 1px rgba(11,133,96,.1)}

.community-guide-grid{padding:2px 14px 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}
.community-guide-card{min-width:0;overflow:hidden;border:1px solid #e8e0d5;border-radius:14px;background:#fffdfa;box-shadow:0 5px 15px rgba(48,40,29,.07)}
.community-guide-card[hidden]{display:none}
.community-card-media{position:relative;height:151px;overflow:hidden;background:#dce4df}
.community-guide-card.is-tall .community-card-media{height:165px}
.community-card-media>img,.community-card-media>video{width:100%;height:100%;object-fit:cover;display:block;background:#dce4df}
.media-count,.media-play,.community-card-media time{position:absolute;z-index:2;color:#fff}
.media-count{left:8px;top:8px;min-height:23px;padding:0 7px;display:flex;align-items:center;gap:4px;border-radius:8px;background:rgba(28,39,35,.72);font-size:9px;font-weight:700}
.media-count .ui-icon{width:13px;height:13px}
.media-play{right:8px;top:8px;width:29px;height:29px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.9);border-radius:50%;background:rgba(24,34,30,.65)}
.media-play .ui-icon{width:20px;height:20px}
.community-card-media time{right:8px;bottom:7px;padding:2px 5px;border-radius:7px;background:rgba(23,31,28,.64);font-size:9px}
.community-card-body{padding:8px 9px 9px}
.community-card-body h2{min-height:40px;margin:0;color:#26342e;font-size:12px;line-height:1.55;letter-spacing:0;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.community-card-meta{margin-top:7px;display:flex;align-items:center;justify-content:space-between;gap:5px;color:#7d847f;font-size:8px}
.community-author{min-width:0;display:flex;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-author img{width:20px;height:20px;flex:0 0 auto;border-radius:50%;object-fit:cover}
.community-numbers{min-width:0;flex:0 1 auto;display:flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}
.community-numbers>span,.community-numbers button{padding:0;display:inline-flex;align-items:center;gap:2px;color:#8a908c;font-size:8px}
.community-numbers .ui-icon{width:12px;height:12px}
.community-numbers button .ui-icon{color:#e76b89}
.community-numbers button.is-saved{color:#df416a}
.community-numbers button.is-saved .ui-icon{fill:#df416a;stroke:#df416a}
.community-numbers em{font-style:normal}
.guide-community-empty{margin:55px 20px;color:#929791;font-size:11px;text-align:center}
.guide-community-status{position:fixed;left:50%;bottom:89px;z-index:46;max-width:280px;margin:0;padding:9px 13px;border-radius:8px;background:rgba(34,49,42,.96);color:#fff;font-size:10px;opacity:0;pointer-events:none;transform:translate(-50%,7px);transition:opacity .2s ease,transform .2s ease}
.guide-community-status.is-visible{opacity:1;transform:translate(-50%,0)}
.guide-community-shell .bottom-nav{height:82px;padding-top:10px}
.guide-community-shell .nav-item>.ui-icon{width:24px;height:24px}
.guide-community-shell .nav-item strong{font-size:10px}
.guide-community-header a:focus-visible,.guide-community-header button:focus-visible,.guide-search-panel:focus-within,.guide-category-band button:focus-visible,.community-numbers button:focus-visible{outline:2px solid #0b8560;outline-offset:2px}

@media(max-width:390px){
  .guide-community-header{padding-left:10px;padding-right:10px}
  .guide-title-row{gap:5px}
  .guide-content-switch{min-width:94px;font-size:19px}
  .guide-title-row .notify-btn{width:29px;flex-basis:29px}
  .guide-title-row .avatar-link{width:35px;height:35px;flex-basis:35px}
  .guide-search-panel{padding:0 8px}
  .guide-search-panel input{font-size:16px}
  .guide-rank-tabs button{font-size:11px}
  .guide-category-band{margin-left:10px;margin-right:10px;gap:4px}
  .guide-category-band button{gap:3px}
  .guide-category-band .ui-icon{width:16px;height:16px}
  .guide-category-band span{font-size:9px}
  .community-guide-grid{padding-left:10px;padding-right:10px;gap:8px}
  .community-card-media{height:140px}
  .community-guide-card.is-tall .community-card-media{height:153px}
  .community-card-body{padding-left:7px;padding-right:7px}
  .community-card-body h2{font-size:11px}
  .community-card-meta{font-size:7px}
  .community-numbers>span,.community-numbers button{font-size:7px}
}
@media(min-width:700px){.guide-community-shell{min-height:calc(100vh - 40px)}.guide-community-header{border-radius:8px 8px 0 0}}
@media(prefers-reduced-motion:reduce){.guide-community-status{transition:none}}
