:root{
  --nw-ink:#0f172a;
  --nw-ink-2:#111827;
  --nw-muted:#475569;
  --nw-muted-2:#64748b;
  --nw-border:#e2e8f0;
  --nw-bg:#ffffff;
  --nw-surface:#f8fafc;
  --nw-surface-2:#f1f5f9;
  --nw-accent:#dc2626;
  --nw-focus:#2563eb;
  --nw-shadow:0 10px 25px rgba(2,6,23,.08);
  --nw-shadow-sm:0 6px 16px rgba(2,6,23,.08);
  --nw-radius:16px;
  --nw-radius-sm:12px;
  --nw-max:1200px;
  --nw-reading:var(--nw-max);
  --nw-font-body:"Lora",Georgia,"Times New Roman",Times,serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  --nw-font-title:"Playfair Display",Georgia,"Times New Roman",Times,serif;
}

/* Minimal utilities formerly provided by Tailwind CDN */
.my-6{margin-top:1.5rem;margin-bottom:1.5rem}
.mt-4{margin-top:1rem}
.items-center{align-items:center}
.text-slate-600{color:#475569}
.hover\:text-slate-900:hover{color:#0f172a}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--nw-font-body);
  color:var(--nw-ink-2);
  background:var(--nw-bg);
  line-height:1.5;
  text-rendering:optimizeLegibility;
}

img{max-width:100%;height:auto}
a{color:inherit}

.nw-skip{
  position:absolute;
  left:-999px;
  top:12px;
  z-index:1000;
  padding:10px 12px;
  background:var(--nw-bg);
  border:1px solid var(--nw-border);
  border-radius:10px;
  box-shadow:var(--nw-shadow-sm);
}
.nw-skip:focus{left:12px;outline:2px solid var(--nw-focus);outline-offset:2px}

.nw-site-header{position:fixed;top:0;left:0;right:0;z-index:200}
.nw-nav{
  position:relative;
  z-index:200;
  background:rgba(255,255,255,.78);
  border-bottom:1px solid rgba(226,232,240,.75);
  backdrop-filter:saturate(140%) blur(12px);
}
body{padding-top:64px}
.nw-nav[data-scrolled="true"]{background:rgba(255,255,255,.9)}
.nw-nav-inner{height:64px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.nw-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}
.nw-nav-logo{height:28px;width:auto;max-width:120px;max-height:28px;flex-shrink:0;display:block;object-fit:contain;object-position:left center}
.nw-nav-logo[hidden]{display:none}
.nw-nav-menus{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:1 1 auto;
  min-width:0;
  gap:0.15rem;
  height:100%;
}
.nw-nav-menus.nw-nav-menus--pending{visibility:hidden}
.nw-nav-links{
  display:flex;
  align-items:center;
  flex:0 1 auto;
  width:max-content;
  max-width:100%;
  flex-wrap:nowrap;
  gap:14px;
  min-width:0;
  overflow:hidden;
  height:100%;
}
.nw-nav-links.is-measuring{overflow:visible}
.nw-nav-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  height:44px;
  padding:0 10px;
  border-radius:12px;
  color:var(--nw-ink);
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  white-space:nowrap;
  max-width:none;
  transition:background .15s ease, transform .15s ease;
}
.nw-nav-overflow-link.is-overflow{display:none !important}
.nw-nav-link:hover{background:rgba(2,6,23,.04);transform:translateY(-1px)}
.nw-nav-link[aria-current="page"]::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background:var(--nw-accent);
}
.nw-nav-more{
  position:relative;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  height:100%;
}
.nw-nav-more[hidden]{display:none !important}
.nw-nav-more-btn{
  display:inline-flex;
  align-items:center;
  gap:0.4rem;
  height:44px;
  padding:0 10px;
  border:0;
  border-radius:12px;
  background:transparent;
  font-size:14px;
  font-weight:650;
  line-height:1.25;
  white-space:nowrap;
  color:var(--nw-ink);
  cursor:pointer;
  transition:background .15s ease, color .15s ease;
}
.nw-nav-more-btn i{font-size:0.65rem;transition:transform .2s ease}
.nw-nav-more.is-open .nw-nav-more-btn,
.nw-nav-more-btn:hover,
.nw-nav-more-btn:focus-visible{background:rgba(2,6,23,.04);color:var(--nw-ink)}
.nw-nav-more.has-active .nw-nav-more-btn{color:var(--nw-accent)}
.nw-nav-more.is-open .nw-nav-more-btn i{transform:rotate(180deg)}
.nw-nav-more-panel{
  position:absolute;
  top:calc(100% - 0.35rem);
  right:0;
  z-index:70;
  min-width:12rem;
  max-width:min(18rem,70vw);
  max-height:min(60vh,22rem);
  overflow-y:auto;
  padding:0.4rem;
  border-radius:16px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.98);
  box-shadow:0 24px 60px rgba(2,6,23,.14);
}
.nw-nav-more-panel[hidden]{display:none !important}
.nw-nav-more-panel .nav-menu-item{
  display:block;
  width:100%;
  padding:0.65rem 0.85rem;
  border-radius:12px;
  font-size:14px;
  font-weight:650;
  line-height:1.3;
  color:var(--nw-ink);
  text-decoration:none;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  transition:background .15s ease, color .15s ease;
}
.nw-nav-more-panel .nav-menu-item:hover,
.nw-nav-more-panel .nav-menu-item:focus-visible{background:rgba(220,38,38,.08);color:var(--nw-accent)}
.nw-nav-more-panel .nav-menu-item[aria-current="page"],
.nw-nav-more-panel .nav-menu-item.active{background:rgba(220,38,38,.1);color:var(--nw-accent)}
.nw-nav-btn{background:transparent;border:0;cursor:pointer}
.nw-nav-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.nw-icon-btn{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.9);
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nw-icon-btn:hover{transform:translateY(-1px);box-shadow:var(--nw-shadow-sm)}
.nw-icon-btn:focus-visible{outline:2px solid var(--nw-focus);outline-offset:2px}
.nw-nav-mobile{display:none}

