/* This stylesheet is loaded only at narrow portrait widths. */
.sky-theme .topbar { width:calc(100% - 28px); gap:7px; }
.sky-theme .topbar .brand-image { width:clamp(98px,29vw,127px); }
.sky-theme .top-actions { gap:3px; }
.sky-theme .top-actions :is(.icon-button,.header-consult) { width:40px; min-width:40px; height:42px; padding:0; }
.sky-theme .top-actions .site-theme-control { position:relative; inset:auto; flex:none; }
.top-actions .site-theme-control summary { min-height:42px; gap:4px; padding-inline:7px; font-size:11px; }
.top-actions .site-theme-control fieldset { inset:calc(100% + 7px) 0 auto auto; }
.sky-theme .topbar .topnav { max-height:calc(100dvh - var(--header,64px) - 16px); overflow:auto; overscroll-behavior:contain; }

.entry-page { --entry-gutter:clamp(18px,6vw,34px); }
.entry-page .entry-brand { top:21px; left:var(--entry-gutter); }
.entry-page .entry-brand > .brand-image { width:clamp(111px,32vw,145px); }
.entry-page .entry-stage > .site-theme-control { top:21px; }
.entry-page .entry-cover { padding-inline:var(--entry-gutter); }
.entry-page .entry-cover .entry-plate { margin-top:clamp(102px,17svh,142px); padding-bottom:clamp(125px,34vw,192px); }
.entry-page .entry-plate h1 { font-size:clamp(35px,12.4vw,66px); line-height:1.08; letter-spacing:-.055em; }
.entry-page .entry-cover .entry-deck { margin-top:21px; max-width:25em; font-size:14px; line-height:1.72; }
.entry-page .entry-cover .entry-lead { font-size:16px; margin-bottom:8px; }
.entry-page .entry-actions { margin-top:23px; display:grid; grid-template-columns:1.17fr 1fr; width:min(100%,363px); gap:8px; }
.entry-page .entry-actions .entry-button { width:100%; min-width:0; padding-inline:12px 8px; font-size:13px; }
.entry-page .entry-cover .entry-art { --art-width:clamp(340px,91vw,560px); --art-right:-19vw; --art-bottom:clamp(78px,19svh,165px); }
.entry-page .entry-cover .entry-colophon { padding-block:12px max(18px,env(safe-area-inset-bottom)); }
.entry-page .entry-login .entry-art { --art-width:clamp(350px,90vw,540px); top:5px; left:-10px; }
.entry-page .entry-login-panel { margin-top:clamp(157px,44vw,234px); padding:9px var(--entry-gutter) 0; min-height:max(356px,calc(100svh - clamp(157px,44vw,234px))); }
.entry-page .entry-login-copy { align-self:start; padding-block:clamp(20px,6vw,35px) 30px; }
.entry-page .entry-login-copy h1 { font-size:clamp(42px,12vw,66px); }
.entry-page .entry-login-copy p { font-size:15px; max-width:26em; }
.entry-page .entry-login-copy > a { margin-top:22px; }
.entry-page .entry-login-footer { align-self:end; }
@media (max-height: 740px) {
  .entry-page .entry-cover .entry-art { --art-bottom:58px; }
}

