:root {
  --wt-accent: #d71920;
  --wt-accent-strong: #d60000;
  --wt-ink: #101828;
  --wt-heading: #111827;
  --wt-body: #475467;
  --wt-muted: #667085;
  --wt-line: #e5e7eb;
  --wt-line-soft: #eef2f7;
  --wt-page: #ffffff;
  --wt-hero-bg: linear-gradient(90deg, #f8fafc 0%, #eef2f7 100%);
  --wt-muted-bg: #f3f6fa;
  --wt-faq-bg: #f6f8fb;
  --wt-faq-q: #0f5fb8;
  --wt-card: #ffffff;
  --wt-panel: #ffffff;
  --wt-footer-bg: #111827;
  --wt-footer-text: #d1d5db;
  --wt-footer-top: #c41230;
  --wt-input-bg: #ffffff;
  --wt-focus: rgba(215, 25, 32, .28);
  --wt-shadow: 0 18px 44px rgba(16, 24, 40, .06);
  --wt-shadow-soft: 0 8px 28px rgba(17, 24, 39, .06);
}
html[data-wt="dark"] {
  --wt-accent: #ff4d55;
  --wt-accent-strong: #ff4d55;
  --wt-ink: #e7ecf3;
  --wt-heading: #f4f6fa;
  --wt-body: #b3bdcc;
  --wt-muted: #8b96a8;
  --wt-line: #2a3442;
  --wt-line-soft: #222b38;
  --wt-page: #0d1219;
  --wt-hero-bg: linear-gradient(90deg, #131a25 0%, #101623 100%);
  --wt-muted-bg: #121926;
  --wt-faq-bg: #101724;
  --wt-faq-q: #6db3f2;
  --wt-card: #151d29;
  --wt-panel: #151d29;
  --wt-footer-bg: #080c12;
  --wt-footer-text: #9aa5b5;
  --wt-footer-top: #ff4d55;
  --wt-input-bg: #0f1620;
  --wt-focus: rgba(255, 77, 85, .35);
  --wt-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  --wt-shadow-soft: 0 8px 28px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  color: var(--wt-ink);
  font-family: Arial, "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
  background: var(--wt-page);
  transition: background-color .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--wt-heading); letter-spacing: 0; }

.wt-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---------- Header ---------- */
.wt-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 70px;
  padding: 10px clamp(18px, 4vw, 52px);
  background: var(--wt-page);
  border-bottom: 1px solid var(--wt-line);
  box-shadow: var(--wt-shadow-soft);
}
.wt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 19px;
  color: var(--wt-heading);
  white-space: nowrap;
}
.wt-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--wt-accent);
  color: #fff;
  font-size: 21px;
}
.wt-logo-text { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
.wt-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.wt-navlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-bottom: 3px solid transparent;
  color: var(--wt-heading);
  font-size: 15px;
  font-weight: 700;
}
.wt-navlink:hover { color: var(--wt-accent); }
.wt-navlink.is-active { color: var(--wt-accent); border-bottom-color: var(--wt-accent); }
.wt-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  background: var(--wt-card);
  color: var(--wt-heading);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.wt-mode:hover { border-color: var(--wt-accent); color: var(--wt-accent); }
.wt-mode-head {
  margin-left: auto;
  flex: 0 0 auto;
  width: 42px;
  padding: 0;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
}
.wt-mode-head .wt-mode-label {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
}
.wt-burger {
  display: none;
  border: 1px solid var(--wt-line);
  border-radius: 8px;
  width: 42px;
  height: 40px;
  background: transparent;
  color: var(--wt-heading);
  font-size: 20px;
  cursor: pointer;
}