.nw-nav-group{position:relative}
.nw-mega{
  position:absolute;
  top:54px;
  left:0;
  min-width:420px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(226,232,240,.9);
  border-radius:16px;
  box-shadow:0 24px 60px rgba(2,6,23,.14);
  padding:12px;
  display:none;
}
.nw-mega[data-open="true"]{display:block}
.nw-mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.nw-mega-item{
  display:flex;
  align-items:center;
  justify-content:center;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(226,232,240,.9);
  text-decoration:none;
  font-weight:650;
  color:var(--nw-ink);
  background:rgba(2,6,23,.02);
}
.nw-mega-item:hover{background:rgba(220,38,38,.08);border-color:rgba(220,38,38,.25)}
.nw-mega-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid rgba(226,232,240,.75)}
.nw-mega-foot-link{font-size:13px;color:var(--nw-muted);text-decoration:none}
.nw-mega-foot-link:hover{text-decoration:underline}

.nw-sheet-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.nw-sheet-content{display:grid;gap:10px;margin-top:10px}
.nw-sheet-link{
  display:flex;
  align-items:center;
  justify-content:center;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(226,232,240,.9);
  text-decoration:none;
  font-weight:700;
  color:var(--nw-ink);
  background:rgba(2,6,23,.02);
}
.nw-sheet-link:focus-visible{outline:2px solid var(--nw-focus);outline-offset:2px}
.nw-search{display:grid;gap:10px;margin-top:10px}

