/* Phase 2 of the red-team fixes (D-030): newsletter button in the header and phone menu, LINE next to newsletter forms,
   the flagship slot and series label on the content menus. Colours come from the accepted tokens only. */
.tools .sub-btn{display:inline-flex;align-items:center;height:40px;padding:0 16px;margin-right:6px;border:1px solid currentColor;font:600 15px/1 var(--th);white-space:nowrap;transition:box-shadow .25s,border-color .25s}
.tools .sub-btn:hover,.tools .sub-btn[aria-current]{border-color:var(--red);box-shadow:inset 0 -3px 0 var(--red)}
@media (max-width:1240px){.tools .sub-btn{margin-right:2px}}
@media (max-width:600px){.tools .sub-btn{display:none}}
.drawer-sub{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:32px;min-height:60px;padding:0 22px;background:var(--red);color:#fff;font-size:19px;font-weight:700}
.drawer-sub:hover{background:#D3211A}

.nl-wrap{min-width:0}
.nl-wrap .line-or{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:22px;font-size:16px;line-height:1.5;color:inherit}
.nl-wrap .line-or>span{font-weight:500}
.line-add{appearance:none;background:transparent;color:inherit;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border:1px solid currentColor;font-size:16px;font-weight:600;white-space:nowrap}
.line-add::before{content:"";width:10px;height:10px;border-radius:50%;background:#06C755;flex:none}
.line-add:hover{border-color:#06C755;box-shadow:inset 0 -3px 0 #06C755}

.mflag{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:56px;align-items:center;padding:110px var(--gut) 0}
.mflag-im{display:block;aspect-ratio:16/9;overflow:hidden;background:var(--bg2)}
.mflag-im img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.mflag-im:hover img{transform:scale(1.03)}
.mflag-ey{display:flex;align-items:center;gap:12px;font-size:15px;font-weight:700;color:var(--link)}
.mflag-ey::before{content:"";width:32px;height:2px;background:var(--red);flex:none}
.mflag h2{margin-top:16px;font-size:clamp(30px,3.4vw,50px);line-height:1.32;font-weight:600;text-wrap:balance}
.mflag-line{margin-top:14px;font-size:20px;line-height:1.6;color:var(--ink)}
.mflag-meta{margin-top:10px;font-size:16px;color:var(--ink)}
.mflag .mflag-go{margin-top:28px;gap:12px}
.mflag-n{margin-top:16px;font-size:15px;line-height:1.5;color:var(--ink)}
@media (max-width:1100px){.mflag{grid-template-columns:minmax(0,1fr);gap:28px}}
@media (max-width:768px){.mflag{padding:72px var(--gut) 0}.mflag-line{font-size:18px}.mflag .mflag-go{width:100%}}

.sr-tag{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:var(--link);white-space:nowrap}
.sr-tag::before{content:"";width:7px;height:7px;background:var(--red);transform:rotate(45deg);flex:none}

.acc-mem{white-space:normal}
/* Day and night (owner, 17 Nov 2026): the button fades the whole page over 1.5 s through a short dusk, like the time of day
   changing (site.js and proto.js add html.vt-theme; here because every page loads p2.css). The old page stays whole and warms toward dusk while the new one fades in over it. */
@keyframes omf-dusk-out{from{filter:none}to{filter:sepia(.3) saturate(1.15) brightness(.88)}}
@keyframes omf-dusk-in{from{opacity:0;filter:sepia(.3) saturate(1.15) brightness(.88)}to{opacity:1;filter:none}}
html.vt-theme::view-transition-group(*),html.vt-theme::view-transition-group(site-top),html.vt-theme::view-transition-group(site-dock){animation-duration:1.5s;animation-timing-function:cubic-bezier(.45,0,.55,1)}
html.vt-theme::view-transition-old(root){animation:omf-dusk-out 1.5s cubic-bezier(.45,0,.55,1) both;mix-blend-mode:normal}
html.vt-theme::view-transition-new(root){animation:omf-dusk-in 1.5s cubic-bezier(.45,0,.55,1) both;mix-blend-mode:normal}
/* browsers without view transitions: the colours themselves ease over the same 1.5 s */
html.theme-fade,html.theme-fade *,html.theme-fade *::before,html.theme-fade *::after{transition:background-color 1.5s cubic-bezier(.45,0,.55,1),color 1.5s cubic-bezier(.45,0,.55,1),border-color 1.5s cubic-bezier(.45,0,.55,1),fill 1.5s cubic-bezier(.45,0,.55,1),stroke 1.5s cubic-bezier(.45,0,.55,1)!important}
@media (prefers-reduced-motion:reduce){html.vt-theme::view-transition-old(root),html.vt-theme::view-transition-new(root){animation:none!important}}