/* ---------- Hero (target: split figure panel) ---------- */
.wt-hero { background: var(--wt-hero-bg); padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 5vw, 64px); }
.wt-hero-title h1 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 58px); line-height: 1.15; color: var(--wt-heading); }
.wt-hero-figure {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
.wt-hero-copy {
  background: var(--wt-panel);
  border: 1px solid var(--wt-line);
  border-top: 4px solid var(--wt-accent);
  box-shadow: var(--wt-shadow);
  padding: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.wt-hero-copy h2 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
.wt-hero-copy p { margin: 0; font-size: 16.5px; line-height: 1.95; color: var(--wt-body); }
.wt-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; align-items: center; }
.wt-hero-panel {
  background: var(--wt-panel);
  border: 1px solid var(--wt-line);
  box-shadow: var(--wt-shadow);
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
}
.wt-hero-panel > h2 { margin: 0 0 14px; font-size: 21px; padding-left: 14px; border-left: 4px solid var(--wt-accent); }
.wt-hero-list { display: grid; gap: 12px; }
.wt-herotile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--wt-line-soft);
  background: var(--wt-card);
  transition: border-color .2s ease, transform .2s ease;
}
.wt-herotile:hover { border-color: var(--wt-accent); transform: translateY(-2px); }
.wt-herotile img { width: 52px; height: 52px; object-fit: contain; border-radius: 10px; background: var(--wt-muted-bg); }
.wt-herotile b { display: block; font-size: 14.5px; line-height: 1.4; color: var(--wt-heading); }
.wt-herotile small { color: var(--wt-muted); font-size: 13px; }

/* ---------- Buttons ---------- */
.wt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1.3;
}
.wt-btn-solid { background: var(--wt-accent); border-color: var(--wt-accent); color: #fff; }
.wt-btn-solid:hover { background: var(--wt-accent-strong); border-color: var(--wt-accent-strong); }
.wt-btn-line { background: var(--wt-card); border-color: var(--wt-line); color: var(--wt-heading); }
.wt-btn-line:hover { border-color: var(--wt-accent); color: var(--wt-accent); }
.wt-btn-big { min-height: 52px; padding: 0 28px; font-size: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--wt-focus);
  outline-offset: 2px;
}

/* ---------- Sections ---------- */
.wt-section { padding: clamp(44px, 5.5vw, 72px) 0; }
.wt-muted { background: var(--wt-muted-bg); }
.wt-cards { background: var(--wt-page); }
.wt-sechead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.wt-sechead h2 { margin: 0; font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; padding-left: 16px; border-left: 4px solid var(--wt-accent); }
.wt-seccount { color: var(--wt-muted); font-size: 14px; font-weight: 700; }
.wt-secmore { color: var(--wt-accent); font-weight: 800; font-size: 14.5px; }
.wt-secmore:hover { text-decoration: underline; }
.wt-more { margin: 26px 0 0; text-align: center; }

