/* Shared header layout. Dynamic style settings remain in header_common.php. */
/* The shared header stays in flow; discard the old mobile fixed-header offset. */
body.discuzx5{margin:0;padding-top:0;}
body.discuzx5.pg_post #pt{display:none!important;}
body.discuzx5 #dz_btm_layer .dz_layer_top{background:var(--dz-bgf);box-shadow:0px 2px 20px 0px rgba(0,0,0,.05);}
body.discuzx5 #dz_btm_layer .dz_btm_layer{padding:0 20px;min-width:1200px;height:73px;}
body.discuzx5 #dz_btm_layer .dz_layer_dl{float:right;}
body.discuzx5 #dz_btm_layer .dz_nav .dz_nav_logo{float:left;height:73px;margin-right:15px;position:relative;display:flex;align-items:center;justify-content:space-between;}
body.discuzx5 #dz_btm_layer .dz_nav .dz_nav_logo img{width:140px;height:36px;float:left;}
body.discuzx5 #dz_btm_layer .dz_layer_nav{float:left;height:73px;overflow:hidden;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li{float:left;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li a{display:inline-block;margin-right:25px;height:73px;line-height:73px;color:var(--dz-alink);font-size:16px;text-align:center;position:relative;font-weight:400;letter-spacing:2px;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li a:hover,body.discuzx5 #dz_btm_layer .dz_layer_nav ul li.a a{color:#0066ff;}
body.discuzx5 #dz_btm_layer .dz_layer_nav span{display:none;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li a:before{content:'';background:#0066ff;height:2px;bottom:8px;position:absolute;left:40%;width:0;transition:all 0.4s;border-radius:24px 0 0 24px;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li a:after{content:'';background:#0066ff;height:2px;bottom:8px;position:absolute;right:40%;width:0;transition:all 0.4s;border-radius:0 24px 24px 0;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li.a a:before{width:15%;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li.a a:after{width:15%;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li a:hover:before{width:60%;}
body.discuzx5 #dz_btm_layer .dz_layer_nav ul li a:hover:after{width:60%;}
body.discuzx5 #dz_btm_layer .header-right{height:70px;display:flex;align-items:center;position:relative;}
body.discuzx5 #dz_btm_layer .header-searcher{position:relative;display:inline-block;margin-right:1rem;}
body.discuzx5 #dz_btm_layer .header-searcher .searcher-wrap{position:relative;}
body.discuzx5 #dz_btm_layer .header-searcher .search-input{padding-left:12px;height:32px;font-size:14px;background:#F9f9f9;border:1px solid #eeeeee;border-radius:40px;box-shadow:none;color:#333;outline:none;}
body.discuzx5 #dz_btm_layer .header-searcher .search-input:focus{border-color:#0066ff;box-shadow:none;}
body.discuzx5 #dz_btm_layer .header-searcher .search-input::placeholder{color:var(--dz-fb);}
body.discuzx5 #dz_btm_layer .header-searcher .search-icon{position:absolute;top:50%;right:0;width:38px;height:38px;padding:10px;border:none;transform:translateY(-50%);cursor:pointer;background:url('../iscwo/common/svg/search.svg') no-repeat center;background-size:16px;box-shadow:none;}
body.discuzx5 #dz_btm_layer .header-client,body.discuzx5 #dz_btm_layer .header-notice,body.discuzx5 #dz_btm_layer .header-i18n{display:flex;align-items:center;margin-right:12px;position:relative;height:60px;}
body.discuzx5 #dz_btm_layer .header-notice .notice-icon,body.discuzx5 #dz_btm_layer .header-i18n .i18n-icon{position:relative;width:24px;height:24px;cursor:pointer;padding:6px;line-height:24px;text-align:center;}
body.discuzx5 #dz_btm_layer .header-notice .notice-icon:hover,body.discuzx5 #dz_btm_layer .header-notice.open .notice-icon,body.discuzx5 #dz_btm_layer .header-i18n .i18n-icon:hover,body.discuzx5 #dz_btm_layer .header-i18n.open .i18n-icon{background:var(--dz-bgfglass);border-radius:50%;}
body.discuzx5 #dz_btm_layer .header-notice .notice-icon .dzicon{font-size:22px;color:#999;}
body.discuzx5 #dz_btm_layer .header-notice .notice-icon .noticeicon:before{content:"\f145";font-family:"dzicon-ref";display:inline-block;width:22px;height:24px;line-height:24px;text-align:center;font-size:22px;color:#999;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}
body.discuzx5 #dz_btm_layer .header-user-login{display:flex;margin-left:.8rem;height:100%;font-size:14px;align-items:center;}
body.discuzx5 #dz_btm_layer .header-user-login .login_btn{background:var(--dz-nvbg);margin-right:24px;padding:5.5px 14px;font-size:14px;color:var(--dz-ff);border-radius:4px;}
body.discuzx5 #dz_btm_layer .header-user-login .login_btn a{color:var(--dz-ff);margin:0 1px;}
body.discuzx5 #dz_btm_layer .header-user{position:relative;display:flex;height:100%;align-items:center;}
body.discuzx5 #dz_btm_layer .header-user-avatar{transition-duration:.4s;}
body.discuzx5 #dz_btm_layer .header-user-avatar img{width:32px;height:32px;border-radius:50%;}
body.discuzx5 #dz_btm_layer .header-user.open .header-user-avatar{transform:scale(1.2);}
body.discuzx5 #dz_btm_layer .poptip-popper{position:absolute;z-index:200;padding:10px 0 7px;}
body.discuzx5 #dz_btm_layer .header-user .user-card-area a:hover,body.discuzx5 #dz_btm_layer .header-user .user-card-top .block_name a:hover,body.discuzx5 #dz_btm_layer .header-user .user-card-bottom .user-logout-btn:hover{color:#0066ff;text-decoration:none;}
body.discuzx5 #dz_btm_layer .header-user .user-card-area a,body.discuzx5 #dz_btm_layer .header-user .user-card-top .block_name a{transition:color .15s ease-in-out;}
body.discuzx5 #dz_btm_layer .header-user-dropdown{top:50px;right:0;padding:14px 0 7px;}
body.discuzx5 #dz_btm_layer .header-user .poptip-popper .poptip-arrow{display:none;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card{position:relative;display:block;width:300px;max-width:none;min-height:0;margin:0;padding:0;background:#fff;border:1px solid #eff3f8;border-radius:4px;box-shadow:0 8px 24px rgba(31,45,61,.08);overflow:hidden;color:#303133;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card:before,body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card:after{display:none;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top{position:relative;z-index:1;display:flex;align-items:center;width:auto;height:94px;margin:0;padding:0 22px;background:#eef6ff;overflow:hidden;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top:after{content:"";position:absolute;right:-20px;bottom:0;width:128px;height:58px;background:#dcecff;border-radius:90px 0 0 0;z-index:0;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_avatar{position:relative;z-index:1;width:58px;height:58px;margin:0 14px 0 0;border:3px solid #fff;border-radius:50%;box-shadow:0 2px 8px rgba(64,112,180,.12);overflow:hidden;background:#f5f7fa;flex:none;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name{position:relative;z-index:1;display:block;flex:1;margin:0;line-height:1.5;font-size:12px;color:#8b96a6;font-weight:400;min-width:0;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-name{display:block;margin:0 0 3px;color:#2f3338;font-size:15px;font-weight:700;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-meta{display:block;color:#9aa3af;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-meta a{display:inline;margin:0;color:#9aa3af;font-size:12px;font-weight:400;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-meta em{margin-left:10px;color:#9aa3af;font-style:normal;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .author_intro{display:none;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-area{position:relative;z-index:1;width:auto;border:0;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-admin-area{display:flex;align-items:center;gap:8px;width:auto;padding:12px 18px 0;background:#fff;border:0;white-space:nowrap;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-admin-area a{display:inline-flex;align-items:center;justify-content:center;height:28px;min-width:64px;margin:0;padding:0 10px;border-radius:4px;background:#f8fafc;color:#8b96a6;font-size:13px;line-height:28px;box-sizing:border-box;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-admin-area a:hover{background:#eef6ff;color:#0066ff;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:14px 18px 14px;background:#fff;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a{display:flex;align-items:center;height:36px;margin:0;padding:0 12px;background:#f8fafc;border-radius:4px;color:#5c6673;font-size:13px;line-height:36px;box-sizing:border-box;white-space:nowrap;}
/* Keep menu entries in explicit cells, independent of inherited floats and pseudo-elements. */
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area{grid-template-columns:repeat(2,minmax(0,1fr));}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area:before,body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area:after{display:none;content:none;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area > a{position:static;float:none;width:auto;min-width:0;transform:none;text-align:left;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area > .info_space{grid-row:1;grid-column:1;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area > .info_setup{grid-row:1;grid-column:2;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area > .info_post{grid-row:2;grid-column:1;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area > .info_fav{grid-row:2;grid-column:2;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area > .info_friend{grid-row:3;grid-column:1;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a:hover{background:#eef6ff;color:#0066ff;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a:before{display:inline-block;width:18px;margin-right:7px;color:#a7adb5;font-family:FontAwesome;font-size:15px;text-align:center;font-weight:normal;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a:hover:before{color:#0066ff;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area .info_space:before{content:"\f015";}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area .info_setup:before{content:"\f013";}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area .info_post:before{content:"\f0f6";}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area .info_fav:before{content:"\f006";}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area .info_friend:before{content:"\f0c0";}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .dz_user_qmenu,body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-skin{display:none;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-bottom{position:relative;z-index:1;display:flex;justify-content:flex-end;width:auto;margin:0 18px;padding:12px 0 14px;border-top:1px solid #eef2f6;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-bottom .user-logout-btn{display:inline-flex;align-items:center;justify-content:flex-end;width:auto;margin:0;padding:0;color:#ff6b5f;font-size:13px;font-weight:400;line-height:20px;background:transparent;}
body.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-bottom .user-logout-btn:before{content:"\f08b";font-family:FontAwesome;margin-right:5px;font-size:14px;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card{background:#1b2026!important;border-color:#303842!important;box-shadow:0 12px 30px rgba(0,0,0,.36)!important;color:#dbe4ee!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top{background:#223142!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top:after{background:#284869!important;opacity:.85;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_avatar{border-color:#2f3d4c!important;background:#151a20!important;box-shadow:0 2px 10px rgba(0,0,0,.32)!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-name{color:#f1f6fb!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-meta,
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-meta a,
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-top .block_name .iscwo-user-meta em{color:#9fb0c1!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-admin-area,
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area{background:#1b2026!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-admin-area a,
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a{background:#232a32!important;color:#bac6d2!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a:before{color:#8795a3!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-admin-area a:hover,
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a:hover{background:#283b52!important;color:#58a6ff!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-main-area a:hover:before{color:#58a6ff!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-bottom{border-top-color:#303842!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-bottom .user-logout-btn{color:#ff8f86!important;}
body.iscwo-dark.discuzx5 #dz_btm_layer .header-user .iscwo-dismall-user-card .user-card-bottom .user-logout-btn:hover{color:#ffb0aa!important;}
body.discuzx5 a,body.discuzx5 a:link,body.discuzx5 a:visited,body.discuzx5 a:hover,body.discuzx5 a:active,body.discuzx5 a:focus{text-decoration:none!important;}