.nw-footer{margin-top:36px;border-top:1px solid var(--nw-border);background:var(--nw-bg)}
.nw-footer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:24px 0}
.nw-footer-title{font-family:var(--nw-font-title);font-size:18px;margin:0 0 10px;color:var(--nw-ink)}
.nw-footer-text{margin:0;color:var(--nw-muted);font-size:14px;line-height:1.7}
.nw-footer-links{display:grid;gap:10px}
.nw-footer-links a{font-size:14px;color:var(--nw-muted);text-decoration:none}
.nw-footer-links a:hover{text-decoration:underline}
.nw-footer-acc{display:none;width:100%;align-items:center;justify-content:space-between;height:44px;border:1px solid rgba(226,232,240,.9);background:rgba(2,6,23,.02);border-radius:14px;padding:0 12px;font-weight:750;color:var(--nw-ink);cursor:pointer}
.nw-footer-social{display:flex;flex-wrap:wrap;gap:10px;padding:0 0 18px}
.nw-icon-link{width:44px;height:44px;border-radius:14px;border:1px solid rgba(226,232,240,.9);display:inline-flex;align-items:center;justify-content:center;color:var(--nw-ink);text-decoration:none;background:rgba(2,6,23,.02)}
.nw-icon-link:hover{box-shadow:var(--nw-shadow-sm);transform:translateY(-1px)}
.nw-footer-bottom{background:#020617;color:#cbd5e1}
.nw-footer-bottom-inner{height:56px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.nw-footer-copy{margin:0;font-size:13px}
.nw-footer-print{color:#cbd5e1;text-decoration:none;font-size:13px}
.nw-footer-print:hover{text-decoration:underline}
.nw-backtop{position:fixed;right:16px;bottom:16px;z-index:90;display:none;width:48px;height:48px;border-radius:16px;border:1px solid rgba(226,232,240,.85);background:rgba(255,255,255,.92);cursor:pointer;box-shadow:0 12px 30px rgba(2,6,23,.14)}
.nw-backtop:focus-visible{outline:2px solid var(--nw-focus);outline-offset:2px}

.nw-newsletter{display:grid;gap:10px}
.nw-news-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--nw-muted)}
.nw-news-consent input{margin-top:3px}

.nw-consent{position:fixed;left:12px;right:12px;bottom:12px;z-index:110;max-width:980px;margin:0 auto;background:rgba(255,255,255,.94);border:1px solid rgba(226,232,240,.9);border-radius:18px;box-shadow:0 30px 70px rgba(2,6,23,.18);backdrop-filter:saturate(140%) blur(12px)}
.nw-consent-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 14px 14px 14px}
.nw-consent-text{margin:0;color:var(--nw-muted);font-size:14px;line-height:1.6}
.nw-consent-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.nw-consent-modal{position:fixed;inset:0;z-index:130;background:rgba(2,6,23,.62);display:flex;align-items:center;justify-content:center;padding:18px}
.nw-consent-card{width:min(560px,94vw);background:var(--nw-bg);border-radius:18px;border:1px solid rgba(226,232,240,.9);box-shadow:0 30px 70px rgba(2,6,23,.25);padding:14px}
.nw-consent-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nw-toggle{display:flex;gap:10px;align-items:flex-start;margin:10px 0;font-size:14px;color:var(--nw-ink)}
.nw-toggle input{margin-top:3px}

.nw-card-list .nw-cover{aspect-ratio:auto;height:100%}
.nw-list-row{display:grid;grid-template-columns:240px minmax(0,1fr)}
.nw-card-list .nw-card-body{padding:16px}

@media (max-width:1023px){
  .nw-nav-menus{display:none}
  .nw-nav-mobile{display:inline-flex}
  .nw-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nw-highlight-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .nw-footer-grid{grid-template-columns:minmax(0,1fr)}
  .nw-footer-acc{display:flex}
  .nw-footer-links{display:none}
  .nw-footer-col[data-open="true"] .nw-footer-links{display:grid;padding:10px 4px 2px}
  .nw-consent-inner{flex-direction:column}
  .nw-list-row{grid-template-columns:minmax(0,1fr)}
  .nw-highlight-row{display:flex;gap:12px;overflow:auto;padding-bottom:6px}
  .nw-highlight-row > article{min-width:260px}
  .nw-cat-controls{display:none!important}
  .nw-cat-filterbtn{display:inline-flex}
  .nw-home-search{display:none}
}

.nw-container{max-width:var(--nw-max);margin:0 auto;padding:0 16px}
body[data-page="home"] #main.nw-container{padding-top:24px}
.nw-reading{max-width:var(--nw-reading);margin:0 auto}

/* Shared PAGE_HERO / tags hero (common/index_hero_0001, tags_hero_0001) */
.index-hero,
.tags-hero{
  margin:12px 0 0;
}
.index-hero h1,
.tags-hero h1{
  font-family:var(--nw-font-title);
  font-size:clamp(26px,5.5vw,36px);
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.02em;
  margin:0;
  color:var(--nw-ink);
}
.index-hero-content,
.tags-hero-content{
  margin-top:8px;
  color:var(--nw-muted);
  line-height:1.5;
}
.index-hero-content:empty,
.tags-hero-content:empty{display:none}

