:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --primary: #0f172a;
  --primary-soft: #1e293b;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --success: #047857;
  --danger: #b42318;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, .08);
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --container-wide: 1340px;
  --container-narrow: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.container-wide { width: min(var(--container-wide), calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(var(--container-narrow), calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.site-header.compact { position: relative; }
.site-topbar {
  background: var(--primary);
  color: #dbe3ef;
  font-size: 13px;
}
.topbar-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.header-main {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
}
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 20px; letter-spacing: -.03em; }
.brand-copy small { color: var(--muted); margin-top: 5px; font-size: 12px; }
.search-form {
  display: flex;
  align-items: center;
  width: min(460px, 100%);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}
.search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 14px;
  color: var(--text);
}
.search-form button {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 10px 17px;
  cursor: pointer;
  font-weight: 700;
}
.category-nav {
  border-top: 1px solid var(--line);
  background: #fff;
}
.category-scroll {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll a {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 999px;
}
.category-scroll a.is-active,
.category-scroll a:hover {
  background: var(--primary);
  color: #fff;
}
.article-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-nav a {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}
.article-nav a:hover { border-color: var(--primary); color: var(--primary); }

.site-main { padding: 34px 0 54px; }
.page-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 26px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.page-intro h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.06em;
}
.page-intro p {
  margin: 12px 0 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}
.clear-filter,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
}
.clear-filter:hover,
.primary-link:hover { border-color: var(--accent); color: var(--accent); }

.featured-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  margin-bottom: 28px;
}
.featured-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 430px;
}
.featured-media,
.news-card-media {
  display: block;
  background: #e8eef7;
  overflow: hidden;
}
.featured-media img,
.news-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.featured-card:hover .featured-media img,
.news-card:hover .news-card-media img { transform: scale(1.035); }
.featured-content {
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--accent-soft);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.featured-content h2 {
  margin: 18px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -.05em;
}
.featured-content p { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.article-meta span:not(:first-child)::before { content: "•"; margin-right: 10px; color: var(--muted-2); }
.latest-panel,
.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.latest-panel h2,
.side-card h2 { margin: 0 0 14px; font-size: 18px; letter-spacing: -.02em; }
.latest-item {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.latest-item:first-of-type { border-top: 0; }
.latest-item span,
.latest-item time { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.latest-item strong { font-size: 15px; line-height: 1.32; }

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 16px;
}
.section-heading h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -.04em;
}
.section-heading span { color: var(--muted); font-weight: 800; font-size: 14px; }
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.news-card-media {
  height: 190px;
}
.news-card-body { padding: 17px; }
.card-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.card-kicker time { text-transform: none; letter-spacing: 0; white-space: nowrap; }
.news-card h3 {
  margin: 10px 0 9px;
  font-size: 19px;
  line-height: 1.17;
  letter-spacing: -.035em;
}
.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.sidebar {
  position: sticky;
  top: 150px;
  display: grid;
  gap: 16px;
}
.category-list { display: grid; gap: 8px; }
.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 11px 12px;
  font-weight: 800;
}
.category-list strong {
  color: var(--muted);
  font-size: 13px;
}
.newsletter-card p { margin: 0; color: var(--muted); }
.empty-state {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 70px);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.empty-state h1,
.empty-state h2 { margin: 0 0 10px; font-size: clamp(28px, 5vw, 44px); letter-spacing: -.05em; }
.empty-state p { margin: 0 auto 20px; max-width: 560px; color: var(--muted); }
.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.pagination a,
.pagination span {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: var(--text);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.image-fallback {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}
.image-fallback.small { height: 190px; min-height: 190px; font-size: 12px; }

.article-main { padding: 42px 0 58px; }
.article-shell { margin-bottom: 34px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
}
.article-header { text-align: center; }
.article-header .pill { margin: 0 auto; }
.article-header h1 {
  margin: 18px auto 18px;
  max-width: 980px;
  font-size: clamp(34px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.07em;
}
.article-lead {
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.42;
}
.article-byline {
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.article-byline span:not(:first-child)::before,
.article-byline time::before {
  content: "•";
  margin-right: 14px;
  color: var(--muted-2);
}
.article-hero-wide {
  margin-top: 34px;
  margin-bottom: 36px;
}
.article-hero-wide img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  background: #e2e8f0;
}
.article-hero-wide figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
  text-align: center;
}
.article-hero-wide figcaption a { color: var(--accent); font-weight: 800; }
.article-content-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 780px) 1fr;
  gap: 34px;
  align-items: start;
}
.share-rail {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 8px;
}
.share-rail span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.share-rail a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.share-rail a:hover { border-color: var(--accent); color: var(--accent); }
.article-body-wrap {
  grid-column: 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow-sm);
}
.article-body {
  font-family: Georgia, "Times New Roman", serif;
  color: #111827;
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.82;
}
.article-body > *:first-child { margin-top: 0; }
.article-body > *:last-child { margin-bottom: 0; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2,
.article-body h3 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.article-body h2 { margin: 1.65em 0 .65em; font-size: clamp(27px, 3vw, 38px); }
.article-body h3 { margin: 1.35em 0 .55em; font-size: clamp(22px, 2.4vw, 28px); }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 1.4em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--primary-soft);
  font-style: italic;
}
.article-body ul,
.article-body ol { padding-left: 1.25em; margin: 1.1em 0; }
.article-body li { margin: .4em 0; }

