/* v6 (26 Oct): width variants (body.L-w1..w4) and timestamp formats (body.T-t1..t5). Every layout rule sits at 701px and up,
   so phones render as in design5; only the moment markup of T2 and the T3/T5 players differ on a phone. */

.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;}
a.chip.on{background:var(--blue);color:#fff;}

/* ---------- W2 (and every T page): 720px column, 20px text ---------- */
@media(min-width:701px){
  :is(.L-w2,.L-w3,.L-w4) .art{font-size:20px;}
  :is(.L-w2,.L-w3,.L-w4) .short p{font-size:20px;}
  :is(.L-w2,.L-w3,.L-w4) .q blockquote p{font-size:22px;}
  .L-w2 .col{max-width:calc(720px + 48px);}
}
@media(min-width:960px) and (max-width:1099px){.L-w2 .rel{margin-left:0;margin-right:0;}}

/* ---------- W3: 1040px layout; text stays at 700px, wide parts use the whole width ---------- */
@media(min-width:701px){
  .L-w3 .col{max-width:calc(1040px + 48px);}
  .L-w3 :is(.ahead,.abody,.aend,.keep)>*{max-width:700px;margin-left:auto;margin-right:auto;}
  .L-w3 :is(.ahead,.abody)>:is(.feat,.still,.co,.ncard,.audit,figure.q:not(.q-plain)),.L-w3 .aend>.keep,.L-w3 .keep>.rel{max-width:none;}
  .L-w3 .rel{margin-left:0;margin-right:0;}
  .L-w3 .feat figcaption,.L-w3 .still figcaption{max-width:700px;margin-left:auto;margin-right:auto;}
  .L-w3 .ahead .feat{margin-top:32px;}
  .L-w3 .abody>.still{margin:40px auto;}
  .L-w3 .abody>.still-tall{max-width:880px;}
  /* quote with a face: a display quote across the wide column, still about 70 characters a line */
  .L-w3 .abody>figure.q:not(.q-plain){grid-template-columns:88px minmax(0,1fr);column-gap:28px;margin:48px auto;}
  .L-w3 .abody>figure.q:not(.q-plain) .q-face{width:88px;height:88px;}
  .L-w3 .abody>figure.q:not(.q-plain) blockquote p{font-size:28px;line-height:1.38;letter-spacing:-.012em;}
  .L-w3 .abody>figure.q:not(.q-plain) figcaption{font-size:16px;}
  /* callouts: title on the left, text on the right */
  .L-w3 .abody>.co{grid-template-columns:24px 250px minmax(0,1fr);column-gap:22px;padding:22px 30px 23px 26px;font-size:18px;}
  .L-w3 .abody>.co>svg{width:24px;height:24px;grid-row:1;}
  .L-w3 .abody>.co>div{display:contents;}
  .L-w3 .abody>.co .co-h{grid-column:2;grid-row:1;margin:0;font-size:19px;line-height:1.4;}
  .L-w3 .abody>.co .co-t{grid-column:3;grid-row:1;}
  /* newsletter card: pitch left, form right */
  .L-w3 .abody>.ncard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-areas:"k f" "h f" "p f" ". n";column-gap:44px;padding:30px 34px 26px;}
  .L-w3 .ncard>.kicker{grid-area:k;}
  .L-w3 .ncard>h3{grid-area:h;}
  .L-w3 .ncard>p:not(.kicker):not(.fine){grid-area:p;}
  .L-w3 .ncard>.nform2{grid-area:f;margin-top:4px;align-self:center;}
  .L-w3 .ncard>.fine{grid-area:n;}
  /* the audit: two columns of checks */
  .L-w3 .abody>.audit{padding:30px 36px 14px;}
  .L-w3 .audit>p{max-width:700px;}
  .L-w3 .audit ol{columns:2;column-gap:48px;margin-top:6px;}
  .L-w3 .audit li{break-inside:avoid;}
}

