#so-mobile-shortcuts,#so-mobile-navigation{display:none}
#so-mobile-menu-dialog{width:min(94vw,480px);max-height:80dvh;padding:20px;border:1px solid #e4eaf2;border-radius:20px;margin:auto;color:#172238;background:#fff;box-sizing:border-box}
#so-mobile-menu-dialog::backdrop{background:#17223866}
#so-mobile-menu-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
#so-mobile-menu-dialog h2{font-size:18px}#so-mobile-menu-dialog button{cursor:pointer}#so-mobile-menu-dialog header button{border:0;background:#f2f5fa;border-radius:50%;width:36px;height:36px;font-size:24px}
#so-mobile-menu-dialog p{font-size:13px;color:#66758b;margin-bottom:14px}#so-mobile-menu-dialog summary{font-weight:700;padding:12px 0}#so-mobile-menu-dialog a,#so-mobile-menu-dialog label{display:flex;justify-content:space-between;padding:12px 4px;border-bottom:1px solid #eef1f5;color:#23364c;text-decoration:none;font-size:14px}#so-mobile-menu-dialog input{width:18px;height:18px;accent-color:#0865ff}.so-mn-save{position:sticky;bottom:0;width:100%;border:0;border-radius:10px;padding:13px;background:#0865ff;color:white;font-weight:700;margin-top:16px}
@media(max-width:768px){
html body:has(#so-mobile-navigation){padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
#so-mobile-shortcuts{display:flex;align-items:center;gap:8px;overflow:auto;padding:12px;background:#fff;scrollbar-width:none;border-bottom:1px solid #edf0f5}
#so-mobile-shortcuts a,#so-mobile-shortcuts button{flex-shrink:0;display:flex;align-items:center;gap:7px;white-space:nowrap;padding:10px 12px;border:1px solid #e4e9f1;border-radius:12px;color:#24334b;background:#fff;font:600 13px/1.3 -apple-system,'Malgun Gothic',sans-serif;text-decoration:none;box-shadow:0 2px 5px #17223804}.so-mn-n{background:#03c75a;color:#fff;border-radius:4px;padding:1px 4px}
#so-mobile-navigation{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:9998;align-items:center;justify-content:space-around;padding:8px 4px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e4eaf2;box-shadow:0 -3px 16px #17223808;backdrop-filter:blur(12px)}
#so-mobile-navigation a,#so-mobile-navigation button{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;background:none;border:0;text-decoration:none;color:#526176;font:500 11px/1.3 -apple-system,'Malgun Gothic',sans-serif;cursor:pointer}#so-mobile-navigation svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}#so-mobile-navigation .current{color:#0865ff;font-weight:700}#so-mobile-navigation .current svg{fill:currentColor;stroke-width:0}#so-mobile-navigation .so-mn-write b{display:grid;place-items:center;width:46px;height:46px;background:linear-gradient(145deg,#1487ff,#0753ef);border-radius:50%;color:#fff;font-size:31px;font-weight:400;box-shadow:0 4px 12px #0865ff35;margin-top:-23px;border:3px solid white}
html body .so-search-calc-mobile,html body .so-calc-fab{display:none!important}
html.so-v4.so-mobile-ready body .header-inner .so-compact-search{flex:1 0 100%!important;width:100%!important;border:1.5px solid #dbe8ff!important;border-radius:28px!important;background:#f9fcff!important;max-width:none!important}
html body .header-inner .h-right{display:flex!important;gap:5px!important;align-items:center!important}
html body .header-inner .h-right .so-hdr-bell{order:1;width:36px!important;min-width:36px!important;height:36px!important;padding:7px!important;background:transparent!important;border:0!important}
html body .header-inner .h-right .so-hdr-bell .tx,html body .header-inner .h-right .so-hdr-bell .sw{display:none!important}
html body .header-inner .h-right .som-mobile-trigger{order:2;width:36px!important;min-width:36px!important;height:36px!important;padding:6px!important;border:0!important;background:transparent!important;color:#53667d!important;position:relative}
html body .som-mobile-trigger>span:not(.som-envelope){display:none!important}html body .som-mobile-trigger .som-envelope{font-size:21px!important}
html body .header-inner .h-right .so-menu-button{order:3}html body .header-inner .h-right .btn-login,html body .header-inner .h-right .so-my-space-link{display:none!important}
html body #layout-edit{bottom:86px!important}
}

@media(max-width:768px){html body .som-mobile-trigger .som-envelope{animation:none!important}html body .som-mobile-trigger .som-more-count{position:absolute;right:2px;top:2px;min-width:6px;width:6px;height:6px;padding:0;background:#ef4444;border-radius:50%;font-size:0}}

@media(max-width:768px){html body .so-mobile-bar .so-mb-calc{display:none!important}}
@media(max-width:768px){#so-mobile-shortcuts{margin-top:0!important;min-height:64px;position:relative}}
/* Mobile header: match approved preview; existing post styles untouched. */
@media(max-width:768px){
html body .header-inner,html body .header-inner input,html body .header-inner button,html body .so-mobile-bar,html body .so-mobile-bar a,html body #so-mobile-shortcuts a,html body #so-mobile-shortcuts button,html body #so-mobile-navigation a,html body #so-mobile-navigation button{font-family:Arial,'Malgun Gothic',sans-serif!important}
html.so-v4.so-mobile-ready body .header-inner .so-compact-search{display:flex!important;align-items:center!important;gap:8px!important;min-height:50px!important;padding:4px 8px 4px 13px!important;border:2px solid #d8e6ff!important;border-radius:28px!important;background:linear-gradient(110deg,#fff,#f3f9ff)!important;box-shadow:none!important}
html body .header-inner .so-compact-search:before{content:'';width:16px;height:16px;flex:0 0 16px;background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172238' stroke-width='2'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E")}
html body .header-inner .so-compact-search input{font-size:14px!important;letter-spacing:-.3px!important;background:transparent!important;height:38px!important;padding:0!important;flex:1!important;min-width:0!important;border:0!important}
html body .header-inner .so-compact-search button{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:auto!important;flex:0 0 auto!important;height:34px!important;min-width:76px!important;padding:0 11px!important;border-radius:20px!important;background:#e5f1ff!important;color:#0667ff!important;font-size:12px!important;font-weight:700!important;border:0!important}
html body .header-inner .so-compact-search button svg{width:15px!important;height:15px!important;margin:0!important}html body .header-inner .so-compact-search button:after{content:'AI 도움';white-space:nowrap}
html body .so-mobile-bar a{font-size:14px!important;font-weight:700!important;letter-spacing:-.25px!important;color:#354154!important}html body .so-mobile-bar .so-mn-home[aria-current=page]{color:#0865ff!important;border-bottom:3px solid #0865ff!important}html body .so-mobile-bar a:not([aria-current=page]){border-bottom-color:transparent!important}
}
@media(max-width:768px){html body .so-mobile-bar a{border-radius:0!important;background:transparent!important;box-shadow:none!important}html body .so-mobile-bar .so-mn-home{min-width:48px;text-align:center}}
/* Header icons: message then notifications, compact and quiet. */
@media(max-width:768px){
html body .header-inner .h-right{margin-left:auto!important;gap:7px!important}
html body .header-inner .h-right .som-mobile-trigger{order:1!important;width:36px!important;height:36px!important;color:#101820!important}
html body .header-inner .h-right .so-hdr-bell{order:2!important;width:36px!important;height:36px!important;color:#101820!important}
html body:has(#so-mobile-navigation) .header-inner .h-right .so-menu-button{display:none!important}
html body .header-inner .som-mobile-trigger .som-envelope{display:block!important;width:24px!important;height:24px!important;font-size:0!important;background:center/24px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101820' stroke-width='1.7' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='15' rx='1.5'/%3E%3Cpath d='m3 6 9 8 9-8'/%3E%3C/svg%3E")}
html body .header-inner .som-mobile-trigger .som-more-count{width:7px!important;height:7px!important;top:4px!important;right:3px!important;border:1.5px solid white;box-sizing:content-box}
html body .header-inner .so-hdr-bell svg{width:24px!important;height:24px!important;stroke-width:1.7!important}
}
/* Unread counts represent inbox items, not notification preference. */
html body .so-inbox-bell .slash,html body .so-inbox-bell .sw,html body .so-inbox-bell .tip{display:none!important}
html body .so-inbox-bell{position:relative}
html body .so-inbox-count,html body .header-inner .som-mobile-trigger .som-more-count{position:absolute!important;top:0!important;right:0!important;min-width:16px!important;width:auto!important;height:16px!important;padding:0 3px!important;border:2px solid #fff!important;border-radius:12px!important;background:#ff3b35!important;color:#fff!important;font:700 10px/16px Arial,sans-serif!important;box-sizing:content-box!important}
/* Envelope: unread dot only. Bell: unread number. */
html body .header-inner .som-mobile-trigger{position:relative!important}
html body .header-inner .som-mobile-trigger .som-more-count{font-size:0!important;line-height:0!important;min-width:0!important;width:6px!important;height:6px!important;padding:0!important;top:5px!important;right:4px!important;border:2px solid #fff!important}
html body .header-inner .som-mobile-trigger .som-envelope{background:none!important}
html body .som-envelope svg{display:block;width:24px;height:24px;fill:none;stroke:#172234;stroke-width:1.7;stroke-linejoin:round}
html body .so-inbox-count{top:0!important;right:-1px!important;font-size:11px!important}

/* Shared header: no page-specific width or legacy icon offsets. */
@media(max-width:768px){
html body .header-inner{box-sizing:border-box!important;width:100%!important;max-width:100%!important;gap:10px!important;padding:10px 12px!important}
html body .header-inner .so-compact-search{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;flex:1 0 100%!important;order:3!important;position:relative!important}
html body .header-inner .so-compact-search input{width:0!important;min-width:0!important;max-width:100%!important;flex:1 1 0!important}
html body .header-inner .so-compact-search button{position:static!important;inset:auto!important;transform:none!important;margin:0!important;box-sizing:border-box!important;line-height:1!important}
html body .header-inner .so-compact-search button svg{display:block!important;fill:currentColor!important;stroke:none!important;flex-shrink:0!important}
html body .so-mobile-bar{box-sizing:border-box!important;max-width:100%!important;overflow-x:auto!important;white-space:nowrap;scrollbar-width:none}
html body .so-mobile-bar::-webkit-scrollbar{display:none}
html body #so-mobile-shortcuts{margin-top:0!important;box-sizing:border-box!important;min-height:0!important}
html body .so-mobile-bar a[aria-current=page]{color:#0865ff!important;border-bottom:3px solid #0865ff!important}
}

/* Board favorites: one menu, at most three locally saved favorites. */
html body #so-mobile-shortcuts{display:none!important}
#so-mobile-menu-dialog .so-favorite-row{display:flex;align-items:center;border-bottom:1px solid #edf0f4;gap:8px}
#so-mobile-menu-dialog .so-favorite-row a{flex:1;min-width:0;border:0;padding:14px 0;font-size:14px}
#so-mobile-menu-dialog .so-favorite-star{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;color:#c4cbd4;border-radius:10px}
#so-mobile-menu-dialog .so-favorite-star svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
#so-mobile-menu-dialog .so-favorite-star[aria-pressed=true]{color:#e6a200}
#so-mobile-menu-dialog .so-favorite-star[aria-pressed=true] svg{fill:#ffda67}
#so-mobile-menu-dialog .so-favorite-star:focus-visible{outline:2px solid #0865ff}
#so-mobile-menu-dialog .so-favorites{background:#f5f8ff;padding:14px;border-radius:12px;margin-bottom:12px}
#so-mobile-menu-dialog .so-favorites h3{margin:0 0 8px;font-size:15px;color:#203655}
#so-mobile-menu-dialog .so-favorites small{color:#637b9c;font-weight:400}
#so-mobile-menu-dialog .so-favorites p{margin:0;line-height:1.6}
#so-favorite-status{color:#a45500!important;font-size:13px;line-height:1.5}

.so-desktop-favorites{border:1px solid #dfe7f1;border-radius:12px;background:#f5f8ff;color:#315b87;padding:10px 12px;white-space:nowrap;cursor:pointer;font:600 13px Arial,sans-serif}@media(max-width:768px){.so-desktop-favorites{display:none!important}}

/* Consistent browse spacing; focused reading and editing. */
html.so-depth-detail .sm-sub-hero,html.so-depth-detail .m-top-banner{display:none!important}
.so-depth-back{display:none}
@media(max-width:768px){
html.so-depth-home body .page{padding-top:12px!important}
html.so-depth-home body #so-sections>[data-sw="banner"]{margin:0 0 12px!important;min-height:0!important;padding:0!important}
html.so-depth-home body #so-sections>[data-sw="banner"]>.hero-banner,
html.so-depth-home body #so-sections>[data-sw="banner"]>.so-account-banner-row{margin:0!important}
html.so-depth-list body .sub_left{gap:0!important}
html.so-depth-list body .sm-sub-hero{margin:12px!important}
html.so-depth-list body .sm-sub-hero+.board-hd-card{margin-top:0!important;padding-top:0!important}
html.so-depth-focus body #so-mobile-navigation,html body:has(.som-dialog[open]) #so-mobile-navigation{display:none!important}
html.so-depth-focus body:has(#so-mobile-navigation){padding-bottom:env(safe-area-inset-bottom)!important}
html.so-depth-focus body .so-depth-back:not([hidden]){display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 8px;color:#263c54;font:600 14px Arial,sans-serif;text-decoration:none;border:1px solid #e2e9f1;border-radius:10px;background:white;flex:none}
}
@media(max-width:768px){html.so-v4.so-mobile-ready.so-depth-list body .sub_left{gap:0!important}}
@media(max-width:768px){html.so-v4.so-mobile-ready body .header-inner .h-right .btn-login{display:inline-flex!important;align-items:center;justify-content:center;order:0;min-width:52px;height:34px;padding:0 9px!important;border:1px solid #dce5ef!important;border-radius:10px;background:#fff!important;color:#263c54!important;font:600 13px Arial,sans-serif!important;white-space:nowrap;text-decoration:none}html.so-v4.so-mobile-ready body .header-inner .h-right{gap:4px!important}}

/* Notice lists: title only, without changing ordinary post metadata. */
@media(max-width:768px){
html body .sob-row.sob-notice{display:block!important;padding:14px 16px!important;min-height:0!important;background:#fff!important;border-bottom:1px solid #edf0f4}
html body .sob-row.sob-notice> :not(.sob-tit){display:none!important}
html body .sob-row.sob-notice .sob-tit{display:flex!important;align-items:center;gap:8px;margin:0!important;padding:0!important;min-width:0}
html body .sob-row.sob-notice .sob-tit .sob-t{color:#1d2939!important;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
html body .sob-row.sob-notice .sob-pin{display:inline-flex!important;flex:none;border-radius:12px;background:#616a73!important;color:#fff!important;padding:3px 8px!important;font-size:12px!important;line-height:1.4}
html body .sob-row.sob-notice .sob-tit> :not(.sob-pin):not(.sob-t){display:none!important}
}
@media(max-width:768px){html.so-v4.so-mobile-ready body .so-mobile-subcategories{margin:0!important;padding:12px!important;box-sizing:border-box}html.so-v4.so-mobile-ready body .board-hd-card.som-board-head{padding-top:0!important;padding-bottom:0!important;margin-bottom:12px!important}html.so-v4.so-mobile-ready.so-depth-detail body .sub_left{gap:12px!important}}
@media(max-width:768px){html.so-v4.so-mobile-ready body .sob-row.sob-notice .pl-num{display:none!important}}
@media(max-width:768px){html.so-v4.so-mobile-ready.so-depth-focus body .header-inner .so-depth-back:not([hidden]){width:28px;min-width:28px;min-height:40px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:0!important;flex:0 0 28px;gap:0}html.so-v4.so-mobile-ready.so-depth-focus body .header-inner .so-depth-back:before{content:"";display:block;width:10px;height:10px;border-left:2px solid #263c54;border-bottom:2px solid #263c54;transform:rotate(45deg);margin-left:5px}html.so-v4.so-mobile-ready.so-depth-focus body .header-inner .so-depth-back:focus-visible{outline:2px solid #0865ff;outline-offset:2px}}

/* Red notices remain title-only. Banner and menu share one white gutter. */
html body .sob-row.sob-notice .sob-tit .sob-t{color:#ff353b!important}
html body .sob-row.sob-notice .sob-pin{color:#ff353b!important;background:#fff0f1!important}
@media(max-width:768px){
html.so-v4.so-mobile-ready body .header-inner .so-depth-back{display:none!important}
html.so-v4.so-mobile-ready.so-depth-list body .sub_left,html.so-v4.so-mobile-ready.so-depth-detail body .sub_left{background:white!important;gap:0!important;padding-top:0!important}
html.so-v4.so-mobile-ready.so-depth-list body .sm-sub-hero{margin:12px 12px 0!important}
html.so-v4.so-mobile-ready body .board-hd-card.som-board-head{margin:0!important;padding:0!important;border-radius:0!important;background:white!important;border-bottom:1px solid #e9edf3!important}
html.so-v4.so-mobile-ready body .so-mobile-subcategories{padding:12px!important;margin:0!important;background:white!important;border:0!important}
html.so-v4.so-mobile-ready.so-depth-detail body .bbs_detail_container{margin-top:12px!important}
html.so-v4.so-mobile-ready.so-depth-detail body #so-mobile-navigation{display:flex!important;transition:transform .2s ease,visibility .2s;transform:translateY(0)}
html.so-v4.so-mobile-ready.so-depth-detail.so-nav-reading body #so-mobile-navigation,html.so-v4.so-mobile-ready.so-depth-detail.so-nav-input body #so-mobile-navigation{transform:translateY(110%);visibility:hidden;pointer-events:none}
html.so-v4.so-mobile-ready.so-depth-detail body:has(#so-mobile-navigation){padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}
html.so-v4.so-mobile-ready.so-depth-detail body:has(.som-dialog[open]) #so-mobile-navigation{display:none!important}
@media(prefers-reduced-motion:reduce){html.so-depth-detail #so-mobile-navigation{transition:none!important}}
}

@media(max-width:768px){html.so-v4.so-mobile-ready.so-depth-focus body .header-inner .so-depth-back:not([hidden]){display:none!important}}

@media(max-width:768px){html.so-depth-home.so-v4.so-mobile-ready body .so-mobile-bar a:not([href='/']){color:#354154!important;border-bottom-color:transparent!important}html.so-depth-home.so-v4.so-mobile-ready body .so-mobile-bar a:not([href='/']):after{display:none!important}}

/* Author column: consistent left alignment and compact staff badge. */
@media(min-width:769px){
 html body .sob-row .sob-who{text-align:left!important;justify-content:flex-start!important}
 html body .sob-row .sob-who .sob-nm{justify-content:flex-start!important;text-align:left!important}
}
html body .sob-who .so-official-label{width:14px!important;height:14px!important;min-width:14px!important;padding:0!important;font-size:10px!important;line-height:14px!important;border-radius:4px!important;vertical-align:middle!important;box-sizing:border-box!important}
/* Compact sorting control; preserve existing data-sort handlers. */
html body .toolbar.som-toolbar{padding:14px 0!important;margin:0 0 12px!important;min-height:64px!important;box-sizing:border-box;gap:12px!important;align-items:center!important}
html body .som-toolbar .so-sort-group{display:inline-flex!important;align-items:center;gap:2px!important;padding:4px!important;background:#edf1f5;border-radius:12px;flex-shrink:0}
html body .som-toolbar .sort-btn{appearance:none;-webkit-appearance:none;border:0!important;background:transparent!important;box-shadow:none!important;color:#667085!important;border-radius:9px!important;min-height:36px!important;padding:8px 11px!important;margin:0!important;line-height:20px!important;white-space:nowrap}
html body .som-toolbar .sort-btn.active{background:#fff!important;color:#2563eb!important;font-weight:700!important;box-shadow:0 1px 4px #14294318!important}
html body .som-toolbar .btn-write{display:inline-flex;align-items:center;justify-content:center;min-height:38px!important;margin:0!important;line-height:20px!important;box-sizing:border-box}
@media(max-width:768px){html body .toolbar.som-toolbar{padding:12px 0!important;gap:8px!important;flex-wrap:wrap}html body .som-toolbar .sort-btn{padding:7px 9px!important;font-size:13px!important}html body .so-toolbar-board-name{font-size:15px!important}}
@media(max-width:768px){
html.so-v4.so-mobile-ready body .toolbar.som-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;row-gap:10px!important;padding:12px!important;min-width:0!important}
html.so-v4.so-mobile-ready body .som-toolbar .so-toolbar-board-name{position:static!important;transform:none!important;grid-column:1/-1!important;grid-row:1!important;width:auto!important;text-align:left!important;margin:0!important;line-height:22px!important}
html.so-v4.so-mobile-ready body .som-toolbar .so-sort-group{grid-column:1!important;grid-row:2!important;justify-self:start!important}
html.so-v4.so-mobile-ready body .som-toolbar .so-toolbar-actions{position:static!important;transform:none!important;grid-column:2!important;grid-row:2!important;margin:0!important;justify-self:end!important}
}