.article-body figure {
  margin: 1.65em 0;
}
.article-body figure img,
.article-body figure video {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: 20px;
  background: #e2e8f0;
  box-shadow: var(--shadow-sm);
}
.article-body figure video { display: block; }
.article-body figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}
.article-body .media-embed,
.article-body figure > div {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  background: #0f172a;
  box-shadow: var(--shadow-sm);
}
.article-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 20px;
  background: #0f172a;
}
.article-body .media-embed iframe,
.article-body figure > div iframe {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
}

.sources-box {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.sources-box h2 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.03em; }
.sources-box p { margin: 0 0 16px; color: var(--muted); }
.source-list { display: grid; gap: 10px; }
.source-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.source-item:not(:has(img)) { grid-template-columns: 1fr; }
.source-item img {
  width: 68px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
  background: #e2e8f0;
}
.source-item span { display: grid; gap: 2px; min-width: 0; }
.source-item strong { font-size: 14px; }
.source-item small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.related-section { margin-top: 36px; }
.related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.site-footer {
  background: #0f172a;
  color: #dbe3ef;
  padding: 36px 0;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-inner p { margin: 6px 0 0; color: #9fb0c6; max-width: 620px; }
.footer-inner nav { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-inner a { color: #dbe3ef; font-weight: 800; }
.footer-inner a:hover { color: #fff; }

@media (max-width: 1180px) {
  .featured-layout,
  .content-layout { grid-template-columns: 1fr; }
  .latest-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
  .latest-panel h2 { grid-column: 1 / -1; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-content-layout { grid-template-columns: 1fr; }
  .share-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-row: 2;
  }
  .share-rail span { width: 100%; text-align: center; }
  .article-body-wrap { grid-column: 1; }
}

@media (max-width: 820px) {
  .container,
  .container-wide,
  .container-narrow { width: min(100% - 28px, var(--container)); }
  .topbar-inner { font-size: 12px; }
  .header-main {
    min-height: auto;
    padding: 15px 0;
    flex-direction: column;
    align-items: stretch;
  }
  .site-brand { min-width: 0; }
  .search-form { width: 100%; }
  .page-intro { align-items: flex-start; flex-direction: column; }
  .page-intro p { font-size: 16px; }
  .featured-card { grid-template-columns: 1fr; min-height: 0; }
  .featured-media { height: 275px; }
  .latest-panel,
  .sidebar,
  .article-grid,
  .related-grid { grid-template-columns: 1fr; }
  .news-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); }
  .news-card-media,
  .image-fallback.small { height: 100%; min-height: 148px; }
  .news-card-body { padding: 13px; }
  .news-card h3 { font-size: 17px; }
  .news-card p { display: none; }
  .card-kicker { display: grid; gap: 3px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .article-header { text-align: left; }
  .article-header .pill { margin-left: 0; }
  .article-header h1 { letter-spacing: -.055em; }
  .article-byline { justify-content: flex-start; }
  .article-byline span:not(:first-child)::before,
  .article-byline time::before { display: none; }
  .article-hero-wide img { border-radius: 18px; max-height: 430px; }
  .article-body-wrap { padding: 22px; }
  .article-body { font-size: 18px; line-height: 1.72; }
}

@media (max-width: 520px) {
  .site-topbar { display: none; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy small { display: none; }
  .category-scroll { width: 100%; padding-right: 12px; }
  .site-main { padding-top: 24px; }
  .featured-media { height: 225px; }
  .featured-content { padding: 20px; }
  .featured-content p { font-size: 16px; }
  .article-grid { gap: 12px; }
  .news-card { grid-template-columns: 112px minmax(0, 1fr); border-radius: 14px; }
  .news-card-media,
  .image-fallback.small { min-height: 132px; }
  .card-kicker time { display: none; }
  .news-card h3 { margin-bottom: 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .article-main { padding-top: 28px; }
  .breadcrumb { font-size: 13px; overflow-x: auto; white-space: nowrap; }
  .article-lead { font-size: 17px; }
  .article-byline { display: grid; gap: 4px; font-size: 13px; }
  .share-rail a { flex: 1 1 110px; }
  .source-item { grid-template-columns: 58px minmax(0, 1fr); }
  .source-item img { width: 58px; height: 44px; }
}

@supports not selector(:has(*)) {
  .source-item { grid-template-columns: 68px minmax(0, 1fr); }
}

/* Reacciones y CTA de compartir */
.share-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(37, 99, 235, .18);
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .10);
  padding: 18px;
}
.share-cta-top {
  max-width: 980px;
  margin: 26px auto 0;
  text-align: left;
}
.share-cta-bottom { margin-top: 34px; }
.share-cta-copy { min-width: 0; }
.share-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.share-cta-copy strong {
  display: block;
  color: var(--text);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  letter-spacing: -.045em;
}
.share-cta-copy p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.share-button,
.share-rail button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.share-button:hover,
.share-rail button:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  color: var(--accent);
}
.share-button.share-whatsapp {
  border-color: rgba(4, 120, 87, .24);
  background: #ecfdf5;
  color: #047857;
}
.share-button.native-share { background: var(--primary); color: #fff; border-color: var(--primary); }
.share-button.native-share:hover { color: #fff; background: var(--primary-soft); }
.share-button.is-copied,
.share-rail button.is-copied {
  border-color: rgba(4, 120, 87, .28);
  background: #ecfdf5;
  color: #047857;
}
.share-rail button {
  width: 100%;
  text-align: center;
}

.reaction-panel {
  margin-top: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow-sm);
}
.reaction-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}
.reaction-kicker {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.reaction-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.reaction-head p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.reaction-total {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary-soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}
.reaction-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.reaction-button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 14px 10px;
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-height: 108px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.reaction-button:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 16px 32px rgba(15, 23, 42, .09);
}
.reaction-button:disabled { opacity: .68; cursor: wait; }
.reaction-button.is-active {
  border-color: rgba(37, 99, 235, .55);
  background: #eff6ff;
  box-shadow: 0 14px 34px rgba(37, 99, 235, .16);
}
.reaction-icon { font-size: 28px; line-height: 1; }
.reaction-label { font-size: 12px; font-weight: 900; color: var(--primary-soft); }
.reaction-button strong {
  color: var(--muted);
  font-size: 13px;
}
.reaction-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: #047857;
  font-size: 13px;
  font-weight: 800;
}
.reaction-message.is-error { color: var(--danger); }

@media (max-width: 980px) {
  .share-cta { grid-template-columns: 1fr; }
  .share-buttons { justify-content: flex-start; }
  .reaction-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .share-cta { border-radius: 18px; padding: 15px; }
  .share-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .share-button { justify-content: center; text-align: center; padding: 12px 10px; }
  .native-share { grid-column: 1 / -1; }
  .reaction-head { display: grid; }
  .reaction-total { width: fit-content; }
  .reaction-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reaction-button { min-height: 98px; border-radius: 16px; }
}
