/* TechGG portal articles: readable editorial layout, independent from legacy portal CSS. */
body.techgg.pg_view #ct.ct2 { align-items: start; gap: 30px; }
body.techgg.pg_view #ct .mn { min-width: 0; }
body.techgg.pg_view .middle_info,
body.techgg.pg_view .bm.vw { border: 0 !important; box-shadow: none !important; }
body.techgg.pg_view .h.hm { padding: 34px 38px 22px !important; border: 0 !important; background: transparent !important; }
body.techgg.pg_view .h.hm h1,
body.techgg.pg_view h1.ph { margin: 0 !important; color: #17212b !important; font-size: 32px !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: 0 !important; }
body.techgg.pg_view .avatar_info,
body.techgg.pg_view .h.hm .xg1,
body.techgg.pg_view .h.hm p { color: #718096 !important; font-size: 14px !important; line-height: 1.6 !important; }
body.techgg.pg_view #article_content,
body.techgg.pg_view #wz_infos,
body.techgg.pg_view .article-content { padding: 4px 38px 36px !important; color: #293542 !important; font-size: 17px !important; line-height: 1.95 !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important; }
body.techgg.pg_view #article_content p,
body.techgg.pg_view #wz_infos p,
body.techgg.pg_view .article-content p { margin: 0 0 1.35em !important; }
body.techgg.pg_view #article_content h2,
body.techgg.pg_view #wz_infos h2,
body.techgg.pg_view .article-content h2 { margin: 1.9em 0 .7em !important; color: #17212b !important; font-size: 23px !important; line-height: 1.45 !important; }
body.techgg.pg_view #article_content img,
body.techgg.pg_view #wz_infos img,
body.techgg.pg_view .article-content img { display: block !important; width: auto !important; max-width: 100% !important; height: auto !important; margin: 1.5em auto !important; border: 0 !important; border-radius: 4px !important; }
body.techgg.pg_view #article_content #gtx-trans,
body.techgg.pg_view #wz_infos #gtx-trans { display: none !important; }
body.techgg.pg_view #click_div { display: none !important; }
body.techgg.pg_view .tg-article-sidebar { width: 300px; flex: 0 0 300px; }
body.techgg.pg_view .tg-article-sidebar:empty { display: none; }
body.techgg.pg_view #ct.ct2.inside_box > .tg-article-sidebar { display:flex !important; visibility:visible !important; opacity:1 !important; }
body.techgg.pg_view .tg-ad-slot{display:grid;min-height:150px;place-items:center;border:1px dashed #dce7e3;border-radius:4px;background:#f8fbfa;color:#a5b4ad;font-size:12px;letter-spacing:1px}body.techgg.pg_view .tg-sidebar-column{display:flex!important;flex-direction:column;gap:18px;width:300px!important;margin:0!important}.tg-sidebar-column .box-moder{display:none}.tg-sidebar-column .tg-ad-slot{order:5;margin:0!important}
@media (max-width: 900px) {
  body.techgg.pg_view #ct.ct2 { display: block; }
  body.techgg.pg_view .tg-article-sidebar { width: auto; margin-top: 22px; }
  body.techgg.pg_view .h.hm { padding: 25px 22px 14px !important; }
  body.techgg.pg_view .h.hm h1, body.techgg.pg_view h1.ph { font-size: 25px !important; }
  body.techgg.pg_view #article_content, body.techgg.pg_view #wz_infos, body.techgg.pg_view .article-content { padding: 4px 22px 28px !important; font-size: 16px !important; }
}
body.techgg.pg_view .h.hm h1,body.techgg.pg_view h1.ph{font-size:27px!important}body.techgg.pg_view .pren{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 38px 0!important;padding:0!important;border:0!important}body.techgg.pg_view .pren em{display:block;min-width:0;padding:13px 15px;border:1px solid #e0e9e5;border-radius:4px;background:#f8fbf9;color:#7b8b84;font-size:12px;font-style:normal}body.techgg.pg_view .pren a{display:block;overflow:hidden;margin-top:5px;color:#273932;font-size:14px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}body.techgg.pg_view #comment,body.techgg.pg_view .reply_box{margin-top:28px!important;padding-top:0!important;border-top:0!important}body.techgg.pg_view #comment .cmt_title,body.techgg.pg_view .reply_box .cmt_title{margin:0 0 16px!important;padding:0 0 12px!important;border-bottom:1px solid #e1e9e5!important}body.techgg.pg_view #comment_ul,body.techgg.pg_view .reply_box .comment_box{margin-top:16px!important}@media(max-width:900px){body.techgg.pg_view .h.hm h1,body.techgg.pg_view h1.ph{font-size:23px!important}body.techgg.pg_view .pren{margin:22px!important;grid-template-columns:1fr}}

/* Normalize the legacy Metro, KX and column DOMs into the same reading surface. */
body.techgg.pg_view #ct.ct2.inside_box > .mn,
body.techgg.pg_view #ct.ct2.inside_box .Framebox,
body.techgg.pg_view #ct.ct2.inside_box .middle_info {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.techgg.pg_view #ct.ct2.inside_box .Framebox { background: #fff !important; box-shadow: 0 12px 36px rgba(24, 33, 47, .07) !important; }
body.techgg.pg_view #ct.ct2.inside_box .h.hm { padding: 34px 42px 19px !important; border-bottom: 1px solid #edf1ef !important; }
body.techgg.pg_view #ct.ct2.inside_box .h.hm .avatar_info,
body.techgg.pg_view #ct.ct2.inside_box .tg-article-meta { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 14px !important; margin-top: 16px !important; }
body.techgg.pg_view #ct.ct2.inside_box .avatar_info > div,
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author,
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-stats { float: none !important; width: auto !important; margin: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box .content_middle,
body.techgg.pg_view #ct.ct2.inside_box .vwtb-container,
body.techgg.pg_view #ct.ct2.inside_box .d { margin: 0 !important; padding: 0 !important; background: transparent !important; }
body.techgg.pg_view #ct.ct2.inside_box .vwtb { width: 100% !important; border: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box .vwtb td { padding: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box #article_content,
body.techgg.pg_view #ct.ct2.inside_box #wz_infos { max-width: 820px; margin: 0 auto; padding: 34px 42px 46px !important; }
body.techgg.pg_view #ct.ct2.inside_box .line1,
body.techgg.pg_view #ct.ct2.inside_box .hover1 { display: none !important; }
body.techgg.pg_view #ct.ct2.inside_box .o.ptm.pbm { display: none !important; }
body.techgg.pg_view #ct.ct2.inside_box #comment { margin: 28px 0 0 !important; padding: 26px 42px 34px !important; background: #fff; box-shadow: 0 12px 36px rgba(24, 33, 47, .06); }
body.techgg.pg_view .tg-article-actionbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; max-width: 820px; margin: 0 auto; padding: 14px 42px; border-top: 1px solid #edf1ef; background: #fff; }
body.techgg.pg_view .tg-article-actionbar .tg-article-manage { display: flex !important; flex: 1; align-items: center; gap: 9px; margin: 0 !important; padding: 0 !important; }
body.techgg.pg_view .tg-article-actionbar .tg-article-manage .pipe { display: none; }
body.techgg.pg_view .tg-article-actionbar .tg-article-manage a { color: #718096; font-size: 12px; }
body.techgg.pg_view .tg-poster-trigger { display: inline-flex !important; min-height: 34px; align-items: center; justify-content: center; padding: 0 13px !important; border: 1px solid #1b2738 !important; border-radius: 4px !important; background: #1b2738 !important; color: #fff !important; font-size: 13px !important; line-height: 1 !important; box-shadow: none !important; }
body.techgg.pg_view .tg-share-dialog { position: fixed; z-index: 1001; inset: 50% auto auto 50%; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; transform: translate(-50%, -50%); }
body.techgg.pg_view .tg-article-sidebar.tg-sidebar-generic > .tg-side-card { display: block !important; }
body.techgg.pg_view .tg-sidebar-column > .cl:first-child { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
body.techgg.pg_view .tg-sidebar-column > .cl:first-child .box,
body.techgg.pg_view .tg-sidebar-column > .cl:first-child .cell { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.techgg.pg_view .tg-sidebar-column > .cl:first-child .a70 { border: 0 !important; box-shadow: none !important; }
body.techgg.pg_view #ct.ct2.inside_box .h.hm h1,
body.techgg.pg_view #ct.ct2.inside_box h1.ph { font-size: 25px !important; line-height: 1.42 !important; text-align: left !important; }
body.techgg.pg_view #ct.ct2.inside_box .viewthread_foot:empty { display: none !important; }
body.techgg.pg_view #ct.ct2.inside_box .contacts { display: none !important; }
body.techgg.pg_view #ct.ct2.inside_box .pren { display: grid !important; clear: both; gap: 12px; margin: 16px 42px 30px !important; padding: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box .pren em { float: none !important; width: auto !important; min-width: 0; margin: 0 !important; }
body.techgg.pg_view .tg-article-actionbar { width: 100%; clear: both; box-sizing: border-box; }
body.techgg.pg_view .tg-article-actionbar .tg-article-manage { display: flex !important; flex-wrap: wrap; min-height: 34px; }
body.techgg.pg_view.tg-poster-open { overflow: hidden; }
body.techgg.pg_view .tg-poster-overlay { position: fixed; z-index: 100000; inset: 0; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(8, 18, 24, .76); }
body.techgg.pg_view .tg-poster-dialog { width: min(430px, 100%); max-height: calc(100vh - 36px); overflow: auto; border-radius: 6px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
body.techgg.pg_view .tg-poster-dialog header { display: flex; align-items: center; justify-content: space-between; padding: 13px 17px; color: #263833; font-size: 15px; }
body.techgg.pg_view .tg-poster-close { border: 0; background: transparent; color: #61716b; cursor: pointer; font-size: 27px; line-height: 1; }
body.techgg.pg_view .tg-poster-canvas { display: block; width: min(320px, calc(100% - 36px)); height: auto; margin: 0 auto; background: #17232b; }
body.techgg.pg_view .tg-poster-actions { display: flex; gap: 9px; padding: 14px 17px 17px; }
body.techgg.pg_view .tg-poster-actions button { flex: 1; min-height: 36px; border: 1px solid #dbe7e1; border-radius: 4px; background: #fff; color: #31453b; cursor: pointer; }
body.techgg.pg_view .tg-poster-actions .tg-poster-download { border-color: #187d55; background: #187d55; color: #fff; }

/* Column article refinements. */
body.techgg.pg_view #ct.ct2.inside_box .h.hm .tg-article-meta{border-bottom:0!important;padding-bottom:12px!important}
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author .tg-avatar-link{display:inline-flex!important;align-items:center!important;gap:9px!important;line-height:32px!important;text-decoration:none}
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author .tg-avatar-link img{display:block;flex:none;vertical-align:middle}
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author .tg-author-name{display:inline-block;line-height:32px;vertical-align:middle}
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-stats .tg-comment-btn em{display:inline-grid;min-width:23px;height:23px;place-items:center;margin-left:6px;padding:0 4px;border-radius:50%;background:#e6f6ee;color:#128155;font-size:12px;font-weight:700}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child{border-top:1px solid #e4eceb!important;border-right:0!important;border-bottom:0!important;border-left:0!important;border-radius:0!important;background:transparent!important}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child .box,body.techgg.pg_view .tg-sidebar-column>.cl:first-child .cell,body.techgg.pg_view .tg-sidebar-column>.cl:first-child .a70{border:0!important;box-shadow:none!important}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child .a70{display:block;width:96px;height:96px;margin:0 auto;padding:0!important;border-radius:50%}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child .a70 img{width:96px;height:96px;border-radius:50%;object-fit:cover}
body.techgg.pg_view .tg-article-actionbar{max-width:none!important;justify-content:space-between!important;overflow:visible!important;padding:16px 42px!important}
body.techgg.pg_view .tg-poster-trigger{order:0;min-height:38px!important;border-color:#176f56!important;border-radius:6px!important;background:#176f56!important;font-weight:600}
body.techgg.pg_view .tg-article-actionbar .tg-article-manage{position:relative;display:block!important;flex:none!important;order:1;margin:0!important;overflow:visible}
body.techgg.pg_view .tg-article-manage summary{display:inline-flex;min-height:38px;align-items:center;gap:5px;padding:0 13px;border:1px solid #d7e5df;border-radius:6px;background:#fff;color:#34453f;cursor:pointer;font-size:13px;font-weight:600;list-style:none}
body.techgg.pg_view .tg-article-manage summary::-webkit-details-marker{display:none}
body.techgg.pg_view .tg-article-manage[open] summary{background:#edf7f2}
body.techgg.pg_view .tg-article-manage-menu{position:absolute;z-index:30;top:calc(100% + 6px);right:0;display:flex;flex-direction:column;min-width:150px;padding:5px;border:1px solid #dce7e2;border-radius:6px;background:#fff;box-shadow:0 14px 30px rgba(18,46,35,.14)}
body.techgg.pg_view .tg-article-actionbar .tg-article-manage-menu a{display:block;padding:9px 10px;border-radius:4px;color:#34453f;font-size:13px;white-space:nowrap}
body.techgg.pg_view .tg-article-manage-menu a:hover{background:#edf7f2;text-decoration:none}
body.techgg.pg_view #ct.ct2.inside_box .pren{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;max-width:none;min-height:0;margin:0 42px 34px!important;overflow:visible}
body.techgg.pg_view #ct.ct2.inside_box .pren em{display:flex;flex-direction:column;justify-content:center;min-height:76px;box-sizing:border-box;overflow:hidden;padding:13px 16px;border-radius:6px}
body.techgg.pg_view #ct.ct2.inside_box .pren a{display:-webkit-box;overflow:hidden;max-width:100%;margin-top:6px;line-height:1.45;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body.techgg.pg_view #ct.ct2.inside_box #comment{clear:both;margin-top:36px!important;padding-top:34px!important}
body.techgg.pg_view #comment>.bm_h{display:flex;align-items:center;flex-direction:row-reverse;justify-content:space-between;min-height:44px;margin:0 0 20px;padding:0 0 15px;border:0;border-bottom:1px solid #e2ebe6;background:transparent;line-height:1.4}
body.techgg.pg_view #comment>.bm_h h3{display:inline-flex;align-items:center;gap:8px;margin:0;color:#1c2f2b;font-size:19px;line-height:1.4}
body.techgg.pg_view #comment>.bm_h h3 em{display:inline-grid;min-width:25px;height:25px;place-items:center;padding:0 5px;border-radius:50%;background:#e2f5eb;color:#16865d;font-size:12px;font-style:normal;font-weight:700}
body.techgg.pg_view #comment #comment_ul{margin-top:0!important;padding-top:0}
body.techgg.pg_view .tg-poster-themes{display:flex;justify-content:center;gap:12px;padding:0 16px 13px}
body.techgg.pg_view .tg-poster-theme{width:28px;height:28px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #bdceca;cursor:pointer}
body.techgg.pg_view .tg-poster-theme.is-active{box-shadow:0 0 0 2px #16956b}
body.techgg.pg_view .tg-poster-dialog{border-radius:8px}
body.techgg.pg_view .tg-poster-canvas{border-radius:8px}
body.techgg.pg_view #ct.ct2.inside_box .Framebox{border-radius:8px!important}
body.techgg.pg_view #ct.ct2.inside_box #article_content img,body.techgg.pg_view #ct.ct2.inside_box #wz_infos img{border-radius:8px!important}
body.techgg.pg_view .tg-poster-dialog header{padding:16px 18px 12px}
body.techgg.pg_view .tg-poster-canvas{width:min(330px,calc(100% - 40px))}
@media(max-width:700px){body.techgg.pg_view .tg-article-actionbar{padding:14px 20px!important}body.techgg.pg_view #ct.ct2.inside_box .pren{grid-template-columns:1fr;margin:0 20px 24px!important}body.techgg.pg_view #ct.ct2.inside_box #comment{padding-top:24px!important}}
@media (max-width: 900px) {
  body.techgg.pg_view #ct.ct2.inside_box .h.hm { padding: 25px 22px 15px !important; }
  body.techgg.pg_view #ct.ct2.inside_box #article_content,
  body.techgg.pg_view #ct.ct2.inside_box #wz_infos { padding: 25px 22px 32px !important; }
  body.techgg.pg_view #ct.ct2.inside_box #comment { padding: 22px !important; }
  body.techgg.pg_view .tg-article-actionbar { padding: 12px 22px; }
  body.techgg.pg_view #ct.ct2.inside_box .pren { margin: 12px 22px 22px !important; }
}

/* Keep comment titles left aligned in every article variant. */
body.techgg.pg_view #comment>.bm_h{flex-direction:row!important;text-align:left!important}
body.techgg.pg_view #comment>.bm_h h3{order:0;flex:0 0 auto;width:auto!important;margin:0 auto 0 0!important;text-align:left!important}
body.techgg.pg_view #comment>.bm_h>a{order:1;flex:0 0 auto;float:none!important;margin-left:auto}
body.techgg.pg_view .h.hm .xg1 time{display:inline-block;margin-right:12px}
body.techgg.pg_view .h.hm .xg1>a[href*="mod=space"]{display:inline-block;margin:0 12px 0 5px}
body.techgg.pg_view .h.hm .xg1 .pipe{display:inline-block!important;margin:0 7px;color:#b8c6c1}
body.techgg.pg_view #ct.ct2.inside_box .tg-article-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author{display:flex!important;align-items:center!important;gap:15px!important;min-width:0}
body.techgg.pg_view #ct.ct2.inside_box .tg-kx-meta{margin-top:18px!important;padding:0 0 6px!important;border:0!important}
body.techgg.pg_view #ct.ct2.inside_box .tg-kx-meta .tg-post-date{white-space:nowrap}
body.techgg.pg_view #ct.ct2.inside_box .tg-kx-meta .tg-meta-stats{display:flex;align-items:center;gap:18px;white-space:nowrap}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child{border-top:0!important}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child .tg-column-author-heading{display:block!important;aspect-ratio:4.11/1;margin:0!important;padding:0!important;overflow:hidden;border:0!important;border-radius:8px 8px 0 0;background:transparent!important;text-align:center}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child .tg-column-author-heading::before,body.techgg.pg_view .tg-sidebar-column>.cl:first-child .tg-column-author-heading::after{content:none!important}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child .tg-column-author-heading img{display:block;width:100%;height:100%;max-width:100%;margin:0 auto;object-fit:cover;object-position:center}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child>.box{box-sizing:border-box;width:100%;aspect-ratio:4/3;margin:0!important;overflow:hidden;border:1px solid #e4ece7!important;border-radius:0 0 8px 8px!important;background-color:#fff!important;background-image:url('../static/images/column-author-meadow.webp')!important;background-repeat:no-repeat!important;background-size:auto 250%!important;background-position:center 30%!important;box-shadow:none!important}
body.techgg.pg_view .tg-sidebar-column>.cl:first-child>.box .cell{box-sizing:border-box;min-height:100%;padding-top:20px;background:transparent!important}
@media(max-width:700px){body.techgg.pg_view #ct.ct2.inside_box .tg-article-meta{align-items:flex-start!important;flex-wrap:wrap}body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author{flex-wrap:wrap;gap:8px!important}body.techgg.pg_view #comment>.bm_h h3{font-size:17px}}

/* Column article: compact navigation with space below, and a readable sticky rail. */
body.techgg.pg_view #ct.tg-column-view .bm.vw{padding-bottom:22px!important}
body.techgg.pg_view #ct.tg-column-view .pren{min-height:0;margin:0 42px!important;padding:0!important}
body.techgg.pg_view #ct.tg-column-view .pren em{min-height:0;padding:9px 14px}
body.techgg.pg_view #ct.tg-column-view .pren a{margin-top:3px;line-height:1.35;-webkit-line-clamp:1}
@media(min-width:901px){
  body.techgg.pg_view #ct.tg-column-view>.tg-sidebar-column{position:sticky!important;top:92px;align-self:start;max-height:calc(100vh - 108px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
}
@media(max-width:900px){
  body.techgg.pg_view #ct.tg-column-view .pren{margin:0 22px!important}
  body.techgg.pg_view #ct.tg-column-view>.tg-sidebar-column{position:static!important;max-height:none;overflow:visible}
}