/* Static / legal pages: collapse stacked hero + common-template paddings */
.nw-legal{padding-top:20px;padding-bottom:20px}
.nw-legal .policy-content{
  padding-top:0.5rem !important;
  padding-bottom:1rem !important;
}
.nw-legal .policy-content > p:first-of-type{
  margin-bottom:0.75rem !important;
}
.nw-legal .news-terms-notice,
.nw-legal .news-disclaimer-notice,
.nw-legal .news-contact-notice,
.nw-legal .news-about-notice,
.nw-legal .editorial-notice,
.nw-legal .response-time{
  margin-top:0;
}

.nw-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border:1px solid var(--nw-border);
  background:var(--nw-bg);
  border-radius:999px;
  font-size:14px;
  color:var(--nw-muted);
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nw-pill:hover{transform:translateY(-1px);box-shadow:var(--nw-shadow-sm)}
.nw-pill:focus-visible{outline:2px solid var(--nw-focus);outline-offset:2px}

.nw-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:44px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid var(--nw-border);
  background:var(--nw-bg);
  color:var(--nw-ink-2);
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration:none;
}
.nw-btn:hover{transform:translateY(-1px);box-shadow:var(--nw-shadow-sm)}
.nw-btn:focus-visible{outline:2px solid var(--nw-focus);outline-offset:2px}
.nw-btn-primary{border-color:transparent;background:var(--nw-ink);color:#fff}
.nw-btn-primary:hover{box-shadow:0 10px 25px rgba(15,23,42,.22)}
.nw-btn-danger{border-color:transparent;background:var(--nw-accent);color:#fff}
.nw-btn-danger:hover{box-shadow:0 10px 25px rgba(220,38,38,.22)}
.nw-btn-ghost{background:transparent}
.nw-btn[disabled]{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}

.nw-input{
  width:100%;
  height:52px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid var(--nw-border);
  background:var(--nw-bg);
  font-size:16px;
  color:var(--nw-ink-2);
}
.nw-input:focus{outline:2px solid var(--nw-focus);outline-offset:2px}
.nw-textarea{
  width:100%;
  min-height:140px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--nw-border);
  background:var(--nw-bg);
  font-size:16px;
  color:var(--nw-ink-2);
  resize:vertical;
}
.nw-textarea:focus{outline:2px solid var(--nw-focus);outline-offset:2px}

.nw-card{
  border:1px solid var(--nw-border);
  background:var(--nw-bg);
  border-radius:var(--nw-radius);
  overflow:hidden;
  box-shadow:0 1px 0 rgba(2,6,23,.03);
  transition:transform .15s ease, box-shadow .15s ease;
}
.nw-card:hover{transform:translateY(-2px);box-shadow:var(--nw-shadow)}
.nw-card:focus-within{outline:2px solid var(--nw-focus);outline-offset:2px}

.nw-badge{
  display:inline-flex;
  align-items:center;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.02em;
  font-weight:700;
  border:1px solid var(--nw-border);
  background:rgba(15,23,42,.04);
  color:var(--nw-ink);
  text-decoration:none;
}
.nw-badge-breaking{border-color:rgba(220,38,38,.25);background:rgba(220,38,38,.08);color:var(--nw-accent)}
.nw-badge-accent{border-color:rgba(220,38,38,.25);background:rgba(220,38,38,.08);color:var(--nw-accent)}

.nw-h1{font-family:var(--nw-font-title);font-size:40px;line-height:1.15;margin:0;color:var(--nw-ink)}
.nw-h2{font-family:var(--nw-font-title);font-size:28px;line-height:1.2;margin:0;color:var(--nw-ink)}
.nw-h3{font-family:var(--nw-font-title);font-size:20px;line-height:1.25;margin:0;color:var(--nw-ink);
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
.nw-muted{
  color:var(--nw-muted);
  /* 超过三行显示省略号 */
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
}
.nw-muted-2{color:var(--nw-muted-2)}

.nw-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
}
.nw-layout.with-aside{grid-template-columns:minmax(0,1fr) 320px}

.nw-section{padding:28px 0}
.nw-section.tight{padding:16px 0}
.nw-divider{height:1px;background:var(--nw-border)}

.nw-grid{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:16px}
.nw-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.nw-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}

.nw-hero{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  gap:16px;
  align-items:stretch;
}
.nw-hero-side{display:grid;grid-template-rows:1fr 1fr;gap:16px}