/* ---------- App tiles (news-card treatment: border, media, body) ---------- */
.wt-tilegrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.wt-apptile {
  display: block;
  background: var(--wt-card);
  border: 1px solid var(--wt-line);
  padding-bottom: 16px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.wt-apptile:hover { border-color: var(--wt-accent); box-shadow: var(--wt-shadow); transform: translateY(-2px); }
.wt-tileicon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  background: var(--wt-hero-bg);
  border-bottom: 1px solid var(--wt-line-soft);
}
.wt-tileicon img { width: 60px; height: 60px; object-fit: contain; border-radius: 12px; }
.wt-tileicon em {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: var(--wt-accent);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  border-radius: 3px;
}
.wt-tilebody { display: block; padding: 14px 16px 0; }
.wt-tilebody h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.45; }
.wt-tilebody p { margin: 0 0 12px; color: var(--wt-muted); font-size: 13.5px; }
.wt-tilebody p i { font-style: normal; margin-left: 6px; }
.wt-tilecta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--wt-accent);
  font-size: 13.5px;
  font-weight: 800;
}
.wt-stars { color: #f0a30a; font-style: normal; letter-spacing: 2px; }
html[data-wt="dark"] .wt-stars { color: #ffc247; }

/* ---------- FAQ (target: Q-label list) ---------- */
.wt-faq { background: var(--wt-faq-bg); }
.wt-faq-head { text-align: center; margin-bottom: 10px; }
.wt-faq-head h2 { margin: 0; font-size: clamp(24px, 2.6vw, 28px); font-weight: 800; }
.wt-faq-item { padding: 20px 0; border-bottom: 1px solid var(--wt-line); }
.wt-faq-item h3 {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin: 0 0 8px;
  font-size: 17.5px;
  line-height: 1.55;
}
.wt-faq-item h3 span { flex: 0 0 auto; color: var(--wt-faq-q); font-weight: 800; }
.wt-faq-item h3 a:hover { color: var(--wt-accent); }
.wt-faq-item p { margin: 0; color: var(--wt-body); font-size: 15.5px; line-height: 1.9; }

/* ---------- Detail hero (target: daily-topic-hero split) ---------- */
.wt-detailhero { background: var(--wt-panel); border-bottom: 1px solid var(--wt-line); }
.wt-detailhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 34vw);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: 340px;
  padding-top: clamp(28px, 3.4vw, 52px);
  padding-bottom: clamp(28px, 3.4vw, 52px);
}
.wt-eyebrow { margin: 0 0 16px; font-size: 14px; font-weight: 800; color: var(--wt-accent-strong); }
.wt-eyebrow a { color: inherit; }
.wt-eyebrow a:hover { text-decoration: underline; }
.wt-eyebrow span { margin: 0 8px; color: var(--wt-muted); }
.wt-detailhero-copy h1 { margin: 0 0 14px; font-size: clamp(28px, 3.2vw, 46px); line-height: 1.18; font-weight: 800; color: var(--wt-heading); }
.wt-topicsummary { margin: 0 0 22px; max-width: 760px; font-size: 16.5px; line-height: 1.95; color: var(--wt-body); }
.wt-topicactions { display: flex; flex-wrap: wrap; gap: 12px; }
.wt-detailhero-media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid var(--wt-line);
  background: var(--wt-hero-bg);
  box-shadow: var(--wt-shadow);
}
.wt-detailhero-media img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }

/* ---------- Detail main (target: article card + sticky aside) ---------- */
.wt-detailmain { background: var(--wt-muted-bg); padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 80px); }
.wt-detailshell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}
.wt-topicarticle {
  background: var(--wt-card);
  border: 1px solid var(--wt-line);
  box-shadow: var(--wt-shadow);
  padding: clamp(20px, 3vw, 48px);
}
.wt-idcard { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; }
.wt-idicon { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; border: 1px solid var(--wt-line); background: var(--wt-hero-bg); padding: 4px; }
.wt-idtitle { margin: 0 0 6px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.3; }
.wt-idver { margin: 0 0 6px; color: var(--wt-body); font-size: 14.5px; }
.wt-idver b, .wt-idrating b { color: var(--wt-accent); }
.wt-idrating { margin: 0 0 16px; color: var(--wt-body); font-size: 14.5px; }
.wt-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid var(--wt-line-soft);
  background: var(--wt-muted-bg);
}
.wt-facts div { min-width: 0; }
.wt-facts dt { color: var(--wt-muted); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.wt-facts dd { margin: 3px 0 0; color: var(--wt-heading); font-size: 14.5px; font-weight: 700; }
.wt-toccard {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid var(--wt-line);
  background: var(--wt-panel);
}
.wt-toccard > h2 { margin: 0 0 12px; font-size: 19px; padding-left: 12px; border-left: 4px solid var(--wt-accent); }
.wt-toc { margin: 0; padding-left: 22px; }
.wt-toc ol { padding-left: 20px; margin: 6px 0 0; }
.wt-toc li { margin: 7px 0; line-height: 1.6; }
.wt-toc a { color: var(--wt-faq-q); font-weight: 700; font-size: 14.5px; }
.wt-toc a:hover { color: var(--wt-accent); text-decoration: underline; }
.wt-reader { margin-top: 28px; color: var(--wt-body); }
.wt-reader p { margin: 0 0 20px; font-size: 17px; line-height: 2.02; }
.wt-reader p.wt-lead { font-size: 18px; }
.wt-reader h2 {
  margin: 40px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--wt-accent);
  font-size: 26px;
  line-height: 1.35;
  color: var(--wt-heading);
}
.wt-reader h3 { margin: 30px 0 12px; font-size: 20px; color: var(--wt-heading); }
.wt-reader ul, .wt-reader ol { margin: 0 0 24px; padding-left: 26px; font-size: 16.5px; line-height: 2; }
.wt-faqentry {
  border: 1px solid var(--wt-line);
  background: var(--wt-panel);
  margin: 0 0 12px;
}
.wt-faqentry summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 800;
  color: var(--wt-heading);
  font-size: 15.5px;
  list-style-position: inside;
}
.wt-faqentry summary:hover { color: var(--wt-accent); }
.wt-faqentry p { padding: 0 16px 14px; margin: 0; font-size: 15.5px; line-height: 1.9; }
.wt-dlcard {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--wt-line);
  border-top: 4px solid var(--wt-accent);
  background: var(--wt-panel);
}
.wt-dlcard h2 { margin: 0 0 14px; font-size: 21px; }
.wt-dlnote { margin: 12px 0 0; color: var(--wt-muted); font-size: 14px; }

