/* V6 Editorial Index — original layout. Scoped; not derived from V4 blocks. */
.ydx{--ink:#242322;--muted:#6d6a66;--red:#d82b28;--paper:#faf9f6;--line:#dedbd5;--dark:#252524;margin:0!important;background:var(--paper)!important;color:var(--ink);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:15px;line-height:1.75}
.ydx *,.ydx *:before,.ydx *:after{box-sizing:border-box}
.ydx a{color:inherit;text-decoration:none}
.ydx a:focus-visible,.ydx summary:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.ydx-shell{width:min(1160px,calc(100% - 80px));margin-inline:auto}
.ydx-skip{position:absolute;left:-10000px}.ydx-skip:focus{left:8px;top:8px;padding:12px;background:white;z-index:999}
.ydx-head{background:var(--paper);border-bottom:1px solid #d9d6cf}
.ydx-head-inner{height:90px;display:flex;align-items:center;justify-content:space-between;gap:32px}
.ydx-brand{display:flex;align-items:center;gap:12px;white-space:nowrap}
.ydx-brand img{width:32px;height:32px;object-fit:contain;border-radius:6px}
.ydx-brand strong{display:block;font-size:19px;line-height:1.4;font-weight:900;letter-spacing:-.04em}
.ydx-brand small{display:block;font-size:9px;color:#88837d;letter-spacing:.19em;font-weight:700}
.ydx-nav{display:flex;gap:38px;margin-left:auto;font-size:13px;font-weight:650;color:#56524f}
.ydx-nav a:hover{color:var(--red)}
.ydx-head-download{font-size:12px;border-bottom:1px solid var(--ink);font-weight:750;padding-bottom:5px;white-space:nowrap}
.ydx-head-download span{color:var(--red);margin-left:10px}
.ydx-menu{display:none}
/* Bold editorial masthead */
.ydx-hero{padding:68px 0 38px}
.ydx-hero-label{display:flex;gap:12px;align-items:center;font-size:11px;letter-spacing:.2em;color:#77716c;font-weight:750}
.ydx-red-square{width:9px;height:9px;background:var(--red);display:inline-block}
.ydx-hero-line{display:grid;grid-template-columns:minmax(0,1.46fr) minmax(280px,.54fr);gap:58px;align-items:end;padding:36px 0 55px}
.ydx-serial{color:var(--red);font-size:11px;font-weight:850;letter-spacing:.12em;margin:0 0 15px}
.ydx-hero h1{font-size:clamp(72px,7.7vw,112px);letter-spacing:-.045em;line-height:1.14;margin:0 0 30px;font-weight:950;white-space:normal}
.ydx-hero h1 span{font-weight:350;letter-spacing:-.085em;margin-left:8px}
.ydx-hero h1 em{font-style:normal;color:var(--red)}
.ydx-lede{max-width:680px;font-size:17px;line-height:1.98;color:#58534f;margin:0 0 34px}
.ydx-cta-row{display:flex;align-items:center;gap:27px;flex-wrap:wrap}
.ydx-main-cta{display:inline-flex;align-items:center;justify-content:space-between;background:var(--red);color:white;font-size:16px;font-weight:750;gap:45px;padding:17px 23px;min-width:260px;transition:background .15s}
.ydx-main-cta:hover{background:#ba1a1c}
.ydx-main-cta span{font-size:20px;font-weight:400}
.ydx-minor-cta{border-bottom:1px solid var(--ink);padding:5px 0;font-size:13px;font-weight:750}
.ydx-minor-cta span{margin-left:15px}
.ydx-hero-side{border-left:1px solid #cbc7c0;padding:22px 0 7px 26px;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end}
.ydx-hero-side>span{font-size:11px;letter-spacing:.18em;color:var(--red);font-weight:750}
.ydx-hero-side strong{font-size:41px;line-height:1.18;letter-spacing:-.07em;font-weight:900;margin:8px 0 9px}
.ydx-hero-side p{font-size:13px;color:#67615b;margin:0 0 32px}
.ydx-file-name{font-size:15px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;padding:17px 0;border-top:1px solid #ccc8c0;border-bottom:1px solid #ccc8c0;overflow-wrap:anywhere;font-weight:700}
.ydx-hero-side small{font-size:11px;color:#7b756e;margin-top:15px}
.ydx-hero-bottom{border-top:1px solid var(--ink);padding-top:14px;display:flex;justify-content:space-between;gap:20px;font-size:10px;font-weight:700;letter-spacing:.12em;color:#7d7770}
/* OS entries are continuous ledger rows, not cards */
.ydx-systems{padding:76px 0 100px}
.ydx-section-edge{display:grid;grid-template-columns:180px 1fr 1fr;gap:18px;align-items:baseline;border-top:3px solid var(--ink);padding-top:17px;margin-bottom:36px}
.ydx-section-edge>span{font-size:10px;letter-spacing:.17em;color:var(--red);font-weight:850}
.ydx-section-edge h2{font-size:32px;line-height:1.3;margin:0;font-weight:900;letter-spacing:-.045em}
.ydx-section-edge p{font-size:13px;color:var(--muted);margin:0;line-height:1.9}
.ydx-system-list{border-top:1px solid var(--line)}
.ydx-system-row{display:grid;grid-template-columns:30% 1fr 190px;align-items:center;gap:25px;padding:32px 0;border-bottom:1px solid var(--line)}
.ydx-system-os small{font-size:10px;color:var(--red);font-weight:850;letter-spacing:.19em}
.ydx-system-os h3{font-size:34px;letter-spacing:-.06em;line-height:1.25;margin:7px 0 0}
.ydx-system-desc strong{font-size:16px;font-weight:750}.ydx-system-desc p{font-size:12px;margin:3px 0 0;color:#77716c}
.ydx-system-action{text-align:right;display:flex;justify-content:flex-end;align-items:flex-end;flex-direction:column;gap:10px}
.ydx-small-cta{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:800;color:#cb2925!important}.ydx-small-cta span{font-size:22px}
.ydx-guide-link{font-size:11px;text-decoration:underline;color:#6b6660}
.ydx-disabled{font-size:11px;color:#9c403d}
/* Reading index is editorial numbered list */
.ydx-directory-grid{padding:0 0 55px}
.ydx-directory .ydx-inner-hero{margin-bottom:24px}
.ydx-reading-grid{display:grid;grid-template-columns:38% minmax(0,1fr);gap:75px;align-items:start}
.ydx-areas h2,.ydx-latest h2{font-size:16px;margin:0 0 16px;font-weight:850}
.ydx-area-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;column-gap:7px;align-items:center;border-top:1px solid var(--line);padding:15px 0}
.ydx-area-row>span{font-size:11px;color:var(--red)}
.ydx-area-row>strong{font-size:16px}.ydx-area-row>small{grid-column:2/3;color:#827c75;font-size:11px}
.ydx-area-row>b{grid-column:3;grid-row:1/3;font-size:15px;color:#a2312d}
.ydx-area-row:hover strong{color:var(--red)}.ydx-pending{opacity:.53}.ydx-pending b{font-size:10px}
.ydx-latest-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--ink);padding-bottom:13px}
.ydx-latest-head h2{margin:0}.ydx-latest-head span{color:#a19a90;font-size:10px;font-weight:800}
.ydx-post-index{list-style:none;padding:0;margin:0;counter-reset:guides}
.ydx-post-index li{counter-increment:guides;display:grid;grid-template-columns:38px 1fr 83px;column-gap:12px;align-items:start;padding:20px 0;border-bottom:1px solid var(--line)}
.ydx-post-index li:before{content:counter(guides,decimal-leading-zero);grid-column:1;grid-row:1/4;font-size:13px;font-weight:800;color:#b9b3a9}
.ydx-post-topic{grid-column:2;grid-row:1;font-size:10px;color:var(--red);font-weight:750;margin-bottom:6px}
.ydx-post-index li>a{grid-column:2;grid-row:2;font-size:17px;font-weight:800;line-height:1.55}
.ydx-post-index li>a:hover{color:var(--red)}
.ydx-post-index li>p{grid-column:2;grid-row:3;color:#7c746d;font-size:12px;line-height:1.8;margin:7px 0 0}
.ydx-post-date{grid-column:3;grid-row:2;font-size:11px;color:#88827a;text-align:right;white-space:nowrap}
.ydx-empty{color:var(--muted);font-size:14px}
/* FAQ becomes compact footnotes, no cards */
.ydx-bottom-note{padding:0 0 104px;display:grid;grid-template-columns:30% 1fr;gap:75px;border-top:2px solid var(--ink)}
.ydx-bottom-note>div:first-child{padding-top:27px}.ydx-bottom-note h2{font-size:32px;letter-spacing:-.04em;margin:12px 0}
.ydx-questions details{border-bottom:1px solid var(--line);padding:21px 0}.ydx-questions summary{cursor:pointer;font-size:15px;font-weight:800;list-style:none;display:flex;justify-content:space-between;gap:20px}
.ydx-questions summary:after{content:'+';color:var(--red);font-size:20px;font-weight:400}.ydx-questions details[open] summary:after{content:'–'}
.ydx-questions p{font-size:13px;color:#706a64;line-height:1.9;max-width:620px}
/* footer */
.ydx-footer{background:var(--dark);color:#e9e7e3;padding:60px 0 31px}
.ydx-foot-layout{display:grid;grid-template-columns:1.35fr .45fr .9fr;gap:65px;align-items:start}
.ydx-foot-word{font-size:24px;font-weight:900;letter-spacing:-.04em}.ydx-foot-word span{color:#a9a29a;font-size:10px;letter-spacing:.1em}
.ydx-footer p,.ydx-foot-small{color:#bbb5ad;font-size:12px;line-height:2;max-width:425px}
.ydx-foot-links a{display:block;font-size:12px;margin-bottom:14px}.ydx-foot-links a:hover{color:#ff7b75}
/* Inner pages */
.ydx-inner{padding:28px 0 100px}.ydx-crumb{font-size:12px;color:#8a837b}.ydx-crumb a{text-decoration:underline}
.ydx-inner-hero{border-top:2px solid var(--ink);margin-top:48px;padding:26px 0 43px}.ydx-inner-hero>span,.ydx-platform-intro>span,.ydx-article-type{font-size:10px;letter-spacing:.18em;color:var(--red);font-weight:800}
.ydx-inner-hero h1,.ydx-platform-intro h1{font-size:clamp(45px,5.7vw,76px);line-height:1.17;letter-spacing:-.07em;margin:15px 0 20px;font-weight:950}
.ydx-inner-hero>p,.ydx-platform-intro>p{color:#665f59;max-width:620px;font-size:15px}
.ydx-inner-columns{display:grid;grid-template-columns:minmax(0,1fr) 245px;gap:85px}
.ydx-line-heading{display:flex;justify-content:space-between;padding:15px 0;border-top:1px solid #aaa39a;border-bottom:1px solid #aaa39a}.ydx-line-heading strong{font-size:14px}.ydx-line-heading small{font-size:11px;color:#8d867c}
.ydx-inner-aside{border-top:1px solid var(--ink);padding-top:15px}.ydx-inner-aside h2{font-size:15px;margin:0 0 15px}
.ydx-inner-aside>a{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--line);font-weight:750;font-size:13px}
.ydx-aside-home{margin-top:32px}.ydx-aside-home a{color:var(--red);font-weight:800;font-size:13px}.ydx-aside-home p{font-size:12px;color:var(--muted)}
.ydx-page-nav ul{list-style:none;display:flex;gap:8px;flex-wrap:wrap;padding:0;margin:25px 0}.ydx-page-nav a,.ydx-page-nav span{display:block;padding:6px 12px;border:1px solid var(--line);font-size:12px}
.ydx-single-head{padding:54px 0 40px;border-bottom:2px solid var(--ink)}.ydx-single-head h1{font-size:clamp(34px,4.5vw,61px);line-height:1.35;letter-spacing:-.055em;margin:17px 0 17px;max-width:970px}.ydx-single-head p{font-size:12px;color:#8c857d}
.ydx-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:100px;padding-top:26px}.ydx-prose{font-size:15px;line-height:2.03;overflow-wrap:anywhere}.ydx-prose h2{font-size:26px;line-height:1.4;margin:37px 0 16px;letter-spacing:-.035em}.ydx-prose h3{font-size:19px;margin-top:24px}.ydx-prose a{color:#b82b26;text-decoration:underline}.ydx-prose img{max-width:100%;height:auto;display:block;margin:18px 0}.ydx-prose blockquote{border-left:3px solid var(--red);padding-left:18px;color:#66615c}
.ydx-table-scroll{max-width:100%;overflow-x:auto;margin:26px 0;border-top:1px solid var(--ink)}.ydx-table-scroll table{border-collapse:collapse;min-width:510px;width:100%;font-size:13px}.ydx-table-scroll td,.ydx-table-scroll th{border-bottom:1px solid #dedbd5;padding:11px;text-align:left}
.ydx-single-aside{border-top:2px solid var(--red);padding-top:19px}.ydx-single-aside>span{font-size:10px;letter-spacing:.15em;color:#a3312c}.ydx-single-aside h2{font-size:22px;margin:12px 0}.ydx-single-aside p{color:var(--muted);font-size:12px}.ydx-single-aside a,.ydx-article-end a{font-size:13px;color:var(--red);font-weight:700}
.ydx-article-end{border-top:2px solid var(--ink);padding-top:24px;margin-top:50px;display:flex;gap:20px;flex-wrap:wrap;align-items:baseline}.ydx-article-end strong{margin-right:auto}
.ydx-platform-intro{margin-top:45px;padding:32px 0 68px;border-top:2px solid var(--ink)}.ydx-platform-intro p{margin-bottom:26px}
.ydx-platform-meta{border-top:1px solid var(--ink)}.ydx-platform-meta>div{display:grid;grid-template-columns:35% 1fr;padding:20px 0;border-bottom:1px solid var(--line)}.ydx-platform-meta span{font-size:13px;color:#878079}.ydx-platform-meta strong{font-size:16px;overflow-wrap:anywhere}
.ydx-platform-copy{margin-top:70px;max-width:760px}.ydx-platform-copy h2{font-size:27px;letter-spacing:-.035em;margin-top:36px}.ydx-platform-copy p{color:#625c56;line-height:2}.ydx-platform-copy>a{font-size:14px;color:var(--red);font-weight:750}
@media(max-width:1050px){.ydx-shell{width:calc(100% - 52px)}.ydx-nav{gap:18px}.ydx-hero h1{font-size:76px}.ydx-hero-line{gap:30px}.ydx-section-edge{grid-template-columns:140px 1fr 1fr}.ydx-reading-grid{gap:40px}.ydx-inner-columns,.ydx-single-layout{gap:42px}}
@media(max-width:760px){.ydx-shell{width:calc(100% - 36px)}.ydx-head-inner{height:70px;gap:10px}.ydx-brand strong{font-size:16px}.ydx-brand small{font-size:8px}.ydx-nav,.ydx-head-download{display:none}.ydx-menu{display:block;position:relative;margin-left:auto}.ydx-menu summary{font-size:12px;list-style:none;border:1px solid var(--line);padding:7px 10px;cursor:pointer}.ydx-menu nav{position:absolute;top:34px;right:0;z-index:20;min-width:160px;background:var(--paper);border:1px solid var(--line);padding:8px 15px;box-shadow:0 18px 35px #0002}.ydx-menu nav a{display:block;padding:10px 0;font-size:13px}.ydx-hero{padding:40px 0 25px}.ydx-hero-line{display:block;padding:24px 0}.ydx-hero h1{font-size:clamp(48px,12vw,76px);letter-spacing:-.09em;white-space:normal}.ydx-lede{font-size:14px;line-height:1.85}.ydx-main-cta{min-width:0;padding:15px 17px;font-size:13px;gap:18px}.ydx-minor-cta{font-size:12px}.ydx-hero-side{margin-top:43px;border-left:0;border-top:1px solid var(--line);padding:19px 0 0}.ydx-hero-side strong{font-size:29px}.ydx-hero-side p{margin-bottom:13px}.ydx-file-name{font-size:13px;padding:10px 0}.ydx-hero-bottom{font-size:9px;display:grid;grid-template-columns:1fr 1fr;row-gap:8px}.ydx-hero-bottom span:last-child{grid-column:1/-1}.ydx-systems{padding:52px 0 64px}.ydx-section-edge{display:block;margin-bottom:20px}.ydx-section-edge h2{font-size:29px;margin:8px 0}.ydx-section-edge p{font-size:12px}.ydx-system-row{grid-template-columns:1fr auto;gap:12px;padding:20px 0}.ydx-system-os h3{font-size:27px}.ydx-system-desc{grid-column:1;grid-row:2}.ydx-system-action{grid-column:2;grid-row:1/3;min-width:102px}.ydx-small-cta{font-size:12px;gap:7px}.ydx-small-cta span{font-size:16px}.ydx-system-desc strong{font-size:13px}.ydx-system-desc p{font-size:11px;max-width:220px}.ydx-reading-grid{display:block}.ydx-areas{margin-bottom:55px}.ydx-post-index li{grid-template-columns:28px minmax(0,1fr);gap:7px}.ydx-post-date{grid-column:2;grid-row:4;text-align:left;margin-top:7px}.ydx-post-index li>a{font-size:15px}.ydx-bottom-note{display:block;padding-bottom:67px}.ydx-bottom-note h2{font-size:28px}.ydx-questions summary{font-size:13px}.ydx-footer{padding:45px 0}.ydx-foot-layout{display:block}.ydx-foot-links{margin-top:25px;display:flex;gap:20px}.ydx-foot-small{margin-top:25px}.ydx-inner{padding-bottom:65px}.ydx-inner-hero{margin-top:32px}.ydx-inner-hero h1{font-size:46px}.ydx-inner-columns,.ydx-single-layout{display:block}.ydx-inner-aside,.ydx-single-aside{display:none}.ydx-single-head{padding-top:36px}.ydx-single-head h1{font-size:35px}.ydx-prose{font-size:14px}.ydx-prose h2{font-size:23px}.ydx-platform-intro h1{font-size:45px}.ydx-platform-meta>div{grid-template-columns:1fr;gap:5px}.ydx-platform-copy h2{font-size:23px}}
@media(max-width:365px){.ydx-hero h1{font-size:44px}.ydx-cta-row{align-items:stretch;gap:16px}.ydx-main-cta{width:100%}.ydx-system-action{min-width:86px}.ydx-system-os h3{font-size:24px}}

/* V7: article index lives on the /guides/ secondary page only */
.ydx-directory .ydx-reading-grid{margin-top:8px}
.ydx-directory .ydx-areas h2{margin-top:0;padding-bottom:14px;border-bottom:1px solid var(--ink)}
@media(max-width:760px){.ydx-directory .ydx-areas{margin-bottom:43px}.ydx-directory .ydx-reading-grid{padding-bottom:12px}}

/* V7.1: visible but minimal category links; no article list on the download homepage */
.ydx-help-strip{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px;border-top:1px solid #d8d5cf;padding:20px 0;margin-top:16px;font-size:13px}
.ydx-help-strip span{color:#6d6c68;font-weight:650}
.ydx-help-strip a{color:#b72a2a;font-weight:750;text-decoration:none}
.ydx-help-strip a:hover{text-decoration:underline;text-underline-offset:4px}
.ydx-hub-note{margin:26px 0 0;color:#6e6b66;font-size:13px;line-height:1.8}
.ydx-prose table{max-width:100%;}
@media(max-width:740px){.ydx-help-strip{gap:8px 16px;padding:16px 0}.ydx-help-strip a{font-size:12px}.ydx-hero h1{letter-spacing:-.035em}}

/* When PHP DOMDocument is unavailable, the article column itself safely scrolls oversized tables. */
.ydx-prose{min-width:0;overflow-x:auto}

/* V7.3: platform-specific, article-like content. No screenshot simulations or feature cards. */
.ydx-platform-steps{list-style:none;padding:0;margin:18px 0 30px;counter-reset:ydx-step}
.ydx-platform-steps li{position:relative;border-bottom:1px solid var(--line);padding:16px 0 20px 45px;counter-increment:ydx-step}
.ydx-platform-steps li::before{content:counter(ydx-step,decimal-leading-zero);position:absolute;left:0;top:19px;color:var(--red);font-weight:800;font-size:11px}
.ydx-platform-steps h3{margin:0 0 7px;font-size:17px;letter-spacing:-.02em}
.ydx-platform-steps p{margin:0;color:#625c56;line-height:1.9}
.ydx-platform-faq{border-top:1px solid var(--ink);margin:18px 0 24px}
.ydx-platform-faq details{border-bottom:1px solid var(--line);padding:16px 0}
.ydx-platform-faq summary{font-size:15px;font-weight:750;cursor:pointer}
.ydx-platform-faq details p{margin:9px 0 0}
.ydx-platform-related{font-size:13px;margin-top:19px}
.ydx-platform-related a{color:var(--red);text-decoration:underline}
@media(max-width:760px){.ydx-platform-steps li{padding-left:35px}.ydx-platform-steps h3{font-size:16px}.ydx-platform-faq summary{font-size:14px}}
