:root {
  --bg: #f5f7f9;
  --bg-2: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f3f5f8;
  --border: #e4e8ee;
  --text: #0e1420;
  --muted: #667085;
  --primary: #16a34a;
  --primary-ink: #ffffff;
  --primary-2: #15803d;
  --accent: #2563ff;
  --danger: #e5484d;
  --warn: #c2700a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16,22,40,.10);
  --maxw: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1100px 600px at 85% -12%, #e7fbef 0%, transparent 60%),
              radial-gradient(900px 500px at -5% 0%, #eaf1ff 0%, transparent 55%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Red de seguridad anti-desborde horizontal (móvil) */
.card, .feature, .section, .grid > *, .hs-txt { min-width: 0; }
.feature p, .hs-txt b, .hs-txt em { overflow-wrap: anywhere; }
.page { padding-top: 28px; padding-bottom: 60px; min-height: 60vh; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.inline { display: inline; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 13px; font-weight: 800; font-size: 34px; letter-spacing: .2px; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 15px; background: linear-gradient(135deg, #22d3ee, #16a34a); box-shadow: 0 6px 16px rgba(22,163,74,.22); }
.brand-mark svg { display: block; width: 72%; height: 72%; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; color: var(--text); cursor: pointer; }
.nav-toggle:hover { background: var(--surface-2); }
.brand-name { color: var(--text); }
.brand-accent { background: linear-gradient(90deg, #f59e0b, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav-links a.active { color: var(--primary); }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: .15s; font-family: inherit;
}
.btn-sm { padding: 7px 13px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; width: 100%; }
.btn-primary { background: linear-gradient(180deg, #1fb257, var(--primary-2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Hero (centrado + banner rotatorio) ---------- */
.hero { padding: 30px 0 14px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5.2vw, 50px); line-height: 1.08; margin: 0 0 14px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }

/* Banner rotatorio (degradados animados, sin imágenes externas) */
.hero-banner { position: relative; height: 196px; border-radius: 20px; overflow: hidden; margin: 0 0 30px; box-shadow: 0 16px 44px rgba(16,22,40,.18); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 20px 26px; color: #fff; text-align: left; opacity: 0; transform: scale(1.05); transition: opacity .8s ease, transform 1.1s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide .hs-ic { font-size: 56px; line-height: 1; filter: drop-shadow(0 5px 12px rgba(0,0,0,.28)); }
.hero-slide .hs-txt { display: flex; flex-direction: column; }
.hero-slide .hs-txt b { font-size: 27px; font-weight: 800; line-height: 1.12; text-shadow: 0 2px 12px rgba(0,0,0,.22); }
.hero-slide .hs-txt em { font-style: normal; font-size: 15px; opacity: .93; margin-top: 5px; }
.hero-slide.g1 { background: linear-gradient(120deg, #16a34a, #0ea5e9); }
.hero-slide.g2 { background: linear-gradient(120deg, #7c3aed, #2563eb); }
.hero-slide.g3 { background: linear-gradient(120deg, #0891b2, #16a34a); }
.hero-slide.g4 { background: linear-gradient(120deg, #ea580c, #db2777); }
.hero-dots { position: absolute; bottom: 13px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; z-index: 2; }
.hero-dots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.55); cursor: pointer; transition: .25s; }
.hero-dots i.on { background: #fff; width: 24px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.chip strong { color: var(--text); }

/* ---------- Category sections ---------- */
.section { margin-top: 42px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.section-head h2 { font-size: 22px; margin: 0; overflow-wrap: anywhere; }
.section-head p { margin: 2px 0 0; overflow-wrap: anywhere; }

/* ---------- Service grid / cards (compactas) ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(278px, 1fr)); gap: 13px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: 13px; padding: 14px 15px;
  display: flex; flex-direction: column; gap: 8px; transition: .16s;
  box-shadow: 0 1px 2px rgba(16,22,40,.04);
}
.card:hover { border-color: #bfe9cf; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16,22,40,.08); }
.card .svc-title { font-weight: 700; font-size: 14px; line-height: 1.3; min-height: 36px; color: var(--text); overflow-wrap: anywhere; }
.card .svc-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.card-foot-gate { gap: 8px; }
.price { font-size: 19px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.card-order { flex: 0 0 auto; white-space: nowrap; box-shadow: 0 4px 12px rgba(22,163,74,.22); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 600; }
.badge-time { background: #fff7ed; color: #b45309; border: 1px solid #fde6c7; }
.badge-id { background: #eff4ff; color: var(--accent); border: 1px solid #d6e2ff; }
.badge-ok { background: #ecfdf3; color: var(--primary); border: 1px solid #c6f0d6; }

/* ---------- Recuadros de info / confianza ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 30px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: 15px;
  padding: 22px 20px; text-align: center; transition: .16s; box-shadow: 0 1px 2px rgba(16,22,40,.04);
}
.feature:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(16,22,40,.08); border-color: #d7e0ec; }
.feature-ic {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feature-ic.f-blue { background: #e0f2fe; } .feature-ic.f-green { background: #dcfce7; }
.feature-ic.f-violet { background: #ede9fe; } .feature-ic.f-amber { background: #fef3c7; }
.feature-ic.f-rose { background: #ffe4e6; } .feature-ic.f-slate { background: #e2e8f0; }
.feature h3 { margin: 0 0 6px; font-size: 16px; color: var(--text); }
.feature p { margin: 0; font-size: 13.5px; line-height: 1.5; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 440px; margin: 20px auto; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 12px rgba(16,22,40,.05);
}
.panel h1 { margin: 0 0 6px; font-size: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 7px; color: var(--muted); font-weight: 600; }
.input, select.input {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: #ffffff; color: var(--text); font-size: 15px; font-family: inherit;
}
.input:focus, select.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,163,74,.16); }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.alert-error { background: #fef2f2; border: 1px solid #fbcfce; color: #b42318; }
.alert-info { background: #eff4ff; border: 1px solid #d6e2ff; color: #1d4ed8; }
.alert-ok { background: #ecfdf3; border: 1px solid #c6f0d6; color: #15803d; }
.alert-warn { background: #fffaeb; border: 1px solid #fde6c7; color: #b45309; }
.form-foot { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.form-foot a { color: var(--primary); }

/* ---------- Radios de red ---------- */
.chain-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chain-opt { position: relative; }
.chain-opt input { position: absolute; opacity: 0; }
.chain-opt label {
  display: block; padding: 14px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
  background: #ffffff; text-align: center; transition: .15s; color: var(--text); margin: 0;
}
.chain-opt label b { display: block; font-size: 15px; }
.chain-opt label span { font-size: 12px; color: var(--muted); }
.chain-opt input:checked + label { border-color: var(--primary); background: #ecfdf3; }

/* ---------- Order / pay page ---------- */
.order-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; align-items: start; }
.pay-amount { font-size: 34px; font-weight: 800; color: var(--primary); }
.addr-box { display: flex; gap: 8px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.addr-box code { font-size: 13px; word-break: break-all; color: var(--text); flex: 1; }
.qr { background: #fff; padding: 10px; border-radius: 12px; display: inline-block; border: 1px solid var(--border); }
.kv { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv span:first-child { color: var(--muted); }
.statusbar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.status-pending { background: #fffaeb; color: #b45309; border: 1px solid #fde6c7; }
.status-paid, .status-processing { background: #eff4ff; color: #1d4ed8; border: 1px solid #d6e2ff; }
.status-completed { background: #ecfdf3; color: #15803d; border: 1px solid #c6f0d6; }
.status-expired, .status-rejected, .status-cancelled { background: #fef2f2; color: #b42318; border: 1px solid #fbcfce; }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-box { background: var(--surface-2); border: 1px dashed var(--primary); border-radius: 10px; padding: 14px; font-size: 15px; white-space: pre-wrap; word-break: break-word; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table tr:hover td { background: var(--surface-2); }
.pill { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; display: inline-block; }
.pill.pending_payment { background: #fffaeb; color: #b45309; }
.pill.paid { background: #eff4ff; color: #1d4ed8; }
.pill.processing { background: #eafaf0; color: #15803d; }
.pill.completed { background: #ecfdf3; color: #15803d; }
.pill.expired, .pill.rejected, .pill.cancelled { background: #fef2f2; color: #b42318; }

/* ---------- Admin ---------- */
.admin-nav { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-nav a { padding: 8px 14px; border-radius: 9px; border: 1px solid var(--border); font-size: 14px; background: var(--surface); }
.admin-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(16,22,40,.04); }
.stat .n { font-size: 26px; font-weight: 800; }
.stat .l { color: var(--muted); font-size: 13px; }
.stat.good .n { color: var(--primary); }

h1.page-title { font-size: 26px; margin: 0 0 18px; }
.back { color: var(--muted); font-size: 14px; display: inline-block; margin-bottom: 14px; }
.back:hover { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; background: var(--surface); }
.footer-inner { padding: 26px 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: var(--muted); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-inner { height: 62px; }
  .brand { font-size: 23px; gap: 9px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 11px; }
  .nav-toggle { display: inline-flex; }

  /* Menú hamburguesa: la barra de enlaces se despliega bajo el header */
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); padding: 12px 20px 16px; font-size: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .bal-chip { width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: 10px; }
  .nav-links a:not(.btn):hover, .nav-links a.active:not(.btn) { background: var(--surface-2); }
  .nav-links form { width: 100%; }
  .nav-links form button, .nav-links a.btn { width: 100%; justify-content: center; }
  .nav-links .lang-switch { margin: 6px 0 0; justify-content: center; }

  .grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .hero { padding: 20px 0 6px; }
  .hero p { font-size: 16px; }
  .hero-banner { height: 150px; border-radius: 16px; margin-bottom: 22px; }
  .hero-slide { gap: 15px; padding: 16px 18px; }
  .hero-slide .hs-ic { font-size: 40px; }
  .hero-slide .hs-txt b { font-size: 20px; }
  .hero-slide .hs-txt em { font-size: 13px; }
  .preset-amounts { grid-template-columns: repeat(2, 1fr); }
  .balance-hero .amt { font-size: 32px; }
}
.copy-btn { cursor: pointer; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 10px; font-weight: 600; opacity: 0; transition: .25s; z-index: 100; box-shadow: var(--shadow); }
.toast.show { opacity: 1; }

/* ---------- v2: saldo, recargas, tracking ---------- */
.bal-chip { background: var(--surface-2); border: 1px solid var(--border); padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.bal-chip:hover { color: var(--primary); }
.balance-hero { background: linear-gradient(135deg, #ecfdf3, #f3fbff); border: 1px solid #c6f0d6; border-radius: 16px; padding: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.balance-hero .amt { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; }
.balance-hero .lbl { color: var(--muted); font-size: 14px; }
.preset-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.preset-amounts button { padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: #ffffff; color: var(--text); font-weight: 700; cursor: pointer; font-family: inherit; }
.preset-amounts button:hover, .preset-amounts button.sel { border-color: var(--primary); background: #ecfdf3; color: var(--primary); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 24px; border-left: 2px solid var(--border); }
.timeline li:last-child { border-left: 2px solid transparent; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--border); }
.timeline li.ok::before { background: var(--primary); border-color: var(--primary); }
.timeline li.bad::before { background: var(--danger); border-color: var(--danger); }
.timeline li.wait::before { background: var(--warn); border-color: var(--warn); }
.timeline .t-prov { font-weight: 700; }
.timeline .t-meta { color: var(--muted); font-size: 13px; }
.src-row { display: grid; grid-template-columns: auto 90px 110px auto auto; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px dashed var(--border); font-size: 13px; }
.tag-prov { background: #eff4ff; color: var(--accent); border: 1px solid #d6e2ff; padding: 2px 8px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.pill.queued { background:#fffaeb;color:#b45309; }
.pill.refunded { background:#eff4ff;color:#1d4ed8; }

/* Language switcher (public header + admin nav) */
.lang-switch{display:inline-flex;align-items:center;gap:4px;margin-left:6px;font-size:13px}
.lang-switch a{opacity:.55;padding:2px 4px;border-radius:6px}
.lang-switch a.active{opacity:1;font-weight:700;color:var(--primary)}
.lang-switch .sep{opacity:.3}
.admin-lang a{opacity:.55;padding:2px 5px;border-radius:6px;font-size:13px}
.admin-lang a.active{opacity:1;font-weight:700;color:var(--primary)}

/* ---------- Badge de pendientes (menú admin) ---------- */
.nav-has-badge { position: relative; }
.nav-badge {
  position: absolute; top: -7px; right: -7px;
  min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box;
  background: var(--danger); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 2px 6px rgba(229,72,77,.45); border: 2px solid var(--surface);
}
.nav-badge.hidden { display: none; }

/* ---------- Footer enriquecido ---------- */
.footer-grid { padding: 34px 20px 22px; display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 28px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-logo { font-size: 20px; font-weight: 800; color: var(--text); }
.footer-brand .muted { margin: 2px 0 6px; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 2px; }
.footer-social .soc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--muted); cursor: default; transition: .15s;
}
.footer-social .soc:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.footer-h { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin: 0 0 4px; font-weight: 700; }
.footer-col > a { color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-col > a:hover { color: var(--text); }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { flex: 0 0 auto; color: var(--primary); }
.footer-bar { border-top: 1px solid var(--border); }
.footer-bar-inner { padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--muted);
  padding: 4px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border);
}
.pay-badge.pay-usdt { color: var(--primary); border-color: rgba(22,163,74,.4); background: rgba(22,163,74,.08); }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bar-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Novedades (modal de anuncios) ---------- */
.news-overlay { position: fixed; inset: 0; background: rgba(8,12,20,.55); backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.news-modal { background: var(--surface); border-radius: 16px; width: 100%; max-width: 680px; max-height: 82vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(8,12,20,.3); }
.news-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: linear-gradient(135deg, #16a34a, #0891b2); color: #fff; font-weight: 800; font-size: 17px; }
.news-close { background: rgba(255,255,255,.18); border: none; color: #fff; width: 30px; height: 30px; border-radius: 8px; font-size: 22px; line-height: 1; cursor: pointer; }
.news-close:hover { background: rgba(255,255,255,.34); }
.news-body { overflow: auto; }
.news-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.news-table th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; padding: 11px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.news-table td { padding: 13px 20px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.45; }
.news-table tr:last-child td { border-bottom: none; }
.news-table tbody tr:hover { background: var(--surface-2); }
.news-date { white-space: nowrap; color: var(--muted); font-size: 13px; }
.news-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; margin-left: 6px; vertical-align: middle; }
.news-tag.news-price { background: #fef3c7; color: #b45309; }
.news-tag.news-new { background: #dcfce7; color: #15803d; }
.news-tag.news-news { background: var(--surface-2); color: var(--muted); }
.news-foot { padding: 14px 20px; border-top: 1px solid var(--border); text-align: right; }
.news-foot .btn { width: auto; }
@media (max-width: 760px) {
  .news-head { font-size: 16px; }
  .news-table th, .news-table td { padding: 10px 14px; }
}
