.forum-header .container-top { width: min(1200px, calc(100% - 32px)); }
.forum-topbar { background: #f3f3f3; border-bottom: 1px solid #e7e7e7; }
.forum-topbar .forum-account { min-height: 38px; justify-content: flex-end; gap: 18px; }
.forum-header .forum-topbar .btn-login, .forum-header .forum-topbar .btn-register, .forum-header .forum-topbar .btn-login-out, .forum-header .forum-topbar .btn-add-t, .forum-header .forum-topbar .center-a { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 36px; padding: 6px 14px; margin: 0; border: 1px solid transparent; border-radius: 6px; font-size: 14px; font-weight: 600; color: #fff; line-height: 22px; text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px #00000012; transition: filter .15s ease; }
body .forum-header .forum-topbar .forum-account { padding-top: 7px; padding-bottom: 7px; gap: 10px; flex-wrap: wrap; }
.forum-header .forum-topbar .center-a { background: #2563b9; }
.forum-header .forum-topbar .btn-add-t { background: #16804a; }
.forum-header .forum-topbar .btn-login-out { background: #596579; }
.forum-header .forum-topbar .btn-register { background: #b65b08; }
.forum-header .forum-topbar .btn-login { background: #7350b5; }
.forum-header .forum-topbar .forum-account a:hover, .forum-header .forum-topbar .forum-account button:hover { filter: brightness(.9); color: #fff; }
.forum-header .forum-topbar .forum-account a:focus-visible, .forum-header .forum-topbar .forum-account button:focus-visible { outline: 2px solid #1d3557; outline-offset: 3px; }
@media(max-width:768px) {
 body .forum-header .forum-topbar .forum-account { gap: 8px; }
 body .forum-header .forum-topbar .forum-account a, body .forum-header .forum-topbar .forum-account button { min-height: 40px; padding: 6px 10px; line-height: 24px; font-size: 13px; }
}
.forum-header .navbar { height: auto; min-height: 112px; gap: 20px; }
.forum-header .logo-wrapper { width: 300px; height: 100px; flex-shrink: 0; }
.forum-header .logo-wrapper a { display: block; height: 100%; }
.forum-header .logo-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.forum-brand-note { color: #969696; font-size: 13px; white-space: nowrap; margin: 35px 0 0; }
.forum-header .menu-btn { margin-left: auto; gap: 9px; flex-direction: column; align-items: flex-end; padding: 12px 0; }
.forum-header .select-div { width: 440px; max-width: 100%; height: auto; }
.forum-search-links { display: flex; align-items: center; gap: 12px; height: 25px; font-size: 13px; }
.forum-search-links span { background: #df202b; color: #fff; padding: 4px 12px; }
.forum-search-links a { color: #315e96; }
.forum-search-links a:hover { color: #cf0010; }
.forum-header #searchform { height: 38px; display: flex; border: 2px solid #df202b; box-sizing: border-box; }
.forum-header .select-div-input { flex: 1; min-width: 0; width: auto; border: 0; border-radius: 0; padding: 0 10px; box-sizing: border-box; outline-offset: -3px; }
.forum-header .btn-select { border: 0; border-radius: 0; background: #df202b !important; padding: 0 22px; font-weight: bold; color: #fff; }
.forum-account { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.forum-header .btn-login, .forum-header .btn-register, .forum-header .btn-login-out, .forum-header .btn-add-t { background: none; border: 0; border-radius: 0; padding: 0; color: #b71320; font-size: 13px; }
.forum-header .user-vip-div { display: none; }
.forum-header .user-div { flex-direction: row; align-items: center; gap: 12px; }
.forum-header .num-left { font-size: 14px; font-weight: 700; color: #0755a6; }
.forum-header .center-a { font-size: 13px; color: #b71320; text-decoration: none; }
.forum-nav { background: #cf0010; border-bottom: 3px solid #b6000d; }
.forum-nav-inner { max-width: 1200px; margin: auto; display: flex; align-items: stretch; flex-wrap: wrap; }
.forum-nav a { color: white; display: block; padding: 0 17px; line-height: 44px; font-size: 16px; }
.forum-nav a:hover, .forum-nav a:focus { color: #fff16a; background: #b8000d; }
.forum-nav .forum-home { color: #fff16a; font-weight: bold; }
.main-top1 { display: none; }
@media (max-width: 1000px) {
    .forum-brand-note { display: none; }
    .forum-header .logo-wrapper { width: 260px; }
    .forum-header .select-div { width: 390px; }
}
@media (max-width: 700px) {
    .forum-header .navbar { flex-wrap: wrap; justify-content: center; gap: 0; padding: 6px 0 12px; }
    .forum-header .logo-wrapper { width: 270px; height: 90px; }
    .forum-header .menu-btn { width: 100%; margin: 0; padding: 0; align-items: center; }
    .forum-header .select-div { width: 100%; }
    .forum-search-links { gap: 9px; font-size: 12px; }
    .forum-nav a { font-size: 14px; line-height: 38px; padding: 0 12px; }
}