.nw-cover{
  position:relative;
  aspect-ratio:16/9;
  background:var(--nw-surface-2);
  overflow:hidden;
}
.nw-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform .25s ease;
}
.nw-blur{filter:blur(14px);transform:scale(1.02)}
.nw-blur.is-loaded{filter:none;transform:scale(1)}
.nw-card:hover .nw-cover img{transform:scale(1.05)}

.nw-card-body{padding:14px 14px 16px}
.nw-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;color:var(--nw-muted-2)}
.nw-meta a{text-decoration:none}
.nw-meta a:hover{text-decoration:underline}

.nw-link{color:var(--nw-ink);text-decoration:underline;text-decoration-color:rgba(220,38,38,.25);text-underline-offset:4px}
.nw-link:hover{text-decoration-color:rgba(220,38,38,.6)}

.nw-ad{
  border:1px dashed rgba(100,116,139,.65);
  background:linear-gradient(180deg,rgba(2,6,23,.02),rgba(2,6,23,.00));
  border-radius:16px;
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--nw-muted);
  font-size:13px;
}
.nw-ad[data-size="sidebar"]{min-height:600px}

.nw-highlight-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:12px}
.nw-pager-nums{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}

.nw-pagehead{padding:18px 0 10px}
.nw-breadcrumb{font-size:13px;color:var(--nw-muted-2)}
.nw-breadcrumb a{color:var(--nw-muted-2);text-decoration:none}
.nw-breadcrumb a:hover{text-decoration:underline}

.nw-toolbar{
  position:sticky;
  top:64px;
  z-index:40;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.9);
  border-radius:18px;
  padding:10px;
  backdrop-filter:saturate(140%) blur(10px);
}
.nw-toolbar-inner{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}

.nw-cat-head{
  position:sticky;
  top:64px;
  z-index:40;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(226,232,240,.9);
  border-radius:18px;
  padding:14px 16px;
  backdrop-filter:saturate(140%) blur(10px);
}
.nw-cat-head__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 20px;
  flex-wrap:wrap;
}

.nw-cat-head__tools{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1 1 280px;
  min-width:0;
  max-width:100%;
}
.nw-cat-search{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1 1 auto;
  min-width:0;
}
.nw-cat-search .nw-input{
  flex:1 1 auto;
  min-width:0;
  width:auto;
  height:44px;
  font-size:15px;
}
.nw-cat-search .nw-btn{
  flex:0 0 auto;
  height:44px;
  white-space:nowrap;
}
.nw-cat-head__tip{
  margin:10px 2px 0;
  font-size:13px;
}
.nw-select{height:44px;border-radius:14px;border:1px solid rgba(226,232,240,.9);padding:0 12px;background:var(--nw-bg);font-weight:650;color:var(--nw-ink)}
.nw-view{display:flex;gap:8px;align-items:center}
.nw-view button{height:44px}

.nw-cat-filterbtn{display:none}

.nw-aside-card{border:1px solid rgba(226,232,240,.9);border-radius:18px;padding:14px;background:var(--nw-bg)}
.nw-aside-title{font-family:var(--nw-font-title);font-size:18px;margin:0 0 10px;color:var(--nw-ink)}
.nw-tag-cloud{display:flex;flex-wrap:wrap;gap:10px}

.nw-sharebar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.nw-sharebar a,.nw-sharebar button{height:44px}
.nw-detail-header .nw-detail-title{margin:10px 0 10px}
.nw-detail-lead{font-size:18px;line-height:1.7;margin:0 0 12px;-webkit-line-clamp:4}
.nw-detail-meta{margin-top:10px}
.nw-detail-share{margin-top:14px}
.nw-detail-share{position:sticky;top:76px;background:rgba(255,255,255,.92);border:1px solid rgba(226,232,240,.9);border-radius:18px;padding:10px;backdrop-filter:saturate(140%) blur(10px)}

.nw-helpful{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.nw-helpful button{min-width:120px}

.nw-faq{display:grid;gap:10px}
.nw-faq details{border:1px solid rgba(226,232,240,.9);border-radius:16px;padding:12px;background:rgba(2,6,23,.02)}
.nw-faq summary{cursor:pointer;font-weight:750;color:var(--nw-ink)}
.nw-faq p{margin:10px 0 0;color:var(--nw-muted)}

.nw-skeleton{background:linear-gradient(90deg,rgba(2,6,23,.06),rgba(2,6,23,.03),rgba(2,6,23,.06));background-size:200% 100%;animation:nw-shimmer 1.2s ease-in-out infinite;border-radius:14px}
@keyframes nw-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

.nw-fade-in{opacity:0;transform:translateY(6px);animation:nw-fade .2s ease forwards}
@keyframes nw-fade{to{opacity:1;transform:translateY(0)}}

.nw-dialog-backdrop{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.55);
  z-index:50;
  display:none;
}
.nw-dialog-backdrop[data-open="true"]{display:block}

