:root{color-scheme:dark;--bg:#313338;--panel:#2b2d31;--deep:#1e1f22;--line:#404249;--text:#f2f3f5;--muted:#a6acb7;--brand:#5865f2;--lavender:#b6bdff}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 'Noto Sans KR',sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--lavender);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hub{min-height:100dvh;display:grid;grid-template-columns:264px minmax(0,1fr);transition:grid-template-columns .2s}#sidebar{position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:var(--panel);border-right:1px solid #1f2023;min-width:0;overflow:hidden}.brand{height:76px;display:flex;align-items:center;gap:12px;padding:0 24px;border-bottom:1px solid #222327;flex:none}.logo,.avatar{display:grid;place-items:center;background:var(--brand);border-radius:14px;width:40px;height:40px;flex:none;font-weight:800}.brand b{font-size:24px;letter-spacing:-1px}.brand b span{color:var(--lavender)}.side-scroll{padding:20px 14px;overflow:auto;flex:1}.side-label{font-size:10px;font-weight:700;letter-spacing:1px;color:#9199a5;padding:0 12px;margin-bottom:10px}nav{display:grid;gap:5px}nav button,.channel{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;padding:11px 13px;border-radius:6px;text-align:left;color:#b5bac1;font-weight:600}nav button span{font-size:20px;width:24px;text-align:center}nav button:hover,.channel:hover{background:#35373c;color:var(--text)}nav button.active,.channel.active{background:#404249;color:#f2f3f5;box-shadow:inset 3px 0 #949cff}.school-label{margin-top:30px;display:flex;align-items:center;justify-content:space-between}.school-label button{background:none;border:0;font-size:20px;color:#b5bac1}#school-select{background:var(--deep);border:1px solid var(--line);color:var(--text);padding:12px 10px;border-radius:7px;width:100%;margin-bottom:20px}#channels{display:grid;gap:3px}.channel{padding:8px 13px;font-size:13px}.channel span{color:#9299a5;font-size:19px;font-weight:400}.channel-label{margin-bottom:9px;padding:0 12px;font-size:10px;color:#9299a5}.account{display:flex;align-items:center;gap:10px;flex:none;border:0;border-top:1px solid #3b3d43;background:#232428;padding:16px;text-align:left}.account>span:nth-child(2){min-width:0;flex:1}.account b,.account small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account b{font-size:12px}.account small{font-size:10px;color:#949ba4}.account .avatar{width:32px;height:32px;border-radius:50%;font-size:12px}main{min-width:0}.top{position:sticky;top:0;z-index:5;height:76px;background:#313338f5;backdrop-filter:blur(12px);display:flex;gap:18px;align-items:center;padding:0 32px;border-bottom:1px solid var(--line)}.icon-button{border:1px solid #4b4d55;background:#383a40;border-radius:7px;width:38px;height:38px;font-size:19px}.breadcrumb{display:flex;gap:12px;align-items:center;min-width:0;flex:1}.breadcrumb>span{color:#9299a5;font-size:12px}.breadcrumb b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small-button,.button{border:1px solid #4b4d55;background:#383a40;padding:9px 15px;border-radius:6px;font-weight:600;font-size:12px}.button.primary{background:var(--brand);border-color:var(--brand)}.button:hover,.small-button:hover{filter:brightness(1.15)}#page{max-width:1180px;margin:0 auto;padding:32px 40px 64px}.page-heading{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-bottom:28px}.eyebrow{color:var(--lavender);font-size:10px;letter-spacing:2px;font-weight:700}h1{font-size:28px;letter-spacing:-1px;margin:6px 0}h2{font-size:17px;margin:0}h3{font-size:17px;margin:0}p{margin:0}.subtitle{font-size:12px;color:var(--muted);line-height:1.8}.heading-icon{width:64px;height:64px;border-radius:22px;background:#41434a;display:grid;place-items:center;font-size:36px;color:#d2d5dd}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:24px}.panel{border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid var(--line);gap:10px}.panel-head small{color:var(--muted);font-size:10px}.welcome-banner{padding:20px 22px;border:1px solid #505780;border-left:3px solid #949cff;border-radius:8px;margin-bottom:22px;background:#35394e}.welcome-banner b{font-size:14px}.welcome-banner p{margin-top:5px;font-size:12px;color:#bac0d5}.composer{padding:20px;border-bottom:1px solid var(--line)}.composer textarea{display:block;width:100%;resize:vertical;min-height:90px;max-height:350px;padding:14px 16px;background:var(--deep);color:var(--text);border:1px solid #42444b;border-radius:8px}.composer footer{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.composer small{font-size:10px;color:var(--muted)}.post{display:grid;grid-template-columns:36px minmax(0,1fr);gap:13px;padding:22px}.post+.post{border-top:1px solid #3b3d44}.post .avatar{width:36px;height:36px;border-radius:12px;font-size:14px}.post-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:12px}.post-meta time{font-size:10px;color:#9299a5}.post-body{margin:9px 0 14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;font-size:13px}.post-school{font-size:10px;color:var(--lavender);background:#393d55;border:0;border-radius:4px;padding:3px 7px}.reactions{display:flex;gap:7px;flex-wrap:wrap}.reactions button{background:#232428;border:1px solid #43454e;padding:5px 10px;border-radius:5px;color:#b5bac1;font-size:11px}.reactions button[aria-pressed=true]{border-color:#8d98fb;background:#3b4066;color:#e3e6ff}.reply-box{margin-top:16px;padding:14px;background:#232428;border-radius:8px}.reply{padding:10px 0;border-bottom:1px solid #3c3e44}.reply b{font-size:11px;color:var(--lavender)}.reply time{font-size:9px;color:#949ba4;margin-left:8px}.reply p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:4px}.reply-form{display:flex;gap:8px;margin-top:14px}.reply-form input{min-width:0;flex:1;background:#1e1f22;border:1px solid #454750;padding:10px;border-radius:6px;color:var(--text)}.right-column{display:grid;align-content:start;gap:20px}.info-card{padding:20px}.info-card .eyebrow{display:block;margin-bottom:14px}.info-card h3{font-size:16px}.info-card p{font-size:12px;color:var(--muted);margin:10px 0 18px;line-height:1.9}.info-card .button{display:block;text-align:center;width:100%;margin-top:8px}.school-chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.school-chips button{padding:8px 13px;background:#383a40;border:1px solid #4c4e57;border-radius:6px;color:#c9cdd5;font-size:12px}.school-chips button.active{background:#40466b;border-color:#858fed;color:#e4e7ff}.empty{padding:44px 24px;text-align:center;color:#a6acb7}.empty b{display:block;color:#e0e3e8;font-size:15px;margin-bottom:8px}.empty p{font-size:12px;margin-bottom:18px}.search-form{display:flex;gap:10px;margin-bottom:24px}.search-form input{flex:1;min-width:0;border:1px solid #4b4e59;background:#1e1f22;color:var(--text);border-radius:8px;padding:15px 17px}.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.school-card{padding:24px}.badge{font-size:10px;background:#383d59;color:#c3c9ff;padding:4px 7px;border-radius:4px;display:inline-block;margin-bottom:12px}.school-card p{color:var(--muted);font-size:12px;margin-top:7px}.scores{display:flex;gap:18px;padding:15px 0;margin:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:#b5bac1}.scores b{color:#f3ce7d}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.card-actions .button{flex:1;white-space:nowrap}.pagination{display:flex;justify-content:center;gap:18px;align-items:center;margin-top:24px}.popular{margin-bottom:24px}.popular-list{display:grid;grid-template-columns:1fr 1fr;padding:10px 14px;gap:4px 18px}.popular-post{display:flex;gap:12px;align-items:center;border:0;background:transparent;text-align:left;padding:10px;border-radius:6px;min-width:0}.popular-post:hover{background:#383a40}.rank{font-size:17px;color:#aab2ff;font-weight:800;min-width:20px}.popular-post>span:nth-child(2){min-width:0;flex:1}.popular-post b{display:block;color:var(--muted);font-size:10px;font-weight:400}.popular-post p{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.popular-post small{color:var(--lavender);font-size:10px}.meal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.meal-card{padding:22px}.meal-date{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:16px}.meal-date b{font-size:13px}.meal-date span{font-size:10px;border-radius:4px;background:#3c4265;color:#cbd0ff;padding:4px 8px}.meal-card p{line-height:2;font-size:13px;color:#d1d5dc}.meal-card small{display:block;margin-top:18px;font-size:10px;color:#949ba4}.source-note{font-size:11px;color:#949ba4;margin-top:22px}.source-note a{text-decoration:underline;color:#b6bdff}.sidebar-collapsed .hub{grid-template-columns:0 minmax(0,1fr)}.sidebar-collapsed #sidebar{visibility:hidden}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;z-index:50;background:#202125;border:1px solid #656b89;border-radius:8px;padding:14px 22px;box-shadow:0 10px 35px #0006;font-size:13px}#legacy-dialog{width:min(960px,96vw);height:92dvh;max-height:96dvh;padding:0;background:#25262b;border:1px solid #50535e;border-radius:12px;color:var(--text)}#legacy-dialog::backdrop{background:#08090dbb}#legacy-dialog>header{height:52px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid #44464f}#legacy-close{border:0;background:#3b3e49;border-radius:6px;width:32px;height:32px}#legacy-loading{padding:16px;color:#b5bac1}#legacy-frame{width:100%;height:calc(100% - 52px);border:0;background:#25262b}
@media(max-width:1150px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.right-column{grid-template-columns:1fr 1fr}.meal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#page{padding:28px 24px 48px}}@media(max-width:760px){.hub,.sidebar-collapsed .hub{display:block}#sidebar{position:fixed;left:0;top:0;bottom:0;width:264px;z-index:30;transition:transform .2s;box-shadow:12px 0 36px #0005}.sidebar-collapsed #sidebar{transform:translateX(-100%);visibility:hidden}#scrim{position:fixed;inset:0;z-index:20;background:#06070abb;border:0}.top{height:64px;padding:0 16px;gap:12px}.breadcrumb{gap:8px}.breadcrumb>span{display:none}.small-button{padding:8px 10px;font-size:10px}.brand{height:64px}#page{padding:24px 16px 40px}h1{font-size:23px}.page-heading{gap:12px;margin-bottom:20px}.heading-icon{width:50px;height:50px;font-size:28px;border-radius:16px}.right-column,.search-results{grid-template-columns:1fr}.welcome-banner{padding:16px}.post{padding:18px 15px;gap:10px;grid-template-columns:30px minmax(0,1fr)}.post .avatar{width:30px;height:30px;border-radius:10px}.composer{padding:15px}.popular-list{grid-template-columns:1fr}.school-card{padding:20px}.meal-grid{grid-template-columns:1fr 1fr;gap:10px}.meal-card{padding:15px}.meal-date{align-items:flex-start;gap:6px;flex-direction:column}.meal-card p{font-size:12px}.search-form{gap:8px}.search-form input{padding:12px}.reply-form{flex-wrap:wrap}.reply-form input{width:100%}.page-heading .button{padding:8px}.panel-head{padding:15px}#legacy-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.account{padding-bottom:max(16px,env(safe-area-inset-bottom))}}@media(max-width:370px){.meal-grid{grid-template-columns:1fr}.card-actions{flex-direction:column}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
:root .side-scroll{scrollbar-width:none;-ms-overflow-style:none}
:root .side-scroll::-webkit-scrollbar{display:none;width:0;height:0}
:root .channel.active,:root .channel.active span{color:#b8c0ff}
:root .channel.active{font-weight:800}
.post-tools{display:flex;gap:8px;margin-top:12px}.post-tools button{border:0;background:transparent;color:#a8b0c5;font-size:11px;padding:3px 5px}.post-tools button:hover{color:#d7dcff}.post-tools [data-delete]{color:#eea6b2}.edit-form{margin:12px 0}.edit-form textarea{display:block;width:100%;min-height:120px;padding:12px;background:#1e1f22;border:1px solid #717bc8;border-radius:6px;color:#f2f3f5;resize:vertical}.edit-form footer{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.profile-panel{padding:24px;margin-bottom:20px}.profile-panel h2{margin-bottom:10px}.profile-panel form{margin-top:18px}.profile-panel select,.profile-panel input{background:#1e1f22;color:#f2f3f5;border:1px solid #4b4d55;padding:10px;border-radius:6px;max-width:100%}.profile-panel #current-form{display:flex;gap:10px;flex-wrap:wrap}.profile-date{font-size:12px;color:#b6bdff;margin:14px 0}.profile-school{display:flex;gap:10px;align-items:center;padding:16px 0;border-bottom:1px solid #404249}.profile-school>div{flex:1;min-width:0}.profile-school small{display:block;color:#949ba4;font-size:11px}.profile-school select{font-size:12px}.profile-panel details{margin-top:18px}.profile-panel summary{cursor:pointer;color:#efb0bc}.profile-panel .danger{background:#652e3b;border-color:#a56b79;margin-top:14px}#leave-form input{display:block;margin-top:10px}#profile-results{display:grid;gap:8px;margin-bottom:18px;text-align:left}@media(max-width:600px){.profile-panel{padding:18px}.profile-school{flex-wrap:wrap}.profile-school>div{flex-basis:100%}}

/* Consistent channel pictograms: inherit the selected menu color. */
.menu-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle;pointer-events:none}#main-nav button,.channel{gap:12px}.channel .channel-name{font-size:14px;color:inherit;width:auto}.channel .menu-icon{color:inherit;opacity:.85}.channel.active .menu-icon,#main-nav button.active .menu-icon{opacity:1}.channel.active .channel-name{color:inherit}

/* One visible dialog: the embedded account form owns the panel. */
#legacy-dialog{background:transparent;border:0;box-shadow:none;border-radius:0}#legacy-dialog>header{position:absolute;right:8px;top:8px;height:auto;padding:0;border:0;z-index:2}#legacy-title{display:none}#legacy-frame{height:100%;background:transparent}#legacy-close{background:#383a40;color:#dbe0ea;box-shadow:0 2px 8px #0005}#legacy-loading{position:absolute;top:45%;left:0;right:0;text-align:center}

/* Original transparent logo; crop only its empty canvas in the layout. */
.brand-mark{position:relative;display:block;flex:0 0 52px;width:52px;height:24px;overflow:hidden}.brand-mark img{position:absolute;width:56.77px;height:56.77px;max-width:none;left:-1.7px;top:-14.99px}.brand{gap:10px}.brand b{white-space:nowrap}
.brand.brand-text-only{justify-content:flex-start;padding-left:28px;gap:0}.brand .brand-name{font-size:21px;font-weight:900;letter-spacing:1.25px;background:linear-gradient(110deg,#f2f3f5 10%,#d6d9ff 58%,#929cff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:0 0 22px #7d87ff30}.brand .brand-name span{margin-left:2px;color:#aab2ff;-webkit-text-fill-color:#aab2ff}
.avatar:has(.bandi-mascot){overflow:visible;background:transparent!important}.bandi-mascot{display:block;width:118%;height:118%;max-width:none;object-fit:contain;filter:drop-shadow(0 3px 5px #0005);pointer-events:none}.account .bandi-mascot{width:122%;height:122%}

/* Single full-viewport host, one backdrop and one inner close control. */
#legacy-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;overflow:hidden;background:transparent;border:0}
#legacy-dialog #legacy-frame{display:block;width:100%;height:100%;border:0}
#legacy-dialog.content-ready>header{display:none}
body:has(#legacy-dialog[open]){overflow:hidden}

/* Brand-blue sidebar tab with crisp white menu lines. */
#menu-toggle{background:var(--brand);border:1px solid #fff;color:#fff;box-shadow:0 3px 12px rgba(88,101,242,.28)}
#menu-toggle:hover{background:#6875f5;filter:none}
#menu-toggle:active{background:#4f5ce5;transform:translateY(1px)}

.channel .new-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;width:17px;height:17px;margin-left:auto;border-radius:5px;background:#da3e50;color:#fff;font:800 10px/1 Arial,sans-serif;letter-spacing:0;box-shadow:0 1px 3px #0003}

/* Reply emoji picker */
.workspace-grid>.panel{overflow:visible}
.content-emoji{display:inline-block;font-size:36px;line-height:1.15;vertical-align:-.16em;margin:0 1px}
.reply-input-wrap,.composer-input-wrap{position:relative;display:flex;align-items:center;min-width:0;flex:1}.reply-input-wrap>input{width:100%;padding-right:48px}.composer-input-wrap>textarea{padding-right:50px}.emoji-wrap{position:absolute;right:6px;top:50%;width:34px;height:34px;transform:translateY(-50%)}.composer-input-wrap .emoji-wrap{top:auto;bottom:8px;transform:none}.emoji-toggle{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:7px;background:#303238;font-size:19px;line-height:1}.emoji-toggle:hover,.emoji-toggle[aria-expanded=true]{background:#444750}.emoji-picker{position:absolute;right:0;bottom:42px;z-index:12;display:grid;grid-template-columns:repeat(6,36px);gap:4px;width:max-content;padding:10px;border:1px solid #52555f;border-radius:10px;background:#2b2d31;box-shadow:0 12px 32px #0008}.emoji-picker button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:6px;background:transparent;font-size:21px}.emoji-picker button:hover,.emoji-picker button:focus-visible{background:#404249}@media(max-width:420px){.emoji-picker{right:-38px;grid-template-columns:repeat(5,36px)}}

.top #login{margin-left:auto}.post-image{display:block;max-width:100%;max-height:520px;object-fit:contain;border-radius:12px;margin:12px 0}.photo-preview:not([hidden]){display:flex;align-items:center;gap:12px;padding:10px 0}.photo-preview img{max-width:180px;max-height:140px;border-radius:8px}.composer footer{flex-wrap:wrap;gap:10px}.photo-label{cursor:pointer}.photo-label:focus-within{outline:2px solid #b6bdff}

/* 카드 피드와 화면 하단 글쓰기 */
.feed-panel{border:0;background:transparent;overflow:visible}
.feed-panel>.panel-head{padding:4px 2px 18px;border:0}
#feed{display:grid;gap:18px}
#feed>.post{position:relative;display:block;padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 14px #00000014;min-width:0}
#feed>.post+.post{border-top:1px solid var(--line)}
#feed .post>.avatar{position:absolute;top:22px;left:22px;width:42px;height:42px;border-radius:50%}
#feed .post-meta{min-height:44px;padding-left:55px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px}
#feed .post-meta b{font-size:14px}#feed .post-meta time{font-size:11px}
#feed .post-body{font-size:15px;line-height:1.85;margin:20px 0;min-height:0}
#feed .post-body:empty{display:none}
#feed .post-image{width:100%;max-height:640px;object-fit:contain;background:#202125;border-radius:12px;margin:18px 0}
#feed .reactions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-top:1px solid var(--line);padding-top:12px;margin-top:18px}
#feed .reactions button{border:0;background:transparent;font-size:12px;padding:10px 4px;border-radius:8px}
#feed .reactions button:hover{background:#383b43}
#feed .reactions button[aria-pressed=true]{background:#3b4066;color:#dce0ff}
#feed .post-tools{justify-content:flex-end;margin-top:7px}
#feed .reply-box{background:#24262b;padding:14px;border-radius:12px}
#feed .reply{padding:12px 0}#feed .reply p{font-size:13px}
.composer-dock{position:fixed;z-index:15;bottom:max(12px,env(safe-area-inset-bottom));left:calc(50% + 132px);transform:translateX(-50%);width:min(760px,calc(100% - 312px));padding:14px 18px;border:1px solid #505462;border-radius:18px;background:#282a30;box-shadow:0 -8px 36px #0003,0 8px 28px #0005}
.sidebar-collapsed .composer-dock{left:50%;width:min(760px,calc(100% - 48px))}
.composer-dock-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;gap:12px}
.composer-dock-head b{font-size:12px;color:#dce0ec}
.dock-toggle{border:0;background:transparent;color:#b6bdff;font-size:11px;padding:4px 8px;border-radius:6px}
.dock-toggle:hover{background:#3c4050}
.composer-dock:has(#composer-fields[hidden]) .composer-dock-head{margin-bottom:0}
.composer-dock textarea{min-height:56px;height:56px;max-height:120px;resize:vertical;border-radius:11px;padding:12px 48px 12px 14px;font-size:13px}
.composer-dock footer{margin-top:9px;gap:8px}
.composer-dock .button{border-radius:9px}
.composer-dock .primary{margin-left:auto;min-width:88px}
.composer-dock .photo-preview img{max-height:76px;max-width:120px}
.composer-dock .photo-preview:not([hidden]){padding:8px 0 0}
.composer-dock .emoji-picker{max-width:calc(100vw - 48px)}
.has-composer #page{padding-bottom:calc(var(--composer-height,190px) + 48px + env(safe-area-inset-bottom))}
.has-composer #toast{bottom:calc(var(--composer-height,190px) + 30px + env(safe-area-inset-bottom))}
html{scroll-padding-bottom:calc(var(--composer-height,0px) + 44px)}
@media(max-width:760px){
 .composer-dock,.sidebar-collapsed .composer-dock{left:50%;width:calc(100% - 20px);bottom:max(8px,env(safe-area-inset-bottom));padding:10px 12px;border-radius:15px}
 .composer-dock footer small{display:none}
 .composer-dock textarea{font-size:16px;min-height:52px;height:52px;max-height:100px}
 .composer-dock .emoji-picker{right:0;grid-template-columns:repeat(5,36px)}
 #feed{gap:14px}#feed>.post{padding:16px;border-radius:13px}
 #feed .post>.avatar{top:16px;left:16px;width:38px;height:38px}
 #feed .post-meta{padding-left:49px;min-height:40px}
 #feed .post-body{font-size:14px;margin:16px 0}
 #feed .reactions button{font-size:11px;padding:9px 2px}
 .feed-layout .right-column{margin-top:4px}
}
@media(max-height:500px){.composer-dock-head{margin-bottom:3px}.composer-dock{padding-top:7px;padding-bottom:7px}.composer-dock textarea{min-height:40px;height:40px}.composer-dock .photo-preview img{max-height:40px}}

/* 글쓰기 창을 실제 게시글 열에 정렬 */
.composer-dock,.sidebar-collapsed .composer-dock{transform:none;max-width:none}
@media(min-width:761px){.feed-layout{grid-template-columns:minmax(0,1fr) 250px;gap:24px}}
@media(min-width:761px) and (max-width:1150px){.feed-layout{grid-template-columns:minmax(0,1fr)}.feed-layout .right-column{grid-template-columns:1fr 1fr}}

/* 작은 화면에서는 가벼운 한 줄 작성 바 */
.photo-label{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.photo-icon{width:18px;height:18px;flex:none}
@media(max-width:760px){
 .composer-dock,.sidebar-collapsed .composer-dock{padding:10px;border-color:#41444d;border-radius:16px;background:#2b2d31;box-shadow:0 4px 20px #0005}
 .composer-dock-head{display:none}
 #post-form #composer-fields{display:grid!important;grid-template-columns:36px minmax(0,1fr) 62px;gap:8px;align-items:end}
 #post-form .composer-input-wrap{grid-column:2;grid-row:1;min-width:0}
 #post-form textarea{height:44px;min-height:44px;max-height:120px;resize:none;border:1px solid #41434a;background:#232428;border-radius:12px;padding:10px 12px;font-size:16px;line-height:22px;transition:height .15s}
 #post-form:focus-within textarea{height:88px;padding-right:42px}
 #post-form .composer-input-wrap .emoji-wrap{display:none}
 #post-form:focus-within .composer-input-wrap .emoji-wrap{display:block;bottom:6px}
 #post-form footer{display:contents}
 #post-form footer small,.composer-dock .photo-caption{display:none}
 #post-form .photo-label{grid-column:1;grid-row:1;width:36px;height:44px;padding:0;background:transparent;border:0;border-radius:10px;color:#b9c1db}
 #post-form .photo-label:hover,#post-form .photo-label:focus-within{background:#3b3e47}
 #post-form .photo-icon{width:23px;height:23px}
 #post-form .primary{grid-column:3;grid-row:1;min-width:0;width:62px;height:42px;padding:0 8px;margin:0 0 1px;border-radius:11px;font-size:12px}
 #post-form .photo-preview:not([hidden]){grid-column:1/-1;grid-row:2;padding:6px 4px 0;gap:10px}
 #post-form .photo-preview img{max-height:64px;max-width:96px}
}

/* 사이드 메뉴 가독성 */
#sidebar .side-label,
#sidebar .channel-label,
#sidebar nav button,
#sidebar .channel,
#sidebar nav button .menu-icon,
#sidebar .channel .menu-icon,
#sidebar .channel-name,
#sidebar .school-label,
#sidebar .school-label button{color:#fff}
#sidebar #school-select{color:#fff}
#sidebar #school-select option{color:#fff;background:#1e1f22}

/* 커뮤니티 상단 인기글 */
.community-popular{margin-bottom:24px}
.community-popular .popular-list{background:var(--panel)}
@media(max-width:760px){.community-popular{margin-bottom:18px}.community-popular .panel-head{align-items:flex-start}.community-popular .panel-head small{padding-top:4px}}

.avatar .bandi-mascot,.account .bandi-mascot{width:100%;height:100%;object-fit:contain;filter:none;border-radius:50%}