/* ---------- W4: 680px text plus a right margin for moment notes and captions (1280px and up) ---------- */
.L-w4 .mn-t{display:none;}
@media(min-width:701px){.L-w4 .col{max-width:calc(680px + 48px);}}
@media(max-width:1279px){.L-w4 .still{display:flex;flex-direction:column;}.L-w4 .still figcaption{order:2;}}
@media(min-width:1280px){
  .L-w4 .col{max-width:calc(1000px + 48px);}
  .L-w4 :is(.ahead,.abody,.aend,.keep)>*{max-width:680px;}
  .L-w4 .aend>.keep,.L-w4 .keep>.rel{max-width:none;}
  .L-w4 .rel{margin-left:0;margin-right:0;}
  .L-w4 .abody{display:flow-root;}
  .L-w4 .mnote{float:right;clear:right;width:280px;margin:3px -320px 18px 0;font-size:14px;line-height:1.45;color:var(--muted);}
  .L-w4 .mnote .chip{vertical-align:0;}
  .L-w4 .mn-t{display:block;margin-top:7px;padding-left:2px;font-weight:600;
    display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
  .L-w4 .still figcaption{float:right;clear:right;width:280px;margin:2px -320px 18px 0;font-size:14px;}
  .L-w4 .feat{position:relative;}
  .L-w4 .feat figcaption{position:absolute;left:calc(100% + 40px);top:2px;width:280px;margin:0;font-size:14px;}
  .L-w4 .still{margin:30px 0;}
}

/* ---------- T2: the quoted words are the link; hover shows a poster tooltip ---------- */
a.mo{color:inherit;text-decoration:underline;text-decoration-color:rgba(37,99,235,.38);text-decoration-thickness:2px;text-underline-offset:5px;
  border-radius:3px;transition:color .15s,text-decoration-color .15s,background-color .15s;-webkit-box-decoration-break:clone;box-decoration-break:clone;}
a.mo:hover,a.mo:focus-visible{color:var(--blue);text-decoration-color:currentColor;background-color:rgba(37,99,235,.07);}
.mo-e{white-space:nowrap;}
.mo-i{display:inline-block;width:.6em;height:.6em;margin-left:.3em;vertical-align:.06em;fill:var(--blue);}
.q blockquote a.mo{text-decoration-thickness:2px;text-underline-offset:6px;}
.mtip{position:fixed;left:0;top:0;z-index:70;width:228px;padding:6px 6px 9px;background:var(--ink);color:#fff;border-radius:12px;
  box-shadow:0 22px 44px -18px rgba(11,18,51,.65);pointer-events:none;opacity:0;visibility:hidden;transition:opacity .14s,visibility 0s linear .14s;}
.mtip.on{opacity:1;visibility:visible;transition:opacity .14s,visibility 0s;}
.mtip img{width:216px;height:122px;border-radius:8px;object-fit:cover;background:#1B2550;}
.mtip p{margin:7px 5px 0;font-size:13px;line-height:1.35;color:#C9D3EA;}
.mtip .mt-t{color:#fff;font-weight:800;font-variant-numeric:tabular-nums;}
.mtip .mt-v{margin-top:2px;color:#fff;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.mtip::after{content:"";position:absolute;left:var(--ax,50%);bottom:-6px;width:12px;height:12px;margin-left:-6px;background:var(--ink);transform:rotate(45deg);border-radius:2px;}
.mtip.below::after{bottom:auto;top:-6px;}
@media(prefers-reduced-motion:reduce){a.mo,.mtip{transition:none;}}

/* ---------- T3: the player opens under its paragraph ---------- */
.T-t3{overflow-anchor:none;}
.xp{height:0;overflow:hidden;transition:height .34s cubic-bezier(.2,.7,.2,1);}
.xp-in{padding:4px 0 28px;}
.xp-f{aspect-ratio:16/9;background:var(--ink);border-radius:12px;overflow:hidden;}
.xp-f iframe{display:block;width:100%;height:100%;border:0;}
.xp-c{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:10px;font-size:15px;line-height:1.45;color:var(--muted);}
.abody .xp-c p,.xp-c p{margin:0;flex:1 1 260px;min-width:0;}
.xp-c b{color:var(--ink);font-weight:700;}
.xp-c a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;font-weight:700;}
.xp-x{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font:700 14px var(--font);cursor:pointer;}
.xp-x:hover{border-color:var(--ink);}
.T-t3 a.chip[aria-expanded="true"] svg{transform:rotate(90deg);}
.T-t3 a.chip svg{transition:transform .2s;}
.abody li>.xp .xp-in{padding-bottom:10px;}
.vchips+.xp .xp-in{padding:10px 0 4px;}
@media(prefers-reduced-motion:reduce){.xp,.T-t3 a.chip svg{transition:none;}}

/* ---------- T4: poster markers in the right margin (1280px and up); chips below that ---------- */
.mm img,.mm .mm-d,.mm-fig{display:none;}
.mm-i{display:inline-flex;align-items:center;gap:5px;}
@media(min-width:1280px){
  .T-t4 .col{max-width:calc(984px + 48px);}
  .T-t4 :is(.ahead,.abody,.aend,.keep)>*{max-width:720px;}
  .T-t4 .aend>.keep,.T-t4 .keep>.rel{max-width:none;}
  .T-t4 .rel{margin-left:0;margin-right:0;}
  .T-t4 .abody{display:flow-root;}
  .T-t4 figure.q .q-src .chip{display:none;}
  .T-t4 a.mm{float:right;clear:right;display:block;width:220px;margin:4px -264px 18px 0;padding:0;border-radius:10px;background:none;color:var(--ink);
    font:inherit;white-space:normal;text-decoration:none;}
  .T-t4 a.mm-fig{display:block;margin-top:34px;margin-right:0;}   /* a direct child of .abody: its box is the full 984px row, so no negative margin */
  .T-t4 a.mm img{display:block;width:220px;height:124px;border-radius:10px;border:1px solid var(--line);transition:transform .15s,box-shadow .15s;}
  .T-t4 a.mm .mm-i{position:absolute;margin:-34px 0 0 8px;padding:4px 9px 4px 7px;border-radius:999px;background:rgba(11,18,51,.86);color:#fff;font:800 13px/1 var(--font);font-variant-numeric:tabular-nums;}
  .T-t4 a.mm .mm-i svg{width:9px;height:9px;fill:currentColor;}
  .T-t4 a.mm .mm-d{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;font-size:13px;line-height:1.4;font-weight:600;color:var(--muted);}
  .T-t4 a.mm:hover img,.T-t4 a.mm:focus-visible img{box-shadow:0 0 0 3px var(--blue);}
  .T-t4 a.mm:hover .mm-i{background:var(--blue);}
  .T-t4 a.mm:hover .mm-d{color:var(--ink);}
}

/* ---------- T5: mini player docked bottom right ---------- */
.T-t5 .rel{margin-left:0;margin-right:0;}
.dock{position:fixed;right:16px;bottom:16px;z-index:80;padding:10px 10px 11px;background:var(--ink);color:#fff;border-radius:14px;
  box-shadow:0 28px 60px -22px rgba(11,18,51,.7);opacity:0;transform:translateY(14px);transition:opacity .2s,transform .2s;font-family:var(--font);}
.dock[hidden]{display:none;}
.dock.in{opacity:1;transform:none;}
.dk-h{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 2px 9px 4px;}
.dk-h p{margin:0;min-width:0;}
.dk-h b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.3;}
.dk-h span{display:block;margin-top:2px;font-size:12.5px;color:#C9D3EA;font-variant-numeric:tabular-nums;}
.dk-x{flex-shrink:0;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1.5px solid rgba(255,255,255,.6);background:transparent;color:#fff;cursor:pointer;}
.dk-x svg{width:11px;height:11px;stroke:currentColor;stroke-width:2;}
.dk-x:hover{background:#fff;color:var(--ink);}
.dk-f{aspect-ratio:16/9;background:#000;border-radius:8px;overflow:hidden;}
.dk-f iframe{display:block;width:100%;height:100%;border:0;}
.dk-y{display:inline-block;margin:8px 4px 0;font-size:12.5px;color:#C9D3EA;text-decoration:underline;text-underline-offset:3px;}
.dk-y:hover{color:#fff;}
@media(prefers-reduced-motion:reduce){.dock{transition:none;}}