.nw-sheet{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  background:var(--nw-bg);
  border-radius:20px 20px 0 0;
  box-shadow:0 -20px 40px rgba(2,6,23,.18);
  transform:translateY(110%);
  transition:transform .22s ease;
  z-index:60;
  padding:12px 16px 24px;
}
.nw-sheet[data-open="true"]{transform:translateY(0)}

.nw-top-progress{position:fixed;top:0;left:0;height:3px;background:var(--nw-accent);width:0;z-index:80}

.nw-toast{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);background:rgba(2,6,23,.92);color:#fff;padding:10px 12px;border-radius:12px;font-size:13px;z-index:90;opacity:0;pointer-events:none;transition:opacity .2s ease}
.nw-toast[data-open="true"]{opacity:1}

.nw-article{
  font-size:18px;
  line-height:1.8;
}
.nw-article h2{font-family:var(--nw-font-title);font-size:26px;line-height:1.2;margin:32px 0 10px;color:var(--nw-ink)}
.nw-article h3{font-family:var(--nw-font-title);font-size:20px;line-height:1.25;margin:22px 0 8px;color:var(--nw-ink)}
.nw-article p{margin:0 0 16px}
.nw-article a{color:var(--nw-ink);text-decoration:underline;text-decoration-color:rgba(220,38,38,.35);text-underline-offset:4px}
.nw-article a:hover{text-decoration-color:rgba(220,38,38,.7)}
.nw-article blockquote{margin:18px 0;padding:14px 16px;border-left:4px solid var(--nw-accent);background:rgba(220,38,38,.05);border-radius:12px;color:var(--nw-ink)}
.nw-article ul,.nw-article ol{margin:0 0 16px;padding-left:22px}
.nw-article figure{margin:18px 0}
.nw-article figcaption{font-size:13px;color:var(--nw-muted-2);margin-top:8px}
.nw-article img{border-radius:14px;border:1px solid rgba(226,232,240,.7)}

.nw-lightbox{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
  background:rgba(2,6,23,.85);
  align-items:center;
  justify-content:center;
  padding:20px;
}
.nw-lightbox[data-open="true"]{display:flex}
.nw-lightbox img{max-width:min(1100px,95vw);max-height:85vh;border-radius:16px}

.nw-visually-hidden{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .nw-card,.nw-pill,.nw-btn,.nw-cover img{transition:none}
  .nw-skeleton{animation:none}
}

