/* v1.8：与主官网统一的吸顶页眉，并清除子比主题遗留的顶部占位。 */
body.anyun-center-page,body.anyun-reading-page{padding-top:0!important;margin-top:0!important}
.anyun-center-page>.header-placeholder,.anyun-reading-page>.header-placeholder,.anyun-center-page>#header-placeholder,.anyun-reading-page>#header-placeholder,.anyun-center-page>.header-fixed-height,.anyun-reading-page>.header-fixed-height{display:none!important;height:0!important;margin:0!important;padding:0!important}
.atc-site-header{position:sticky;top:0;z-index:2000;background:rgba(255,255,255,.96);backdrop-filter:blur(16px)}
.admin-bar .atc-site-header{top:32px}
.atc-header-inner{width:min(1440px,calc(100% - 56px))}
.atc-brand img{width:auto;max-width:170px;height:50px}
.atc-main-nav{gap:34px}
.atc-main-nav a{height:100%;display:flex;align-items:center;font-size:16px;font-weight:650}
.atc-main-nav a.is-current:after{bottom:0}
.atc-header-actions a:last-child{font-weight:650}
.atc-service-rail{z-index:2100}
.atc-service-rail a,.atc-service-rail .atc-rail-contact>button{display:flex;width:100%;min-height:58px;align-items:center;justify-content:center;flex-direction:column;gap:4px;color:#63758b!important;border:0;border-bottom:1px solid #edf1f6;background:transparent;text-decoration:none!important;font:11px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;cursor:pointer}
.atc-service-rail .atc-rail-contact>button:hover,.atc-service-rail .atc-rail-contact>button[aria-expanded="true"]{color:#086ff1!important;background:#f1f6ff;border-radius:9px}
.atc-service-rail button:focus-visible{outline:2px solid #1684ff;outline-offset:2px}
.atc-rail-contact{position:relative}
.atc-contact-popover{position:absolute;right:calc(100% + 12px);top:0;width:326px;min-height:170px;padding:20px;display:grid;grid-template-columns:132px 1fr;gap:18px;align-items:center;background:#fff;border:1px solid #cbdcf0;border-radius:13px;box-shadow:0 18px 48px rgba(24,61,105,.18);color:#18304e;text-align:left}
.atc-contact-popover[hidden]{display:none}
.atc-contact-popover:after{content:"";position:absolute;right:-7px;top:23px;width:13px;height:13px;background:#fff;border-top:1px solid #cbdcf0;border-right:1px solid #cbdcf0;transform:rotate(45deg)}
.atc-contact-popover>img{display:block;width:132px;height:132px;padding:4px;object-fit:contain;background:#fff}
.atc-contact-popover small{display:block;color:#8ca0ba;font-size:9px;letter-spacing:1.5px}
.atc-contact-popover strong{display:block;margin:9px 0 8px;font-size:16px;color:#173253}
.atc-contact-popover p{margin:0 0 10px;color:#677b94;font-size:11px;line-height:1.8}
.atc-contact-popover a{display:inline!important;min-height:0!important;border:0!important;color:#096fdc!important;font-size:11px!important}
.atc-contact-close{position:absolute;right:8px;top:6px;border:0;background:transparent;color:#7f91a8;font-size:18px;cursor:pointer;z-index:2}

/* 教程目录的可读性、尺寸和留白优化。 */
.anyun-tc{--atc-muted:#75869a;--atc-line:#e4eaf2;--atc-blue:#1677ee;font-size:15px;line-height:1.7;background:#f7f9fc;margin:30px auto 44px;max-width:1384px;box-shadow:0 14px 40px rgba(30,63,101,.045)}
.anyun-tc .atc-layout{grid-template-columns:224px minmax(0,1fr)}
.anyun-tc .atc-side{padding:31px 18px;background:#fff}
.anyun-tc .atc-label{font-size:13px;font-weight:650;letter-spacing:.8px;color:#65778c;margin:0 11px 20px}
.anyun-tc .atc-category{gap:12px;padding:12px;margin:4px 0;border-radius:8px;font-size:14px;line-height:1.45}
.anyun-tc .atc-icon{width:30px;height:30px;border-radius:8px;font-size:12px;font-weight:650}
.anyun-tc .atc-side-note{font-size:13px}.anyun-tc .atc-side-note p{font-size:12px}
.anyun-tc .atc-main{padding:30px 31px 36px}
.anyun-tc .atc-quick strong{font-size:13px;font-weight:650}.anyun-tc .atc-quick small{font-size:11px;color:#8492a3}
.anyun-tc .atc-card h4{font-size:16px;font-weight:650;line-height:1.65}.anyun-tc .atc-card>p{font-size:13px;color:#77879a;line-height:1.85}
.anyun-tc .atc-card-bottom{font-size:11px}.anyun-tc .atc-tabs a{font-size:13px}.anyun-tc .atc-result-head>a{font-size:12px}
@media(max-width:1050px){.anyun-tc .atc-layout{grid-template-columns:195px minmax(0,1fr)}.anyun-tc .atc-category{font-size:13px}}
@media(max-width:782px){.admin-bar .atc-site-header{top:46px}}
@media(max-width:620px){.atc-brand img{width:auto;max-width:135px;height:44px}.atc-main-nav a{font-size:14px;height:auto}.atc-main-nav a.is-current:after{bottom:-13px}.atc-contact-popover{width:min(320px,calc(100vw - 78px));grid-template-columns:105px 1fr;padding:15px;gap:13px}.atc-contact-popover>img{width:105px;height:105px}.anyun-tc{margin:14px 8px 30px}.anyun-tc .atc-main{padding:15px}.anyun-tc .atc-card h4{font-size:15px}.anyun-tc .atc-card>p{font-size:12px}}
