/* 红桃视频 | HONGTAO VIDEO — independent editorial interface */
:root{color-scheme:dark;--bg:#0F0A0A;--deep:#0A0707;--surface:#1A1212;--surface-2:#241818;--title:#FFFFFF;--body:#F0E8E8;--muted:#C4B0B0;--quiet:#AD9494;--red:#E63946;--bright:#FF4D4F;--red-deep:#C41E3A;--border:rgba(230,57,70,.18);--shadow:0 16px 40px rgba(0,0,0,.55);--gradient:linear-gradient(135deg,#FF4D4F 0%,#C41E3A 100%);--safe-bottom:env(safe-area-inset-bottom,0px)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:156px}body{margin:0;background:var(--bg);color:var(--body);font:16px/1.75 system-ui,-apple-system,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;min-width:0}body.panel-active{overflow:hidden}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}button,a,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #FF8D92;outline-offset:3px}a:hover{color:#FF878A}button:disabled{cursor:not-allowed}h1,h2,h3,p,ol,ul{margin-top:0}h1,h2,h3{color:var(--title);line-height:1.32;letter-spacing:.012em}h1{font-size:clamp(28px,2.6vw,34px)}h2{font-size:clamp(22px,2.1vw,30px)}h3{font-size:18px}p{margin-bottom:1em}main p{overflow-wrap:anywhere}small,.small{font-size:.85rem}.shell{max-width:1220px;padding-inline:24px;margin-inline:auto}.skip-link{position:fixed;left:12px;top:-60px;background:#fff;color:#151111;padding:10px 18px;z-index:300}.skip-link:focus{top:8px}.eyebrow{display:inline-block;letter-spacing:.17em;font-size:12px;line-height:1.5;font-weight:800;color:#FF7378;text-transform:uppercase}.kicker{font-size:13px;font-weight:700;color:#FF777A;letter-spacing:.08em}.tint{color:#FF7B7F}
/* header spanning the viewport */
.site-header{position:fixed;inset:0 0 auto;z-index:110;width:100%;box-shadow:0 12px 22px rgba(0,0,0,.2)}.top-ribbon{height:22px;background:#C41E3A;color:#fff;position:relative}.top-ribbon__inner{height:22px;display:flex;align-items:center;justify-content:space-between;position:relative;font-size:10px;font-weight:800;letter-spacing:.05em;line-height:1}.top-ribbon__inner>span{white-space:nowrap}.brand-dot{opacity:.66;padding:0 5px}.icon-button{display:inline-grid;place-items:center;border:0;background:transparent;color:#fff;min-width:44px;min-height:44px}.ribbon-search{position:absolute;top:0;right:24px;width:44px;height:44px;z-index:3}.ribbon-search span{font-size:26px;line-height:1;font-weight:700;transform:translateY(-7px)}.ribbon-search:hover{background:#D42A41;color:#fff}.masthead{height:72px;background:#100A0B;border-bottom:1px solid rgba(255,255,255,.08)}.masthead__inner{height:72px;display:flex;align-items:center;gap:20px;padding-top:14px}.brand-link{display:inline-flex;min-width:0;align-items:center;gap:8px;flex-shrink:1;white-space:nowrap}.brand-link:hover{color:white}.brand-logo{width:auto;height:36px;max-width:160px;object-fit:contain}.brand-text{font-size:clamp(20px,2vw,28px);line-height:1;font-weight:900;color:white;white-space:nowrap;letter-spacing:-.02em}.brand-english{font-size:9px;letter-spacing:.15em;color:#FBA9A9;font-weight:800;display:none}.menu-toggle{border:1px solid #6E2932;background:var(--surface);color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:10px;min-width:96px;min-height:44px;font-size:14px;font-weight:800;white-space:nowrap}.menu-toggle:hover{background:#3E1A1E}.menu-toggle__lines{display:inline-flex;flex-direction:column;justify-content:center;gap:4px;width:18px;flex-shrink:0}.menu-toggle__lines i{display:block;width:100%;height:2px;background:#fff;border-radius:2px}.app-link{margin-left:auto;min-height:44px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #EE4A50;border-radius:9px;background:linear-gradient(135deg,#EF444D,#C41E3A);font-weight:800;font-size:14px;white-space:nowrap;color:white}.app-link:hover{color:#fff;filter:brightness(1.12)}.app-link[aria-current=page]{box-shadow:inset 0 0 0 1px #fff}.red-tabs{height:44px;background:#130B0C;border-bottom:1px solid #7C1C2A}.red-tabs__inner{height:44px;display:flex;align-items:stretch;gap:8px;overflow:visible}.red-tabs a{height:43px;min-width:94px;display:flex;align-items:center;justify-content:center;padding-inline:14px;font-size:14px;color:#E6CDCD;font-weight:700;white-space:nowrap;border-bottom:2px solid transparent}.red-tabs a:hover{color:#fff;background:#29171A}.red-tabs a.active{background:#C41E3A;color:#fff;border-bottom-color:#FF7176}
.page-main{padding-top:165px;min-height:85vh}.section{margin-block:0 60px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(230,57,70,.24);padding-bottom:14px;margin-bottom:22px}.section-heading h2{margin:4px 0 0}.section-heading>a,.plain-link{color:#FF878A;font-weight:700;text-decoration:underline;text-underline-offset:5px}.section-heading>a:hover,.plain-link:hover{color:#fff}.summary{color:var(--muted);max-width:780px}.body-lead{font-size:17px;line-height:1.9;color:#F5E9E9}.inline-link{font-weight:800;color:#FF878A;display:inline-flex;align-items:center;gap:5px}.inline-link:hover{color:#fff}.btn-row{display:flex;flex-wrap:wrap;gap:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 17px;min-height:44px;font-size:14px;border-radius:10px;font-weight:800;white-space:nowrap}.btn-primary{background:var(--gradient);color:#fff;border:1px solid rgba(255,255,255,.08)}.btn-primary:hover{filter:brightness(1.1);color:#fff}.btn-secondary{background:#171011;border:1px solid #B63A47;color:#fff}.btn-secondary:hover{background:#2D191B;color:#fff}
/* full-width artwork; only a genuine local file may produce an img */
.media-frame{width:100%;min-width:0;overflow:hidden;background:radial-gradient(ellipse at 17% 50%,#4E1C29 0%,transparent 44%),linear-gradient(125deg,#280F17,#140B0E 55%,#2F0E15);border:1px solid rgba(232,72,84,.22);border-radius:12px;position:relative;height:clamp(160px,17vw,210px);display:flex;align-items:center;justify-content:center}.media-frame img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.media-frame--banner{height:clamp(168px,25vw,300px);max-height:300px;border-radius:14px}.media-frame--wide{height:clamp(180px,26vw,280px)}.media-frame--app{height:min(420px,66vw);max-height:420px;background:linear-gradient(145deg,#311118,#17090D)}.media-frame--icon{width:68px;height:68px;border-radius:15px;flex-shrink:0}.media-frame--icon img{width:100%;height:100%}.media-frame--mini{height:150px}.media-fallback{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;text-align:center;padding:24px;gap:8px;background:repeating-linear-gradient(120deg,transparent 0 16px,rgba(225,29,46,.04) 16px 17px)}.media-fallback::before{content:"";pointer-events:none;position:absolute;inset:14px;border:1px solid rgba(255,145,150,.2);border-radius:7px}.media-fallback__mark{font-size:24px;color:#E63946;line-height:1}.media-fallback__text{max-width:95%;font-size:clamp(18px,2.5vw,26px);font-weight:900;color:#FFEEEE;line-height:1.3}.media-fallback__line{height:2px;width:40px;background:#DB4153}.media-frame--icon .media-fallback{padding:8px}.media-frame--icon .media-fallback__text{font-size:10px}.media-frame--icon .media-fallback__mark{font-size:17px}
/* homepage editorial progression */
.home-hero{margin-bottom:40px}.home-hero__intro{margin-top:22px;padding:0 5px;display:flex;justify-content:space-between;gap:26px;align-items:end}.home-hero__copy{max-width:700px}.home-hero__copy h1{margin:8px 0 12px;letter-spacing:-.015em}.home-hero__copy p{margin-bottom:0;line-height:1.85;color:#D7C7C7}.home-hero__actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.red-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.red-tag-card{background:var(--surface);border:1px solid var(--border);padding:20px;border-radius:12px;min-height:166px;display:flex;flex-direction:column;align-items:start;gap:7px}.red-tag-card:nth-child(2n){background:#231116}.red-tag-card b{display:inline-block;width:27px;height:4px;background:#FF4D4F;margin-bottom:5px}.red-tag-card:nth-child(2n) b{background:#B72A43}.red-tag-card h3{margin:0;font-size:20px}.red-tag-card p{color:var(--muted);font-size:14px;line-height:1.7;margin:0 0 8px}.red-tag-card a{margin-top:auto;font-size:14px;font-weight:700;color:#FF888E}.feature-bulletin{display:grid;grid-template-columns:.82fr 1.18fr;gap:24px;align-items:stretch}.feature-bulletin__photo{display:flex;flex-direction:column;gap:15px}.feature-bulletin__photo .media-frame{height:100%;min-height:265px}.feature-bulletin__intro{max-width:570px}.feature-bulletin__list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.index-article{background:var(--surface);padding:17px 20px;border:1px solid var(--border);border-radius:10px}.index-article .index-code{font-size:22px;color:#FF5961;font-weight:900;letter-spacing:-.03em}.index-article h3{margin:6px 0;font-size:17px}.index-article p{margin:0;color:var(--muted);font-size:14px}.tile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tile-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden}.tile-card .media-frame{border:none;border-radius:0}.tile-card__body{padding:22px}.tile-card h3{font-size:20px}.tile-card p{color:var(--muted);font-size:15px;line-height:1.85}.tile-card a{color:#FF8589;font-weight:750}.split-feature{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center}.split-feature--reverse .split-feature__copy{order:2}.split-feature--reverse .split-feature__visual{order:1}.split-feature__visual .media-frame{height:270px}.split-feature__copy p{color:var(--muted)}.stream-list{display:grid;gap:0;border-top:1px solid var(--border)}.stream-list a,.stream-list .stream-entry{display:flex;gap:16px;align-items:start;padding:16px 0;border-bottom:1px solid var(--border)}.stream-list__no{color:#FF5960;font-size:23px;font-weight:900;line-height:1.3;min-width:42px}.stream-list h3{margin:0 0 5px}.stream-list p{margin:0;color:var(--muted);font-size:15px}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.topic-card{padding:24px;background:linear-gradient(145deg,#241317,#170F10);border:1px solid var(--border);border-radius:11px;min-height:173px;display:flex;flex-direction:column}.topic-card:nth-child(2n){background:#1E1314}.topic-card h3{margin:0 0 9px;font-size:20px}.topic-card p{color:var(--muted);font-size:14px;margin:0 0 12px}.topic-card a{margin-top:auto;align-self:flex-start;font-weight:700;color:#FF8589}.two-column{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start}.folio-list{border-top:1px solid var(--border)}.folio-row{padding:13px 0;display:flex;align-items:start;gap:16px;border-bottom:1px solid var(--border)}.folio-row .folio-index{min-width:40px;color:#FF7379;font-weight:900}.folio-row h3{margin-bottom:4px}.folio-row p{font-size:14px;color:var(--muted);margin:0}.chart-list{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.chart-card{background:#1B1113;border:1px solid rgba(255,72,79,.22);border-radius:11px;padding:19px;min-height:220px}.chart-card .chart-no{font-weight:1000;color:#FF4D4F;font-size:48px;line-height:1.05;letter-spacing:-.1em}.chart-card h3{font-size:17px;margin:15px 0 8px}.chart-card p{font-size:14px;line-height:1.75;color:var(--muted)}.timeline{counter-reset:node;display:grid;gap:0;padding:0 0 0 18px;margin:0;list-style:none;border-left:2px solid #8A2739}.timeline li{position:relative;padding:0 0 29px 26px}.timeline li::before{content:"";position:absolute;left:-26px;top:8px;width:14px;height:14px;border:3px solid #FF5A62;border-radius:50%;background:#100B0D}.timeline h3{margin-bottom:6px}.timeline p{margin:0;color:var(--muted)}.status-note{display:inline-flex;color:#FFB0B2;background:#36151D;border:1px solid #803142;border-radius:6px;font-size:12px;padding:2px 9px;margin-bottom:6px;font-weight:800}.editorial-shelf{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.editorial-shelf a{padding:22px;border:1px solid var(--border);border-radius:12px;background:#1B1112;min-height:190px}.editorial-shelf a:hover{background:#2D171B}.editorial-shelf h3{margin:4px 0 8px}.editorial-shelf p{font-size:14px;color:var(--muted);margin:0}.app-showcase{display:grid;grid-template-columns:.72fr 1.28fr;gap:28px;align-items:center;padding:27px;background:linear-gradient(125deg,#31131E,#190C10 65%,#271116);border:1px solid #792633;border-radius:14px}.app-showcase .media-frame--app{height:360px}.app-showcase__copy .media-frame--icon{margin-bottom:16px}.app-showcase__copy p{color:#F0D9DA;line-height:1.95}.backmatter{display:grid;grid-template-columns:1fr 1fr;gap:20px}.backmatter__block{border:1px solid var(--border);background:#1D1414;border-radius:13px;padding:23px}.backmatter__block p{color:var(--muted)}.about-banner{padding:32px 36px;border-left:4px solid #EE4750;background:linear-gradient(100deg,#271316,#160E0E)}.about-banner p{max-width:950px;color:#D9C4C6;margin-bottom:0}.home-faq{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.home-faq details,.faq-detail{border:1px solid var(--border);background:var(--surface);border-radius:11px;padding:0 17px}.home-faq summary,.faq-detail summary{cursor:pointer;font-weight:700;color:#fff;padding:17px 5px}.home-faq details p,.faq-detail p{color:var(--muted);padding:0 5px 15px;margin:0}
/* standalone editorial and service pages */
.page-header{position:relative;display:grid;grid-template-columns:1.16fr .84fr;gap:32px;align-items:center;margin-bottom:38px;padding-bottom:24px;border-bottom:1px solid var(--border)}.page-header h1{margin:9px 0 14px}.page-header p{font-size:16px;color:#D8C3C6;line-height:1.95;margin:0}.page-header .media-frame{height:235px}.breadcrumb{font-size:13px;margin-bottom:17px;color:#FF999E}.breadcrumb a{color:#FF8589}.article-composition{margin-block:16px 46px}.article-composition h2{font-size:21px;margin-bottom:14px}.article-composition p{font-size:16px;color:var(--body);line-height:1.95}.article-composition strong{color:#fff}.article-plain{max-width:970px;margin:auto;display:grid;gap:18px}.article-plain>section{padding:16px 0 20px;border-bottom:1px solid var(--border)}.article-indexed{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chapter{min-width:0;background:var(--surface);border:1px solid var(--border);padding:26px;border-radius:12px}.chapter__number{font-size:30px;font-weight:900;letter-spacing:-.06em;color:#FF5057;line-height:1.1;margin-bottom:12px}.chapter h2{margin-bottom:13px}.article-indexed .chapter:nth-child(4n+1){background:#251416}.article-indexed .chapter:nth-child(4n+4){background:#201516}.article-timeline{padding:12px 30px 10px;max-width:1030px;border-left:2px solid #A7243A;margin:8px 0 45px 15px;display:grid;gap:27px}.article-timeline .chapter{position:relative;border-radius:7px;border-left:3px solid #D93447}.article-timeline .chapter::before{content:"";width:13px;height:13px;position:absolute;left:-41px;top:31px;border-radius:50%;border:2px solid #FF5D65;background:#130A0C}.article-timeline .chapter__number{display:inline-block;font-size:17px;margin-right:10px}.article-magazine{display:grid;grid-template-columns:1.2fr .8fr;gap:15px}.article-magazine .chapter:nth-child(4n+1){grid-column:span 2;background:linear-gradient(110deg,#31171E,#191011)}.article-magazine .chapter:nth-child(5n+2){background:#231518}.article-records{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.article-records .chapter{min-height:260px}.article-records .chapter:nth-child(1),.article-records .chapter:nth-child(5){grid-column:span 2;background:#241417}.article-notebook{max-width:940px;margin:auto;display:grid;gap:0}.article-notebook .chapter{background:transparent;border:0;border-radius:0;border-bottom:1px solid #4D2B31;position:relative;padding:31px 12px 29px 76px}.article-notebook .chapter__number{position:absolute;left:10px;top:33px;font-size:28px}.article-guide{display:grid;grid-template-columns:1fr 1fr;gap:16px}.article-guide .chapter:first-child{grid-column:span 2;background:linear-gradient(120deg,#30111B,#171011)}.article-guide .chapter:nth-child(even){border-left:3px solid #E63946}.article-album{display:grid;gap:12px}.article-album .chapter{display:grid;grid-template-columns:74px 1fr;gap:20px;align-items:start;background:#1A1113}.article-album .chapter__number{font-size:41px}.article-banner{padding:22px 26px;background:#261417;border-left:3px solid #E63946;border-radius:6px;margin:16px 0 28px}.article-banner p{margin-bottom:0;color:#EADBDD}.related-links{margin:42px 0 64px;padding:24px;border:1px solid var(--border);border-radius:12px;background:#1C1314}.related-links h2{margin-bottom:13px;font-size:21px}.related-links__row{display:flex;flex-wrap:wrap;gap:10px}.related-links__row a{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border:1px solid #86303C;color:#FFDFE1;border-radius:9px;font-weight:700;font-size:14px}.related-links__row a:hover{background:#3B1C21;color:white}.faq-list{max-width:970px;display:grid;gap:10px;margin:22px auto 50px}.faq-detail{padding:0 22px}.faq-detail summary{font-size:17px}.faq-detail p{line-height:1.95;font-size:16px}.faq-detail[open]{border-color:#8C3440}.page-callout{padding:22px;border:1px solid #813540;background:#27161B;border-radius:11px;margin:24px 0;color:#EBD6D9}.page-callout h2{font-size:19px}.page-callout p{margin:0}.service-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:30px 0}.service-nav a{padding:18px 20px;min-height:68px;border:1px solid var(--border);border-radius:10px;background:#221417;font-weight:700;color:#FFD8DB}.service-nav a:hover{background:#32191D}
/* page footer, full width, not affected by content shell */
.site-footer{margin-top:70px;padding:50px 0 30px;background:#080505;border-top:2px solid #92202F;color:var(--muted)}.footer-intro{display:flex;gap:20px;justify-content:space-between;align-items:start;padding-bottom:28px;border-bottom:1px solid #442025}.footer-brand{max-width:430px}.brand-link--footer .brand-logo{height:32px}.footer-brand p{margin-top:17px;color:#B9A3A7;font-size:14px}.footer-return{border:1px solid #6B2532;padding:8px 13px;min-height:44px;border-radius:8px;color:#fff}.footer-columns{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding:29px 0}.footer-columns nav{display:flex;flex-direction:column;align-items:start;gap:7px}.footer-columns h2{font-size:16px;color:#fff;margin:0 0 10px}.footer-columns a{font-size:14px;color:#BAA8A9;min-height:27px}.footer-columns a:hover{color:#fff}.footer-notice{font-size:13px;color:#CBB6B8;padding:15px 0;border-top:1px solid #422129;border-bottom:1px solid #422129}.footer-bottom{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:12px;color:#A99598}.footer-bottom a:hover{color:#fff}
/* dialog panels and mobile nav */
.site-scrim{position:fixed;inset:0;z-index:140;background:rgba(0,0,0,.7);visibility:hidden;pointer-events:none;opacity:0;transition:opacity .2s}.site-scrim.is-open{opacity:1;visibility:visible;pointer-events:auto}.site-scrim[hidden]{display:none}.mega-panel,.search-panel{position:fixed;z-index:160;visibility:hidden;pointer-events:none;opacity:0;transition:opacity .18s,transform .18s;box-shadow:var(--shadow)}.mega-panel{left:50%;top:94px;width:min(100%,1220px);max-height:calc(100dvh - 110px);background:#1B1012;border:1px solid #712532;border-radius:0 0 13px 13px;overflow-y:auto;overscroll-behavior:contain;transform:translate(-50%,-16px)}.mega-panel.is-open{visibility:visible;pointer-events:auto;opacity:1;transform:translate(-50%,0)}.mega-panel__inner{padding-block:20px 25px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.panel-head__brand{display:flex;flex-direction:column;gap:5px}.panel-head__brand>span{font-size:12px;color:#CBB1B3}.panel-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #74313B;background:#2D1B1F;border-radius:8px;color:#fff;font-size:29px;line-height:1}.panel-close:hover{background:#4F2530}.mega-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.mega-group h2{font-size:18px;border-left:3px solid #F04B55;padding-left:12px;margin:0 0 14px}.mega-group a{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-radius:8px;min-height:68px}.mega-group a:hover{background:#391B20;color:#fff}.mega-group a strong{font-size:14px;color:#FFF3F4}.mega-group a span{font-size:12px;color:#CBB4B7;line-height:1.5}.search-panel{top:94px;right:max(16px,calc((100vw - 1220px)/2));width:min(520px,calc(100vw - 32px));padding:22px;background:#1D1013;border:1px solid #79313B;border-radius:0 0 12px 12px;max-height:calc(100dvh - 115px);overflow-y:auto;transform:translateY(-14px)}.search-panel.is-open{visibility:visible;pointer-events:auto;opacity:1;transform:translateY(0)}.search-title h2{margin:2px 0 0;font-size:21px}.search-label{display:block;color:#F0E1E2;margin-bottom:12px;font-size:15px;font-weight:700}.search-field{display:flex;align-items:center;gap:9px;min-height:52px;padding:0 12px;background:#100B0C;border:1px solid #9D3340;border-radius:9px}.search-field span{color:#FF898C;font-size:25px}.search-field input{background:none;border:0;outline:none;width:100%;min-width:0;color:#fff;font-size:16px}.search-field:focus-within{outline:2px solid #F16C77}.search-hint{font-size:13px;color:#CAB5B7;margin:12px 0 13px}.search-links{display:grid;grid-template-columns:1fr 1fr;gap:9px}.search-links a{display:grid;grid-template-columns:1fr auto;gap:0 4px;align-items:center;border:1px solid var(--border);background:#27181A;border-radius:9px;padding:10px;min-height:73px}.search-links a:hover{background:#3E1D23}.search-links a strong{font-size:15px;color:#fff}.search-links a span{font-size:12px;color:#D3B9BD}.search-links a b{grid-row:1/3;grid-column:2;color:#FF9198}.search-links a[hidden]{display:none}.search-empty{color:#FFC6CC;font-size:13px}.mobile-bottom{display:none}
@media(max-width:1060px){.shell{padding-inline:20px}.red-tabs a{min-width:86px;padding-inline:12px}.chart-list{grid-template-columns:repeat(3,1fr)}.mega-grid{grid-template-columns:repeat(2,1fr)}.editorial-shelf{grid-template-columns:repeat(2,1fr)}.feature-bulletin{grid-template-columns:1fr}.feature-bulletin__photo .media-frame{min-height:210px}.home-hero__intro{align-items:start;flex-direction:column}.page-header{grid-template-columns:1fr 1fr}}
@media(max-width:760px){html{scroll-padding-top:110px}.shell{padding-inline:16px}.red-tabs{display:none}.page-main{padding-top:117px}.masthead__inner{gap:8px}.brand-text{font-size:22px}.menu-toggle{min-width:75px;gap:6px;padding:0 8px}.app-link{padding:0 10px}.ribbon-search{right:16px}.home-hero__intro{margin-top:17px}.section{margin-bottom:40px}.red-cards{grid-template-columns:repeat(2,1fr)}.tile-grid{grid-template-columns:1fr 1fr}.topic-grid{grid-template-columns:1fr 1fr}.split-feature,.split-feature--reverse,.two-column,.app-showcase,.page-header{grid-template-columns:1fr}.split-feature--reverse .split-feature__copy,.split-feature--reverse .split-feature__visual{order:initial}.home-hero__actions{width:100%}.feature-bulletin__list{grid-template-columns:1fr 1fr}.chart-list{grid-template-columns:repeat(2,1fr)}.footer-columns{grid-template-columns:repeat(2,1fr)}.mega-panel{width:100%;top:94px;max-height:calc(100dvh - 94px);height:calc(100dvh - 94px);border-radius:0;left:0;transform:translateY(-14px);border-inline:0}.mega-panel.is-open{transform:translateY(0)}.mega-panel__inner{padding-bottom:75px}.mega-grid{gap:18px}.search-panel{top:94px;inset-inline:0;width:100%;height:calc(100dvh - 94px);max-height:none;overflow-y:auto;border-radius:0;padding:22px 16px}.mobile-bottom{position:fixed;bottom:0;left:0;width:100%;height:calc(50px + var(--safe-bottom));padding-bottom:var(--safe-bottom);display:grid;grid-template-columns:repeat(5,minmax(0,1fr));background:#14090C;border-top:1px solid #7F2432;z-index:100}.mobile-bottom a{display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;font-size:11px;line-height:1.2;color:#E2C8CC;min-width:0;min-height:50px;font-weight:700}.mobile-bottom a[aria-current=page]{background:#C41E3A;color:#fff}.mobile-bottom__icon{font-size:17px;line-height:1.2}.site-footer{margin-bottom:calc(50px + var(--safe-bottom));padding-top:35px}.article-indexed,.article-guide{grid-template-columns:1fr}.article-guide .chapter:first-child{grid-column:span 1}.article-magazine{grid-template-columns:1fr}.article-magazine .chapter:nth-child(4n+1){grid-column:span 1}.article-records{grid-template-columns:1fr 1fr}.page-header__media{order:-1}.page-header .media-frame{height:200px}.app-showcase{padding:18px}.app-showcase .media-frame--app{height:280px}}
@media(max-width:450px){.brand-text{font-size:21px}.brand-logo{max-width:115px;height:28px}.brand-english{display:none}.masthead__inner{gap:7px}.app-link{font-size:12px;min-width:73px;padding-inline:8px}.menu-toggle{min-width:70px;font-size:12px}.menu-toggle__lines{width:16px}.top-ribbon__inner{font-size:9px}.home-hero__copy h1{font-size:29px}.home-hero__actions{gap:8px}.home-hero__actions .btn{flex:1;padding-inline:8px;font-size:13px}.section-heading{align-items:start}.section-heading h2{font-size:24px}.section-heading>a{font-size:13px;white-space:nowrap;align-self:center}.red-cards,.tile-grid,.topic-grid,.feature-bulletin__list,.chart-list,.backmatter,.home-faq,.editorial-shelf{grid-template-columns:1fr}.red-tag-card{min-height:136px}.feature-bulletin__photo .media-frame{min-height:170px}.chart-card{min-height:140px}.chart-card .chart-no{font-size:36px}.chart-card h3{margin-top:6px}.mega-grid{grid-template-columns:1fr}.mega-group a{min-height:61px}.mega-group h2{margin-bottom:6px}.search-links{grid-template-columns:1fr}.media-frame--banner{height:185px}.media-frame--wide{height:195px}.split-feature__visual .media-frame{height:180px}.page-header .media-frame{height:185px}.article-records{grid-template-columns:1fr}.article-records .chapter:nth-child(1),.article-records .chapter:nth-child(5){grid-column:span 1}.chapter{padding:20px}.article-album .chapter{grid-template-columns:48px 1fr;gap:10px}.article-album .chapter__number{font-size:27px}.article-notebook .chapter{padding-left:55px}.article-notebook .chapter__number{font-size:24px}.footer-columns{gap:18px}.footer-intro{align-items:start;flex-direction:column}.about-banner{padding:23px}.backmatter__block{padding:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* BATCH_MOBILE_IMAGE_OVERFLOW_FIX_V1: keep images inside mobile viewport */
@media (max-width: 1024px) {
  /* Default figure margins are 40px, which can shift 100%-wide images. */
  figure {
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-width: 0;
    max-width: 100% !important;
  }
  /* Do not enlarge/crop actual image assets. */
  img, picture, video, canvas {
    max-width: 100% !important;
  }
  main img, article img, section img {
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
  }
  /* Common banner/image wrappers: remove unwanted desktop offsets on phones. */
  :is(.hero-image, .hero-media, .hero-visual, .banner-image,
      .banner-media, .cover-image, .cover-media, .feature-image,
      .feature-visual, .intro-cover, .editorial-cover) {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  :is(.hero, .hero-cover, .feature-split, .feature-row) > figure {
    min-width: 0;
    max-width: 100% !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
  :is(.hero, .hero-cover, .feature-split, .feature-row) > * {
    min-width: 0;
  }
}
/* END BATCH_MOBILE_IMAGE_OVERFLOW_FIX_V1 */
