/*
Theme Name: NOODOU
Theme URI: https://noodou.com
Description: Classic WordPress theme for NOODOU, a Simplified Chinese Malaysian news site. Ports the approved nd-final design and runs on the Newsroom Engine plugin.
Author: NOODOU
Version: 0.1.7
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noodou
*/

/*
 * NOODOU · nd-final: nd-4-qing「热辣 · 轻标题」(nd-3-rela with a centred logo and the title on white)
 * with the approved final changes:
 * 1. Header: logo centred (grid 1fr auto 1fr). Phone: menu left, logo, search + sign-in right.
 *    From 1024px a second row on the yellow carries the categories, each with its icon and a chevron
 *    that opens a full-width panel of its latest four posts (kit mega menu). The menu is a drawer from
 *    the left; each category opens to the same four posts. A 4px yellow rule under the header carries
 *    the reading progress.
 * 2. Article: story circles under the header, then the title on white (crumb line, small sticker,
 *    26/40px headline, light standfirst, one-line byline) and one row of 44px hairline tools ending in
 *    the Google preferred-source link. No comment UI, no language links at the end.
 * The rest is the nd-3-rela system:
 * Brand colours lead: yellow #FBC531, red #F04343, black #111, white.
 * Supporting colours:
 *   teal #0FA3A3      "新" tags and small accents only (always with black ink on it)
 *   red-ink #D92D2D   the brand red taken two steps deeper, used wherever white text
 *                     under 24px sits on red (stickers, 爆 tags) or red text sits on white,
 *                     so those pairs pass AA (4.8:1). Floods, bars and big numerals keep #F04343.
 * Type: the system Chinese sans throughout, in bold weights for shouts, section tabs and numerals.
 *       Since 0.1.5 there is no display web font: ZCOOL QingKe HuangYou was hard to read in titles,
 *       headings and the ticker. --f-d stays as the display token and points at the body stack.
 * System: no rounding except circles · 2.5px lines · hard offset shadows · one clipped corner.
 * On black, lines turn yellow: that rule is the whole dark theme.
 */
