/* IMPACTONE · 影响力·每日必读 — V3.1 SAMPLE-LED + FUNCTIONAL INTERACTIONS
   Visual priority: approved sample. PDF spec is secondary.
*/
:root{--navy:#001B40;--gold:#C3A348;--paper:#FFFFFF;--ink:#17191d;--muted:#77736c;--line:#ded8ce;--reader-size:17px;--publication-width:760px;--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}html{background:#e8e6e0;scroll-behavior:smooth}body{margin:0;background:#e8e6e0;color:var(--ink);font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}body.io-panel-open{overflow:hidden}button,input,textarea{font:inherit}.page{width:min(100%,var(--publication-width));margin:0 auto;min-height:100vh;background:var(--paper);box-shadow:0 0 26px rgba(0,0,0,.08);padding-bottom:calc(68px + var(--safe-bottom));overflow:hidden}.content{padding:0}
/* cover */
.brand-block{position:relative;height:330px;padding:42px 42px 0;background:var(--navy);overflow:hidden;color:#fff}.impactone-wordmark{margin:0 0 18px;font-size:13px;line-height:1;letter-spacing:.10em;font-weight:400}.brand-title{margin:0;color:#fff;font-family:Georgia,"Songti SC","STSong",serif;font-size:39px;line-height:1.05;font-weight:700;font-style:italic;letter-spacing:.01em}.brand-subtitle{margin:20px 0 0;color:var(--gold);font-size:12px;font-weight:700;letter-spacing:.02em}.issue-date{position:absolute;left:42px;bottom:111px;color:#fff;font-size:10.5px;letter-spacing:.08em}.skyline{position:absolute;left:0;right:0;bottom:0;height:142px}.skyline svg{width:100%;height:100%;display:block}.skyline path,.skyline line,.skyline polyline{stroke:var(--gold);stroke-width:1.05;fill:none;vector-effect:non-scaling-stroke}.skyline .ground{stroke-width:1.15}.skyline .moon{fill:var(--gold);stroke:none}
/* reader tool */
.font-tool{height:38px;padding:0 28px;display:flex;justify-content:flex-end;align-items:center;gap:3px;background:var(--paper);border-bottom:1px solid #d9d3c8;color:#8a867f;font-size:11px}.font-tool button{border:0;background:none;padding:5px 6px;color:#88847d;font-size:11px;cursor:pointer}.font-tool button.active{color:var(--gold);font-weight:700}
/* section header */
.section-title,.view-section-title{margin:0;background:var(--navy);color:#fff}.section-title{padding:22px 34px 19px;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center}.section-title h2{margin:0;font-family:Georgia,"Songti SC","STSong",serif;font-size:27px;line-height:1.1;font-weight:700}.section-en{margin-left:9px;color:var(--gold);font-family:Arial,sans-serif;font-size:9px;letter-spacing:.14em;font-weight:600;vertical-align:middle}.section-sub{grid-column:2;margin-top:7px;color:#eef1f4;font-size:10px;line-height:1.4}.section-icon{position:relative;width:24px;height:24px}.section-icon.target:before,.section-icon.target:after{content:"";position:absolute;border-radius:50%}.section-icon.target:before{inset:2px;border:1px solid var(--gold);box-shadow:inset 0 0 0 4px var(--navy),inset 0 0 0 5px var(--gold)}.section-icon.target:after{width:3px;height:3px;background:var(--gold);left:10.5px;top:10.5px;box-shadow:0 -13px 0 -1px var(--gold),0 13px 0 -1px var(--gold),13px 0 0 -1px var(--gold),-13px 0 0 -1px var(--gold)}.section-icon.search{width:19px;height:19px;border:2px solid var(--gold);border-radius:50%;margin-left:2px}.section-icon.search:after{content:"";position:absolute;width:9px;height:2px;background:var(--gold);right:-7px;bottom:-3px;transform:rotate(45deg);transform-origin:left center}
/* articles */
.story,.scan-item{margin:0 52px;padding:34px 0 31px;border-bottom:1px solid #ddd7cc}.story-number,.scan-number{margin-bottom:13px;color:var(--gold);font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1}.story h3,.scan-item h3{margin:0 0 15px;color:var(--navy);font-family:Georgia,"Songti SC","STSong",serif;font-weight:700;font-size:24px;line-height:1.38;letter-spacing:.005em}.story p,.scan-item p,.daily-view p{margin:0 0 16px;color:var(--ink);font-size:var(--reader-size);line-height:1.75;letter-spacing:.004em}.story figure{margin:21px auto 18px;width:92%}.story img{display:block;width:100%;height:auto}.story figcaption{margin-top:7px;text-align:center;color:#77736d;font-size:10px;line-height:1.45}.analysis,.scan-quick{margin-top:18px!important}.label{color:var(--navy);font-weight:800}.story:last-of-type{border-bottom:0}
/* scan: compact first view; body folds until requested */
.scan-item{padding:28px 0 27px}.scan-item h3{font-size:22px;margin-bottom:12px}.scan-body{display:none;margin-top:13px!important}.scan-item.open .scan-body{display:block}.scan-quick{display:block;margin-bottom:0!important}.scan-toggle{border:0;background:none;color:var(--navy);padding:7px 0 0;margin-top:4px;font-size:11px;font-weight:700;cursor:pointer}.scan-toggle:hover{color:var(--gold)}
/* view */
.view-section-title{padding:25px 42px 22px}.view-cn{display:block;font-family:Georgia,"Songti SC","STSong",serif;font-size:27px;font-weight:700;line-height:1.1}.view-en{display:flex;align-items:center;gap:10px;margin-top:12px;color:var(--gold);font-size:9.5px;letter-spacing:.28em;font-weight:700}.view-en:after{content:"";width:102px;height:1px;background:linear-gradient(90deg,var(--gold) 0 43%,transparent 43% 49%,var(--gold) 49% 52%,transparent 52% 58%,var(--gold) 58% 100%)}.daily-view{padding:31px 52px 37px;background:var(--paper)}.view-title{margin:0 0 23px;color:var(--navy);font-family:Georgia,"Songti SC","STSong",serif;font-size:24px;line-height:1.38}.view-final{font-weight:800}.product-value{padding:29px 36px 31px;text-align:center;border-top:1px solid var(--line);background:var(--paper)}.product-value strong{display:block;color:var(--gold);font-family:Georgia,"Songti SC","STSong",serif;font-size:15px;line-height:1.7;font-weight:600}.product-value span{display:block;margin-top:8px;color:#555;font-size:10px}
/* footer */
.publication-footer{background:var(--navy);color:#fff;padding:38px 42px 102px}.footer-brands{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}.footer-brand{text-align:left}.foundation{text-align:right}.footer-mark{font-family:Georgia,serif;font-size:19px;color:#fff;line-height:1}.footer-brands b{display:block;margin-top:6px;font-size:9px;font-weight:500}.footer-brands span{display:block;margin-top:4px;color:#dce2eb;font-size:8px}.share-line{margin:28px 0 23px;color:var(--gold);font-family:Georgia,"Songti SC","STSong",serif;font-size:18px;font-weight:700}.footer-info{display:flex;flex-direction:column;gap:4px;font-size:9px;line-height:1.75;color:#eef1f5}.footer-info b{font-size:10px}.footer-info a{color:#fff}.social-profiles{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px}.social-profiles a{color:#dfe5ee;text-decoration:none;font-size:9px}.social-profiles a:hover{color:var(--gold)}.legal{margin-top:18px;color:#d8dee8;font-size:8px;line-height:1.6}.legal b{color:#fff;font-size:9px}.legal p{margin:5px 0 13px}
/* fixed actions: always visible while reading, like a public-account action bar */
.fixed-actions{position:fixed;z-index:1000;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,var(--publication-width));height:calc(68px + var(--safe-bottom));padding-bottom:var(--safe-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:var(--navy);border-top:1px solid rgba(195,163,72,.45);box-shadow:0 -5px 18px rgba(0,0,0,.16)}.fixed-actions button{position:relative;border:0;background:none;color:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;cursor:pointer}.fixed-actions button.active{color:var(--gold)}.fixed-actions .ico{display:inline-flex;width:19px;height:19px;align-items:center;justify-content:center;font-size:19px}.fixed-actions .ico svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.fixed-actions small{position:absolute;top:8px;right:12px;min-width:14px;height:14px;padding:0 3px;border-radius:8px;background:var(--gold);color:var(--navy);font-size:8px;line-height:14px}.fixed-actions small:empty{display:none}
/* overlays */
.modal-backdrop{position:fixed;z-index:1200;inset:0;display:none;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.56);padding:16px}.modal-backdrop.open{display:flex}.subscribe-modal,.share-modal{position:relative;width:min(460px,100%);padding:26px;background:var(--paper);border-top:3px solid var(--gold);box-shadow:0 -12px 40px rgba(0,0,0,.18)}.subscribe-modal h3,.share-modal h3{margin:0 32px 8px 0;color:var(--navy);font-family:Georgia,"Songti SC",serif;font-size:21px}.subscribe-modal p,.share-modal p{margin:0;color:#666;font-size:12px;line-height:1.6}.subscribe-modal form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:17px}.subscribe-modal input,.comments-panel input,.comments-panel textarea{width:100%;border:1px solid #cfc8bb;border-radius:0;background:#fff;padding:11px}.subscribe-modal form button,.comments-panel form button{border:0;background:var(--navy);color:#fff;padding:11px 15px;font-weight:700;cursor:pointer}.modal-close,.panel-close{position:absolute;right:11px;top:8px;border:0;background:none;font-size:25px;color:#666;cursor:pointer}.share-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}.share-grid button,.share-grid a{border:1px solid #d8d1c5;background:transparent;color:var(--navy);padding:12px 5px;text-align:center;text-decoration:none;font-size:11px;cursor:pointer}.share-grid button:hover,.share-grid a:hover{border-color:var(--gold);color:var(--gold)}.wechat-hint{display:none;margin-top:13px;padding-top:12px;border-top:1px solid var(--line);color:#555;font-size:11px;line-height:1.6}.wechat-hint.show{display:block}.comments-panel{position:fixed;z-index:1190;left:0;right:0;margin-inline:auto;bottom:calc(68px + var(--safe-bottom));transform:translateY(105%);width:min(100%,var(--publication-width));max-height:72vh;overflow:auto;background:var(--paper);padding:24px 26px;box-shadow:0 -10px 30px rgba(0,0,0,.18);border-top:3px solid var(--gold);transition:.2s}.comments-panel.open{transform:translateY(0)}.panel-head{position:relative;margin:0 0 4px;color:var(--navy);font-family:Georgia,"Songti SC",serif;font-size:22px}.comment-prompt{margin:0 0 14px;color:#666;font-size:12px}.comments-panel form{display:grid;grid-template-columns:115px 1fr auto;gap:8px}.comments-panel textarea{min-height:46px;resize:vertical}.comment-item{padding:14px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.65}.comment-meta{font-size:10px;color:#777}.comment-actions button{border:0;background:none;color:var(--navy);padding:5px 12px 5px 0;font-size:10px;cursor:pointer}.comment-pending{color:var(--gold);margin-left:6px}.io-toast{position:fixed;z-index:1400;left:50%;bottom:86px;transform:translate(-50%,10px);padding:9px 13px;background:#222;color:#fff;font-size:11px;opacity:0;pointer-events:none;transition:.18s}.io-toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:600px){body{background:var(--paper)}.page{box-shadow:none}.brand-block{height:300px;padding:32px 20px 0}.impactone-wordmark{font-size:10.5px;margin-bottom:13px}.brand-title{font-size:30px}.brand-subtitle{font-size:9.5px;margin-top:15px}.issue-date{left:20px;bottom:101px;font-size:8.5px}.skyline{height:133px}.font-tool{height:34px;padding:0 14px}.section-title{padding:18px 17px 16px;grid-template-columns:27px 1fr}.section-title h2{font-size:21px}.section-en{font-size:7.2px}.section-sub{font-size:8.2px}.story,.scan-item{margin:0 24px;padding:27px 0 25px}.story-number,.scan-number{font-size:16px;margin-bottom:10px}.story h3{font-size:20px;margin-bottom:12px}.scan-item h3{font-size:19px}.story p,.scan-item p,.daily-view p{font-size:var(--reader-size);line-height:1.72}.story figure{width:100%;margin:18px 0 16px}.view-section-title{padding:21px 19px 18px}.view-cn{font-size:21px}.view-en{font-size:7.8px}.daily-view{padding:26px 24px 30px}.view-title{font-size:21px}.product-value{padding:23px 18px 25px}.publication-footer{padding:29px 20px 98px}.share-line{font-size:16px}.comments-panel form{grid-template-columns:1fr auto}.comments-panel form input{grid-column:1/-1}.subscribe-modal form{grid-template-columns:1fr}.share-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:761px){.page{margin-top:24px;margin-bottom:24px}}

/* V3.2 — official footer brand assets */
.footer-brands{grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.footer-brand,.foundation{display:flex;flex-direction:column;align-items:center;text-align:center}
.footer-logo{display:block;object-fit:contain;object-position:center;margin:0 auto 9px}
.impactone-logo{width:132px;height:72px}
.faef-logo{width:72px;height:72px}
.footer-brands b{margin-top:0;font-size:11px;line-height:1.45;font-weight:600;white-space:nowrap}
@media(max-width:600px){
  .footer-brands{gap:18px}
  .impactone-logo{width:118px;height:65px}
  .faef-logo{width:64px;height:64px}
  .footer-brands b{font-size:9.5px}
}


/* V3.3 — sample-first corrections: real fixed action bar + native fold + footer/logo cleanup */
:root{--action-h:64px}
html,body{overflow-x:hidden}
.page{padding-bottom:calc(var(--action-h) + var(--safe-bottom));}

/* Cover: closer to approved sample */
.brand-block{height:338px;padding-top:38px}
.skyline{height:150px}
.skyline polyline,.skyline .empire{stroke:var(--gold);stroke-width:1;fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}

/* Native fold: no JavaScript dependency */
.scan-details{margin:7px 0 0;border:0}
.scan-details summary{list-style:none;cursor:pointer;color:var(--navy);font-size:11px;font-weight:700;padding:4px 0 0;user-select:none;-webkit-tap-highlight-color:transparent}
.scan-details summary::-webkit-details-marker{display:none}
.scan-details .open-label{display:none}
.scan-details[open] .closed-label{display:none}
.scan-details[open] .open-label{display:inline}
.scan-details .scan-body{display:block;margin-top:12px}
.scan-details .scan-body p{margin:0}

/* Footer: approved sample hierarchy */
.publication-footer{padding:38px 42px 88px;min-height:390px}
.footer-brands{align-items:start}
.footer-logo{background:transparent!important}
.impactone-logo{width:148px;height:auto;max-height:82px;object-fit:contain}
.faef-logo{width:78px;height:78px;object-fit:contain}
.share-line{font-size:19px;margin:28px 0 25px}
.footer-info{font-size:10px;line-height:1.7}
.footer-info b,.legal b{color:var(--gold);font-size:10px}
.legal{font-size:8.5px;line-height:1.65}

/* The four actions must ALWAYS stay on screen while scrolling. */
.fixed-actions{
  position:fixed!important;
  z-index:99999!important;
  left:50%!important;
  right:auto!important;
  bottom:0!important;
  top:auto!important;
  transform:translateX(-50%)!important;
  width:min(100vw,var(--publication-width))!important;
  height:calc(var(--action-h) + var(--safe-bottom))!important;
  min-height:var(--action-h)!important;
  padding:0 0 var(--safe-bottom)!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  background:var(--navy)!important;
  border-top:1px solid rgba(195,163,72,.62)!important;
  box-shadow:0 -3px 12px rgba(0,0,0,.18)!important;
}
.fixed-actions button{min-width:0;height:var(--action-h);padding:0 4px!important;color:#fff!important;font-family:Georgia,"Songti SC","STSong",serif;font-size:15px!important;font-weight:700!important;gap:6px!important;-webkit-tap-highlight-color:transparent}
.fixed-actions button+button:before{content:"";position:absolute;left:0;top:17px;bottom:17px;width:1px;background:rgba(255,255,255,.18)}
.fixed-actions button.active{color:var(--gold)!important}
.fixed-actions .ico{width:23px!important;height:23px!important;font-size:24px!important;font-family:Arial,sans-serif;font-weight:300}
.fixed-actions .ico svg{width:23px!important;height:23px!important;stroke-width:1.75!important}
.fixed-actions small{top:6px;right:8px}

/* Closed comments must be completely invisible; it must never cover the fixed bar. */
.comments-panel{display:none!important;transform:none!important;z-index:99998!important;bottom:calc(var(--action-h) + var(--safe-bottom))!important}
.comments-panel.open{display:block!important;transform:none!important}
.modal-backdrop{z-index:100000!important}
.io-toast{z-index:100001!important;bottom:calc(var(--action-h) + 18px)!important}

@media(max-width:600px){
  :root{--action-h:58px}
  .brand-block{height:306px;padding:30px 20px 0}
  .skyline{height:136px}
  .publication-footer{padding:30px 20px 82px;min-height:360px}
  .impactone-logo{width:126px;max-height:70px}
  .faef-logo{width:64px;height:64px}
  .fixed-actions button{height:var(--action-h);font-size:14px!important;gap:4px!important}
  .fixed-actions .ico,.fixed-actions .ico svg{width:21px!important;height:21px!important;font-size:22px!important}
  .fixed-actions button+button:before{top:15px;bottom:15px}
}


/* V3.4 — sample-matched NYC skyline; interaction bar intentionally unchanged */
.skyline svg{overflow:visible}
.skyline .city,.skyline .empire,.skyline .spire-detail{stroke:var(--gold);fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.skyline .city{stroke-width:.9}
.skyline .empire{stroke-width:1}
.skyline .spire-detail{stroke-width:.72;opacity:.9}
.skyline .ground{stroke-width:.9}
@media(max-width:600px){.skyline .city{stroke-width:.82}.skyline .empire{stroke-width:.92}.skyline .ground{stroke-width:.82}}

/* V3.5 — approved-sample header skyline + scan body position */
.skyline .perspective{stroke:rgba(195,163,72,.48);stroke-width:.55;fill:none;vector-effect:non-scaling-stroke}
.skyline .perspective-2{stroke:rgba(195,163,72,.34)}
.scan-details{margin:4px 0 12px}
.scan-details summary{padding:4px 0 2px}
.scan-details .scan-body{margin-top:10px}
.scan-quick{margin-top:12px!important}


/* V3.6 — approved-sample skyline, visible font controls, sharper lead image */
.skyline .city,.skyline .tower,.skyline .empire,.skyline .empire-crown{stroke:var(--gold);fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.skyline .city{stroke-width:.78}
.skyline .tower{stroke-width:.84}
.skyline .empire{stroke-width:.94}
.skyline .empire-crown{stroke-width:.82}
.skyline .ground{stroke:var(--gold);stroke-width:.84;fill:none;vector-effect:non-scaling-stroke}
.skyline .perspective{stroke:rgba(195,163,72,.44);stroke-width:.5;fill:none;vector-effect:non-scaling-stroke}
.skyline .perspective-2{stroke:rgba(195,163,72,.31)}
.font-tool{gap:1px;padding-right:24px;color:#8b877f;font-size:11px}
.font-tool button{min-width:28px;min-height:28px;padding:4px 7px;border-radius:0;color:#8b877f;font-size:11px;line-height:1;cursor:pointer}
.font-tool button:hover,.font-tool button:focus-visible{color:var(--navy);outline:1px solid rgba(195,163,72,.45);outline-offset:-2px}
.font-tool button.active{color:var(--gold);font-weight:700}
.story figure img{display:block;width:100%;height:auto;image-rendering:auto;filter:contrast(1.015) saturate(1.015)}
@media(max-width:600px){
  .font-tool{height:34px;padding-right:12px;font-size:10px}
  .font-tool button{min-width:26px;min-height:26px;padding:3px 6px;font-size:10.5px}
  .skyline .city{stroke-width:.72}.skyline .tower{stroke-width:.78}.skyline .empire{stroke-width:.88}.skyline .empire-crown{stroke-width:.76}
}

/* V3.7 — exact approved sample skyline artwork + preserved reader controls */
.skyline{pointer-events:none}
.skyline :is(img,canvas){position:absolute;left:0;right:0;bottom:0;width:100%;height:100%;object-fit:fill;display:block;pointer-events:none}
/* We intentionally use the approved sample artwork rather than re-drawing the buildings in SVG. */
.font-tool{position:relative;z-index:3}
.wechat-share-hint{display:none;margin-top:12px;padding:10px 12px;border:1px solid rgba(195,163,72,.35);background:#fffaf0;color:#665d50;font-size:11px;line-height:1.55}
.wechat-share-hint.show{display:block}
@media(max-width:600px){
  .skyline{height:142px}
  .font-tool{justify-content:flex-end}
}

/* V3.8 — preserve the approved sample skyline geometry (no non-uniform stretching) */
.skyline{position:absolute;left:0;right:0;bottom:0;height:158px;overflow:hidden;pointer-events:none}
.skyline .skyline-ground{position:absolute;inset:0;width:100%;height:100%;display:block;overflow:visible}
.skyline .skyline-ground path{fill:none;stroke:var(--gold);stroke-width:.8;vector-effect:non-scaling-stroke;opacity:.9}
.skyline .skyline-ground .skyline-ground-soft{opacity:.22;stroke-dasharray:1.4 3}
.skyline :is(img,canvas).skyline-buildings{position:absolute!important;right:-1px!important;left:auto!important;bottom:1px!important;width:79%!important;height:auto!important;max-width:none!important;object-fit:contain!important;object-position:right bottom!important;display:block!important;pointer-events:none}
@media(max-width:600px){
  .skyline{height:145px}
  .skyline :is(img,canvas).skyline-buildings{width:80%!important;bottom:0!important}
  .skyline .skyline-ground path{stroke-width:.72}
}


/* V3.9 — use the approved sample's skyline geometry without redrawing or stretching */
.skyline{overflow:hidden!important;pointer-events:none}
.skyline :is(img,canvas).skyline-buildings{
  position:absolute!important;right:0!important;left:auto!important;bottom:0!important;
  width:62%!important;height:auto!important;max-width:none!important;
  object-fit:contain!important;object-position:right bottom!important;display:block!important;
  filter:none!important;transform:none!important;image-rendering:auto!important;
}
@media(max-width:600px){
  .skyline :is(img,canvas).skyline-buildings{width:100%!important;right:0!important;bottom:0!important}
}


/* V3.10 — original brand assets + simplified share/subscription UX */
.brand-block .header-impactone-logo{position:absolute;left:40px;top:28px;width:118px;height:72px;object-fit:contain;object-position:left center;display:block}
.brand-block .brand-title{position:absolute;left:42px;top:104px}
.brand-block .brand-subtitle{position:absolute;left:42px;top:153px;margin:0}
.brand-block .issue-date{left:42px;bottom:93px}
.skyline.skyline-original{position:absolute!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;height:168px!important;overflow:hidden!important}
.skyline.skyline-original>:is(img,canvas){position:absolute!important;left:0!important;right:auto!important;bottom:-1px!important;width:100%!important;height:auto!important;max-width:none!important;object-fit:contain!important;object-position:center bottom!important;transform:none!important;filter:none!important;display:block!important}
.share-grid-v310{grid-template-columns:repeat(4,1fr)}
.subscribe-channels{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}
.subscribe-channels button{border:1px solid #d8d1c5;background:transparent;color:var(--navy);padding:12px 5px;font-size:11px;cursor:pointer}
.subscribe-channels button:hover{border-color:var(--gold);color:var(--gold)}
.email-subscribe-form[hidden]{display:none!important}.email-subscribe-form{margin-top:14px!important}.subscribe-status{margin-top:10px;color:#666;font-size:11px;line-height:1.55}
@media(max-width:600px){
 .brand-block .header-impactone-logo{left:18px;top:20px;width:94px;height:58px}
 .brand-block .brand-title{left:20px;top:83px}
 .brand-block .brand-subtitle{left:20px;top:126px}
 .brand-block .issue-date{left:20px;bottom:89px}
 .skyline.skyline-original{height:148px!important}
 .skyline.skyline-original>:is(img,canvas){width:100%!important;bottom:0!important}
 .share-grid-v310,.subscribe-channels{grid-template-columns:repeat(2,1fr)}
}

/* V3.11 — desktop skyline fix + PWA-first subscription */
/* Keep the original skyline artwork undistorted. Desktop scales the whole asset down
   instead of stretching/cropping it; mobile retains the approved full-width rendering. */
.skyline.skyline-original{height:205px!important;overflow:visible!important;left:0!important;right:0!important;bottom:0!important;width:100%!important}
.skyline.skyline-original>:is(img,canvas){
  width:100%!important;height:auto!important;max-width:none!important;
  left:auto!important;right:0!important;bottom:0!important;
  object-fit:contain!important;object-position:right bottom!important;
  transform:scale(.64)!important;transform-origin:right bottom!important;
}
.share-grid-v311{grid-template-columns:repeat(4,1fr)}
.subscribe-modal-v311{max-width:470px}
.install-primary{width:100%;margin:18px 0 10px;border:0;background:var(--navy);color:#fff;padding:14px 16px;font-weight:700;cursor:pointer}
.install-primary:hover{background:#0a3979}.install-primary:disabled{opacity:.55;cursor:default}
.install-help{font-size:12px;line-height:1.7;color:#666;margin:4px 0 10px;padding:0 2px}
.install-help strong{color:var(--navy)}
.email-backup-toggle{display:block;margin:10px auto 0;border:0;background:transparent;color:#777;text-decoration:underline;cursor:pointer;font-size:11px}
@media(max-width:600px){
  .skyline.skyline-original{height:148px!important;overflow:visible!important}
  .skyline.skyline-original>:is(img,canvas){width:100%!important;right:0!important;bottom:0!important;transform:none!important}
  .share-grid-v311{grid-template-columns:repeat(2,1fr)}
}


/* V3.12 — explicit iPhone + Android installation guide */
.install-platform-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 8px}
.install-platform-card{border:1px solid #ddd4c5;background:#fbfaf6;padding:10px 12px;min-height:76px}
.install-platform-card strong{display:block;color:var(--navy);font-size:12px;margin-bottom:5px}
.install-platform-card span{display:block;color:#666;font-size:11px;line-height:1.55}
.install-guide-link{display:inline-block;margin:5px 0 5px;color:var(--navy);font-size:11px;text-decoration:underline;text-underline-offset:2px}
@media(max-width:600px){.install-platform-guide{grid-template-columns:1fr}.install-platform-card{min-height:auto}}

/* V3.13 — subscription = Home Screen + notification permission */
.subscribe-modal-v313{max-width:470px}
.subscribe-modal-v313 .install-platform-guide{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
.subscribe-modal-v313 .install-platform-card{display:block!important}
@media(max-width:600px){.subscribe-modal-v313 .install-platform-guide{grid-template-columns:1fr!important}}

/* V3.14 — approved header wordmark, official footer logo, first-open notification prompt */
.brand-block .header-impactone-wordmark{
  position:absolute;left:40px;top:34px;z-index:3;color:#fff;
  font-family:Arial,Helvetica,sans-serif;font-size:15px;font-weight:400;
  letter-spacing:.22em;line-height:1;white-space:nowrap;
}
.publication-footer .impactone-logo{width:min(260px,72%);height:auto;max-height:none;object-fit:contain;background:transparent!important}
.story figure img[src*="sample-oil-clear"]{width:100%;height:auto;display:block;object-fit:contain;image-rendering:auto}
.notification-optin{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);z-index:1200;width:min(92vw,620px);background:#f7f4ee;border-top:3px solid #c3a348;box-shadow:0 8px 28px rgba(0,0,0,.24);padding:15px 82px 15px 18px;color:#001b40}
.notification-optin:not([hidden]){display:block}
.notification-optin strong,.notification-optin span{display:block}.notification-optin strong{font-size:16px;margin-bottom:3px}.notification-optin span{font-size:13px;color:#555}
.notification-optin #enableNotificationButton{position:absolute;right:38px;top:50%;transform:translateY(-50%);border:0;background:#001b40;color:#fff;padding:9px 13px;font-weight:700;cursor:pointer}
.notification-optin-close{position:absolute;right:8px;top:7px;border:0;background:transparent;color:#777;font-size:20px;cursor:pointer}
@media(max-width:640px){
 .brand-block .header-impactone-wordmark{left:18px;top:25px;font-size:12px;letter-spacing:.2em}
 .notification-optin{bottom:76px;width:calc(100% - 24px);padding:13px 78px 13px 14px}
 .notification-optin strong{font-size:14px}.notification-optin span{font-size:12px}
}


/* V3.15 — cover composition matched to approved reference; new supplied skyline; clean oil photo */
/*
   Header authority: the supplied sample image is the visual master.
   At 192px reference width, the cover is 146px high.  All key positions below
   are therefore percentage-based so the same composition scales cleanly.
*/
.brand-block{
  position:relative!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:192 / 146!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#001b40!important;
}
.header-impactone-wordmark{
  position:absolute!important;
  left:10.0%!important;
  top:17.0%!important;
  margin:0!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:clamp(6.5px,3.4vw,20px)!important;
  line-height:1!important;
  font-weight:400!important;
  letter-spacing:.22em!important;
  white-space:nowrap!important;
  z-index:3!important;
}
.brand-title{
  position:absolute!important;
  left:10.0%!important;
  top:26.7%!important;
  margin:0!important;
  color:#fff!important;
  font-family:Georgia,"Songti SC","STSong","Noto Serif SC",serif!important;
  font-size:clamp(16px,8.6vw,50px)!important;
  line-height:1.02!important;
  font-weight:700!important;
  font-style:italic!important;
  letter-spacing:-.035em!important;
  white-space:nowrap!important;
  z-index:3!important;
}
.brand-subtitle{
  position:absolute!important;
  left:10.0%!important;
  top:45.9%!important;
  margin:0!important;
  color:#c3a348!important;
  font-size:clamp(5.8px,3.0vw,17px)!important;
  line-height:1.1!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
  z-index:3!important;
}
.issue-date{
  position:absolute!important;
  left:10.0%!important;
  top:66.4%!important;
  bottom:auto!important;
  margin:0!important;
  color:#fff!important;
  font-size:clamp(5px,2.7vw,15px)!important;
  line-height:1!important;
  letter-spacing:.02em!important;
  white-space:nowrap!important;
  z-index:3!important;
}
.skyline.skyline-original{
  position:absolute!important;
  inset:auto 0 0 0!important;
  width:100%!important;
  height:auto!important;
  overflow:visible!important;
  pointer-events:none!important;
  z-index:1!important;
}
.skyline.skyline-original>:is(img,canvas){
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:center bottom!important;
  transform:none!important;
  filter:none!important;
  display:block!important;
  pointer-events:none!important;
}
.story figure{width:100%!important;margin:21px 0 18px!important;background:transparent!important;padding:0!important}
.story figure img[src*="sample-oil-clean-v315"]{display:block!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;object-fit:cover!important;background:transparent!important}
.story figure:has(img[src*="sample-oil-clean-v315"]) figcaption{display:none!important}
@media(max-width:600px){
  .brand-block{aspect-ratio:192 / 146!important;height:auto!important;padding:0!important}
  .header-impactone-wordmark{left:10.0%!important;top:17.0%!important;font-size:3.4vw!important}
  .brand-title{left:10.0%!important;top:26.7%!important;font-size:8.6vw!important}
  .brand-subtitle{left:10.0%!important;top:45.9%!important;font-size:3.0vw!important}
  .issue-date{left:10.0%!important;top:66.4%!important;bottom:auto!important;font-size:2.7vw!important}
  .skyline.skyline-original{inset:auto 0 0 0!important;width:100%!important;height:auto!important}
  .skyline.skyline-original>:is(img,canvas){width:100%!important;bottom:0!important}
  .story figure{width:100%!important;margin:18px 0 16px!important}
}


/* V3.16 — approved sample pixel-match pass (sample image is final authority)
   Scope: typography/spacing, navy backgrounds, skyline artwork. Interactions unchanged. */
:root{
  --navy:#001B40;
  --paper:#FFFFFF;
  --gold:#C3A348;
  --ink:#17191d;
  --reader-size:15px;
}
html{background:#e8e6e0}
body{background:#e8e6e0;color:var(--ink);font-family:Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}
.page{background:#fff}

/* Exact cover structure and dark navy from the approved image. */
.brand-block{background:#001B40!important}
.header-impactone-wordmark{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:400!important;
  letter-spacing:.22em!important;
}
.brand-title{
  font-family:"Songti SC","STSong","SimSun","Noto Serif CJK SC",serif!important;
  font-weight:700!important;
  font-style:italic!important;
}
.brand-subtitle{color:#C3A348!important;font-family:Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif!important}
.issue-date{font-family:Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif!important}
.skyline.skyline-original>:is(img,canvas){width:100%!important;height:auto!important;bottom:0!important;transform:none!important;filter:none!important}

/* All navy publication blocks use the same approved deep navy. */
.section-title,.view-section-title,.publication-footer,.fixed-actions{background:#001B40!important}
.story h3,.scan-item h3,.view-title,.label{color:#001B40!important}
.story-number,.scan-number,.section-en,.view-en,.share-line,.product-value strong{color:#C3A348!important}

/* Typography families from top to bottom. */
.section-title h2,.view-cn,.view-title,.story h3,.scan-item h3,.share-line,.product-value strong{
  font-family:"Songti SC","STSong","SimSun","Noto Serif CJK SC",serif!important;
}
.story p,.scan-item p,.daily-view p,.section-sub,.font-tool,.footer-info,.legal{
  font-family:Arial,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif!important;
}

/* The approved image places the insight title inside the navy header. */
.view-section-title .view-title{
  margin:18px 0 0!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1.25!important;
}
.daily-view>.view-title{display:none!important}
.daily-view{background:#fff!important}
.product-value{background:#fff!important}

@media(max-width:600px){
  body{background:#fff}
  .page{background:#fff;box-shadow:none}

  /* Cover proportions/positions are already derived directly from the 192×146 sample. */
  .brand-block{aspect-ratio:192 / 146!important}
  .header-impactone-wordmark{font-size:3.2vw!important}
  .brand-title{font-size:8.25vw!important;line-height:1.02!important;letter-spacing:-.035em!important}
  .brand-subtitle{font-size:2.75vw!important;line-height:1.1!important}
  .issue-date{font-size:2.25vw!important;letter-spacing:.02em!important}

  /* Sample: the reader-size strip is deliberately very shallow. */
  .font-tool{
    height:28px!important;
    min-height:28px!important;
    padding:0 27px!important;
    gap:2px!important;
    font-size:8px!important;
    border-bottom:1px solid #ddd8cf!important;
  }
  .font-tool button{font-size:8px!important;padding:3px 4px!important}

  /* Sample section header: approximately 84 CSS px at a 375px viewport. */
  .section-title{
    min-height:84px!important;
    padding:16px 24px 15px!important;
    grid-template-columns:31px 1fr!important;
    grid-template-rows:auto auto!important;
    column-gap:9px!important;
    align-content:center!important;
  }
  .section-title h2{font-size:21px!important;line-height:1.12!important}
  .section-en{margin-left:8px!important;font-size:7.2px!important;letter-spacing:.14em!important}
  .section-sub{margin-top:7px!important;font-size:8.5px!important;line-height:1.35!important}
  .section-icon{width:22px!important;height:22px!important}

  /* Approved story column is noticeably narrower than the previous website rendering. */
  .story,.scan-item{
    margin:0 47px!important;
    padding:42px 0 38px!important;
    border-bottom:1px solid #e2ddd4!important;
  }
  .story-number,.scan-number{
    margin-bottom:16px!important;
    font-size:16px!important;
    line-height:1!important;
  }
  .story h3,.scan-item h3{
    margin:0 0 17px!important;
    font-size:20px!important;
    line-height:1.32!important;
    letter-spacing:0!important;
  }
  .story p,.scan-item p,.daily-view p{
    margin:0 0 17px!important;
    font-size:var(--reader-size)!important;
    line-height:1.55!important;
    letter-spacing:0!important;
  }
  .analysis,.scan-quick{margin-top:19px!important}
  .label{font-weight:800!important}
  .story figure{width:100%!important;margin:21px 0 18px!important}
  .story figcaption{font-size:9px!important;line-height:1.4!important;margin-top:6px!important}

  /* Scan keeps the same editorial type scale as the reference. */
  .scan-item{padding-top:35px!important;padding-bottom:35px!important}
  .scan-item h3{font-size:19px!important;margin-bottom:15px!important}
  .scan-details summary,.scan-toggle{font-size:10px!important}

  /* Insight header in the reference includes title + English line + insight title. */
  .view-section-title{
    min-height:145px!important;
    padding:25px 31px 23px!important;
  }
  .view-cn{font-size:21px!important;line-height:1.1!important}
  .view-en{margin-top:14px!important;font-size:7.8px!important;letter-spacing:.25em!important;gap:8px!important}
  .view-en:after{width:83px!important}
  .view-section-title .view-title{
    margin-top:19px!important;
    font-size:20px!important;
    line-height:1.25!important;
  }
  .daily-view{padding:30px 30px 34px!important}
  .daily-view p{font-size:var(--reader-size)!important;line-height:1.6!important;margin-bottom:18px!important}

  .product-value{padding:28px 20px 30px!important;border-top:0!important}
  .product-value strong{
    font-size:min(12px, calc((100vw - 42px) / 23))!important;
    line-height:1.65!important;
    white-space:nowrap;
  }
  .product-value span{margin-top:7px!important;font-size:8.5px!important}

  /* Footer in the sample has generous side insets and the same dark navy. */
  .publication-footer{padding:35px 39px 102px!important;min-height:400px!important}
  .footer-brands{gap:20px!important}
  .publication-footer .impactone-logo{width:min(190px,78%)!important}
  .faef-logo{width:64px!important;height:64px!important}
  .footer-brands b{font-size:9px!important;line-height:1.4!important}
  .share-line{margin:25px 0 22px!important;font-size:16px!important;line-height:1.35!important}
  .footer-info{font-size:8.5px!important;line-height:1.7!important}
  .footer-info b,.legal b{font-size:9px!important}
  .legal{font-size:7.5px!important;line-height:1.55!important}
  .legal p{margin:5px 0 12px!important}

  .fixed-actions{background:#001B40!important}
}

/* V3.16 layout/icon update — 2026-09-06
   Scope limited to requested visual assets, scan disclosure, issue navigation and reader sizing.
   Existing subscription/share/favorite/comment/PWA/backend behavior is intentionally untouched. */
:root{--source-size:10px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.section-icon-img{display:block;width:27px;height:27px;object-fit:contain;align-self:center;justify-self:center}
.section-icon-img.focus-icon{width:29px;height:29px}
.section-icon-img.scan-icon{width:28px;height:28px}
.view-mark{display:block;width:180px;max-width:55%;height:auto;margin-top:10px;object-fit:contain;object-position:left center}
.story figcaption{display:block!important;margin-top:8px!important;text-align:left!important;color:#77736d!important;font-size:var(--source-size)!important;line-height:1.5!important}
.story figure:has(img[src*="sample-oil-clean-v315"]) figcaption{display:block!important}
.scan-summary{margin-bottom:0!important}
.scan-toggle,.scan-collapse{display:inline;border:0;background:none;color:var(--navy);padding:0;margin:0;font-size:.78em;font-weight:700;cursor:pointer;white-space:nowrap}
.scan-toggle:hover,.scan-toggle:focus-visible,.scan-collapse:hover,.scan-collapse:focus-visible{color:var(--gold);outline:none}
.scan-body{display:block;margin-top:10px!important}
.scan-body[hidden]{display:none!important}
.scan-body p{margin-bottom:5px!important}
.scan-collapse{margin-top:0}
.issue-navigation{padding:18px 52px 4px;background:#fff;border-top:1px solid var(--line)}
.issue-navigation[hidden]{display:none!important}
.previous-issue{display:inline-flex;align-items:baseline;gap:8px;color:var(--navy);text-decoration:none;font-family:Arial,"PingFang SC","Microsoft YaHei",sans-serif;font-size:12px;font-weight:700;letter-spacing:.02em}
.previous-issue span{color:var(--gold);font-size:8px;letter-spacing:.12em;font-weight:700}
.previous-issue:hover{color:var(--gold)}
.publication-footer .impactone-logo{width:min(250px,78%)!important;height:auto!important;object-fit:contain!important;object-position:left center!important}

@media(max-width:600px){
  /* Force publication-section Chinese headings to a serif face on mobile. */
  .section-title h2,.view-cn{
    font-family:"Songti SC","STSong","Noto Serif SC","Noto Serif CJK SC","Source Han Serif SC",serif!important;
    font-weight:700!important;
  }
  .section-title{grid-template-columns:31px 1fr!important}
  .section-icon-img.focus-icon,.section-icon-img.scan-icon{width:27px;height:27px}
  .view-mark{width:154px;max-width:64%;margin-top:9px}
  .story figcaption{font-size:var(--source-size)!important;line-height:1.45!important}
  .issue-navigation{padding:16px 24px 2px}
}

/* V3.17 footer brand lock — match approved reference artwork.
   Visual-only override: no interaction, data, auth, subscription, share,
   favorite, comments, PWA or backend behavior is changed. */
.publication-footer .footer-brands{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  align-items:start!important;
  gap:34px!important;
  margin:0!important;
}
.publication-footer .footer-brand,
.publication-footer .foundation{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:center!important;
  min-width:0!important;
}
.publication-footer .impactone-logo{
  width:116px!important;
  height:77px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0!important;
}
.publication-footer .faef-logo{
  width:76px!important;
  height:76px!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  margin:0!important;
}
.publication-footer .footer-brands b{
  display:block!important;
  margin-top:4px!important;
  color:#fff!important;
  font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC",serif!important;
  font-size:20px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
.publication-footer .share-line{
  margin:38px 0 25px!important;
  color:var(--gold)!important;
  font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC",serif!important;
  font-size:29px!important;
  line-height:1.28!important;
  font-weight:700!important;
  letter-spacing:0!important;
}

@media (min-width:601px){
  .publication-footer{
    padding-top:32px!important;
    padding-left:54px!important;
    padding-right:54px!important;
  }
}

@media (max-width:600px){
  .publication-footer .footer-brands{
    gap:14px!important;
  }
  .publication-footer .impactone-logo{
    width:88px!important;
    height:58px!important;
  }
  .publication-footer .faef-logo{
    width:58px!important;
    height:58px!important;
  }
  .publication-footer .footer-brands b{
    margin-top:3px!important;
    font-size:13px!important;
    line-height:1.3!important;
  }
  .publication-footer .share-line{
    margin:27px 0 22px!important;
    font-size:20px!important;
    line-height:1.35!important;
  }
}

/* V3.17.1 — footer precision pass from approved sample.
   Scope: footer visual layout only. Existing interaction/data/auth/PWA logic is untouched.
   Two alignment rails are intentional:
   1) brand row + gold share line use the wider brand rail;
   2) contact/legal copy uses a slightly inset reading rail. */
.publication-footer{
  min-height:0!important;
  padding:30px 54px 88px!important;
}
.publication-footer .footer-brands,
.publication-footer .share-line{
  width:100%!important;
  max-width:650px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.publication-footer .footer-brands{
  gap:30px!important;
}
.publication-footer .impactone-logo{
  width:96px!important;
  height:64px!important;
  margin:0 auto!important;
}
.publication-footer .faef-logo{
  width:62px!important;
  height:62px!important;
  margin:0 auto!important;
}
.publication-footer .footer-brands b{
  margin-top:3px!important;
  font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC",serif!important;
  font-size:16px!important;
  line-height:1.28!important;
  font-weight:700!important;
}
.publication-footer .share-line{
  margin-top:28px!important;
  margin-bottom:23px!important;
  font-size:22px!important;
  line-height:1.34!important;
  font-weight:700!important;
  text-align:left!important;
}
.publication-footer .footer-info,
.publication-footer .legal{
  width:calc(100% - 28px)!important;
  max-width:610px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
.publication-footer .footer-info{
  font-size:9.5px!important;
  line-height:1.72!important;
}
.publication-footer .footer-info b,
.publication-footer .legal b{
  font-size:10px!important;
}
.publication-footer .legal{
  margin-top:17px!important;
  font-size:8.5px!important;
  line-height:1.62!important;
}

@media(max-width:600px){
  /* Keep the already-good mobile scale, but preserve the sample's two alignment rails. */
  .publication-footer{
    min-height:0!important;
    padding:28px 20px 92px!important;
  }
  .publication-footer .footer-brands,
  .publication-footer .share-line{
    width:100%!important;
    max-width:none!important;
  }
  .publication-footer .footer-brands{
    gap:14px!important;
  }
  .publication-footer .impactone-logo{
    width:88px!important;
    height:58px!important;
  }
  .publication-footer .faef-logo{
    width:58px!important;
    height:58px!important;
  }
  .publication-footer .footer-brands b{
    font-size:13px!important;
    line-height:1.3!important;
  }
  .publication-footer .share-line{
    margin-top:27px!important;
    margin-bottom:21px!important;
    font-size:20px!important;
    line-height:1.35!important;
  }
  .publication-footer .footer-info,
  .publication-footer .legal{
    width:calc(100% - 16px)!important;
    max-width:none!important;
  }
}

/* V3.17.11 — footer brand/slogan exact anchor fix
   Desktop only. The brand row and slogan share one 610px rail.
   Crucially, the brand columns are max-content rather than 1fr, so the rail's
   left edge is the visible left edge of “出品｜IMPACTONE”, not the empty
   left side of a 1fr grid cell. */
@media (min-width:601px){
  .publication-footer .footer-brands{
    box-sizing:border-box!important;
    width:610px!important;
    max-width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:grid!important;
    grid-template-columns:max-content max-content!important;
    justify-content:space-between!important;
    column-gap:54px!important;
    align-items:start!important;
  }

  .publication-footer .footer-brand,
  .publication-footer .foundation{
    width:max-content!important;
    min-width:0!important;
    align-items:center!important;
    text-align:center!important;
  }

  .publication-footer .share-line{
    box-sizing:border-box!important;
    width:610px!important;
    max-width:calc(100% - 24px)!important;
    margin:28px auto 23px!important;
    padding:0!important;
    transform:none!important;
    text-align:left!important;
    white-space:nowrap!important;
    font-size:30px!important;
    line-height:1.34!important;
    letter-spacing:.015em!important;
  }
}

/* V3.17.12 — footer information rail separation
   Approved sample uses two horizontal rails on desktop:
   - brand row + gold slogan: 610px centered rail;
   - contact + legal copy: 650px centered rail, so its left edge sits 20px left of the brand/slogan rail.
   Mobile layout is intentionally unchanged. */
@media (min-width:601px){
  .publication-footer .footer-info,
  .publication-footer .legal{
    box-sizing:border-box!important;
    width:650px!important;
    max-width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }
}

/* V3.17.13 — footer brand spacing matched to approved sample.
   Desktop only. Keep the left anchor shared by “出品” and the gold slogan,
   but shorten the brand/slogan rail so the two brand groups sit closer together.
   Contact/legal rail remains independent. */
@media (min-width:601px){
  .publication-footer .footer-brands,
  .publication-footer .share-line{
    width:550px!important;
    max-width:calc(100% - 24px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  .publication-footer .footer-brands{
    grid-template-columns:max-content max-content!important;
    justify-content:space-between!important;
    column-gap:40px!important;
  }
}

/* V3.17.14 — mobile footer anchor + oil caption alignment
   Mobile only: make the visible left edge of “出品｜IMPACTONE” and the gold
   slogan share the same rail. Desktop V3.17.13 spacing remains untouched. */
@media (max-width:600px){
  .publication-footer .footer-brands{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:grid!important;
    grid-template-columns:max-content max-content!important;
    justify-content:space-between!important;
    column-gap:12px!important;
    align-items:start!important;
  }

  .publication-footer .footer-brand,
  .publication-footer .foundation{
    width:max-content!important;
    min-width:0!important;
    align-items:center!important;
    text-align:center!important;
  }

  .publication-footer .share-line{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:27px 0 21px!important;
    padding-left:0!important;
    padding-right:0!important;
    transform:none!important;
    text-align:left!important;
    white-space:nowrap!important;
  }
}

/* Center only the Daily Focus oil-image credit/caption. */
.story figure:has(img[src*="sample-oil-clean-v315"]) figcaption{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* V3.17.15 — mobile upper-rail inset + FAEF logo vertical refinement.
   Mobile only: brand row + gold slogan sit slightly to the right of the
   contact/legal information rail, matching the approved sample hierarchy.
   Desktop brand/slogan geometry is unchanged.
   FAEF crest is lifted slightly on all viewports so its visual distance to
   the sponsor text matches the IMPACTONE lockup more closely. */
.publication-footer .faef-logo{
  transform:translateY(-5px)!important;
}

@media (max-width:600px){
  .publication-footer .footer-brands,
  .publication-footer .share-line{
    box-sizing:border-box!important;
    width:calc(100% - 14px)!important;
    max-width:none!important;
    margin-left:14px!important;
    margin-right:0!important;
    transform:none!important;
  }

  .publication-footer .footer-brands{
    grid-template-columns:max-content max-content!important;
    justify-content:space-between!important;
  }

  .publication-footer .share-line{
    padding-left:0!important;
    padding-right:0!important;
    text-align:left!important;
  }
}

/* Daily Focus oil-image credit stays centered on all viewport sizes. */
.story figure:has(img[src*="sample-oil-clean-v315"]) figcaption{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Subscription and comments controls restored after review. */

/* NYC contact block: separate heading, aligned white details */
.publication-footer .footer-info::before{content:"商业合作与联系";display:block!important;margin:0 0 10px!important;color:#cba647!important;font-size:10px!important;font-weight:700!important;line-height:1.5!important}
.publication-footer .footer-info .colophon-row{display:grid!important;grid-template-columns:74px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;margin:0 0 7px!important;color:#fff!important;font-size:9.5px!important;line-height:1.65!important}
.publication-footer .footer-info .colophon-row .colophon-label,.publication-footer .footer-info .colophon-row span,.publication-footer .footer-info .colophon-row a{color:#fff!important;font-size:inherit!important;font-weight:400!important;line-height:inherit!important;overflow-wrap:anywhere!important}
.publication-footer .footer-info .colophon-row a{text-decoration:none!important}
@media(max-width:600px){.publication-footer .footer-info .colophon-row{grid-template-columns:62px minmax(0,1fr)!important;gap:8px!important;font-size:9px!important}}

/* New York edition: conceal ONLY the isolated, upper half-spire embedded in the masthead image.
   The complete lower skyline and Empire State Building remain untouched. */
.brand-lockup-wrap{position:relative}
.brand-lockup-wrap::after{content:"";position:absolute;z-index:1;pointer-events:none;left:77.5%;top:67.5%;width:10.5%;height:32.5%;background:linear-gradient(180deg,#071b3c 0%,#061b3b 55%,#051a39 100%)}

/* Approved footer spacing: give the motto breathing room, then separate heading and contact rows. */
.publication-footer .footer-info{margin-top:52px!important}
.publication-footer .footer-info::before{margin-bottom:18px!important}
.publication-footer .footer-info .colophon-contact{margin-top:0!important}
.publication-footer .footer-info .colophon-contact > b{display:block!important;margin-bottom:18px!important;color:#cba647!important}
/* International issues have their own heading: never generate a second one. */
.publication-footer .footer-info:has(.colophon-contact)::before{content:none!important;display:none!important}
@media(max-width:600px){.publication-footer .footer-info{margin-top:40px!important}.publication-footer .footer-info::before{margin-bottom:14px!important}.publication-footer .footer-info .colophon-contact > b{margin-bottom:14px!important}}

/* Daily footer shared by the international and New York editions. */
.publication-footer.reference-footer {
  min-height: 0 !important;
  padding: 0 0 calc(var(--action-h, 68px) + var(--safe-bottom, 0px) + 24px) !important;
  color: #fff;
}

.reference-footer .reference-footer-brand {
  display: block;
  width: 100%;
  height: auto;
}

.reference-footer .reference-footer-copy {
  display: grid;
  gap: clamp(18px, 4vw, 30px);
  padding: clamp(22px, 5vw, 40px) 6% 0;
  color: #fff;
  font-size: clamp(13px, 2.5vw, 19px);
  line-height: 1.5;
}

.reference-footer .reference-footer-copy :is(h2, p, a) {
  margin: 0;
  color: inherit;
  font: inherit;
}

.reference-footer .reference-footer-copy a {
  text-underline-offset: .15em;
  overflow-wrap: anywhere;
}


/* Footer layout approved for the November 12 editions. */
.publication-footer.reference-footer--spaced {
  container-type: inline-size;
  background: #021a3b !important;
  padding: 0 0 calc(var(--action-h, 68px) + var(--safe-bottom, 0px) + 24px) !important;
}
.reference-footer--spaced .reference-footer-brand-wrap {
  padding-top: clamp(25px, 5.6cqw, 43px);
}
.reference-footer--spaced .reference-footer-brand-crop {
  aspect-ratio: 735 / 127;
  overflow: hidden;
}
.reference-footer--spaced .reference-footer-motto {
  color: #dcb650;
  margin: clamp(12px, 2.5cqw, 19px) 6% 0 13.8%;
  font: 700 clamp(16px, 3.65cqw, 28px)/1.45 "Noto Serif CJK SC", "Songti SC", serif;
}
@media (max-width:600px) {
  .reference-footer--spaced .reference-footer-motto {
    font-size:min(15px, 5.2vw);
    white-space:nowrap;
  }
}
.reference-footer--spaced .reference-footer-copy {
  gap: clamp(28px, 6cqw, 46px);
  padding: clamp(38px, 7.5cqw, 58px) 6% 0;
  font-size: clamp(12px, 1.85cqw, 14px);
  line-height: 1.65;
}
.reference-footer--spaced .reference-footer-copy h2 {
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .comments-panel {
    width: 100%;
    bottom: max(calc(var(--action-h, 68px) + var(--safe-bottom)), var(--comment-viewport-bottom, 0px)) !important;
    max-height: min(72vh, calc(var(--comment-viewport-height, 100vh) - 84px));
    padding: 16px;
    overscroll-behavior: contain;
  }

  .comments-panel form {
    grid-template-columns: minmax(0, 1fr);
  }

  .comments-panel input,
  .comments-panel textarea {
    min-width: 0;
    font-size: 16px;
  }

  .comments-panel textarea {
    min-height: 64px;
  }

  .comments-panel form button {
    min-height: 44px;
  }
}

/* Opening-message masthead: keep Chinese title intact on phone screens. */
.opening-message.thanksgiving-opening {
  container-type: inline-size;
}
.opening-message.thanksgiving-opening .opening-banner {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}
.opening-message.thanksgiving-opening .opening-banner .opening-banner-title h2 {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}
@media (max-width: 600px) {
  .opening-message.thanksgiving-opening .opening-banner .opening-banner-title {
    flex-wrap: nowrap !important;
    gap: clamp(7px, 2.3vw, 18px) !important;
    gap: clamp(7px, 2.3cqw, 18px) !important;
    min-width: 0;
  }
  .opening-message.thanksgiving-opening .opening-banner .opening-banner-title h2 {
    font-size: clamp(20px, 5.5vw, 42px) !important;
    font-size: clamp(20px, 5.5cqw, 42px) !important;
  }
  .opening-message.thanksgiving-opening .opening-banner .opening-banner-title > span {
    flex: 0 0 auto !important;
    font-size: clamp(10px, 2.4vw, 18px) !important;
    font-size: clamp(10px, 2.4cqw, 18px) !important;
    letter-spacing: .06em !important;
    white-space: nowrap !important;
  }
  .opening-message.thanksgiving-opening .opening-banner .opening-emblem {
    width: clamp(20px, 5.8vw, 44px) !important;
    width: clamp(20px, 5.8cqw, 44px) !important;
    flex: 0 0 auto !important;
  }
  .opening-message.thanksgiving-opening .opening-banner .opening-banner-copy > p {
    margin-left: calc(clamp(20px, 5.8vw, 44px) + clamp(7px, 2.3vw, 18px)) !important;
    margin-left: calc(clamp(20px, 5.8cqw, 44px) + clamp(7px, 2.3cqw, 18px)) !important;
    white-space: nowrap !important;
  }
}