/* ---------- Related / social / comments ---------- */
.wt-related, .wt-social { margin-top: 30px; }
.wt-related .wt-sechead, .wt-social .wt-sechead { margin-bottom: 16px; }
.wt-relatedlist { display: grid; gap: 12px; }
.wt-socialrow { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.wt-soc {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--wt-line);
  background: var(--wt-card);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--wt-heading);
}
.wt-soc i { color: var(--wt-accent); font-size: 18px; }
.wt-soc:hover { border-color: var(--wt-accent); }
.wt-asidecard {
  background: var(--wt-card);
  border: 1px solid var(--wt-line);
  padding: 22px;
}
.wt-asidecard + .wt-asidecard { margin-top: 18px; }
.wt-asidecard > h2 { margin: 0 0 16px; font-size: 18px; padding-left: 12px; border-left: 4px solid var(--wt-accent); }
.wt-rated {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--wt-line-soft);
}
.wt-rated:last-child { border-bottom: 0; }
.wt-rated img { width: 46px; height: 46px; object-fit: contain; border-radius: 9px; background: var(--wt-muted-bg); }
.wt-rated b { display: block; font-size: 13.5px; line-height: 1.4; color: var(--wt-heading); }
.wt-rated small { color: var(--wt-muted); font-size: 12.5px; }
.wt-asidebrand { background: var(--wt-footer-bg); border-color: var(--wt-footer-bg); color: var(--wt-footer-text); }
.wt-asidebrand span { display: block; margin-bottom: 8px; color: var(--wt-accent); font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.wt-asidebrand strong { display: block; margin-bottom: 10px; color: #fff; font-size: 19px; line-height: 1.4; }
.wt-asidebrand p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.8; color: var(--wt-footer-text); }
.wt-commentbox { margin-top: 30px; }
.wt-commentcard {
  background: var(--wt-card);
  border: 1px solid var(--wt-line);
  padding: clamp(20px, 2.6vw, 30px);
}
.wt-commentcard h2 { margin: 0 0 16px; font-size: 20px; padding-left: 12px; border-left: 4px solid var(--wt-accent); }
.wt-commentcard form { display: grid; gap: 14px; }
.wt-commentcard label { display: grid; gap: 6px; color: var(--wt-heading); font-size: 13.5px; font-weight: 800; }
.wt-commentcard input, .wt-commentcard textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--wt-line);
  background: var(--wt-input-bg);
  color: var(--wt-ink);
  font-size: 14.5px;
  font-family: inherit;
  resize: vertical;
}
.wt-commentcard input:focus, .wt-commentcard textarea:focus { border-color: var(--wt-accent); outline: none; }
.wt-commentsuccess { margin: 0; padding: 12px 14px; border: 1px solid var(--wt-accent); background: var(--wt-muted-bg); color: var(--wt-accent); font-weight: 800; font-size: 14px; }
.wt-404box {
  background: var(--wt-card);
  border: 1px solid var(--wt-line);
  padding: 34px;
}
.wt-404box h1 { margin: 0 0 10px; font-size: 30px; }
.wt-404box p { color: var(--wt-body); margin: 0 0 18px; }