/* Merged from responsive.css — one less render-blocking request */
@media (max-width:1023px){
  .nw-layout.with-aside{grid-template-columns:minmax(0,1fr)}
  .nw-hero{grid-template-columns:minmax(0,1fr)}
  .nw-hero-side{grid-template-rows:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:767px){
  body{font-size:14px;line-height:1.45}
  .nw-h1{font-size:22px;line-height:1.2}
  .nw-h2{font-size:18px;line-height:1.25}
  .nw-h3{font-size:16px;line-height:1.3}
  .nw-muted{font-size:13px;line-height:1.45;-webkit-line-clamp:2}
  .nw-meta{font-size:12px;gap:6px}
  .nw-pill{font-size:11px;padding:4px 8px}
  .nw-link{font-size:13px}
  .nw-hero-side{grid-template-columns:minmax(0,1fr)}
  .nw-grid.two{grid-template-columns:repeat(1,minmax(0,1fr))}
  .nw-grid.three{grid-template-columns:repeat(1,minmax(0,1fr))}
  .nw-cat-head{padding:12px;top:56px}
  .nw-cat-head__row{align-items:stretch;gap:12px}
  .nw-cat-head__tools{flex:1 1 100%}
  .nw-cat-search .nw-input,
  .nw-cat-search .nw-btn{height:42px}

  /* First home module — single-row horizontal scroll */
  .nw-module-first .nw-hero{
    display:flex;
    flex-wrap:nowrap;
    gap:10px;
    overflow-x:auto;
    padding-bottom:4px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .nw-module-first .nw-hero > div,
  .nw-module-first .nw-hero-side{
    display:contents;
  }
  .nw-module-first .nw-hero > article,
  .nw-module-first .nw-hero article{
    flex:0 0 min(72vw,260px);
    width:min(72vw,260px);
    max-width:80vw;
    min-width:0;
    scroll-snap-align:start;
  }
  .nw-module-first .nw-grid.three,
  .nw-module-first .nw-module-first-grid{
    display:flex;
    flex-wrap:nowrap;
    gap:10px;
    overflow-x:auto;
    padding-bottom:4px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }
  .nw-module-first .nw-grid.three > article,
  .nw-module-first .nw-module-first-grid > article{
    flex:0 0 min(72vw,260px);
    width:min(72vw,260px);
    max-width:80vw;
    min-width:0;
    scroll-snap-align:start;
  }
  .nw-module-first .nw-card-body .nw-muted,
  .nw-module-first .nw-card-body .nw-meta,
  .nw-module-first .nw-card-body > div[style*="flex-wrap"]{
    display:none;
  }
  .nw-module-first .nw-card-body{
    padding:8px 10px 10px;
  }
  .nw-module-first .nw-card-body .nw-h1,
  .nw-module-first .nw-card-body .nw-h2,
  .nw-module-first .nw-card-body .nw-h3{
    font-size:14px;
    line-height:1.35;
    margin-top:0 !important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .nw-module-first .nw-cover{
    aspect-ratio:16/10;
  }

  .nw-container{padding-left:12px;padding-right:12px}
  body[data-page="home"] #main.nw-container{padding-top:8px}
  .nw-section{padding:10px 0}
  .nw-section.tight{padding:6px 0}
  .nw-pagehead{padding:8px 0 4px}
  .nw-layout{gap:10px}
  .nw-grid{gap:10px}
  .nw-hero{gap:10px}
  .nw-hero-side{gap:10px}
  .nw-card{border-radius:12px}
  .nw-card-body{padding:10px 10px 12px}
  .nw-card-body .nw-h1,
  .nw-card-body .nw-h2,
  .nw-card-body .nw-h3{margin-top:6px !important}
  .nw-card-body .nw-muted{margin:6px 0 8px !important}
  .nw-cover{border-radius:12px 12px 0 0}
  .nw-highlight-row{gap:8px;margin-top:6px}
  body[data-page="home"] .nw-section > div[style*="margin-bottom"]{margin-bottom:8px !important}
  .nw-aside-title{font-size:16px;margin-bottom:8px}
  .nw-footer{margin-top:16px}
  .nw-footer-title{font-size:16px;margin-bottom:8px}
  .nw-footer-text,.nw-footer-links a{font-size:13px}
  .nw-footer-grid{gap:10px;padding:14px 0}
  .my-6{margin-top:0.5rem;margin-bottom:0.5rem}
  .mt-4{margin-top:0.4rem}
  .nw-article{font-size:15px;line-height:1.65}
  .nw-article h2{font-size:20px;margin:16px 0 6px}
  .nw-article h3{font-size:17px;margin:14px 0 5px}
  .nw-article p{margin:0 0 10px}
  .nw-article blockquote{margin:10px 0;padding:10px 12px}
  .nw-article figure{margin:10px 0}

  /* Detail page — tighter mobile layout */
  body[data-page="detail"] #main.nw-container{margin-top:0.25rem}
  body[data-page="detail"] .nw-section{padding:6px 0}
  body[data-page="detail"] .nw-section.tight{padding:4px 0}
  body[data-page="detail"] .nw-detail-header .nw-badge{height:22px;padding:0 8px;font-size:10px}
  body[data-page="detail"] .nw-detail-title{font-size:20px;line-height:1.25;margin:6px 0 6px}
  body[data-page="detail"] .nw-detail-lead{font-size:14px;line-height:1.5;margin:0 0 8px;-webkit-line-clamp:3}
  body[data-page="detail"] .nw-detail-meta{margin-top:4px;font-size:11px;gap:4px}
  body[data-page="detail"] .nw-detail-share{margin-top:8px;padding:6px 8px;border-radius:10px;position:static;top:auto}
  body[data-page="detail"] .nw-sharebar{gap:6px}
  body[data-page="detail"] .nw-sharebar .nw-btn{height:32px;padding:0 10px;font-size:11px;font-weight:600;border-radius:8px;gap:4px}
  body[data-page="detail"] .nw-sharebar .detail-favorite-btn{min-height:32px;height:32px;min-width:32px;padding:0 8px;font-size:11px}
  body[data-page="detail"] .nw-sharebar .detail-favorite-btn__icon,
  body[data-page="detail"] .nw-sharebar .detail-favorite-btn svg{width:14px;height:14px}
  body[data-page="detail"] .nw-article{font-size:14px;line-height:1.55}
  body[data-page="detail"] .nw-article h2{font-size:17px;line-height:1.25;margin:12px 0 4px}
  body[data-page="detail"] .nw-article h3{font-size:15px;line-height:1.3;margin:10px 0 4px}
  body[data-page="detail"] .nw-article p{margin:0 0 8px}
  body[data-page="detail"] .nw-article blockquote{margin:8px 0;padding:8px 10px;font-size:13px;line-height:1.5}
  body[data-page="detail"] .nw-article figure{margin:8px 0}
  body[data-page="detail"] .nw-article figcaption{font-size:11px;margin-top:4px}
  body[data-page="detail"] .nw-article ul,
  body[data-page="detail"] .nw-article ol{margin:0 0 8px;padding-left:18px}
  body[data-page="detail"] .nw-card[style*="padding"]{padding:12px !important}
  body[data-page="detail"] .nw-card .nw-h2{font-size:17px}
  body[data-page="detail"] .nw-card .nw-muted{font-size:12px;margin-top:6px !important}
}

.nw-card-cat{
  position:absolute;top:.5rem;left:.5rem;z-index:2;
  max-width:calc(100% - 1rem);padding:.2rem .45rem;border-radius:.25rem;
  background:rgba(0,0,0,.72);color:#fff;font-size:.65rem;line-height:1.2;
  font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;
}
@media (min-width:768px){
  .nw-card-cat{display:none}
}

/* Mobile article content collapse */
.description-toggle-btn {
  display: none;
}

@media (max-width: 768px) {
  .description-collapse-section {
    display: flex;
    flex-direction: column;
  }

  .description-collapse-section .description-text-wrap {
    position: relative;
    overflow: hidden;
    transition: max-height 0.35s ease;
    width: 100%;
  }

  .description-collapse-section .description-text-wrap.is-collapsed {
    max-height: 180px;
  }

  .description-collapse-section .description-text-wrap.is-expanded {
    max-height: 5000px;
  }

  .description-collapse-section .description-text-wrap.is-collapsed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--nw-bg, #fff));
  }

  .description-collapse-section .description-text-wrap.is-expanded::after {
    display: none;
  }

  .description-collapse-section .description-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 0.5rem;
    padding: 10px 14px;
    border: 1px solid var(--nw-border, #e2e8f0);
    border-radius: var(--nw-radius-sm, 12px);
    background: var(--nw-surface, #f8fafc);
    color: var(--nw-ink, #0f172a);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .description-collapse-section .description-toggle-btn::after {
    content: '';
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.3s ease;
    opacity: 0.85;
  }

  .description-collapse-section .description-toggle-btn[aria-expanded='true']::after {
    transform: rotate(-135deg) translateY(1px);
  }

  .description-collapse-section .description-toggle-btn:hover,
  .description-collapse-section .description-toggle-btn:focus-visible {
    background: rgba(220, 38, 38, 0.08);
    border-color: var(--nw-accent, #dc2626);
    color: var(--nw-accent, #dc2626);
    outline: none;
  }

  .description-collapse-section .description-toggle-btn[hidden] {
    display: none !important;
  }
}

/* content-link-marker */
.nw-article a {
  color: #9e1919;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  background-image: linear-gradient(transparent 51%, #fad6c6 51%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  cursor: pointer;
}
.nw-article a:hover {
  color: #7e1010;
  background-image: linear-gradient(transparent 51%, #f6c0ac 51%);
}
/* /content-link-marker */

/* detail-content-images */
.nw-article figure,
.nw-article picture {
  display: block;
  max-width: 100%;
  margin: 1.25rem auto;
  text-align: center;
}
.nw-article img {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
  background: #f4f4f4;
  object-fit: contain;
}
.nw-article figure img,
.nw-article picture img {
  margin-top: 0;
  margin-bottom: 0;
}
.nw-article img.detail-img-broken {
  object-fit: fill;
}