:root{
  --yellow:#FBC531;--red:#F04343;--red-ink:#D92D2D;--teal:#0FA3A3;
  --bg:#fff;--flood:var(--yellow);--ink:#111;--ink-2:#4a4a4a;
  --card:#fff;--c-ink:#111;--c-ink-2:#595959;
  --line:#111;--shadow:#111;--shadow-y:#111;--edge:#111;--tab-ink:var(--yellow);--head:#111;
  --soft:#F2EFE4;--sep:rgba(17,17,17,.4);--dot:rgba(17,17,17,.17);--hot:var(--red-ink);--focus:#111;
  --bw:2.5px;--hard:5px 5px 0 var(--shadow);--hard-s:3px 3px 0 var(--shadow);--g:16px;
  --f-b:"PingFang SC","Microsoft YaHei","Noto Sans SC","Hiragino Sans GB",system-ui,sans-serif;
  --f-d:var(--f-b);
  --burst:polygon(50% 0,59.8% 13.3%,75% 6.7%,76.9% 23.1%,93.3% 25%,86.7% 40.2%,100% 50%,86.7% 59.8%,93.3% 75%,76.9% 76.9%,75% 93.3%,59.8% 86.7%,50% 100%,40.2% 86.7%,25% 93.3%,23.1% 76.9%,6.7% 75%,13.3% 59.8%,0 50%,13.3% 40.2%,6.7% 25%,23.1% 23.1%,25% 6.7%,40.2% 13.3%);
  --kit-accent:var(--red-ink);--kit-accent-ink:#fff;--kit-font:var(--f-b);--kit-title-font:var(--f-b);--kit-radius:0px;
  --kit-toast-bg:#111;--kit-toast-ink:var(--yellow);--kit-poll-bar:var(--red);--kit-reading:rgba(251,197,49,.45);
}
[data-theme="dark"],.on-black{
  --ink:#F5F1E4;--ink-2:#BDB8A8;--card:#1B1B1B;--c-ink:#F5F1E4;--c-ink-2:#B5B0A0;
  --line:var(--yellow);--shadow:var(--yellow);--shadow-y:var(--red);--tab-ink:#111;--head:var(--yellow);
  --soft:#262626;--sep:rgba(251,197,49,.38);--hot:#FF6B6B;--focus:#fff;
}
[data-theme="dark"]{--bg:#0D0D0D;--flood:#161616;--edge:var(--yellow);--dot:rgba(251,197,49,.2);
  --kit-toast-bg:var(--yellow);--kit-toast-ink:#111;--kit-reading:rgba(251,197,49,.24)}
.on-red{--ink:#111;--ink-2:#2b0d0d;--line:#111;--shadow:#111;--shadow-y:#111;--tab-ink:var(--yellow);--head:#fff;--sep:rgba(17,17,17,.45);--focus:#111}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;line-break:strict;scroll-padding-top:84px}
/* safety net: nothing a script adds can make the page wider than the screen (clip, unlike hidden, keeps sticky) */
html,body{overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.7 var(--f-b);-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}
h1,h2,h3,h4,p,figure,ul,ol,blockquote,dl,dd{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3,h4{font-size:inherit;font-weight:800}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.sprite{position:absolute}
.wrap{width:min(100% - var(--g)*2,1360px);margin-inline:auto}
.d{font-family:var(--f-d);font-weight:900;font-synthesis:none}
.i{width:20px;height:20px;fill:currentColor;flex:none}
.i--s{width:15px;height:15px}
.i--l{width:26px;height:26px}
.skip{position:absolute;left:8px;top:-60px;z-index:99;padding:10px 14px;background:#111;color:var(--yellow);font-weight:800}
.skip:focus{top:8px}
.clamp2,.clamp3,.clamp4{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.clamp2{-webkit-line-clamp:2}.clamp3{-webkit-line-clamp:3}.clamp4{-webkit-line-clamp:4}

/* ---------- buttons: primary / secondary / quiet ---------- */
.btn,.ibtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard-s);font-weight:800;font-size:15px;line-height:1.2;white-space:nowrap;transition:transform var(--spring-snap)}
.btn{padding:0 16px}
.ibtn{width:46px;padding:0}
.btn--y{background:var(--yellow);color:#111;box-shadow:3px 3px 0 var(--shadow-y)}
.btn--k{background:#111;color:var(--yellow);border-color:#111}
.btn--wide{width:100%}
@media(hover:hover){.btn:hover,.ibtn:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--shadow)}.btn--y:hover{box-shadow:4px 4px 0 var(--shadow-y)}}
.btn:active,.ibtn:active{transform:translate(2px,2px) scale(.97);box-shadow:1px 1px 0 var(--shadow)}
.btn[aria-pressed="true"],.ibtn[aria-pressed="true"]{background:var(--yellow);color:#111}
.more{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-weight:800;font-size:14px;white-space:nowrap}
.more .i{transition:transform var(--spring-snap)}
@media(hover:hover){.more:hover{text-decoration:underline;text-decoration-thickness:2.5px;text-underline-offset:5px}.more:hover .i{transform:translateX(3px)}}
.more:active{transform:scale(.97)}

/* ---------- labels ---------- */
.cat{display:inline-block;padding:3px 6px 4px;background:var(--c-ink);color:var(--card);font-size:12px;font-weight:800;line-height:1}
.tag{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 4px;font:900 14px/1 var(--f-d);font-synthesis:none;color:#111;flex:none}
.tag--bao{background:var(--red-ink);color:#fff}.tag--re{background:var(--yellow)}.tag--xin{background:var(--teal)}
.meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;font-size:12.5px;font-weight:700;line-height:1.3;color:var(--c-ink-2)}
.meta>span,.meta>time{display:inline-flex;align-items:center;gap:4px}
.meta .hotn{color:var(--hot)}
.say{display:block;color:var(--hot);font-size:17px;line-height:1.3}

/* the 【…】 shout, lifted into a speech-bubble sticker */
.shout{--stk:var(--red-ink);position:relative;z-index:1;display:inline-block;max-width:100%;padding:3px 9px 4px;border:var(--bw) solid #111;background:var(--stk);color:#fff;font:900 15px/1.3 var(--f-d);font-synthesis:none;box-shadow:3px 3px 0 #111;transform:rotate(-1.5deg);transform-origin:0 100%}
.shout::before{content:"";position:absolute;left:12px;top:100%;width:16px;height:11px;background:#111;clip-path:polygon(0 0,100% 0,10% 100%)}
.shout::after{content:"";position:absolute;left:14.5px;top:calc(100% - .5px);width:9.4px;height:7px;background:var(--stk);clip-path:polygon(0 0,100% 0,10% 100%)}
.on-red .shout{--stk:#111;color:var(--yellow)}
.shout--lg{font-size:19px;padding:4px 11px 5px}

/* section head: a clipped tab */
.sh{display:flex;align-items:flex-end;gap:12px;margin-bottom:17px}
.sh__t{flex:none;padding:5px 24px 6px 12px;background:var(--line);color:var(--tab-ink);font-size:28px;line-height:1.15;clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,0 100%)}
.sh__s{flex:1;min-width:0;padding-bottom:4px;color:var(--ink-2);font-size:13px;font-weight:700;line-height:1.4}
.sh .more{margin:-10px 0 -8px}

/* photo frame */
.pic{position:relative;overflow:hidden;background:var(--soft);aspect-ratio:var(--ar,16/9)}
.pic img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50%) 50%}

/* ad slots: reserved size, quieter than editorial */
.ad{position:relative;display:grid;place-content:center;justify-items:center;gap:2px;margin-inline:auto;border:2px dashed var(--sep);background:repeating-linear-gradient(135deg,transparent 0 9px,var(--soft) 9px 10px);color:var(--ink-2);text-align:center}
.ad__l{font-size:11px;font-weight:800;letter-spacing:.2em;text-indent:.2em}
.ad__s{font-size:18px;line-height:1.2}
.ad--top{width:320px;height:100px}
.ad--mpu,.ad--rail,.ad--art{width:300px;height:250px}
.ad .dk,.ad--lb{display:none}

/* ---------- header ---------- */
.top{position:sticky;top:0;z-index:50;background:var(--flood);border-bottom:var(--bw) solid transparent;box-shadow:0 4px 0 var(--yellow)}
.is-scrolled .top{border-bottom-color:var(--edge)}
.top__in{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;height:62px;transition:height .25s ease}
.top.is-compact .top__in{height:52px}
.top__l{display:flex;align-items:center;gap:12px;min-width:0}
.top__l .ibtn{width:44px;min-height:44px}
.logo{justify-self:center;display:block;padding:5px 9px 6px;border:var(--bw) solid var(--line);background:var(--card);box-shadow:var(--hard-s);transition:transform var(--spring-snap)}
.logo:active{transform:translate(2px,2px)}
.logo__l{height:27px;width:auto;transition:height .25s ease}
.wlogo{position:relative;display:block;overflow:hidden;height:27px;aspect-ratio:1271/320}
.wlogo img{position:absolute;left:-6.37%;top:-38.1%;width:114%;max-width:none;height:auto}
.logo .wlogo{display:none}
[data-theme="dark"] .logo__l{display:none}
[data-theme="dark"] .logo .wlogo{display:block}
.top.is-compact .logo__l,.top.is-compact .logo .wlogo{height:22px}
.top__tools{display:flex;gap:9px;margin-left:auto}
.top__tools .ibtn{width:44px;min-height:44px}
.top__tools [data-theme-toggle]{display:none}
.searchbar span,.signin span{display:none}
/* under 360px a centred logo leaves the three buttons too little room (the sign-in button ran 13px off a 320px
   screen): the side columns take their own width and the logo, a little smaller, centres between them */
@media(max-width:359px){.top__in{grid-template-columns:auto minmax(0,1fr) auto}.logo__l,.logo .wlogo{height:24px}}
[data-theme-toggle] .i-sun,[data-theme="dark"] [data-theme-toggle] .i-moon{display:none}
[data-theme="dark"] [data-theme-toggle] .i-sun{display:block}

/* yellow flood under the header */
.flood{position:relative;isolation:isolate;background:var(--flood)}
.flood::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle,var(--dot) 1.6px,transparent 1.9px) 0 0/11px 11px;-webkit-mask-image:linear-gradient(105deg,transparent 30%,#000);mask-image:linear-gradient(105deg,transparent 30%,#000)}
.stories::-webkit-scrollbar,.rail::-webkit-scrollbar{display:none}
.slogan{display:none}
.cats-row{display:none}

/* stories */
.stories{display:flex;gap:13px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding:15px var(--g) 16px;scrollbar-width:none;scroll-snap-type:x proximity}
.story{flex:none;display:grid;justify-items:center;gap:7px;width:70px;scroll-snap-align:start;scroll-margin-left:var(--g)}
.ring{position:relative;display:block;width:64px;height:64px;border:var(--bw) solid var(--line);border-radius:50%;background:var(--card);box-shadow:var(--hard-s);transition:transform var(--spring-soft)}
.ring img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:var(--pos,22%) 50%}
.burst{position:absolute;top:-8px;right:-10px;isolation:isolate;display:grid;place-items:center;width:28px;height:28px;background:#111;color:#fff;font-size:13px;line-height:1;clip-path:var(--burst)}
.burst::before{content:"";position:absolute;inset:2.5px;z-index:-1;background:var(--red-ink);clip-path:var(--burst)}
.story .label{max-width:70px;overflow:hidden;font-size:12px;font-weight:800;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.story.is-seen .ring{box-shadow:none;border-color:var(--ink-2)}
.story.is-seen img{filter:grayscale(1);opacity:.7}
.story.is-seen .burst{display:none}
.story.is-seen .label{color:var(--ink-2)}
@media(hover:hover){.story:hover .ring{transform:translate(-1px,-3px)}}
.story:active .ring{transform:scale(.94)}

/* ticker */
.on-black{background:#111;color:var(--ink)}
.ticker{position:relative;border-block:var(--bw) solid var(--edge)}
.ticker__in{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px 44px;grid-template-areas:"tag track track track track" "count count prev next pause";column-gap:4px;align-items:center;padding-top:12px}
.ticker .label{grid-area:tag;display:grid;place-items:center;width:44px;height:44px;background:var(--red);color:#fff;font-size:26px;line-height:1;transform:rotate(-3deg)}
[data-ticker-track]{grid-area:track;height:46px;margin-left:8px;align-items:center}
[data-tick]{font-size:15px;font-weight:700;line-height:23px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
[data-tick] time{margin-right:6px;color:var(--yellow);font:900 16px/1 var(--f-d);font-synthesis:none}
/* The kit stacks the headlines and shows one. Here all of them paint in the first frame, faint and under the ticker's
   own background, so a turn never shows text that has not painted yet: Chrome reported a new LCP at every turn to a
   longer headline (26.8 s on staging, 22 Nov). The incoming headline slides in by animation instead of transition. */
.ticker [data-tick]{visibility:visible;opacity:.01;transform:none;pointer-events:none;transition:opacity .25s ease}
.ticker [data-tick]:not(.is-active):not(.is-leaving){z-index:-1}
.ticker [data-tick].is-active{opacity:1;pointer-events:auto}
.ticker:has(.is-leaving) [data-tick].is-active:not(.is-leaving){animation:tick-in var(--spring-snap)}
.ticker[data-dir="back"]:has(.is-leaving) [data-tick].is-active:not(.is-leaving){animation-name:tick-in-back}
.ticker [data-tick].is-leaving{opacity:0;transform:translateY(-70%);transition:transform var(--spring-snap),opacity .25s ease}
.ticker[data-dir="back"] [data-tick].is-leaving{transform:translateY(70%)}
.ticker [data-tick].is-active.is-leaving{opacity:1;transform:none}
@keyframes tick-in{from{transform:translateY(70%)}}
@keyframes tick-in-back{from{transform:translateY(-70%)}}
@media(hover:hover){[data-tick]:hover{text-decoration:underline;text-underline-offset:4px}}
[data-tick-count]{grid-area:count;color:var(--ink-2);font-size:15px;line-height:1}
.ticker button{display:grid;place-items:center;width:44px;height:44px;color:var(--yellow);transition:transform var(--spring-snap)}
.ticker button:active{transform:scale(.88)}
@media(hover:hover){.ticker button:hover{background:#2a2a2a}}
[data-tick-prev]{grid-area:prev}[data-tick-next]{grid-area:next}[data-tick-pause]{grid-area:pause}
[data-tick-pause] .i-play,[data-tick-pause][aria-pressed="true"] .i-pause{display:none}
[data-tick-pause][aria-pressed="true"] .i-play{display:block}
[data-tick-bar]{position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--yellow)}

/* ---------- three zones ---------- */
.zones{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;padding-block:22px 34px}
.mid,.rail-col{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-content:start}

/* clipped tile */
.tile{--cut:20px;--clip:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%);position:relative;display:grid;min-width:0}
.tile::before{content:"";position:absolute;inset:0;background:var(--shadow);clip-path:var(--clip);transform:translate(5px,5px)}
.tile__a{position:relative;display:flex;flex-direction:column;min-width:0;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);clip-path:var(--clip);transition:transform var(--spring-snap)}
.tile__a::after{content:"";position:absolute;z-index:2;top:calc(var(--bw)*-1);right:calc(var(--bw)*-1);width:var(--cut);height:var(--cut);background:linear-gradient(to bottom left,var(--line) calc(50% + var(--bw)),transparent calc(50% + var(--bw) + .6px));pointer-events:none}
@media(hover:hover){.tile:hover a.tile__a{transform:translate(-2px,-2px)}}
.tile:active a.tile__a{transform:translate(3px,3px)}
a.tile__a:focus-visible{outline:none}
.tile:has(a.tile__a:focus-visible){outline:3px solid var(--focus);outline-offset:4px}
.tile .pic{border-bottom:var(--bw) solid var(--line)}
.tile__b{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 11px 12px}
.tile__b>.shout{margin:-15px 0 7px}
.tile__t{font-size:15.5px;font-weight:800;line-height:1.45;text-wrap:balance}
.tile__b>.tile__t:first-child{margin-top:11px}
.tile .meta{margin-top:auto;padding-top:2px}
/* story label (the plugin's Placement field, spec 6.1): a black chip with yellow text before the title, on tiles and
   list rows; a 16-character label wraps inside the card */
.lbl{display:inline-block;max-width:100%;padding:3px 6px 4px;border:2px solid var(--line);background:#111;color:var(--yellow);font-size:12px;font-weight:800;line-height:1.25;letter-spacing:.02em;overflow-wrap:anywhere}
.tile__b>.lbl:first-child{margin-top:11px}
.row__b>.lbl{justify-self:start}
.tile--lead{--cut:30px}
.tile--lead .pic{--ar:874/460}
.tile--lead .tile__b{gap:10px;padding:0 14px 15px}
.tile--lead .tile__b>.shout{margin:-20px 0 8px}
.tile--lead .tile__t{font:900 27px/1.26 var(--f-d);font-synthesis:none}
.tile__sf{color:var(--c-ink-2);font-size:14.5px;line-height:1.65}
.tile--h .tile__a{flex-direction:row}
.tile--h .pic{flex:none;width:40%;aspect-ratio:auto;min-height:118px;border-bottom:0;border-right:var(--bw) solid var(--line)}
.tile--h .pic img{position:absolute;inset:0}
.tile--h .tile__b{padding:11px 16px 11px 12px;gap:6px}
.tile--h .tile__b>.shout{margin:0 0 6px}
.tile--say{--card:var(--yellow);--c-ink:#111;--c-ink-2:#3d3413;--shadow:var(--shadow-y)}
.tile--say .tile__b{padding:14px 12px 12px;gap:9px}
.tile--say .big{font-size:24px;line-height:1.22;text-wrap:balance}
.tile--say .big::before{content:"“";display:block;height:.42em;color:var(--red-ink);font-size:52px;line-height:.9}
.tile--say .tile__t{font-size:14px;font-weight:700}
.bento{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px 14px}
.bento>.tile--lead{grid-column:1/-1}

/* hot-search board */
.board .tile__a::after{background:linear-gradient(to bottom left,var(--tab-ink) calc(50% + var(--bw)),transparent calc(50% + var(--bw) + .6px))}
.board__h{display:flex;align-items:center;gap:10px;padding:9px 34px 10px 14px;background:var(--line);color:var(--tab-ink)}
.board__h h2{font-size:31px;line-height:1.15}
.board__h p{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:800;line-height:1.3}
.board__h i{width:9px;height:9px;border-radius:50%;background:var(--red)}
.hot{counter-reset:hot}
.hot li+li{border-top:2px dotted var(--sep)}
.hot__a{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;column-gap:7px;align-items:start;padding:8px 12px 10px 8px}
.hot__n{grid-row:1/3;align-self:center;text-align:center;font-size:30px;line-height:1}
.hot li:nth-child(-n+3) .hot__n{color:var(--red)}
.hot__t{font-size:15px;font-weight:700;line-height:1.42}
.hot__m{display:contents;color:var(--c-ink-2);font-size:14px;line-height:22px}
.hot__m .tag{grid-area:1/3}
.hot__m>.d{grid-area:1/4;min-width:32px;text-align:right}
.heat{grid-area:2/2/3/5;position:relative;height:6px;margin-top:6px;background:var(--soft)}
.heat::after{content:"";position:absolute;inset:0;width:var(--h);background:var(--c-ink);transform:scaleX(0);transform-origin:0 50%;transition:transform var(--spring-soft);transition-delay:calc(var(--i,0)*45ms)}
.hot li:nth-child(-n+3) .heat::after{background:var(--red)}
.in-view .heat::after{transform:none}
@media(hover:hover){.hot__a:hover{background:var(--yellow);color:#111}.hot__a:hover .hot__n,.hot__a:hover .hot__m{color:#111}.hot__a:hover .heat{background:#fff}.hot__a:hover .heat::after{background:#111}}
.hot__a:active .hot__t{transform:translateX(3px)}
.hot__a:focus-visible{outline-offset:-3px}
.board__f{display:flex;justify-content:space-between;align-items:center;padding:0 14px;border-top:var(--bw) solid var(--line);font-size:12.5px;font-weight:700;color:var(--c-ink-2)}

/* 站队: red-versus-black face-off (kit poll, two options drawn as one bar) */
.duel{--card:var(--yellow);--c-ink:#111;--c-ink-2:#3d3413;--shadow:var(--shadow-y);--cut:30px}
.duel .tile__a{isolation:isolate}
.duel .tile__a::before{content:"";position:absolute;inset:0;z-index:-1;background:repeating-conic-gradient(from 3deg at 50% 62%,rgba(17,17,17,.1) 0 2.2deg,transparent 2.2deg 9deg);-webkit-mask-image:radial-gradient(circle at 50% 62%,transparent 70px,#000 260px);mask-image:radial-gradient(circle at 50% 62%,transparent 70px,#000 260px)}
.duel .pic{--ar:2.3}
.duel__b{display:grid;gap:10px;padding:0 14px 15px}
.duel__k{display:flex;align-items:center;gap:10px;margin-top:-17px;font-size:13px;font-weight:800;line-height:1.2}
.duel__k b{position:relative;z-index:1;padding:4px 12px 5px;background:#111;color:var(--yellow);font-size:27px;line-height:1.1;transform:rotate(-2deg);box-shadow:3px 3px 0 var(--red)}
.duel__k span{align-self:flex-end;padding-bottom:1px}
.duel__q{font-size:19px;font-weight:800;line-height:1.45;text-wrap:balance}
.duel__src{font-size:13px;font-weight:700;line-height:1.5;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
.vs__bar{position:relative;isolation:isolate;display:flex;height:68px;margin-top:4px;overflow:hidden;border:var(--bw) solid #111;background:#111;box-shadow:3px 3px 0 #111}
.vs__bar [data-poll-opt]{flex:1;display:flex;align-items:center;gap:8px;min-width:0;padding:0 14px;color:#fff;font:900 21px/1 var(--f-d);font-synthesis:none;transition:transform var(--spring-snap)}
.vs__bar [data-poll-opt]:first-child{position:static;overflow:visible;isolation:auto}
.vs__bar [data-poll-opt]:first-child::before{background:var(--red);clip-path:polygon(0 0,100% 0,calc(100% - 18px) 100%,0 100%)}
.vs:not(.is-voted) [data-poll-opt]:first-child::before{transform:scaleX(.52)}
.vs__bar [data-poll-opt]:last-child{flex-direction:row-reverse;color:var(--yellow)}
.vs__bar [data-poll-opt]:last-child::before{display:none}
.vs [data-poll-opt]:not(:disabled):active{transform:scale(.96)}
.vs[data-nre-vote]:not([aria-busy="true"]) [data-poll-opt]:disabled{cursor:default}
.vs__bar [data-poll-opt]:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.vs__x{position:absolute;left:50%;top:50%;z-index:1;display:grid;place-items:center;width:46px;height:46px;margin:-23px 0 0 -23px;background:var(--yellow);color:#111;font-size:17px;line-height:1;clip-path:var(--burst);transform:rotate(-8deg);transition:opacity .2s;pointer-events:none}
.is-voted .vs__x{opacity:0}
.vs .kit-poll-pct{margin:0;padding:0;font-size:27px}
.is-voted [data-poll-opt]{padding-top:13px}
.vs .is-chosen::after{content:attr(data-picked);position:absolute;top:0;left:0;padding:3px 6px;background:var(--yellow);color:#111;font:800 11px/1 var(--f-b)}
.vs [data-poll-opt]:last-child.is-chosen::after{left:auto;right:0}
.vs__total{margin-top:11px;font-size:13px;font-weight:800;line-height:1.4}

/* rows: latest and lists */
.rows>li+li{border-top:2px dotted var(--sep)}
.row{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:14px;align-items:start;padding:14px 5px 15px 0}
.rows>li:first-child .row{padding-top:2px}
.row__b{display:grid;gap:5px}
.row__t{font-size:15.5px;font-weight:800;line-height:1.45}
.row .meta{margin-top:3px;color:var(--ink-2)}
.row__pic{--ar:4/3;border:var(--bw) solid var(--line);box-shadow:var(--hard-s);transition:transform var(--spring-snap)}
@media(hover:hover){.row:hover .row__t{text-decoration:underline;text-decoration-thickness:2.5px;text-underline-offset:5px}.row:hover .row__pic{transform:translate(-2px,-2px)}}
.row:active .row__pic{transform:translate(2px,2px)}

/* rail modules */
.mod__t{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:23px;line-height:1.2;color:var(--head)}
.mod__t small{margin-left:auto;color:var(--ink-2);font:700 12.5px/1.3 var(--f-b)}
.chips{display:flex;flex-wrap:wrap;gap:10px 9px}
.chips--x{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;margin-inline:calc(var(--g)*-1);padding:0 var(--g) 4px;scrollbar-width:none}
.chips--x::-webkit-scrollbar{display:none}
.chips--x .chip{flex:none}
.chip{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 6px 0 11px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);font-size:14.5px;font-weight:800;line-height:1;transition:transform var(--spring-snap)}
.chip [data-label]{display:grid;place-items:center;min-width:34px;height:28px;padding:0 7px;background:var(--c-ink);color:var(--card);font-size:12.5px}
.chip[aria-pressed="true"]{background:var(--yellow);color:#111}
.chip[aria-pressed="true"] [data-label]{background:#111;color:var(--yellow)}
@media(hover:hover){.chip:hover{transform:translate(-1px,-2px)}}
.chip:active{transform:scale(.96)}
.tip{display:grid;gap:10px;padding:16px;border:var(--bw) solid var(--edge);box-shadow:5px 5px 0 var(--red)}
.tip h2{display:flex;align-items:center;gap:9px;color:var(--yellow);font-size:25px;line-height:1.2}
.tip p{font-size:14px;font-weight:700;line-height:1.65}

/* ---------- bands ---------- */
.band{padding-block:30px 34px;border-top:var(--bw) solid var(--edge)}
.on-red{background:var(--red);color:var(--ink)}
.on-flood{position:relative;isolation:isolate;background:var(--flood)}
.on-flood::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle,var(--dot) 1.6px,transparent 1.9px) 0 0/11px 11px;-webkit-mask-image:linear-gradient(250deg,transparent 35%,#000);mask-image:linear-gradient(250deg,transparent 35%,#000)}

/* video zone. Sideways rails (stories, chips, reels, food) scroll on x only and snap by proximity, so a vertical
   swipe that starts on one always moves the page */
.rail{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;margin-inline:calc(var(--g)*-1);padding:2px var(--g) 9px;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-left:var(--g)}
.rail>*{flex:none;scroll-snap-align:start}
.reel{display:flex;flex-direction:column;width:148px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard-s);transition:transform var(--spring-snap)}
.reel .pic{--ar:9/16;width:100%}
.reel__n{position:absolute;left:0;top:0;display:flex;align-items:center;gap:4px;padding:4px 7px;background:#111;color:var(--yellow);font-size:14px;line-height:1}
.reel__t{margin:8px 9px 10px;font-size:13px;font-weight:800;line-height:1.42}
@media(hover:hover){.reel:hover{transform:translate(-2px,-2px);box-shadow:var(--hard)}}
.reel:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--shadow)}
.rail-nav{display:none}
.vids{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-top:34px}
.vids__h{display:flex;align-items:center;gap:10px;color:var(--yellow);font-size:25px;line-height:1.2}
.vids__h::after{content:"";flex:1;height:var(--bw);background:var(--yellow)}
.vid{display:grid;gap:11px}
.vid .pic{border:var(--bw) solid var(--line);box-shadow:var(--hard-s);transition:transform var(--spring-snap)}
.play{position:absolute;left:12px;bottom:12px;display:grid;place-items:center;width:52px;height:52px;border:var(--bw) solid #111;background:var(--yellow);color:#111}
.dur{position:absolute;right:0;bottom:0;padding:3px 7px 4px;background:#111;color:var(--yellow);font-size:14px;line-height:1}
.vid__t{font-size:19px;font-weight:800;line-height:1.42;text-wrap:balance}
.vid .meta{color:var(--ink-2)}
.vid-list{display:grid;gap:14px;align-content:start}
.vid--row{grid-template-columns:136px minmax(0,1fr);gap:13px;align-items:start}
.vid--row .vid__t{font-size:14.5px}
@media(hover:hover){.vid:hover .pic{transform:translate(-2px,-2px)}.vid:hover .vid__t{text-decoration:underline;text-underline-offset:5px}}
.vid:active .pic{transform:translate(2px,2px)}

/* 吃瓜区 */
.gossip{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}

/* category layouts */
.cat-a{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.cat-a__g{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.food .tile{width:236px}
.trip{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.duo{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.duo__r .ad,.vid-list li:nth-child(n+2),.trip .tile:nth-child(3),.cat-a .rows li:nth-child(3),.gossip .tile:nth-child(3),.coupons li:nth-child(4),.pr li:nth-child(n+3){display:none}
.duo .top5__t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}

/* 好康 coupons */
.coupons{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.cpn{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr);min-height:90px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard);transition:transform var(--spring-snap)}
.cpn::before,.cpn::after{content:"";position:absolute;left:calc(96px - 10px);width:20px;height:20px;border:var(--bw) solid var(--line);border-radius:50%;background:var(--flood)}
.cpn::before{top:calc(-10px - var(--bw));clip-path:inset(50% 0 0)}
.cpn::after{bottom:calc(-10px - var(--bw));clip-path:inset(0 0 50%)}
.cpn__stub{display:grid;place-content:center;justify-items:center;gap:5px;padding:8px 4px;background:var(--red-ink);color:#fff;text-align:center}
.cpn__stub b{font-size:28px;line-height:1}
.cpn__stub small{font-size:12px;font-weight:800;line-height:1.2}
.cpn__b{display:grid;align-content:center;gap:6px;padding:10px 12px 10px 13px;border-left:2.5px dotted var(--line)}
.cpn__t{font-size:14px;font-weight:800;line-height:1.45;-webkit-line-clamp:2}
.coupons li{display:grid}
.cpn__go{display:inline-flex;align-items:center;gap:4px;color:var(--hot);font-size:13px;font-weight:800;line-height:1.2}
@media(hover:hover){.cpn:hover{transform:translate(-2px,-2px) rotate(-.6deg)}}
.cpn:active{transform:translate(3px,3px)}

/* most read */
.top5 li+li{border-top:2px dotted var(--sep)}
.top5 a{display:grid;grid-template-columns:46px minmax(0,1fr);gap:13px;align-items:start;padding:13px 0}
.top5 b{display:grid;place-items:center;width:46px;height:46px;border:var(--bw) solid var(--line);background:var(--yellow);color:#111;font-size:28px;line-height:1;box-shadow:3px 3px 0 var(--shadow-y);transition:transform var(--spring-snap)}
.top5 li:first-child b{background:var(--red);color:#fff}
.top5__t{font-size:15px;font-weight:800;line-height:1.45}
.top5 .meta{margin-top:4px;color:var(--ink-2)}
@media(hover:hover){.top5 a:hover b{transform:translate(-2px,-2px) rotate(-4deg)}.top5 a:hover .top5__t{text-decoration:underline;text-underline-offset:5px}}

/* 每日一碗 subscribe */
.sub{position:relative;isolation:isolate;overflow:hidden}
.sub::before{content:"";position:absolute;z-index:-1;left:calc(var(--g) + 54px);top:92px;width:900px;height:900px;margin:-450px;background:repeating-conic-gradient(rgba(17,17,17,.13) 0 2.4deg,transparent 2.4deg 10deg);-webkit-mask-image:radial-gradient(circle,transparent 62px,#000 150px,transparent 440px);mask-image:radial-gradient(circle,transparent 62px,#000 150px,transparent 440px)}
.sub__g,.sub__l,.sub__r{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.sub__top{display:flex;align-items:center;gap:16px}
.bowl{flex:none;position:relative;width:108px;height:108px;overflow:hidden;border:var(--bw) solid #111;border-radius:50%;background:var(--yellow);box-shadow:4px 4px 0 #111}
.bowl img{position:absolute;left:-28.5%;top:-42.5%;width:453%;max-width:none;height:auto}
.sub__top h2{color:#fff;font-size:50px;line-height:1.05}
.sub__top p{display:inline-block;margin-top:6px;padding:2px 8px 3px;background:#111;color:var(--yellow);font-size:17px;line-height:1.3}
.sub__copy{max-width:34em;font-size:16px;font-weight:700;line-height:1.75;text-wrap:balance}
.field{display:flex;gap:9px}
.field input{flex:1;min-width:0;height:48px;padding:0 13px;border:var(--bw) solid #111;border-radius:0;background:#fff;color:#111;font:700 16px/1 var(--f-b);box-shadow:3px 3px 0 #111}
.field input::placeholder{color:#666}
.sub__ch{display:flex;flex-wrap:wrap;gap:11px}
.sub__ch .btn{flex:1}
.sub .btn{--line:#111;--shadow:#111;--card:#fff;--c-ink:#111}
.sub__n{font-size:13px;font-weight:800}

/* 豆粉 member block */
.mem{display:grid;grid-template-columns:minmax(0,1fr);gap:26px}
.mem__lede{font-size:16px;font-weight:700;line-height:1.75;max-width:30em}
.perks{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px;margin-block:20px 22px}
.perks li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;font-size:13px;line-height:1.5;color:var(--ink-2)}
.perks .i{width:34px;height:34px;padding:6px;border:2px solid var(--line);background:var(--yellow);color:#111}
.perks b{display:block;color:var(--ink);font-size:14.5px;font-weight:800}
.mem__cta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.pass{--cut:30px;--card:var(--yellow);--c-ink:#111;--c-ink-2:#3d3413;--shadow:var(--shadow-y);align-self:start}
.pass__in{display:grid;gap:14px;padding:16px 16px 17px}
.pass__top{display:flex;align-items:center;gap:12px}
.av{flex:none;display:grid;place-items:center;width:48px;height:48px;border:var(--bw) solid #111;border-radius:50%;background:#fff;color:#111;font-size:22px;line-height:1}
.pass__top strong{display:block;font-size:18px;font-weight:800;line-height:1.3}
.pass__top div span{font-size:12.5px;font-weight:700}
.pass__top em{margin-left:auto;margin-right:20px;padding:3px 8px 4px;background:#111;color:var(--yellow);font-style:normal;font-size:15px;line-height:1.2;transform:rotate(3deg)}
.streak{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.streak i{display:grid;place-items:center;height:30px;border:2px solid #111;background:#111;color:var(--yellow);font:800 12px/1 var(--f-b);font-style:normal}
.streak i.off{background:transparent;color:#111}
.pass__row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;font-size:13px;font-weight:800;line-height:1.3}
.pass__row b{display:block;font-size:34px;line-height:1}
.badges{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.badges span{padding:4px 7px;border:2px solid #111;background:#fff;font-size:12px;line-height:1.1}

/* announcements: quiet on purpose */
.pr{padding-block:28px 32px;border-top:var(--bw) solid var(--edge);background:var(--soft)}
.pr h2{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--ink-2);font-size:13px;font-weight:800;letter-spacing:.08em}
.pr li+li{border-top:1px solid var(--sep)}
.pr a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:10px 0;color:var(--ink-2);font-size:14px;line-height:1.6}
.pr a span{margin-right:8px;font-size:12px;font-weight:800;white-space:nowrap}
@media(hover:hover){.pr a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}}

/* footer */
.foot{padding-block:36px 28px;border-top:var(--bw) solid var(--edge);font-size:14px}
.foot__g{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 20px}
.foot__brand{grid-column:1/-1}
.foot .wlogo{height:36px}
.foot__brand p{margin-top:10px;color:var(--ink-2);font-weight:700}
.foot h3{margin-bottom:6px;color:var(--yellow);font-size:19px;line-height:1.3}
.foot li a{display:inline-flex;align-items:center;min-height:36px;font-weight:700}
@media(hover:hover){.foot li a:hover{color:var(--yellow);text-decoration:underline;text-underline-offset:4px}}
.foot__soc{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}
.foot__soc .ibtn{box-shadow:none;width:44px;min-height:44px}
.foot__soc .ibtn:hover{background:var(--yellow);color:#111;box-shadow:none}
.foot__x{grid-column:1/-1;display:grid;gap:14px;justify-items:start}
.foot__legal{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 18px;padding-top:16px;border-top:2px dotted var(--sep);color:var(--ink-2);font-size:12.5px;font-weight:700}
.foot__legal a{text-decoration:underline;text-underline-offset:3px}

/* ---------- dialogs ---------- */
dialog.sheet{width:min(430px,100%);margin:auto auto 0;border:var(--bw) solid var(--line);border-bottom:0;background:var(--card);color:var(--c-ink)}
dialog.sheet[open]{animation:rise var(--spring-snap) both}
@keyframes rise{from{transform:translateY(40px);opacity:0}}
dialog::backdrop{background:rgba(17,17,17,.62)}
.sheet__h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 8px 8px 16px;border-bottom:var(--bw) solid var(--line);background:var(--yellow);color:#111}
.sheet__h h2{font-size:26px;line-height:1.2}
.sheet__h button{display:grid;place-items:center;width:44px;height:44px;transition:transform var(--spring-snap)}
.sheet__h button:active{transform:scale(.88)}
.sheet__b{display:grid;gap:12px;padding:16px 16px calc(20px + env(safe-area-inset-bottom))}
.sheet__b>p{font-size:14.5px;font-weight:700;line-height:1.65;text-wrap:pretty}
.sheet__b small{color:var(--c-ink-2);font-size:12.5px;line-height:1.6}
.sheet__b .btn{justify-content:flex-start;gap:12px}
.share-g{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.share-t{padding:10px 26px 11px 12px;background:var(--soft);clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,0 100%)}
.hotkeys{display:flex;flex-wrap:wrap;gap:8px}
.hotkeys a{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 11px;border:2px solid var(--line);font-size:14px;font-weight:800}
.hotkeys b{color:var(--hot);font-size:15px}
/* menu drawer: in from the left; each category opens to its newest four posts */
.sheet.drawer{width:min(100% - 24px,400px);height:100dvh;max-height:100dvh;margin:0 auto 0 0;overflow-y:auto;border:var(--bw) solid var(--line);border-left:0;box-shadow:none}
.sheet.drawer[open]{animation:drawer-in var(--spring-snap) both}
@keyframes drawer-in{from{transform:translateX(-48px);opacity:0}}
.drawer .sheet__h{position:sticky;top:0;z-index:1}
.drawer .sheet__b{align-content:start;gap:18px;padding-top:6px}
.dcats>li+li{border-top:2px dotted var(--sep)}
.dcats__row{display:flex;align-items:center;gap:8px}
.dcats__row a{flex:1;display:flex;align-items:center;gap:12px;min-height:56px;font-size:17px;font-weight:800;line-height:1.3}
.dcats__row a .i{width:34px;height:34px;padding:7px;border:2px solid var(--line);background:var(--yellow);color:#111}
.dcats__row a.is-on{color:var(--hot)}
.dcats__row a.is-on .i{border-color:#111;background:var(--red-ink);color:#fff}
@media(hover:hover){.dcats__row a:hover{text-decoration:underline;text-decoration-thickness:2.5px;text-underline-offset:5px}}
.dcats__tg{flex:none;display:grid;place-items:center;width:44px;height:44px;border:2px solid var(--line);transition:transform var(--spring-snap)}
.dcats__tg .i{transition:transform var(--spring-snap)}
.dcats__tg[aria-expanded="true"]{background:var(--yellow);color:#111}
.dcats__tg[aria-expanded="true"] .i{transform:rotate(180deg)}
.dcats__tg:active{transform:scale(.92)}
.dcats__list{display:grid;gap:12px;padding:2px 0 16px}
.dcats__list a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:start;font-size:14px;font-weight:800;line-height:1.45}
.dcats__list .pic{border:2px solid var(--line)}
.dcats__list span+span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(hover:hover){.dcats__list a:hover span+span{text-decoration:underline;text-underline-offset:4px}}
.menu__soc{display:flex;flex-wrap:wrap;gap:10px}
.menu__soc .ibtn{width:44px;min-height:44px}
.menu__x{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}
.menu__x>:last-child:nth-child(odd){grid-column:1/-1}

/* ---------- kit dress ---------- */
.kit-sv__stage{outline:var(--bw) solid var(--yellow);outline-offset:-2.5px}
.kit-sv__img{object-position:var(--kpos,22%) 50%}
.kit-sv__img[src*="/10."],.kit-sv__img[src*="/06."],.kit-sv__img[src*="/07."],.kit-sv__img[src*="/13."]{--kpos:80%}
.kit-sv__bars i{height:5px;border-radius:0;background:rgba(255,255,255,.32)}
.kit-sv__bars b{background:var(--yellow)}
.kit-sv__logo{height:46px;max-width:none;margin:-12px -6px -12px -8px}
.kit-sv__btn{border-radius:0}
.kit-sv__cat{padding:3px 9px 4px;border:2px solid #111;border-radius:0;font:900 16px/1.2 var(--f-d);font-synthesis:none;letter-spacing:0;transform:rotate(-2deg)}
.kit-sv__title{font-weight:800;line-height:1.38}
.kit-sv__cta{border:var(--bw) solid #111;border-radius:0;background:var(--yellow);box-shadow:3px 3px 0 #111;font-weight:800}
.kit-toast{border:var(--bw) solid var(--kit-toast-ink);border-radius:0;box-shadow:4px 4px 0 rgba(17,17,17,.3);font-weight:800}
.kit-quote{border-radius:0;border:var(--bw) solid var(--kit-toast-ink)}
.kit-quote button{border-radius:0;font-weight:800}
[data-article-body] .is-reading{border-radius:0}

/* ================= article page ================= */
.art-top{border-bottom-color:var(--edge)}
.read{position:absolute;left:0;right:0;bottom:calc(var(--bw)*-1 - 4px);height:4px}
.read i{display:block;height:100%;background:var(--red);transform:scaleX(var(--read));transform-origin:0 50%}
.left{display:none;align-items:center;gap:6px;padding:5px 9px 6px;background:#111;color:var(--yellow);font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap}
.is-scrolled .left{display:inline-flex}
.sband{border-bottom:var(--bw) solid var(--edge)}

/* title on white: one small line, a headline, a quiet standfirst, one byline, one row of tools */
.art-head{padding-block:12px 20px}
.crumb{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:var(--ink-2);font-size:13px;font-weight:700;line-height:1.3}
.crumb a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
.crumb .crumb__cat{color:var(--hot);font-weight:800}
@media(hover:hover){.crumb a:hover{text-decoration:underline}}
.art-head .shout{white-space:nowrap}
.art-h{margin-top:16px;max-width:20em;font-size:26px;line-height:1.32;text-wrap:balance}
.art-sf{margin-top:10px;max-width:36em;color:var(--ink-2);font-size:16px;line-height:1.75}
.byline{display:flex;align-items:center;gap:6px;margin-top:14px;color:var(--ink-2);font-size:12.5px;font-weight:700;line-height:1.3;white-space:nowrap}
.byline .av{width:28px;height:28px;margin-right:2px;border-width:2px;background:var(--yellow);font-size:14px}
.byline strong{color:var(--ink);font-size:13.5px;font-weight:800}
.byline>span:not(.av)::before{content:"·";margin-right:6px}
.byline__pub,.byline__yr,.byline>span:last-child{display:none}
@media(min-width:720px){.byline>span:last-child{display:inline}}
.acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.qb,.acts>[data-tts-toggle]{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:0 10px;border-radius:0;border:1px solid var(--sep);background:var(--bg);color:var(--ink);font-size:15px;font-weight:800;line-height:1;transition:transform var(--spring-snap),border-color .15s}
@media(hover:hover){.qb:hover,.acts>[data-tts-toggle]:hover{border-color:var(--ink)}}
.qb:active,.acts>[data-tts-toggle]:active{transform:scale(.97)}
.qb[aria-pressed="true"],.qb--y,.acts>[data-tts-toggle][aria-pressed="true"]{border-color:var(--yellow);background:var(--yellow);color:#111}
.qb-pair{display:flex}
.qb-pair .qb+.qb{margin-left:-1px}
/* the Google preferred-source button on articles, in the title row and the end card (round 3, B7): a blue fill with
   #111 text and icon (about 7:1; white would be 2.6:1), both themes. The footer one keeps the yellow. */
.qb--g{border-color:#60a2f3;background:#60a2f3;color:#111;font-size:14px;white-space:nowrap}
.btn--g{background:#60a2f3;color:#111}
@media(hover:hover){.qb--g:hover,.btn--g:hover{background:#8bbcf6}}
.art{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;padding-bottom:44px}
.side{display:none}
.col{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-content:start}
.hero{--cut:0px;position:relative;z-index:1}
.hero .pic{--ar:874/460;border-bottom:0}
.hero figcaption{padding:7px 34px 8px 11px;border-top:var(--bw) solid var(--line);color:var(--c-ink-2);font-size:12.5px;font-weight:700;line-height:1.5}
.hero figcaption a{text-decoration:underline;text-underline-offset:3px}

/* 懒人包 */
.tldr{--cut:30px;scroll-margin-top:90px}
.tldr__h{display:flex;align-items:center;gap:10px;padding:9px 36px 10px 14px;background:var(--line);color:var(--tab-ink)}
.tldr__h h2{font-size:28px;line-height:1.15}
.tldr__h span{font-size:13px;font-weight:800}
.tldr .tile__a::after{background:linear-gradient(to bottom left,var(--tab-ink) calc(50% + var(--bw)),transparent calc(50% + var(--bw) + .6px))}
.tldr__b{padding:16px 15px 14px}
.points{display:grid;gap:13px;counter-reset:pt}
.points li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:11px;font-size:16px;font-weight:700;line-height:1.7;counter-increment:pt}
.points li::before{content:counter(pt);display:grid;place-items:center;width:28px;height:28px;margin-top:1px;background:var(--yellow);color:#111;border:2px solid var(--line);font:900 17px/1 var(--f-d);font-synthesis:none}
.qa{margin-top:18px;border-top:var(--bw) solid var(--line)}
.qa h3{padding-top:13px;font-size:20px;line-height:1.3;color:var(--head)}
.qa details{border-bottom:2px dotted var(--sep)}
.qa summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:6px 0;font-size:15.5px;font-weight:800;line-height:1.5;cursor:pointer;list-style:none}
.qa summary::-webkit-details-marker{display:none}
.qa summary .i{transition:transform var(--spring-snap)}
.qa details[open] summary .i{transform:rotate(45deg)}
.qa details p{padding:0 0 14px;color:var(--c-ink-2);font-size:15px;line-height:1.8}
.tldr__n{display:flex;gap:6px;margin-top:12px;color:var(--c-ink-2);font-size:12.5px;line-height:1.6}

/* article text: calm */
.prose{font-size:calc(18px*var(--reader-scale));line-height:1.9}
.prose>p{margin-bottom:1.2em}
.prose>h2{position:relative;margin:1.9em 0 .75em;padding-left:26px;font-size:calc(22px*var(--reader-scale));font-weight:800;line-height:1.45;text-wrap:balance}
.prose>h2::before{content:"";position:absolute;left:0;top:.42em;width:15px;height:15px;background:var(--red);clip-path:polygon(0 0,58% 0,100% 42%,100% 100%,0 100%)}
.prose>blockquote{margin:0 0 1.2em;padding:.7em 1.6em .75em .9em;background:var(--soft);font-weight:700;clip-path:polygon(0 0,calc(100% - 16px) 0,100% 16px,100% 100%,0 100%)}
.pull,.prose .wp-block-pullquote{position:relative;margin:1.7em 5px 2.4em 0;padding:16px 16px 15px;border:var(--bw) solid #111;background:var(--yellow);color:#111;box-shadow:5px 5px 0 var(--shadow-y)}
.pull::before,.prose .wp-block-pullquote::before{content:"";position:absolute;left:30px;top:100%;width:28px;height:21px;background:#111;clip-path:polygon(0 0,100% 0,8% 100%)}
.pull::after,.prose .wp-block-pullquote::after{content:"";position:absolute;left:32.5px;top:calc(100% - .5px);width:20px;height:15px;background:var(--yellow);clip-path:polygon(0 0,100% 0,8% 100%)}
.pull p,.prose .wp-block-pullquote p{font:900 25px/1.35 var(--f-d);font-synthesis:none;text-wrap:balance}
.pull cite,.prose .wp-block-pullquote cite{display:block;margin-top:8px;font-style:normal;font-size:13px;font-weight:800;line-height:1.4}
.also{display:grid;gap:5px;margin:1.6em 0;padding:12px 14px 13px;border:var(--bw) solid var(--line);box-shadow:var(--hard-s);font-size:15.5px;font-weight:800;line-height:1.5}
.also small{color:var(--ink-2);font-size:12.5px;font-weight:800;letter-spacing:.06em}
@media(hover:hover){.also:hover b{text-decoration:underline;text-underline-offset:5px}}
.prose .duel{margin:1.8em 0 2em}
.prose .duel__b{padding-top:16px}
.prose .duel__k{margin-top:0}
.prose .ad{margin-block:1.9em}
.embeds{display:grid;gap:12px}
.embed{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 12px;align-items:center;padding:12px 14px;border:2px dashed var(--sep);font-size:14px;line-height:1.5}
.embed .i{grid-row:1/3}
.embed b{font-weight:800}
.embed span{color:var(--ink-2);font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* end of story */
.fin{display:grid;gap:12px;padding:16px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard)}
.fin p{font-size:15px;font-weight:800;line-height:1.5}
.fin div{display:grid;gap:11px}
.blk__t{margin-bottom:14px;font-size:24px;line-height:1.2;color:var(--head)}
.stamps{display:flex;flex-wrap:wrap;gap:16px 14px;padding:4px 2px}
.stamp{position:relative;display:grid;justify-items:center;gap:3px;min-width:72px;padding:11px 10px 9px;border:var(--bw) solid currentColor;background:var(--card);color:var(--hot);font:900 21px/1 var(--f-d);font-synthesis:none;transform:rotate(-3deg);transition:transform var(--spring-soft)}
.stamp::before{content:"";position:absolute;inset:3px;border:1.5px solid currentColor;pointer-events:none}
.stamp:nth-child(even){transform:rotate(2.5deg)}
.stamp span{color:var(--c-ink-2);font:800 12.5px/1.2 var(--f-b)}
@media(hover:hover){.stamp:hover{transform:rotate(0) translateY(-3px)}}
.stamp:active{transform:scale(.92)}
.stamp.is-on{border-color:#111;background:var(--red-ink);color:#fff;box-shadow:3px 3px 0 var(--shadow);animation:stamp var(--spring-pop) both}
.stamp.is-on span{color:#fff}
@keyframes stamp{from{transform:scale(1.6) rotate(-14deg);opacity:.2}}
.author{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 13px;align-items:center;padding:15px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink)}
.author .av{width:54px;height:54px;background:var(--yellow);font-size:25px}
.author strong{display:block;font-size:17px;font-weight:800;line-height:1.3}
.author span{color:var(--c-ink-2);font-size:13px;font-weight:700}
.author p{grid-column:1/-1;font-size:14.5px;line-height:1.7}
.author .btn{grid-column:1/-1;justify-self:start;min-height:44px}
.aside{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;align-content:start}
.aside .ad--mpu{display:none}
.next{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.sub--mini .sub__top h2{font-size:42px}

/* listen player (the plugin's div.nre-player[data-tts], NRE 0.2.4) and phone dock */
.nre-player{position:fixed;z-index:70;left:0;right:0;bottom:calc(59px + env(safe-area-inset-bottom));display:none;flex-wrap:nowrap;align-items:center;gap:4px;margin:0;padding:6px 8px;border-radius:0;border-block:var(--bw) solid var(--yellow);background:#111;color:#F5F1E4;font:inherit}
.tts-active .nre-player{display:flex;animation:rise var(--spring-snap) both}
.nre-player button{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:0;color:var(--yellow);font-size:15px;transition:transform var(--spring-snap)}
.nre-player button:active{transform:scale(.88)}
.nre-player [data-tts-rate]{font:800 15px/1 var(--f-b)}
.nre-player [data-tts-toggle]{background:var(--yellow);color:#111}
.nre-player__status{flex:1;min-width:0;display:grid;gap:6px;padding:0 6px;overflow:hidden;font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}
.nre-player__status::after{content:"";display:block;height:5px;background:linear-gradient(var(--yellow),var(--yellow)) 0 0/calc(var(--tts,0)*100%) 100% no-repeat,#3a3a3a}
.tts-active .kit-toast{bottom:calc(132px + env(safe-area-inset-bottom))}
.dock{position:fixed;z-index:60;left:0;right:0;bottom:0;display:flex;padding-bottom:env(safe-area-inset-bottom);border-top:var(--bw) solid var(--yellow);transform:translateY(110%);visibility:hidden;transition:transform var(--spring-snap),visibility 0s .3s}
.dock.is-shown{transform:none;visibility:visible;transition-delay:0s}
.dock>*{display:grid;justify-items:center;align-content:center;gap:3px;min-height:56px;width:100%;padding:0;border-radius:0;color:#fff;font-size:11.5px;font-weight:800;line-height:1.1;transition:transform var(--spring-snap)}
.dock .i,.dock .nre-listen__icon{width:22px;height:22px;color:var(--yellow)}
.dock .nre-listen__label{display:none}
.dock :is(a,button):active{transform:scale(.9)}
.dock [aria-pressed="true"],.dock .is-on{background:var(--yellow);color:#111}
.dock [aria-pressed="true"] :is(.i,.nre-listen__icon),.dock .is-on :is(.i,.nre-listen__icon){color:#111}
.art-page .foot{padding-bottom:calc(90px + env(safe-area-inset-bottom))}
.art-top .left{position:absolute;right:var(--g);top:calc(100% + var(--bw) + 4px)}

/* ================= wider screens ================= */
@media(min-width:720px){
  :root{--g:24px}
  .sh__t{font-size:32px}
  .byline__pub,.byline__yr{display:inline}
  .coupons,.next{grid-template-columns:1fr 1fr}
  .cat-a__g{grid-template-columns:1fr 1fr}
  .perks{grid-template-columns:repeat(3,1fr)}
  .mem{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:40px}
  .vids{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:32px}
  .vids__h{grid-column:1/-1}
  .sub__g{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px 48px;align-items:center}
  .vid-list li:nth-child(n+2),.trip .tile:nth-child(3),.cat-a .rows li:nth-child(3),.gossip .tile:nth-child(3),.coupons li:nth-child(4),.pr li:nth-child(n+3){display:grid}
  dialog.sheet{margin:auto;border-bottom:var(--bw) solid var(--line);box-shadow:8px 8px 0 var(--shadow)}
  .sheet__b{padding-bottom:20px}
  .trip{grid-template-columns:1.25fr 1fr}
  .trip .tile:first-child{grid-row:1/3}
  .ticker__in{grid-template-columns:auto minmax(0,1fr) auto 44px 44px 44px;grid-template-areas:"tag track count prev next pause";padding-block:9px 11px}
  [data-ticker-track]{height:26px;margin-inline:10px 6px}
  [data-tick]{-webkit-line-clamp:1;font-size:16px;line-height:26px}
  [data-tick-count]{margin-right:6px}
  .pr ul{display:grid;grid-template-columns:1fr 1fr;column-gap:40px}
  .pr li:nth-child(2){border-top:0}
}
@media(min-width:1024px){
  :root{--g:32px}
  html{scroll-padding-top:146px}
  .top__in{height:74px;gap:18px}
  .logo__l,.logo .wlogo{height:33px}
  /* category row: every category with its icon; the chevron opens its latest-posts panel */
  .cats-row{display:block;border-top:2px dotted var(--sep)}
  .cats{display:flex;justify-content:center;gap:6px;height:48px}
  .cats>li{display:flex}
  .cats>li>a{display:flex;align-items:center;gap:7px;padding:0 4px 0 10px;font-size:15px;font-weight:800;white-space:nowrap}
  .cats>li:not([data-mega])>a{padding-right:14px}
  .cats__tg{display:grid;place-items:center;width:26px}
  .cats__tg .i{width:14px;height:14px;transition:transform var(--spring-snap)}
  .cats__tg[aria-expanded="true"] .i{transform:rotate(180deg)}
  .cats a.is-on,.cats a.is-on+.cats__tg{background:var(--line);color:var(--tab-ink)}
  .cats>li:not([data-mega])>a.is-on{clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
  .cats a.is-on+.cats__tg{width:32px;padding-right:6px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%)}
  .cats>li>a:focus-visible,.cats__tg:focus-visible{outline-offset:-3px}
  .cats [data-mega].is-open>a:not(.is-on){text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
  @media(hover:hover){.cats>li>a:not(.is-on):hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}}
  .top [data-mega]{position:static}
  .top .mega{top:calc(100% + var(--bw) + 4px);right:0;border-bottom:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:0 8px 0 rgba(17,17,17,.12)}
  .mega__in{display:grid;grid-template-columns:200px minmax(0,1fr);gap:36px;padding-block:24px 28px}
  .mega__hd{display:grid;align-content:start;justify-items:start;gap:8px}
  .mega__hd>span{color:var(--c-ink-2);font-size:13px;font-weight:800}
  .mega .sh__t{font-size:34px}
  .mega__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
  .mega__it{display:grid;align-content:start;gap:10px}
  .mega__it .pic{border:var(--bw) solid var(--line);box-shadow:var(--hard-s);transition:transform var(--spring-snap)}
  .mega__t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:15px;font-weight:800;line-height:1.45}
  @media(hover:hover){.mega__it:hover .pic{transform:translate(-2px,-2px)}.mega__it:hover .mega__t{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}}
  .top__tools .searchbar,.top__tools [data-theme-toggle]{display:inline-flex}
  .art-top .left,.is-scrolled .art-top .left{display:none}
  /* slim bar once scrolled; scrolling up brings the categories back as a white row under it */
  .top.is-compact .top__in{height:58px}
  .top.is-compact .logo__l,.top.is-compact .logo .wlogo{height:26px}
  .top.is-compact .cats-row{position:absolute;left:0;right:0;top:calc(100% + var(--bw));background:var(--card);color:var(--c-ink);border-top:0;border-bottom:var(--bw) solid var(--line);box-shadow:0 6px 0 rgba(17,17,17,.1);opacity:0;transform:translateY(-6px);pointer-events:none;transition:opacity .18s ease,transform var(--spring-snap)}
  .top.is-compact.is-up .cats-row{opacity:1;transform:none;pointer-events:auto}
  .top.is-compact .mega{top:100%}
  .hero-row{display:flex;align-items:center;justify-content:space-between;gap:36px;width:min(100% - var(--g)*2,1360px);margin-inline:auto}
  .chips--x{flex-wrap:wrap;overflow:visible;margin:0;padding:0}
  .stories{flex:0 1 auto;min-width:0;gap:20px;padding:20px 12px 22px 0}
  .story{width:78px;scroll-margin-left:0}
  .ring{width:72px;height:72px}
  .story .label{max-width:78px;font-size:13px}
  .slogan{flex:none;padding-right:8px;text-align:right;font-size:36px;line-height:1.12}
  .slogan b{display:inline-block;margin-top:6px;padding:1px 12px 3px;background:#111;color:var(--yellow);font-weight:inherit;transform:rotate(-2deg)}
  .zones{grid-template-columns:330px minmax(0,1fr);grid-template-areas:"ad ad" "board mid" "board rail";gap:32px;align-items:start;padding-block:28px 56px}
  .zones>.ad--top{grid-area:ad;width:728px;height:90px}
  .ad .ph{display:none}.ad .dk{display:inline}
  .board{grid-area:board;position:sticky;top:134px}
  .mid{grid-area:mid}
  .rail-col{grid-area:rail;grid-template-columns:300px minmax(0,1fr);column-gap:28px}
  .rail-col .tip{grid-column:2}
  .rail-col .ad{grid-row:1/3}
  .hot__a{padding-block:6px 9px}
  .hot__t{font-size:14.5px}
  .row{grid-template-columns:minmax(0,1fr) 150px;gap:24px}
  .row__t{font-size:17.5px}
  .vid--row{grid-template-columns:190px minmax(0,1fr);gap:16px}
  .vid--row .vid__t{font-size:16.5px}
  .tile__t{font-size:17px}
  .tile--lead .tile__t{font-size:36px}
  .tile--lead .tile__b{padding:0 20px 18px}
  .tile__sf{font-size:16px}
  .tile--say .big{font-size:38px}
  .duel .tile__a{flex-direction:row}
  .duel .pic{flex:none;width:34%;aspect-ratio:auto;border-bottom:0;border-right:var(--bw) solid var(--line);--pos:80%}
  .duel .pic img{position:absolute;inset:0}
  .duel__b{flex:1;padding:18px 34px 18px 20px}
  .duel__k{margin-top:0}
  .duel__q{font-size:21px}
  .band{padding-block:52px 60px}
  .sh{margin-bottom:26px}
  .sh__t{font-size:38px;padding:5px 30px 7px 14px}
  .sh__s{font-size:14.5px;padding-bottom:7px}
  .rail{margin-inline:0;padding-inline:0 6px;scroll-padding-left:0}
  .reel{width:178px}
  .reel__t{font-size:14px}
  .rail-nav{display:flex;gap:9px;margin:-8px 0}
  .rail-nav .ibtn{width:44px;min-height:44px}
  .gossip{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
  .cat-a{grid-template-columns:minmax(0,1fr) 300px;column-gap:44px;align-items:start}
  .cat-a .ad{margin-top:74px}
  .cat-a__g{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:36px}
  .cat-a__g .tile__t{font-size:24px;line-height:1.4}
  .coupons{grid-template-columns:repeat(4,1fr);gap:22px}
  .cpn{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .cpn::before,.cpn::after{left:auto;top:calc(88px - 10px);bottom:auto}
  .cpn::before{left:calc(-10px - var(--bw));clip-path:inset(0 0 0 50%)}
  .cpn::after{right:calc(-10px - var(--bw));clip-path:inset(0 50% 0 0)}
  .cpn__stub{height:88px;grid-auto-flow:column;gap:10px;align-items:baseline}
  .cpn__stub b{font-size:38px}
  .cpn__stub small{font-size:14px}
  .cpn__b{border-left:0;border-top:2.5px dotted var(--line);padding:14px 14px 14px;gap:10px;align-content:space-between}
  .cpn__t{font-size:15px;-webkit-line-clamp:3}
  .food{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;overflow:visible;padding:0;margin:0}
  .food .tile{width:auto}
  .duo{grid-template-columns:minmax(0,1fr) 300px;gap:56px 44px;align-items:center}
  .duo__r{display:contents}
  .duo__r>section{grid-column:1/-1}
  .duo__r .ad{display:grid;grid-area:1/2}
  .duo .top5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px}
  .duo .top5 li+li{border-top:0}
  .duo .top5 a{grid-template-columns:minmax(0,1fr);gap:14px;padding:0}
  .duo .top5 b{width:60px;height:60px;font-size:38px}
  .duo .top5__t{font-size:16px;-webkit-line-clamp:4}
  .sub__top h2{font-size:76px}
  .bowl{width:150px;height:150px}
  .sub::before{left:calc(50% - min(50% - var(--g),680px) + 75px);top:50%}
  .sub__top p{font-size:20px}
  .sub__copy{font-size:18px}
  .sub--mini .sub__top h2{font-size:60px}
  .foot__g{grid-template-columns:1.5fr repeat(3,1fr);gap:30px 40px}
  .foot__brand{grid-column:1;grid-row:1/3}
  .foot__soc{grid-column:2/-1}
  .foot__x{grid-column:1/-1;grid-template-columns:auto 1fr;align-items:center;gap:28px}
  /* article */
  .art-head{max-width:1154px;padding:16px 0 24px 94px}
  .art-h{margin-top:16px;max-width:22em;font-size:40px;line-height:1.24}
  .art-sf{font-size:17px}
  .byline{margin-top:16px;font-size:13px}
  .acts{margin-top:16px;max-width:720px}
  .art{grid-template-columns:54px minmax(0,720px) 300px;justify-content:center;column-gap:40px;padding-bottom:64px}
  .side{display:grid;gap:11px;justify-items:center;position:sticky;top:154px;align-self:start}
  .side .ibtn{width:48px;min-height:48px}
  .side small{font-size:12px;font-weight:800;line-height:1.2;text-align:center}
  .side hr{width:26px;margin:2px 0;border:0;border-top:2px dotted var(--sep)}
  .side__left{width:54px;padding:6px 2px 7px;border:var(--bw) solid var(--line);background:#111;color:var(--yellow);font-size:12px;font-weight:800;line-height:1.3;text-align:center;word-break:keep-all}
  .side>[data-tts-toggle]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:48px;min-height:48px;padding:0;border-radius:0;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard-s);font-size:11px;font-weight:800;line-height:1.1}
  .side>[data-tts-toggle][aria-pressed="true"]{background:var(--yellow);color:#111}
  .aside{gap:36px}
  .aside .ad--rail{width:300px;height:600px}
  .aside .ad--mpu{display:grid;position:sticky;top:154px}
  .prose{font-size:calc(19.5px*var(--reader-scale))}
  .prose>h2{font-size:calc(26px*var(--reader-scale))}
  .pull p,.prose .wp-block-pullquote p{font-size:32px}
  .pull,.prose .wp-block-pullquote{padding:22px 24px 20px}
  .prose .ad--art{width:336px;height:280px}
  .col>.ad--top{display:none}
  .ad--lb{display:grid;width:728px;height:90px;margin-bottom:44px}
  .tldr__b{padding:20px 22px 16px}
  .fin{grid-template-columns:1fr auto;align-items:center;padding:18px 20px 8px}
  .fin div{grid-auto-flow:column}
  .next{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
  :is(.next,.gossip) .tile--h .tile__a{flex-direction:column}
  :is(.next,.gossip) .tile--h .pic{width:auto;aspect-ratio:16/9;min-height:0;border-right:0;border-bottom:var(--bw) solid var(--line)}
  :is(.next,.gossip) .tile--h .pic img{position:static}
  :is(.next,.gossip) .tile--h .tile__b{padding:0 12px 13px;gap:8px}
  :is(.next,.gossip) .tile--h .tile__b>.shout{margin:-15px 0 7px}
  .dock{display:none}
  .nre-player{left:auto;right:28px;bottom:28px;width:440px;border:var(--bw) solid var(--yellow);box-shadow:5px 5px 0 var(--red)}
  .tts-active .kit-toast{bottom:112px}
  .art-page .foot{padding-bottom:28px}
}
/* the hot board pins at every height, under the 126px header. Where all ten rows (804px) don't fit,
   the rows tighten and the board stops 16px above the screen's foot, its list scrolling inside it. Only with a
   mouse: on a touch screen that short (an iPad in landscape) the list would hold a vertical swipe, so the board
   stays in the flow at full length instead */
@media(min-width:1024px) and (max-height:959px) and (hover:none),(min-width:1024px) and (max-height:959px) and (pointer:coarse){
  .board{position:relative;top:auto}
}
@media(min-width:1024px) and (max-height:959px) and (hover:hover) and (pointer:fine){
  .board .tile__a{max-height:calc(100vh - 150px)}
  .board .hot{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin}
  .hot__a{padding-block:4px 5px}
}
@media(min-width:1280px){
  :root{--g:40px}
  .zones{grid-template-columns:360px minmax(0,1fr) 300px;grid-template-areas:"ad ad ad" "board mid rail";column-gap:36px}
  /* the rail runs the full height of 头条 and 刚刚出炉 so its last block, the tip-off box, has room to stick */
  .rail-col{display:flex;flex-direction:column;align-self:stretch}
  .rail-col .tip{position:sticky;top:142px}
  .rail-col .ad--rail{height:600px}
  .ring{width:76px;height:76px}
  .story{width:84px}
  .story .label{max-width:84px}
  .art{column-gap:64px}
  .art-head{max-width:1202px;padding-left:118px}
  .top__tools .searchbar{width:auto;padding:0 44px 0 12px;justify-content:flex-start}
  .searchbar span,.signin span{display:inline}
  .top__tools .signin{width:auto;padding:0 14px}
}
@media(min-width:1440px){.slogan{display:block}}

/* ================= dark: black ground, yellow lines ================= */
[data-theme="dark"] .ticker,[data-theme="dark"] .foot,[data-theme="dark"] .on-black.band{background:#0D0D0D}
[data-theme="dark"] .tile--say,[data-theme="dark"] .duel,[data-theme="dark"] .pass{--line:var(--yellow)}
[data-theme="dark"] .pr{background:#141414}
[data-theme="dark"] .ad{color:var(--ink-2)}
[data-theme="dark"] .pic img{filter:brightness(.92)}
[data-theme="dark"] .field input{box-shadow:3px 3px 0 #111}
/* ---------- 关注我们: social profiles. Home: the rail after 我要爆料; article: the side column (after the story on phones).
   Phones: five icon squares in a row; desktop: rows. Network colours only on the icon squares. ---------- */
.fol{display:grid;gap:12px;padding:16px;border:var(--bw) solid var(--line);background:var(--card);box-shadow:var(--hard)}
.fol__t{margin-bottom:0}
.fol__s{margin-top:4px;color:var(--ink-2);font-size:13px;font-weight:700;line-height:1.5}
.fol__list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.fol__a{display:grid;justify-items:center;align-content:start;gap:8px;padding:2px 0 4px;font-size:12px;font-weight:800;line-height:1.2;text-align:center}
.fol__ic{display:grid;place-items:center;width:50px;height:50px;border:var(--bw) solid var(--line);color:#fff;box-shadow:var(--hard-s);transition:transform var(--spring-snap)}
.fol__ic .i{width:25px;height:25px}
@media(hover:hover){.fol__a:hover .fol__ic{transform:translate(-2px,-2px) rotate(-4deg)}}
.fol__a:active .fol__ic{transform:translate(2px,2px)}
.fol__tx{display:grid;gap:2px}
.fol__tx small,.fol__go{display:none}
.fol__a--fb .fol__ic{background:#1877F2}
.fol__a--ig .fol__ic{background:radial-gradient(circle at 30% 107%,#FDF497 0%,#FD5949 45%,#D6249F 62%,#285AEB 92%)}
.fol__a--tt .fol__ic,.fol__a--x .fol__ic{background:#111}
.fol__a--yt .fol__ic{background:#F00}
@media(min-width:1024px){.rail-col .fol{grid-column:2}.rail-col .ad{grid-row:1/4}}
@media(min-width:1024px){
  .fol__list{grid-template-columns:minmax(0,1fr);gap:0}
  .fol__a{grid-template-columns:auto minmax(0,1fr) auto;justify-items:start;align-items:center;gap:12px;padding:10px 0;border-top:2px dotted var(--sep);text-align:left}
  .fol li:first-child .fol__a{border-top:0}
  .fol__ic,.fol__a:active .fol__ic{width:42px;height:42px;transform:none;box-shadow:none}
  .fol__ic .i{width:22px;height:22px}
  .fol__tx b{font-size:15px}
  .fol__tx small{display:block;color:var(--ink-2);font-size:12.5px;font-weight:700}
  .fol__go{display:block;width:18px;height:18px;transition:transform var(--spring-snap)}
  @media(hover:hover){.fol__a:hover .fol__ic{transform:none}.fol__a:hover .fol__go{transform:translateX(3px)}.fol__a:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}}
}
/* Partner content: 赞助内容 chip, 合作伙伴 row under the byline, partner card in place of the writer card */
.pc-tag{display:inline-block;margin-left:4px;padding:3px 6px 4px;border:2px solid var(--ink);color:var(--ink);font-size:12px;font-weight:800;line-height:1}
.pby{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px}
.pby__l,.pcard__k{color:var(--ink-2);font-size:12.5px;font-weight:800;line-height:1}
.pby__list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.pby__a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px 6px 7px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard-s);transition:transform var(--spring-snap),box-shadow var(--spring-snap)}
.pby__a b{font-size:16px;font-weight:900;line-height:1}
.pby__go{width:16px;height:16px}
@media(hover:hover){.pby__a:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--shadow)}.pby__a:hover b{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}}
.pby__a:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--shadow)}
.pby__logo{display:inline-grid;place-items:center;flex:none;height:28px;min-width:64px;padding:0 8px;border:1.5px dashed var(--c-ink-2);color:var(--c-ink-2);font-size:10px;font-weight:800;letter-spacing:.08em;line-height:1;text-transform:uppercase}
.author.pcard{grid-template-columns:auto minmax(0,1fr)}
.pcard .pcard__logo{height:56px;min-width:96px;font-size:11px;font-weight:800;color:var(--c-ink-2)}
.author .pcard__k{display:block;margin-bottom:5px;color:var(--c-ink-2);font-size:12.5px;font-weight:800}

/* ---------- WordPress ---------- */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.screen-reader-text:focus{background:#fff;clip:auto;clip-path:none;color:#111;display:block;height:auto;left:8px;padding:10px 14px;top:8px;width:auto;z-index:100000}
.alignleft{float:left;margin:0 1em 1em 0}
.alignright{float:right;margin:0 0 1em 1em}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}
.wp-caption-text,.gallery-caption{color:var(--ink-2);font-size:.875rem}
/* 页头固定在顶部 off (inc/setup.php): the header scrolls away with the page. Relative, not static, so the mega panels
   still open right under it. */
.noodou-nosticky .top{position:relative}
.wlogo--c{aspect-ratio:auto;width:auto}
.wlogo--c img{position:static;left:auto;top:auto;width:auto;height:100%}
/* Text-only cards (no featured image): the sticker sits inside the card instead of on the picture's edge. */
.tile__a>.tile__b:first-child>.shout:first-child{margin-top:14px}
.row:not(:has(.row__pic)){grid-template-columns:minmax(0,1fr)}
.duel .tile__a>.duel__b:first-child{padding-top:16px}
.duel .tile__a>.duel__b:first-child>.duel__k{margin-top:0}
/* Story circle without a picture: the white logo on black. */
.ring--logo{background:#111}
.ring--logo img{object-fit:contain;padding:14px 9px}
/* A section's chip after its title (Customizer). */
.sh>.tag,.board__h>.tag,.mod__t>.tag,.duel__k>.tag,.tip h2>.tag{background:var(--red-ink);color:#fff}
.board__f>.more:only-child{margin-left:auto}
/* A section's subtitle (Customizer) in the 热搜榜 and 我要爆料 headings, like .mod__t small. */
.board__h h2 small{display:block;margin-top:2px;font:700 12.5px/1.3 var(--f-b)}
.tip h2 small{margin-left:auto;color:var(--ink);font:700 12.5px/1.3 var(--f-b)}
/* Quick vote (newsroom/quick-vote.php): nre.js marks the reader's choice with aria-pressed and gives every button --pct
   once results show; these stand in for the kit poll's .is-voted / .is-chosen states. */
.vs:has([data-nre-choice][style*="--pct"]) [data-poll-opt]::before{transform:scaleX(calc(var(--pct,0%)/100%));width:100%}
.vs:has([data-nre-choice][style*="--pct"]) [data-poll-opt]{padding-top:13px}
.vs:has([data-nre-choice][style*="--pct"]) .vs__x,.vs:has([aria-pressed="true"]) .vs__x{opacity:0}
.vs:has([aria-pressed="true"]) [data-poll-opt],.vs:has([data-nre-choice][style*="--pct"]) [data-poll-opt]{cursor:default}
.vs [data-nre-choice][aria-pressed="true"]::after{content:attr(data-picked);position:absolute;top:0;left:0;padding:3px 6px;background:var(--yellow);color:#111;font:800 11px/1 var(--f-b)}
.vs__bar [data-nre-choice]:last-child[aria-pressed="true"]::after{left:auto;right:0}
.vs [data-nre-pct]:empty{display:none}
.vs__list{display:grid;gap:8px;margin-top:4px}
.vs__list [data-poll-opt]{display:flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;border:var(--bw) solid #111;background:#fff;color:#111;font-size:16px;font-weight:800;line-height:1.3;box-shadow:3px 3px 0 #111}
.vs__list .kit-poll-pct{margin-left:auto;font:900 21px/1 var(--f-d);font-synthesis:none}
/* The design's half-red first side belongs to the two-answer bar: a list starts empty until the results show. */
.vs--list:not(:has([style*="--pct"])) [data-poll-opt]:first-child::before{transform:scaleX(0)}
/* Mega panel (inc/menus.php): sub-categories under the name on the left; five posts when the menu item asks for 5. */
.mega__sub{display:grid;gap:6px;margin-top:6px;padding-top:12px;border-top:2px dotted var(--sep)}
.mega__sub a{font-size:14px;font-weight:800;line-height:1.35}
@media(hover:hover){.mega__sub a:hover{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}}
@media(min-width:1024px){.mega__list:has(>li:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}}
/* Drawer: child menu items under their parent, and posts without a picture. */
.dcats__sub{display:flex;flex-wrap:wrap;gap:4px 16px;padding:0 0 14px 46px;font-size:15px;font-weight:700}
.dcats__sub a{display:inline-flex;align-items:center;min-height:32px}
.dcats__sub a.is-on{color:var(--hot)}
.dcats__list a:not(:has(.pic)){grid-template-columns:minmax(0,1fr)}
/* 投票条 quick-vote strip (inc/strips.php, newsroom/quick-vote.php): one vote on the seam between two home bands. A
   ticket in the duel's language: the 站队-style sticker and the question on the card, the answers on a yellow half
   with the face-off bar (two answers) or the stacked list (three or four). On black, lines turn yellow. */
.seam{padding-block:36px 34px;border-top:var(--bw) solid var(--edge)}
.strip{display:grid;grid-template-columns:minmax(0,1fr);border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:5px 5px 0 var(--red)}
.strip__b{display:grid;align-content:start;justify-items:start;gap:10px;padding:0 14px 16px}
.strip__k{margin-top:-20px}
.strip__k b{display:inline-block;padding:4px 12px 5px;background:var(--line);color:var(--tab-ink);font-size:25px;line-height:1.1;transform:rotate(-2deg);box-shadow:3px 3px 0 var(--red)}
.strip__q{font:900 22px/1.32 var(--f-d);font-synthesis:none;text-wrap:balance}
.strip__src{display:flex;align-items:center;gap:12px;font-size:13.5px;font-weight:700;line-height:1.45}
.strip__src .pic{flex:none;width:80px;--ar:4/3;border:var(--bw) solid var(--line);box-shadow:var(--hard-s)}
.strip__src .clamp2{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:3px}
@media(hover:hover){.strip__src:hover .clamp2{text-decoration-thickness:2.5px}}
.strip__v{--c-ink:#111;--c-ink-2:#3d3413;--focus:#111;position:relative;isolation:isolate;display:grid;align-content:center;padding:16px 14px 14px;border-top:var(--bw) solid var(--line);background:var(--yellow);color:#111}
.strip__v::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle,rgba(17,17,17,.17) 1.6px,transparent 1.9px) 0 0/11px 11px;-webkit-mask-image:linear-gradient(250deg,transparent 35%,#000);mask-image:linear-gradient(250deg,transparent 35%,#000)}
.strip .vs__total{margin-top:9px}
@media(min-width:720px){
  .strip{grid-template-columns:minmax(0,1fr) minmax(0,46%)}
  .strip__b{display:flex;flex-direction:column;align-items:flex-start;padding:0 22px 20px 18px}
  .strip__q{margin-top:auto}
  .strip__b>:last-child{margin-bottom:auto}
  .strip__v{padding:18px 20px;border-top:0;border-left:var(--bw) solid var(--line)}
}
@media(min-width:1024px){
  .seam{padding-block:50px 52px}
  .strip{grid-template-columns:minmax(0,1fr) 540px}
  .strip__b{gap:12px;padding:0 32px 24px 22px}
  .strip__k{margin-top:-24px}
  .strip__k b{font-size:30px}
  .strip__q{font-size:30px;line-height:1.28}
  .strip__v{padding:22px 26px}
}
/* Article (single.php). The phone bar: icon cells sharing the width (the listen cell only prints with the Listen
   add-on), share highlighted, a dotted divider before save. Six cells fit 320px at 53px each. */
.dock>*{flex:1 1 0;min-width:0}
.dock>hr{flex:none;align-self:center;width:0;min-height:0;height:26px;margin:0;border:0;border-left:2px dotted rgba(255,255,255,.5)}
.dock>.dock__y{background:var(--yellow)}
.dock>.dock__y .i{color:#111}
/* The post's quick vote closes the body (single.php): no bottom margin, so the end card keeps the column gap. */
.prose>.duel:last-child{margin-bottom:0}
/* 懒人包 with quick answers only (no points). */
.tldr__b>.qa:first-child{margin-top:0;border-top:0}
/* Avatars from get_avatar() and partner logos from the media library, in the design's placeholder boxes. */
img.av{object-fit:cover}
.pby__logo:has(img){min-width:0;padding:0;border:0}
.pby__logo img{width:auto;max-width:120px;height:28px;object-fit:contain}
.pcard .pcard__logo img{max-width:140px;height:56px}
.author.pcard:not(:has(.pcard__logo)){grid-template-columns:minmax(0,1fr)}
.post-nav-links{display:flex;flex-wrap:wrap;gap:8px;font-weight:800}
.comments{margin-top:28px}
.comments .comment-list{display:grid;gap:16px;margin:14px 0 0;padding:0;list-style:none}
/* Story and page bodies (.prose) with real editor content: core's global styles are dequeued (inc/setup.php), so the
   theme styles links, lists, small headings, tables, figures and embeds here. Lists and headings are the editor's own
   (a block class or none), so the design's pieces in the body (站队's h3, the ad box) keep their look. The core
   Pullquote shares the design's .pull rules above. */
:where(.prose) a:not([class]):not(:where(.ad,.duel,.embeds) a){text-decoration:underline;text-decoration-color:var(--hot);text-decoration-thickness:2px;text-underline-offset:4px;font-weight:700}
:where(.prose) a:not([class]):not(:where(.ad,.duel,.embeds) a):is(:hover,:focus-visible){background:var(--yellow);color:#111;text-decoration-color:#111}
:where(.prose) :is(ul,ol):is(.wp-block-list,:not([class])){margin:0 0 1.2em;padding-left:1.5em;list-style:square}
:where(.prose) ol:is(.wp-block-list,:not([class])){list-style:decimal}
:where(.prose) :is(ul,ol):is(.wp-block-list,:not([class])) :is(ul,ol){margin:.35em 0 0}
:where(.prose) :is(ul,ol):is(.wp-block-list,:not([class]))>li+li{margin-top:.35em}
:where(.prose) :is(ul,ol):is(.wp-block-list,:not([class]))>li::marker{color:var(--hot);font-weight:800}
:where(.prose) :is(h3,h4):is(.wp-block-heading,:not([class])){margin:1.6em 0 .6em;font-size:1.12em;line-height:1.5;text-wrap:balance}
:where(.prose) h4:is(.wp-block-heading,:not([class])){font-size:1em}
:where(.prose) figure,:where(.prose)>.wp-block-group{margin:0 0 1.2em}
:where(.prose) figcaption{margin-top:8px;color:var(--ink-2);font-size:13.5px;font-weight:700;line-height:1.5}
/* Better Image Credits sets the credit bar's width in pixels when the page loads; keep it inside the column. */
.prose .credits-container,.prose .credits-overlay{max-width:100%}
/* NOODOU's divider (.ndborder) in story bodies and in its "follow us" ad: the old theme's custom CSS drew the bar and
   overrode its inline margins, the bottom one -70px, which otherwise pulls the next paragraph up over the text. */
.prose .ndborder{height:10px;margin:35px 0 45px!important;background:linear-gradient(to right,var(--yellow),var(--red))}
/* The old theme's video in place of the hero image (noodou_legacy_video()): the player at its own shape, upright
   videos centred on black and no taller than the screen allows. */
.hero__vid{background:#111;border-bottom:0}
.hero__vid iframe{display:block;width:min(100%,calc(min(80vh,640px)*var(--r,1.7778)));height:auto;aspect-ratio:var(--ar,16/9);margin-inline:auto;border:0}
:where(.prose) table{width:100%;margin:0 0 1.2em;border-collapse:collapse;font-size:.85em;line-height:1.6}
:where(.prose)>table{display:block;overflow-x:auto}
:where(.prose) .wp-block-table{overflow-x:auto}
:where(.prose) :is(th,td){padding:8px 10px;border:1.5px solid var(--line);text-align:start;vertical-align:top}
:where(.prose) th{background:var(--soft);font-weight:800}
.prose :is(iframe,video,embed,object){max-width:100%}
.prose video{height:auto}
/* Responsive embeds: core's embed styles keep the wrapper's ratio when the embed block prints them; these hold it when
   only the saved markup is there. */
:where(.prose .wp-has-aspect-ratio) iframe{width:100%;height:auto;aspect-ratio:16/9}
:where(.prose .wp-embed-aspect-21-9) iframe{aspect-ratio:21/9}
:where(.prose .wp-embed-aspect-18-9) iframe{aspect-ratio:2/1}
:where(.prose .wp-embed-aspect-4-3) iframe{aspect-ratio:4/3}
:where(.prose .wp-embed-aspect-1-1) iframe{aspect-ratio:1}
:where(.prose .wp-embed-aspect-9-16) iframe{aspect-ratio:9/16}
:where(.prose .wp-embed-aspect-1-2) iframe{aspect-ratio:1/2}
.prose .wp-block-pullquote{text-align:start}
/* Block layouts: the base rules core's global styles print for a classic theme (Row, Stack and Grid groups, columns);
   each block's own wp-container-* rule still prints. */
body .is-layout-flex{display:flex}
body .is-layout-grid{display:grid}
.is-layout-flex{flex-wrap:wrap;align-items:center}
.is-layout-flex>:is(*,div),.is-layout-grid>:is(*,div){margin:0}
:where(.is-layout-flex,.is-layout-grid){gap:.5em}
.is-layout-constrained>:where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width:var(--wp--style--global--content-size,720px);margin-inline:auto}
.is-layout-constrained>.alignwide{max-width:var(--wp--style--global--wide-size,1360px)}
/* Ad slots (inc/ads.php): a filled box keeps its reserved size but loses the dashed placeholder look. */
.ad.is-filled{border:0;background:none}
.ad__c{display:contents}
/* List pages (template-parts/list.php: archives, search, page 2 of the home), the page and the 404, from the article
   columns: the list beside the side column (.art--list), or one column (.art--one). The header ad spans both columns
   on desktop; the side column's last box sticks like the article's. The empty search's hot board stays in the column's
   flow: not pinned, no offset, its shadow layer still inside it. */
main>.art:first-child{padding-top:22px}
.col>.sh{flex-wrap:wrap;margin-bottom:0}
.col>.sh>.sh__t{max-width:100%}
.col>.sh>.sh__s{flex-basis:8em}
.empty-note{font-size:17px;font-weight:800;line-height:1.6}
/* Page links (the_posts_pagination) as the design's .btn; the current page yellow like a pressed one. */
.nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.nav-links .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:46px;padding:0 14px;border:var(--bw) solid var(--line);background:var(--card);color:var(--c-ink);box-shadow:var(--hard-s);font-weight:800;font-size:15px;line-height:1.2;white-space:nowrap;transition:transform var(--spring-snap)}
.nav-links .current{background:var(--yellow);color:#111}
.nav-links .dots{min-width:0;padding:0 2px;border-color:transparent;background:none;box-shadow:none}
@media(hover:hover){.nav-links a.page-numbers:hover{transform:translate(-1px,-1px);box-shadow:4px 4px 0 var(--shadow)}}
.nav-links a.page-numbers:active{transform:translate(2px,2px) scale(.97);box-shadow:1px 1px 0 var(--shadow)}
@media(min-width:1024px){
  main>.art:first-child{padding-top:28px}
  .art--list{grid-template-columns:minmax(0,720px) 300px}
  .art--list>.ad--top{grid-column:1/-1;width:728px;height:90px}
  .art--list>.aside>:last-child{position:sticky;top:154px}
  .art--one{grid-template-columns:minmax(0,720px)}
  .art-head--page{max-width:720px;padding-left:0}
  .col>.board{grid-area:auto;position:relative;top:auto}
}

/* AnyMind's bottom overlay ad: its creative can be 583px wide. The ad stays inside the screen; x only, so its close
   button above the creative still shows */
div.ats-overlay-bottom-wrapper-rendered{max-width:100vw!important;overflow-x:clip}

/* An empty ad slot prints nothing while 空广告位显示占位框 is off (production): its column closes up instead of
   leaving a blank 300px track. */
@media(min-width:1024px){
  .cat-a:not(:has(>.ad)),.duo:not(:has(.ad)){grid-template-columns:minmax(0,1fr)}
  .zones:not(:has(>.ad--top)){grid-template-areas:"board mid" "board rail"}
  .rail-col:not(:has(>.ad)){grid-template-columns:minmax(0,1fr)}
  .rail-col:not(:has(>.ad))>*{grid-column:1}
}
@media(min-width:1280px){
  .zones:not(:has(>.ad--top)){grid-template-areas:"board mid rail"}
}
