/*
Theme Name: 币速报 Edition
Version: 4.0.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: edition4-bitsratenow
*/
:root{--bg:#FFFFFF;--ink:#282D36;--accent:#C43925;--surface:#F9EFEC;--line:color-mix(in srgb,var(--ink) 16%,var(--bg));--muted:#5C6774;--font:"Segoe UI","PingFang SC","PingFang TC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}

*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p,figure,ul,ol{margin:0}h1,h2,h3{color:var(--ink);font-weight:650;overflow-wrap:anywhere}h1{font-size:36px;line-height:1.2}h2{font-size:18px;line-height:1.35}h3{font-size:16px;line-height:1.4}main,header,footer{min-width:0}.wp-site-blocks{padding:0!important}.wp-site-blocks>*+*{margin-block-start:0!important}.wp-block-template-part{margin:0!important}.front,.article-shell,.results-page,.ordinary-page{max-width:1440px;margin:auto;padding:20px 24px 32px}.front>*{min-width:0}.skip-link{position:absolute;top:-100px;left:16px;z-index:1000;padding:10px 16px;background:var(--ink);color:var(--bg)}.skip-link:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.brand{display:inline-flex;align-items:center;gap:10px;min-width:0;font-weight:750;line-height:1.1}.brand-name{font-size:23px;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;min-width:32px;height:32px;border:1px solid var(--accent);color:var(--accent);font-size:14px;flex-shrink:0}.desktop-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:14px;font-weight:600}.site-search{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);width:190px;max-width:100%;height:36px}.site-search label{flex:1;min-width:0}.site-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);padding:7px 10px;font-size:13px}.site-search button{display:grid;place-items:center;min-width:36px;min-height:34px;background:transparent;color:var(--ink);border:0;cursor:pointer}.mobile-menu{display:none;position:relative}.mobile-menu summary{cursor:pointer;padding:12px;min-height:44px;font-size:14px}.mobile-menu nav{position:absolute;right:0;top:100%;width:220px;z-index:20;background:var(--bg);color:var(--ink);border:1px solid var(--line);box-shadow:0 8px 20px #0001;padding:8px}.mobile-menu nav a{display:block;padding:12px;color:var(--ink)}.mobile-menu nav .site-search{display:flex!important;width:100%;margin:8px 0 0!important}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:2px solid var(--accent);padding:0 0 8px;margin-bottom:10px}.section-head h2{font-size:15px;font-weight:750}.edition-section{min-width:0}.feed .wp-block-post-template{list-style:none;padding:0;margin:0!important;display:grid;grid-template-columns:1fr;gap:0}.feed .wp-block-post-template>li{min-width:0;margin:0;padding:0;list-style:none}.feed .item{min-width:0;margin:0!important;padding:10px 0;border-bottom:1px solid var(--line);position:relative}.feed .item>*{margin:0!important}.feed .wp-block-post-title{font-size:16px;line-height:1.4;font-family:var(--font);font-weight:650}.feed .wp-block-post-date{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px!important}.feed .wp-block-post-excerpt{font-size:14px;line-height:1.5;margin-top:6px!important;color:var(--muted)}.feed .wp-block-post-excerpt__more-link{display:none}.feed .wp-block-post-featured-image{margin:0!important;overflow:hidden;background:var(--surface)}.feed .wp-block-post-featured-image img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.35)}.feed.lead .wp-block-post-featured-image{height:140px;margin-bottom:10px!important}.feed.lead .wp-block-post-title{font-size:23px;line-height:1.22;letter-spacing:-.4px}.feed.cards .wp-block-post-featured-image{height:90px;margin-bottom:8px!important}.feed.rows .item{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;align-content:center;min-height:82px}.feed.rows .wp-block-post-featured-image{grid-row:1/3;width:64px;height:60px;align-self:center}.feed.rows .wp-block-post-date,.feed.rows .wp-block-post-title{grid-column:2}.feed.compact .item{min-height:61px}.feed.brief .item{padding:12px 0}.article-shell .body-copy{font-size:17px;line-height:1.85;min-width:0;max-width:72ch}.body-copy p{margin:0 0 1.2em}.body-copy h2{font-size:25px;margin:1.3em 0 .6em}.body-copy h3{font-size:21px;margin:1.2em 0 .6em}.body-copy ul,.body-copy ol{padding-left:24px;margin:0 0 1em}.body-copy a{text-decoration:underline;color:var(--accent)}.article-shell>.wp-block-post-featured-image img{max-height:320px;width:100%;object-fit:cover}.article-shell .wp-block-post-date{font-size:13px;color:var(--muted)}.article-nav{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}.article-nav a{padding:8px 0}.reading-grid .feed .wp-block-post-template{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.reading-grid{margin-top:24px}.results-page{min-height:70vh}.results-page h1{margin-bottom:24px}.results-feed .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.wp-block-query-pagination{display:flex;gap:20px;align-items:center;padding:24px 0;flex-wrap:wrap}.wp-block-query-pagination a{padding:8px;border-bottom:1px solid var(--line)}footer{font-size:13px;border-top:1px solid var(--line);color:var(--muted)}footer a{color:var(--ink)}footer nav{display:flex;gap:20px;flex-wrap:wrap}footer p{max-width:80ch}section:target{scroll-margin-top:20px}.ordinary-page{min-height:65vh}.ordinary-page .body-copy{max-width:72ch;margin:24px auto}.ordinary-page h1{margin:24px 0}.edition-note{font-size:13px;color:var(--muted)}
@media(max-width:1000px){.brand-name{font-size:20px}.desktop-nav{gap:12px}.front,.article-shell{padding-left:18px;padding-right:18px}.site-search{width:150px}}
@media(max-width:800px){.desktop-nav{display:none!important}.mobile-menu{display:block}.brand-name{font-size:20px}.site-search{width:160px}.front,.article-shell{padding-top:18px}.results-feed .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.front,.article-shell,.results-page,.ordinary-page{padding-left:16px;padding-right:16px}.brand-name{font-size:19px;letter-spacing:-.4px}.brand-mark{min-width:28px;height:28px}.site-search{width:100%;max-width:220px}.front .feed.lead .wp-block-post-featured-image{height:140px}.feed .wp-block-post-title{font-size:16px}.feed.compact .item{min-height:70px;padding:12px 0}.feed.rows .item{min-height:88px}.reading-grid .feed .wp-block-post-template,.results-feed .wp-block-post-template{grid-template-columns:1fr}h1{font-size:29px}.article-shell .body-copy{font-size:17px}footer nav a{padding:8px 0}footer{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}


.rate-head{max-width:1440px;margin:auto;padding:14px 26px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:30px;border-bottom:4px solid var(--accent)}.rate-head>div{display:flex;align-items:center;justify-content:space-between}.rate-head .brand-name{font-size:30px;letter-spacing:-1px;color:var(--accent)}.rate-front{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px 42px;padding:24px 26px 40px}.rate-spine .section-head{border-bottom:1px solid var(--line)}.rate-spine .wp-block-post-template{counter-reset:brief}.rate-spine .item{counter-increment:brief;display:grid;grid-template-columns:52px minmax(0,1fr);gap:5px 16px;min-height:80px!important;padding-block:14px}.rate-spine .item:before{content:counter(brief,decimal-leading-zero);grid-row:1/3;color:var(--accent);font-size:29px;font-family:ui-monospace,monospace;font-weight:400;line-height:1.3}.rate-spine .wp-block-post-title{font-size:21px;font-weight:600;line-height:1.45}.rate-spine .wp-block-post-date{grid-column:2;font-family:ui-monospace,monospace}.rate-desk{border-left:1px solid var(--line);padding-left:30px}.rate-desk .lead .wp-block-post-title{font-size:30px;line-height:1.35}.rate-desk .lead figure{height:110px}.rate-desk .brief .wp-block-post-title{font-size:19px}.rate-desk .brief .wp-block-post-excerpt{font-size:14px}.rate-desk>section+section{margin-top:24px}.rate-desk .cards .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.rate-desk .cards .wp-block-post-title{font-size:18px}.rate-supplement{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:42px;background:var(--surface);padding:22px 26px}.rate-supplement .rows .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.rate-supplement .rows .item{display:block}.rate-supplement .rows .wp-block-post-title{font-size:18px}.rate-supplement .rows figure{float:right;margin:0 0 8px 12px!important}.rate-supplement .item:after{content:"";display:block;clear:both}.rate-index{grid-column:1/-1}.rate-index .wp-block-post-template{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:26px}.rate-index .wp-block-post-title{font-size:18px}.rate-article{max-width:1120px;padding-block:32px}.rate-article-title{display:grid;grid-template-columns:145px minmax(0,1fr);gap:28px;border-bottom:3px solid var(--accent);padding-bottom:26px}.rate-article-title>div{padding-top:9px;font-family:ui-monospace,monospace}.rate-article-title h1{font-size:40px;line-height:1.35;max-width:25ch}.rate-paper{max-width:780px;margin:28px 0 0 173px}.rate-paper>figure img{max-height:250px;object-fit:cover;width:100%}.rate-paper .body-copy{font-size:18px}.rate-reading-nav{border-block:1px solid var(--line);margin-top:30px;padding-block:10px}.rate-reading-nav nav{justify-content:center}.rate-article>.reading-grid{margin-left:173px}.rate-article .related .wp-block-post-title{font-size:19px}.rate-article .related.rows .item{display:block}.rate-article .related figure{float:right;margin:0 0 8px 14px!important}.rate-foot{max-width:1440px;margin:auto;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:32px;background:var(--surface)}.rate-foot>div{display:flex;align-items:center;gap:26px}.rate-foot p{font-size:12px}
@media(max-width:1000px){.rate-head{gap:18px}.rate-front{gap:28px}.rate-desk{padding-left:24px}.rate-supplement .rows .wp-block-post-template{display:block}.rate-index .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}.rate-foot>div{display:block}.rate-foot p{margin-top:12px}}
@media(max-width:800px){.rate-head{display:flex;justify-content:space-between}.rate-head>div{display:contents}.rate-head>.site-search{display:none}.rate-front{display:block}.rate-desk{border:0;padding:28px 0 0}.rate-supplement{margin-top:28px}.rate-index{margin-top:26px}.rate-article-title{grid-template-columns:110px minmax(0,1fr);gap:20px}.rate-paper,.rate-article>.reading-grid{margin-left:130px}}
@media(max-width:600px){.rate-head{padding:10px 16px}.rate-head .brand-name{font-size:27px}.rate-front{padding:20px 16px}.rate-spine .item{grid-template-columns:38px minmax(0,1fr);gap:5px 12px}.rate-spine .item:before{font-size:25px}.rate-spine .wp-block-post-title{font-size:20px}.rate-desk .lead .wp-block-post-title{font-size:27px}.rate-supplement{display:block;padding:18px}.rate-supplement>section+section{margin-top:24px}.rate-index .wp-block-post-template{display:block}.rate-article-title{display:block}.rate-article-title h1{font-size:30px;margin-top:12px}.rate-paper,.rate-article>.reading-grid{margin-left:0}.rate-foot{display:block;padding:22px 16px}.rate-foot nav{margin-top:18px}}


.feed .item>.wp-block-post-featured-image:not(:has(img)){display:none}
.feed .wp-block-post-title{overflow-wrap:break-word;word-break:normal;text-wrap:pretty}
.feed .item:has(.wp-block-post-featured-image:not(:has(img))){min-height:0}
.feed .wp-block-post-excerpt__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.site-search{height:46px}.site-search button{min-width:44px;min-height:44px}.site-search input{font-size:16px}
.mobile-menu nav{max-width:calc(100vw - 32px)}
.article-shell article,.article-shell aside{min-width:0}
.article-shell .body-copy{width:100%;overflow-wrap:anywhere}
.body-copy summary{padding-block:8px;min-height:44px;cursor:pointer}
.body-copy .article-toc li{break-inside:avoid;margin-bottom:6px}
.results-page .site-search{margin-block:16px 28px;width:320px;max-width:100%}
.results-feed .item{padding-block:20px}.results-feed .wp-block-post-title{font-size:21px}
@media(max-width:480px){.mobile-menu nav .site-search{max-width:100%}.feed .wp-block-post-title{word-break:normal}.brand{max-width:100%}.brand-name{overflow-wrap:anywhere}}