/* ---------- Floating auth bar ---------- */
.wt-authbar {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--wt-footer-bg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}
.wt-authbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 800;
}
.wt-authbar-login { background: transparent; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.wt-authbar-login:hover { border-color: var(--wt-accent); color: #fff; }
.wt-authbar-register { background: var(--wt-accent); border: 1px solid var(--wt-accent); color: #fff; }
.wt-authbar-register:hover { background: var(--wt-accent-strong); }
body { padding-bottom: 84px; }

/* ---------- Footer (target: rich-footer dark, red top border) ---------- */
.wt-footer {
  margin-top: 0;
  background: var(--wt-footer-bg);
  color: var(--wt-footer-text);
  padding: 36px 0;
  border-top: 4px solid var(--wt-footer-top);
}
.wt-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.wt-footer-brand strong { display: block; margin-bottom: 12px; color: #fff; font-size: 19px; }
.wt-footer-brand p { margin: 0; max-width: 860px; line-height: 1.85; font-size: 14px; }
.wt-footer-nav { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: center; align-content: start; padding-top: 6px; }
.wt-footer-nav a { color: #fff; font-weight: 700; font-size: 14px; }
.wt-footer-nav a:hover { color: var(--wt-accent); }
.wt-footer-icp {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  color: var(--wt-footer-text);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .wt-tilegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wt-detailshell { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
  .wt-header { flex-wrap: wrap; gap: 10px; }
  .wt-burger { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  .wt-nav {
    display: none;
    order: 5;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--wt-line-soft);
  }
  .wt-nav.is-open { display: flex; }
  .wt-navlink { border-bottom: 1px solid var(--wt-line-soft); border-left: 3px solid transparent; min-height: 48px; }
  .wt-navlink.is-active { border-left-color: var(--wt-accent); border-bottom-color: var(--wt-line-soft); }
  .wt-mode { margin: 10px 16px 14px; justify-content: center; }
  .wt-hero-figure { grid-template-columns: 1fr; }
  .wt-tilegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wt-detailhero-grid { grid-template-columns: 1fr; min-height: 0; }
  .wt-detailhero-media { order: -1; min-height: 140px; }
  .wt-detailhero-media img { width: 64px; height: 64px; }
  .wt-detailshell { grid-template-columns: 1fr; }
  .wt-footer-grid { grid-template-columns: 1fr; }
  .wt-footer-nav { justify-content: flex-start; }
  .wt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wt-logo-text { max-width: 200px; font-size: 16px; }
  .wt-tilegrid { grid-template-columns: 1fr; }
  .wt-idcard { grid-template-columns: 72px minmax(0, 1fr); }
  .wt-idicon { width: 56px; height: 56px; }
  .wt-facts { grid-template-columns: 1fr; }
  .wt-authbar a { min-width: 88px; padding: 0 12px; font-size: 12.5px; min-height: 36px; }
  .wt-authbar { bottom: 10px; padding: 6px 8px; }
  .wt-topicactions .wt-btn { flex: 1 1 100%; }
}


/* ================= v2 layer (siteapp78) ================= */

/* Header utility cluster + language capsule toggle */
.wt-tools { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: 10px; }
.wt-tools .wt-mode { margin-left: 0; }
.wt-lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: var(--wt-card);
}
.wt-lang-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--wt-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.wt-lang-seg:hover { color: var(--wt-accent); }
.wt-lang-seg.is-active { background: var(--wt-accent); color: #fff; }

/* v2: app introduction box */
.wt-descbox {
  margin: 22px 0 0;
  padding: 20px;
  border: 1px solid var(--wt-line-soft);
  border-inline-start: 4px solid var(--wt-accent);
  background: var(--wt-muted-bg);
}
.wt-descbox b {
  display: block;
  margin-bottom: 8px;
  color: var(--wt-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wt-descbox p { margin: 0; color: var(--wt-body); font-size: 16.5px; line-height: 1.95; }

/* v2: social / discovery row (sits directly under the introduction) */
.wt-social { margin-top: 22px; }
.wt-social .wt-sechead { margin-bottom: 14px; }

/* v2: full category tag row */
.wt-tagrow { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.wt-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--wt-line);
  border-radius: 999px;
  background: var(--wt-card);
  color: var(--wt-body);
  font-size: 13.5px;
  font-weight: 700;
}
.wt-tag:hover { border-color: var(--wt-accent); color: var(--wt-accent); }
.wt-tag.is-active { background: var(--wt-accent); border-color: var(--wt-accent); color: #fff; }

/* v2: shared download action button (must match the theme primary button) */
.app-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--wt-accent);
  border-radius: 6px;
  background: var(--wt-accent);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
}
.app-dl-btn:hover { background: var(--wt-accent-strong); border-color: var(--wt-accent-strong); }
.app-dl-btn.is-direct, .app-dl-btn.is-landing { text-decoration: none; }

/* v2: delay download zone (progress -> install steps -> final jump button) */
.app-dl-zone {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--wt-line);
  border-top: 4px solid var(--wt-accent);
  background: var(--wt-panel);
  text-align: center;
}
.app-dl-progress { display: grid; gap: 12px; justify-items: center; }
.app-dl-progress > span { color: var(--wt-body); font-size: 14.5px; font-weight: 700; }
.app-dl-bar {
  display: block;
  width: min(420px, 100%);
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--wt-line-soft);
}
.app-dl-bar > b { display: block; width: 0; height: 100%; background: var(--wt-accent); border-radius: 999px; }
.app-dl-install { margin-top: 22px; text-align: start; display: grid; gap: 10px; }
.app-dl-install > b { color: var(--wt-heading); font-size: 16px; }
.app-dl-install ol { margin: 0; padding-inline-start: 22px; color: var(--wt-body); font-size: 15px; line-height: 1.85; }
.app-dl-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 32px;
  border-radius: 6px;
  background: var(--wt-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.app-dl-final:hover { background: var(--wt-accent-strong); }

/* v2: related rail sits in the right sidebar of the detail page */
.wt-relrail .wt-rated + .wt-rated { border-top: 0; }

/* v2: landing (intermediate download page) */
.wt-landing { background: var(--wt-muted-bg); padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 5vw, 80px); }
.wt-landing-card {
  margin-top: 18px;
  padding: clamp(22px, 3vw, 44px);
  border: 1px solid var(--wt-line);
  background: var(--wt-card);
  box-shadow: var(--wt-shadow);
}
.wt-landing-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: center; }
.wt-landing-head h1 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
.wt-landing-cat { margin: 10px 0 0; }
.wt-landing-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.wt-landing-steps { margin-top: 26px; }
.wt-landing-steps h2 { margin: 0 0 12px; font-size: 20px; padding-inline-start: 12px; border-inline-start: 4px solid var(--wt-accent); }
.wt-landing-steps ol { margin: 0; padding-inline-start: 24px; color: var(--wt-body); font-size: 16px; line-height: 1.95; }

/* server-rendered FAQ entries (shared reader helper) */
.sv-faqentry { border: 1px solid var(--wt-line); background: var(--wt-panel); margin: 0 0 12px; }
.sv-faqentry summary { padding: 14px 16px; cursor: pointer; font-weight: 800; color: var(--wt-heading); font-size: 15.5px; }
.sv-faqentry summary:hover { color: var(--wt-accent); }
.sv-faqentry p { padding: 0 16px 14px; margin: 0; font-size: 15.5px; line-height: 1.9; }

/* footer extras */
.wt-footer-note { margin: 12px 0 0 !important; color: var(--wt-footer-text); font-size: 13px; line-height: 1.8; opacity: .9; }
.wt-footer-rated { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.wt-footer-rated strong { color: #fff; font-size: 14px; }
.wt-footer-rated a { color: var(--wt-footer-text); font-size: 13.5px; line-height: 1.5; }
.wt-footer-rated a:hover { color: var(--wt-accent); }
.wt-footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(200px, 320px) minmax(200px, 300px); }

/* ================= RTL mirrors (ur) ================= */
[dir="rtl"] .wt-logo-text { text-align: right; }
[dir="rtl"] .wt-tools { margin-left: 0; margin-right: 10px; }
[dir="rtl"] .wt-mode-head { margin-left: 0; margin-right: auto; }
[dir="rtl"] .wt-sechead h2,
[dir="rtl"] .wt-hero-panel > h2,
[dir="rtl"] .wt-toccard > h2,
[dir="rtl"] .wt-asidecard > h2,
[dir="rtl"] .wt-commentcard h2,
[dir="rtl"] .wt-reader h2,
[dir="rtl"] .wt-landing-steps h2 {
  border-left: 0;
  border-right: 4px solid var(--wt-accent);
  padding-left: 0;
  padding-right: 16px;
}
[dir="rtl"] .wt-toccard > h2,
[dir="rtl"] .wt-asidecard > h2,
[dir="rtl"] .wt-commentcard h2,
[dir="rtl"] .wt-landing-steps h2 { padding-right: 12px; }
[dir="rtl"] .wt-navlink { text-align: right; }
[dir="rtl"] .wt-eyebrow,
[dir="rtl"] .wt-tilebody,
[dir="rtl"] .wt-tilebody h3,
[dir="rtl"] .wt-tilebody p,
[dir="rtl"] .wt-hero-copy,
[dir="rtl"] .wt-topicsummary,
[dir="rtl"] .wt-reader,
[dir="rtl"] .wt-descbox p,
[dir="rtl"] .wt-facts dd,
[dir="rtl"] .wt-facts dt { text-align: right; }
[dir="rtl"] .wt-facts { text-align: right; }
[dir="rtl"] .wt-toc { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .wt-toc ol { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .wt-reader ul, [dir="rtl"] .wt-reader ol { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .wt-faqentry summary,
[dir="rtl"] .sv-faqentry summary { text-align: right; }
[dir="rtl"] .wt-tileicon em { left: auto; right: 10px; }
[dir="rtl"] .wt-btn,
[dir="rtl"] .app-dl-btn,
[dir="rtl"] .app-dl-final { flex-direction: row-reverse; }
[dir="rtl"] .wt-detailhero-copy,
[dir="rtl"] .wt-idmeta,
[dir="rtl"] .wt-asidecard,
[dir="rtl"] .wt-footer-brand,
[dir="rtl"] .wt-footer-rated,
[dir="rtl"] .wt-landing-card,
[dir="rtl"] .wt-landing-steps ol { text-align: right; }
[dir="rtl"] .app-dl-install { text-align: right; }
[dir="rtl"] .wt-socialrow,
[dir="rtl"] .wt-tagrow,
[dir="rtl"] .wt-hero-actions,
[dir="rtl"] .wt-topicactions,
[dir="rtl"] .wt-landing-actions { justify-content: flex-start; }
[dir="rtl"] .wt-soc { flex-direction: row-reverse; }
@media (max-width: 900px) {
  [dir="rtl"] .wt-navlink { border-left: 0; border-right: 3px solid transparent; }
  [dir="rtl"] .wt-navlink.is-active { border-right-color: var(--wt-accent); }
  .wt-footer-grid { grid-template-columns: 1fr; }
  .wt-landing-head { grid-template-columns: 1fr; }
}