.sky-theme.home.refreshed-home .home-hero .hero-inner { padding:24px 0 26px; }
.sky-theme.home.refreshed-home .hf-welcome { text-align:left; }
.sky-theme.home.refreshed-home .hf-welcome .notice { margin:0 0 19px; font-size:11px; max-width:100%; }
.sky-theme.home.refreshed-home .ref-welcome h1 { width:fit-content; font-size:clamp(37px,10.6vw,60px); line-height:1.1; letter-spacing:-.052em; text-align:left; }
.sky-theme.home.refreshed-home .ref-welcome h1 span { display:inline; box-shadow:inset 0 -.14em var(--ref-yellow,#ebbe38); }
.sky-theme.home.refreshed-home .hf-welcome .hero-deck { margin:17px 0 0; max-width:31em; font-size:14px; line-height:1.82; text-align:left; }
.sky-theme.home.refreshed-home .home-console { margin:24px 0 0; padding:12px; border-radius:14px; box-shadow:none; }
.sky-theme.home.refreshed-home .mode-switch { display:grid; grid-template-columns:1fr 1fr; gap:3px; width:100%; margin:0 auto 12px; padding:3px; }
.sky-theme.home.refreshed-home .mode-switch button { min-width:0; min-height:44px; padding-inline:7px; font-size:13px; }
.sky-theme.home.refreshed-home .home-console .ask-form { margin:0; min-height:54px; }
.sky-theme.home.refreshed-home .home-console .ask-form input { text-overflow:ellipsis; }
.sky-theme.home.refreshed-home .ref-question-line { gap:4px 8px; margin-top:5px; }
.sky-theme.home.refreshed-home .home-console .hero-actions { gap:7px; margin-top:10px; padding-top:11px; justify-content:flex-start; }
.sky-theme.home.refreshed-home .home-console .hero-actions .button { min-height:44px; padding-inline:11px; font-size:12px; }
.sky-theme.home.refreshed-home .welcome-about { margin-top:17px; }

.sky-theme .float-site-ai {
  min-height:44px;
  bottom:max(10px,env(safe-area-inset-bottom));
  right:10px;
  font-size:0;
  padding-inline:10px;
  gap:5px;
}
.sky-theme .float-site-ai::after { content:"AI 助手"; font-size:11px; font-weight:660; }
.sky-theme .float-site-ai > span { display:none; }
.atlas-page.sky-theme .float-site-ai { position:relative; inset:auto; display:flex; width:max-content; margin:6px 14px 18px auto; }
.atlas-page .route-field { min-height:0; padding:18px 13px 9px; gap:9px; }
.atlas-page .route-field .route-heading,
.atlas-page .route-field.is-overview .route-heading { padding-inline:2px; min-height:0; margin:0 0 4px; }
.atlas-page .route-heading h1 { font-size:clamp(30px,8.8vw,43px); }
.atlas-page .route-field .route-view { height:clamp(348px,127vw,529px); border-radius:15px; }
.atlas-page .atlas-origin .atlas-name { min-width:126px; padding:8px 12px; }
.atlas-page .route-field .route-tools button { min-height:44px; }
.atlas-page .route-field .route-panel { inset-inline:6px; max-height:82dvh; }
.atlas-page .route-panel .route-panel-footer { padding-bottom:max(8px,env(safe-area-inset-bottom)); }

.sky-theme .standard-frame { width:calc(100% - 34px); padding-top:26px; }
.sky-theme :is(.cf-catalog-intro,.cf-detail-copy) h1 { font-size:clamp(29px,8vw,47px); text-wrap:balance; }
.sky-theme .reference-course-card .ref-poster-art { aspect-ratio:1.94; padding:16px; }
.sky-theme .reference-course-card .catalog-copy { padding:14px 14px 13px; }
.sky-theme .course-support-entry > .button { justify-self:start; }
.sky-theme .cf-catalog-toolbar .filters { justify-content:flex-start; gap:3px; }
.sky-theme .cf-catalog-toolbar .filters button { min-height:40px; padding-inline:9px; }

body.sky-theme.knowledge-preview .knowledge-hero { min-height:0; padding-block:40px 31px; }
.sky-theme .knowledge-hero h1 { font-size:clamp(34px,9.7vw,52px); line-height:1.12; }
.sky-theme .knowledge-hero > p { margin-top:15px; font-size:14px; line-height:1.7; }
.sky-theme .knowledge-hero .skill-pack-trigger { min-height:44px; margin-top:13px; }
.sky-theme .skill-gallery-heading { gap:10px; }
.sky-theme .gallery-toolbar { gap:8px; }
.sky-theme .gallery-filters button { min-height:40px; }
.sky-theme .skill-gallery-card h3 { font-size:21px; line-height:1.26; }
.sky-theme .skill-gallery-card .skill-gallery-description { font-size:14px; line-height:1.65; }
.sky-theme :is(.about-introduction,.about-partnerships,.editorial-roles,.expert-intro) { gap:15px; }
.sky-theme .ref-section-mast h1 { font-size:clamp(31px,8.5vw,53px); }
