/* Shared community layout: desktop and mobile */
.sc-header-community .sc-brand-row{grid-template-columns:285px minmax(160px,1fr) 410px;gap:18px;width:calc(100% - 32px)}
.sc-header-community .sc-wordmark small{letter-spacing:0;line-height:1.5;font-size:12px;white-space:normal}
@media(max-width:1100px){.sc-header-community .sc-brand-row{grid-template-columns:1fr 1fr}.sc-header-account{grid-column:1/-1}.sc-member-links{justify-content:flex-start}}
@media(max-width:760px){
html,body{min-width:0!important;width:100%;overflow-x:hidden}body{font-size:16px;-webkit-text-size-adjust:100%}
.sc-header-community .sc-brand-row{display:flex;flex-wrap:wrap;width:calc(100% - 28px);padding:14px 0;gap:12px;min-height:0}
.sc-header-community .sc-wordmark{font-size:29px;gap:8px;width:100%}.sc-wordmark svg{width:36px;height:36px}.sc-header-community .sc-wordmark small{font-size:12px;margin-top:5px}
.sc-header-community .sc-search,.sc-header-account{width:100%;min-width:0}.sc-search input{min-width:0;width:100%}.sc-admin-strip{padding:8px 14px;justify-content:flex-start;gap:8px 16px}
.sc-login-fields{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr) auto;gap:5px}.sc-login-fields input{width:100%;box-sizing:border-box;height:42px;font-size:16px}.sc-login-fields button{height:42px;padding:0 10px}.sc-login-fields .sc-join{font-size:13px;margin:0}.sc-login-help{font-size:13px}.sc-member-links{justify-content:flex-start;flex-wrap:wrap;gap:12px}
#container_wr{display:flex;flex-direction:column;width:calc(100% - 28px);margin:14px auto 24px;gap:16px}#container{order:2;width:100%;min-width:0}#aside{display:contents}.sc-community-menu{display:flex!important;order:1;flex-wrap:wrap;gap:0;border-top:0;border-bottom:1px solid #dce3e3;padding:0 0 8px;margin:0}.sc-community-menu strong{display:none}.sc-community-menu a{padding:9px 10px;font-size:15px;border-left:0}.sc-stats{order:3;width:100%;box-sizing:border-box}.sc-register-pair{order:4;margin:0;width:100%}.sc-mini-music{order:5;width:100%;margin:0}
.sc-home-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:18px;margin-top:16px}.sc-intro h1{font-size:18px;line-height:1.55}.sc-intro span{font-size:14px}.sc-home-section h2{font-size:18px}.sc-latest strong{font-size:16px}.sc-latest li{min-width:0;min-height:43px}.sc-latest li>a{min-width:0}.sc-latest time{font-size:12px}.sc-news-source{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sc-footer>div{width:calc(100% - 28px);padding:20px 0}.sc-footer nav{max-width:100%;display:flex;gap:10px 16px;float:none;margin:12px 0;flex-wrap:wrap}.sc-footer p{font-size:13px;overflow-wrap:anywhere}
#container_title{font-size:20px}#bo_list,#bo_v,#bo_w,.sci-page{width:100%;min-width:0;box-sizing:border-box}.tbl_head01{overflow-x:auto}.tbl_head01 table{min-width:520px}#bo_v_con img{max-width:100%;height:auto}.write_div input,.write_div textarea{max-width:100%;box-sizing:border-box}input,textarea,select{font-size:16px}.sci-guide-list,.sci-directory{grid-template-columns:1fr!important}#mb_login,#register_form,#register{max-width:100%;box-sizing:border-box}.sc-register-pair a{padding:12px 4px}
}

@media(max-width:760px){#wrapper{min-width:0!important}#bo_v{padding:12px!important}.sc-persistent-music-slot{max-width:100%}.sc-footer{min-width:0}}

/* Align search and login controls on the same horizontal line. */
.sc-inline-login{position:relative;width:100%;margin:0}
.sc-login-fields{display:flex;align-items:center;gap:6px;width:100%}
.sc-login-fields input{flex:1 1 0;width:0;min-width:0;height:40px;box-sizing:border-box}
.sc-login-fields button{flex:0 0 auto;height:40px;box-sizing:border-box}
.sc-login-fields .sc-join{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:40px;box-sizing:border-box;padding:0 10px;margin:0;border:1px solid #c6d4ce;border-radius:3px;background:#f3f7f4;color:#294a48;font-size:14px;font-weight:500;text-decoration:none}
.sc-login-fields .sc-join:hover,.sc-login-fields .sc-join:focus-visible{background:#e8f0eb;border-color:#6e9282}
.sc-header-community .sc-search{height:40px;box-sizing:border-box;align-self:center}
.sc-header-community .sc-search input,.sc-header-community .sc-search button{height:38px;box-sizing:border-box;padding-top:0;padding-bottom:0}
.sc-login-help{position:absolute;right:0;top:100%;margin-top:6px;text-align:right;line-height:1.4;font-size:12px}
.sc-header-account{align-self:center;min-width:0}
@media(max-width:1100px){.sc-header-account{padding-bottom:24px}.sc-login-help{font-size:13px}}
@media(max-width:760px){.sc-mini-music{display:none!important}.sc-login-fields{gap:5px}.sc-login-fields .sc-join{padding:0 8px;font-size:13px}.sc-login-fields input{height:42px;font-size:16px;padding:0 7px}.sc-login-fields button,.sc-login-fields .sc-join{height:42px}.sc-login-help{right:0;margin-top:6px}}

/* Three equally sized mobile menu columns. */
@media(max-width:760px){
.sc-community-menu{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%;padding-bottom:12px;box-sizing:border-box}
.sc-community-menu a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 4px;border:1px solid transparent;border-radius:4px;font-size:15px;line-height:1.4;text-align:center;box-sizing:border-box}
.sc-community-menu a:nth-child(-n+2){background:#eef4ef;border-color:#c4d4c8;color:#294f3b;font-weight:600}
.sc-community-menu a:hover,.sc-community-menu a:focus-visible{background:#e7efe9;border-color:#91af9a}
}

.sc-notice-small{margin-top:24px}.sc-notice-small header h2{font-size:16px}
