/* CoinWestern — white & yellow brand theme */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-elev: #ffffff;
  --bg-elev-2: #fbfbf5;
  --border: #e7e9ee;
  --border-soft: #eef0f4;
  --ink: #0b0b0c;          /* near-black text/brand */
  --text: #14161a;
  --text-dim: #5b6470;
  --text-faint: #8a93a1;
  --yellow: #FFD200;       /* brand yellow */
  --yellow-deep: #f2c200;
  --yellow-soft: #fff7d1;
  --yellow-tint: #fffbe6;
  --accent: #0b0b0c;       /* links/primary use ink, with yellow highlights */
  --good: #16a06a;
  --danger: #d92d4b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 8px 28px rgba(20, 22, 26, 0.08);
  --shadow-soft: 0 2px 10px rgba(20, 22, 26, 0.05);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; font-size: 20px; color: var(--ink); }
.brand .logo { width: 30px; height: 30px; display: block; }
.brand .wm-coin { color: var(--ink); }
.brand .wm-west { color: var(--ink); }
.nav { display: flex; gap: 4px; margin-left: 6px; flex: 1; }
.nav a { padding: 8px 13px; border-radius: 8px; color: var(--text-dim); font-size: 14px; font-weight: 600; transition: 0.15s; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); }
.nav a.active { color: var(--ink); background: var(--yellow-soft); box-shadow: inset 0 -2px 0 var(--yellow); }
.auth-area { display: flex; align-items: center; gap: 10px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); background: #fff; color: var(--ink); padding: 8px 15px; border-radius: 9px; font-size: 14px; font-weight: 700; cursor: pointer; transition: 0.15s; }
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-soft); border-color: transparent; }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ---- disclaimer ---- */
.disclaimer { background: var(--ink); color: #f3f4f6; font-size: 12.5px; }
.disclaimer .container { display: flex; align-items: center; gap: 12px; padding-top: 9px; padding-bottom: 9px; }
.disclaimer b { color: var(--yellow); }
.disclaimer button { margin-left: auto; background: transparent; border-color: #3a3a3a; color: #f3f4f6; }
.disclaimer button:hover { border-color: var(--yellow); }

/* ---- hero ---- */
.hero { padding: 56px 0 26px; position: relative; }
.hero h1 { font-size: 42px; line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 16px; max-width: 740px; color: var(--ink); }
.hero h1 .hl { background: linear-gradient(180deg, transparent 62%, var(--yellow) 62%); padding: 0 2px; }
.hero p { color: var(--text-dim); font-size: 17px; max-width: 620px; margin: 0 0 22px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 34px 0 8px; }
.stat { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 18px; }
.stat .v { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.stat .l { color: var(--text-faint); font-size: 13px; margin-top: 3px; }

/* ---- feature cards ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 6px; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); }
.feature h4 { margin: 0 0 4px; font-size: 16px; color: var(--ink); }
.feature .tag { font-size: 12px; color: var(--ink); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; background: var(--yellow); display: inline-block; padding: 2px 8px; border-radius: 6px; }
.feature p { margin: 10px 0 0; color: var(--text-dim); font-size: 14px; }

/* ---- sections ---- */
section.block { margin: 46px 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.block-head h2 { font-size: 23px; margin: 0; letter-spacing: -0.02em; color: var(--ink); }
.block-head h2::before { content: ""; display: inline-block; width: 10px; height: 18px; background: var(--yellow); margin-right: 10px; transform: skewX(-12deg); vertical-align: -2px; }
.block-head a { color: var(--text-dim); font-size: 14px; font-weight: 700; }
.block-head a:hover { color: var(--ink); }

/* ---- table ---- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead th { text-align: left; padding: 13px 16px; color: var(--text-faint); font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--border); white-space: nowrap; background: var(--bg-soft); }
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--yellow-tint); }
.idx { color: var(--text-faint); font-variant-numeric: tabular-nums; width: 32px; font-weight: 700; }
.proj-name { font-weight: 700; color: var(--ink); }
.proj-name:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.proj-name .ticker { color: var(--text-faint); font-weight: 600; font-size: 12px; margin-left: 6px; }
.raised { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--ink); }
.raised.undisclosed { color: var(--text-faint); font-weight: 500; font-size: 13px; }

.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--border); color: var(--text-dim); background: var(--bg-soft); white-space: nowrap; }
.pill.round { color: var(--ink); border-color: var(--yellow-deep); background: var(--yellow-soft); font-weight: 700; }
.cats { display: flex; flex-wrap: wrap; gap: 5px; max-width: 230px; }

.investors { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.inv-chip { display: inline-flex; align-items: center; gap: 5px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px 3px 4px; font-size: 12px; color: var(--text-dim); }
.inv-chip:hover { border-color: var(--ink); }
.inv-chip .av { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9px; font-weight: 800; color: #fff; flex: none; }
.inv-chip.lead { border-color: var(--yellow-deep); background: var(--yellow-soft); color: var(--ink); font-weight: 600; }
.inv-chip.lead::after { content: "Lead"; font-size: 9px; color: var(--text-faint); font-weight: 800; }
.inv-more { color: var(--text-faint); font-size: 12px; padding: 0 4px; font-weight: 600; }

/* ---- fund grid ---- */
.fund-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.fund-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: 0.15s; box-shadow: var(--shadow-soft); }
.fund-card:hover { border-color: var(--yellow-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.fund-card .av { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; margin-bottom: 10px; }
.fund-card h4 { margin: 0 0 2px; font-size: 15px; color: var(--ink); }
.fund-card .meta { color: var(--text-faint); font-size: 12.5px; }
.fund-card .deals { margin-top: 10px; font-size: 13px; color: var(--ink); font-weight: 800; }
.fund-card .deals::before { content: "●"; color: var(--yellow-deep); margin-right: 5px; }

/* ---- filters ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.input, select { background: #fff; border: 1px solid var(--border); color: var(--text); border-radius: 9px; padding: 9px 12px; font-size: 14px; font-family: inherit; }
.input:focus, select:focus { outline: none; border-color: var(--yellow-deep); box-shadow: 0 0 0 3px var(--yellow-soft); }
.input.search { flex: 1; min-width: 200px; }

/* ---- detail ---- */
.detail-head { display: flex; align-items: center; gap: 16px; margin: 30px 0 8px; }
.detail-head .av { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #fff; flex: none; }
.detail-head h1 { margin: 0; font-size: 30px; letter-spacing: -0.02em; color: var(--ink); }
.detail-head .sub { color: var(--text-dim); }
.detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.kv { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.kv:last-child { border: none; }
.kv .k { color: var(--text-faint); }
.kv span:last-child { font-weight: 700; color: var(--ink); }
.section-title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin: 0 0 12px; font-weight: 800; }

/* ---- auth / modal ---- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(11,11,12,0.45); backdrop-filter: blur(4px); display: none; place-items: center; z-index: 100; }
.modal-backdrop.open { display: grid; }
.modal { width: 380px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.modal h3 { margin: 0 0 4px; color: var(--ink); }
.modal p.muted { margin: 0 0 18px; color: var(--text-dim); font-size: 14px; }
.modal label { display: block; font-size: 13px; color: var(--text-dim); margin: 12px 0 5px; font-weight: 600; }
.modal .input { width: 100%; }
.modal .row { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.modal .switch { color: var(--text-dim); cursor: pointer; font-size: 13px; font-weight: 600; }
.modal .switch:hover { color: var(--ink); }
.form-error { color: var(--danger); font-size: 13px; min-height: 18px; margin-top: 10px; }

.fav-btn { background: #fff; border: 1px solid var(--border); color: var(--text-dim); border-radius: 9px; padding: 8px 13px; cursor: pointer; font-size: 13px; font-weight: 700; }
.fav-btn:hover { border-color: var(--ink); }
.fav-btn.on { color: var(--ink); border-color: var(--yellow-deep); background: var(--yellow-soft); }

/* ---- misc ---- */
.empty { padding: 44px; text-align: center; color: var(--text-faint); }
.empty a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); }
footer { border-top: 1px solid var(--border); margin-top: 64px; padding: 30px 0; color: var(--text-faint); font-size: 13px; background: var(--bg-soft); }
footer .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a { color: var(--text-dim); }
footer a:hover { color: var(--ink); }
.muted { color: var(--text-dim); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); opacity: 0; transition: 0.25s; pointer-events: none; z-index: 200; }
.toast.show { opacity: 1; }
.skeleton { color: var(--text-faint); padding: 34px; text-align: center; }

@media (max-width: 860px) {
  .nav { display: none; }
  .stat-strip, .features { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .cats { max-width: none; }
  .hide-sm { display: none; }
}

/* ---- notifications + account menu (added in feature build) ---- */
.bell { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 6px 9px; cursor: pointer; font-size: 15px; line-height: 1; }
.bell:hover { border-color: var(--ink); }
.bell-count { position: absolute; top: -6px; right: -6px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; min-width: 16px; height: 16px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 3px; }
.acct { position: relative; }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); min-width: 190px; padding: 6px; z-index: 60; }
.acct-menu a, .acct-menu button { display: block; width: 100%; text-align: left; padding: 9px 11px; border-radius: 8px; font-size: 14px; color: var(--ink); background: none; border: none; cursor: pointer; font-weight: 600; }
.acct-menu a:hover, .acct-menu button:hover { background: var(--yellow-soft); }
.notif-pop { position: absolute; right: 90px; top: 56px; width: 340px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); z-index: 60; overflow: hidden; }
.notif-h { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 13px; }
.notif-h button { background: none; border: none; color: var(--text-dim); font-size: 12px; cursor: pointer; font-weight: 700; }
.notif-item { display: block; padding: 10px 14px; border-bottom: 1px solid var(--border-soft); }
.notif-item:hover { background: var(--bg-soft); }
.notif-item b { display: block; font-size: 13.5px; }
.notif-item span { display: block; color: var(--text-dim); font-size: 12.5px; }
.notif-item time { color: var(--text-faint); font-size: 11px; }
.notif-item.unread { background: var(--yellow-tint); }
.notif-empty { padding: 20px 14px; color: var(--text-faint); font-size: 13px; }

/* ---- gating CTA ---- */
.gate { margin-top: 16px; text-align: center; background: linear-gradient(180deg, transparent, var(--yellow-soft)); border: 1px dashed var(--yellow-deep); border-radius: var(--radius); padding: 26px; }
.gate h3 { margin: 0 0 6px; }
.gate p { margin: 0 0 14px; color: var(--text-dim); }

/* ---- AI agent ---- */
.agent-wrap { max-width: 820px; margin: 28px auto; }
.agent-box { display: flex; gap: 10px; margin: 16px 0; }
.agent-box input { flex: 1; }
.chip-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-suggest button { background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.chip-suggest button:hover { border-color: var(--yellow-deep); background: var(--yellow-soft); }
.agent-answer { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-soft); margin-bottom: 16px; }
.agent-answer .text { font-weight: 600; margin-bottom: 12px; }

/* ---- ad leaderboard ---- */
#ad-leaderboard { margin-top: 14px; }
.adbar { display: flex; align-items: center; gap: 12px; justify-content: center; background: var(--yellow-soft); border: 1px solid var(--yellow-deep); border-radius: 12px; padding: 12px 16px; font-weight: 700; color: var(--ink); }
.adbar img { max-height: 56px; }
.adbar-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; background: var(--ink); color: var(--yellow); padding: 2px 6px; border-radius: 4px; }

/* ============================================================= */
/* v3 — bolder visual refresh                                    */
/* ============================================================= */
:root { --yellow-ink: #4a3b00; }

/* Hero: bigger, with a yellow highlight sweep */
.hero { padding-top: 64px; }
.hero h1 { font-size: 50px; line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 .hl { background: linear-gradient(180deg, transparent 58%, var(--yellow) 58%); padding: 0 4px; }
@media (max-width:860px){ .hero h1 { font-size: 34px; } }

/* Section headers: chunkier yellow tab */
.block-head h2 { font-size: 24px; font-weight: 800; }
.block-head h2::before { width: 14px; height: 22px; transform: skewX(-12deg); margin-right: 12px; vertical-align: -3px; }

/* Metric cards (home dashboard) */
.mcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin: 26px 0; }
.mcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px 16px; position: relative; overflow: hidden; box-shadow: var(--shadow-soft); }
.mcard::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--yellow); }
.mcard .v { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.mcard .l { color: var(--text-faint); font-size: 12.5px; margin-top: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mcard .d { font-size: 12px; font-weight: 700; margin-top: 6px; color: var(--good); }

/* Chart card */
.chart-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-soft); }
.chart-card h3 { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-faint); font-weight: 800; }

/* Deal rows (card-style list, alternative to dense table) */
.deal-list { display: flex; flex-direction: column; gap: 10px; }
.deal-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 13px 16px; transition: .14s; box-shadow: var(--shadow-soft); }
.deal-row:hover { border-color: var(--yellow-deep); transform: translateY(-1px); box-shadow: var(--shadow); }
.deal-row .av { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.deal-row .main { min-width: 0; flex: 1; }
.deal-row .main .nm { font-weight: 700; color: var(--ink); }
.deal-row .main .nm .ticker { color: var(--text-faint); font-size: 12px; font-weight: 600; margin-left: 5px; }
.deal-row .main .inv { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
.deal-row .amt { text-align: right; flex: none; }
.deal-row .amt .r { font-weight: 800; font-variant-numeric: tabular-nums; }
.deal-row .amt .f { font-size: 11px; color: var(--text-faint); }
.deal-row .rt { flex: none; }

/* Sticky filter bar + active chips */
.filterbar { position: sticky; top: 64px; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 14px; box-shadow: var(--shadow-soft); }
.filterbar .filters { margin: 0; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; min-height: 0; }
.fchips:empty { display: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; background: var(--yellow-soft); border: 1px solid var(--yellow-deep); color: var(--ink); border-radius: 999px; padding: 4px 8px 4px 11px; font-size: 12.5px; font-weight: 700; }
.fchip button { background: none; border: none; cursor: pointer; color: var(--yellow-ink); font-weight: 800; font-size: 14px; line-height: 1; padding: 0; }
.fchip button:hover { color: var(--danger); }

/* Investor activity mini-bar */
.actbar { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 10px; }
.actbar span { flex: 1; background: var(--yellow); border-radius: 2px 2px 0 0; min-height: 3px; opacity: .85; }
.actbar span.dim { background: var(--border); }

/* Status pills (admin + public) */
.spill { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.spill.live { background: var(--yellow); color: var(--yellow-ink); }
.spill.curated { background: var(--bg-soft); color: var(--text-dim); border: 1px solid var(--border); }
.spill.defillama { background: #eaf3ff; color: #1f6feb; }

/* ---- skeleton loading states ---- */
@keyframes sk-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.sk { background: linear-gradient(90deg, var(--bg-soft) 25%, #eef0f4 37%, var(--bg-soft) 63%); background-size: 400px 100%; animation: sk-shimmer 1.3s infinite linear; border-radius: 6px; }
.sk-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 13px 16px; margin-bottom: 10px; }
.sk-row .sk-av { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.sk-row .sk-main { flex: 1; }
.sk-line { height: 11px; }
.sk-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 16px; }

/* ---- content fade-in after load ---- */
@keyframes cw-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.deal-row, .fund-card, .mcard, .chart-card { animation: cw-fade-up .28s ease both; }
@media (prefers-reduced-motion: reduce) { .deal-row, .fund-card, .mcard, .chart-card, .sk { animation: none; } }

/* ---- investors period toggle + tier badge ---- */
.period-toggle { display: inline-flex; gap: 3px; background: var(--bg-soft); border-radius: 999px; padding: 3px; }
.period-toggle button { border: none; background: none; cursor: pointer; font-size: 12.5px; font-weight: 700; color: var(--text-dim); padding: 6px 13px; border-radius: 999px; }
.period-toggle button:hover { color: var(--ink); }
.period-toggle button.active { background: var(--yellow); color: var(--yellow-ink); }
.tier-badge { margin-left: auto; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; background: var(--bg-soft); color: var(--text-dim); border: 1px solid var(--border); padding: 2px 8px; border-radius: 999px; }

/* ---- project page (socials, badges, funding rounds, share) ---- */
.proj-hero { display: flex; align-items: flex-start; gap: 16px; margin: 14px 0 6px; }
.proj-hero .av { width: 64px; height: 64px; border-radius: 16px; font-size: 24px; }
.vbadge { font-size: 12px; font-weight: 800; color: var(--good); background: #e7f7ef; border: 1px solid #b7e6cf; padding: 2px 9px; border-radius: 999px; vertical-align: 6px; }
.fbadge { font-size: 12px; font-weight: 800; color: var(--yellow-ink); background: var(--yellow); padding: 2px 9px; border-radius: 999px; vertical-align: 6px; }
.social-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); }
.social-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin-right: 4px; }
.social { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 700; color: var(--ink); }
.social:hover { border-color: var(--ink); }
.social .si { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.si-globe{background:#5b6470}.si-doc{background:#888}.si-x{background:#111}.si-tg{background:#2aabee}.si-dc{background:#5865f2}.si-in{background:#0a66c2}.si-gh{background:#333}
.fund-rounds { display: flex; flex-direction: column; }
.fund-round { display: grid; grid-template-columns: 110px 1fr auto; grid-template-areas: "rt amt src" "inv inv inv"; gap: 8px 12px; padding: 14px 0; border-bottom: 1px solid var(--border-soft); align-items: center; }
.fund-round:last-child { border-bottom: none; }
.fund-round .fr-amt { grid-area: amt; font-weight: 800; font-variant-numeric: tabular-nums; }
.fund-round .fr-amt .fr-date { display: block; font-size: 11px; color: var(--text-faint); font-weight: 600; }
.fund-round .fr-src { grid-area: src; font-size: 12px; }
.fund-round .fr-inv { grid-area: inv; }
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.get-featured { border: 1px solid var(--yellow-deep); background: var(--yellow-tint); }

/* ============================================================= */
/* v4 — premium project page                                     */
/* ============================================================= */
.proj-wrap { margin-top: 8px; }
.proj-hero { display: flex; align-items: center; gap: 18px; margin: 14px 0 0; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.proj-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--yellow), var(--yellow-deep)); }
.proj-hero .av { width: 72px; height: 72px; border-radius: 18px; font-size: 27px; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.proj-hero h1 { font-size: 30px; line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proj-hero .sub { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin-top: 8px; max-width: 640px; }
.proj-hero .fav-btn { align-self: flex-start; }

.proj-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 20px; align-items: start; margin-top: 18px; }
.proj-grid .side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px){ .proj-grid { grid-template-columns: 1fr; } .proj-grid .side { position: static; } }

/* funding rounds — aligned timeline rows */
.fund-rounds { display: flex; flex-direction: column; gap: 2px; }
.fund-round { display: grid; grid-template-columns: 96px 120px 1fr auto; grid-template-areas: "rt amt inv src"; gap: 14px; align-items: center; padding: 16px 6px; border-bottom: 1px solid var(--border-soft); transition: background .14s; }
.fund-round:hover { background: var(--yellow-tint); }
.fund-round:last-child { border-bottom: none; }
.fund-round .fr-rt { grid-area: rt; }
.fund-round .fr-amt { grid-area: amt; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; }
.fund-round .fr-amt .fr-date { display: block; font-size: 11px; color: var(--text-faint); font-weight: 600; margin-top: 2px; }
.fund-round .fr-inv { grid-area: inv; min-width: 0; }
.fund-round .fr-src { grid-area: src; font-size: 12px; white-space: nowrap; }
.fund-round .fr-src a { color: var(--accent); font-weight: 700; }
@media (max-width: 620px){ .fund-round { grid-template-columns: 1fr 1fr; grid-template-areas: "rt amt" "inv inv" "src src"; } }

/* socials */
.social-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 9px 13px; font-size: 13px; font-weight: 700; color: var(--ink); transition: .14s; }
.social:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.social .si { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.si-globe{background:#5b6470}.si-doc{background:#888}.si-x{background:#111}.si-tg{background:#2aabee}.si-dc{background:#5865f2}.si-in{background:#0a66c2}.si-gh{background:#333}

/* payment modal */
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pay-opt { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: 13px; font-weight: 700; text-align: center; }
.pay-opt.sel { border-color: var(--yellow-deep); background: var(--yellow-soft); }
.qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px; background: var(--bg-soft); border-radius: var(--radius); }
.qr-box #qr { background: #fff; padding: 10px; border-radius: 10px; }
.addr { font-family: monospace; font-size: 12px; word-break: break-all; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 8px; width: 100%; }

/* ---- Payment modal (redesigned, with network logos) ---- */
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-head h3 { margin: 0; letter-spacing: -0.01em; }
.pay-fee { font-weight: 800; font-size: 15px; background: var(--yellow); color: var(--ink); padding: 4px 12px; border-radius: 999px; }
.pay-sub { margin: 6px 0 16px; font-size: 13px; color: var(--text-dim); }
.pay-step { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); margin: 4px 0 8px; }
.chain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.chain-opt { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; cursor: pointer; text-align: left; transition: border-color .12s, background .12s, box-shadow .12s; position: relative; font-family: inherit; }
.chain-opt:hover { border-color: var(--yellow-deep); }
.chain-opt.sel { border-color: var(--yellow-deep); background: var(--yellow-soft); box-shadow: 0 0 0 3px var(--yellow-soft); }
.chain-logo { width: 30px; height: 30px; display: grid; place-items: center; flex: none; }
.chain-logo svg { width: 26px; height: 26px; }
.chain-logo.sm { width: 18px; height: 18px; } .chain-logo.sm svg { width: 18px; height: 18px; }
.chain-txt { display: flex; flex-direction: column; line-height: 1.25; }
.chain-txt b { font-size: 14px; color: var(--text); }
.chain-txt small { font-size: 11px; color: var(--text-faint); font-weight: 600; }
.chain-tick { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow-deep); color: #fff; font-size: 12px; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: .14s; }
.chain-opt.sel .chain-tick { opacity: 1; transform: scale(1); }
.token-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.token-opt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 700; font-size: 13.5px; font-family: inherit; color: var(--text); transition: .12s; }
.token-opt:hover { border-color: var(--yellow-deep); }
.token-opt.sel { border-color: var(--yellow-deep); background: var(--yellow-soft); }
.token-dot { width: 20px; height: 20px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.pay-addr-card { background: var(--bg-soft, #f6f6f8); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.pay-addr-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.chain-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px 4px 6px; }
.pay-amt { font-size: 12.5px; color: var(--text-dim); }
.qr-wrap { display: flex; justify-content: center; }
.qr-wrap #qr { background: #fff; padding: 12px; border-radius: 12px; box-shadow: 0 1px 3px rgba(16,18,27,.06); line-height: 0; }
.addr-row { display: flex; align-items: stretch; gap: 8px; margin-top: 12px; }
.addr-row .addr { text-align: left; margin: 0; display: flex; align-items: center; }
.addr-row .btn { white-space: nowrap; flex: none; }
.pay-warn { margin: 12px 0 0; font-size: 12px; color: #9a6a00; background: #fff7e6; border: 1px solid #f3d27a; border-radius: 9px; padding: 8px 11px; }
.txh-hint { font-size: 11.5px; color: var(--text-faint); margin-top: 5px; }
.input.ok { border-color: var(--good); box-shadow: 0 0 0 3px #e7f7ef; }
.input.bad { border-color: var(--bad, #c0392b); }
.pay-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.pay-actions .btn-primary:disabled { opacity: .5; cursor: not-allowed; }

/* ---- shared form primitives (also used on public submit/dashboard pages) ---- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-dim); margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; font-size: 14px; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow-deep); box-shadow: 0 0 0 3px var(--yellow-soft); }
.field textarea { min-height: 90px; resize: vertical; }
.field .hint { font-size: 11.5px; color: var(--text-faint); margin-top: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.iconbtn { border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 5px 10px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--ink); }
.iconbtn:hover { border-color: var(--ink); }
.iconbtn.danger { color: var(--danger); }
.iconbtn:disabled { opacity: .4; cursor: not-allowed; }
@media (max-width: 560px) { .two-col { grid-template-columns: 1fr; } }

/* ---- shared widgets reused on public pages (notice, chips, badges) ---- */
.notice { background: var(--yellow-soft); border: 1px solid var(--yellow-deep); color: var(--ink); padding: 10px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.chips-pick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 160px; overflow: auto; border: 1px solid var(--border); border-radius: 9px; padding: 8px; }
.chip-opt { font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); cursor: pointer; user-select: none; background: #fff; }
.chip-opt:hover { border-color: var(--yellow-deep); }
.chip-opt.sel { background: var(--yellow); border-color: var(--yellow-deep); font-weight: 700; }
/* ---- Telegram community strip (home) — on-brand, white + yellow ---- */
.tg-band { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 8px; padding: 16px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow, 0 1px 2px rgba(16,18,27,.04)); position: relative; overflow: hidden; }
.tg-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--yellow); }
.tg-band-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--yellow-soft); color: var(--ink); flex: none; }
.tg-band-text { flex: 1; min-width: 200px; }
.tg-band-text b { display: block; font-size: 15.5px; letter-spacing: -0.01em; color: var(--text); }
.tg-band-text span { font-size: 13px; color: var(--text-dim); }
.tg-band-form { display: flex; gap: 8px; align-items: center; }
.tg-band-msg { flex-basis: 100%; font-size: 12.5px; color: var(--bad, #c0392b); }
.tg-band-done { flex-basis: 100%; font-weight: 700; color: var(--good); }
.tg-band-done a { color: var(--ink); text-decoration: underline; }
.tg-field { display: flex; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 0 10px; height: 40px; min-width: 200px; transition: border-color .12s, box-shadow .12s; }
.tg-field:focus-within { border-color: var(--yellow-deep); box-shadow: 0 0 0 3px var(--yellow-soft); }
.tg-field span { color: var(--text-faint); font-weight: 700; }
.tg-field input { border: none; outline: none; background: transparent; font-size: 14px; padding: 0 4px; width: 100%; font-family: inherit; color: var(--text); }

/* ---- "Continue with Telegram" button (auth modal, matches Google/X) ---- */
.telegram-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-bottom: 10px; font-weight: 600; border: 1px solid var(--border); background: #fff; color: var(--text); }
.telegram-btn:hover { border-color: var(--yellow-deep); background: var(--yellow-soft); }
.telegram-btn svg { color: #229ED9; }

/* ---- Telegram welcome / connect modal — brand themed ---- */
.tg-modal { text-align: center; max-width: 420px; position: relative; }
.tg-badge { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin: 4px auto 14px; background: var(--yellow); color: var(--ink); font-size: 26px; box-shadow: 0 6px 18px var(--yellow-soft); }
.tg-badge.ok { background: #e7f7ef; color: var(--good); }
.tg-modal .tg-field { margin-bottom: 8px; }
.tg-modal .tg-perks { list-style: none; padding: 0; margin: 0 0 16px; text-align: left; display: grid; gap: 8px; }
.tg-modal .tg-perks li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--text-dim); }
.tg-modal .tg-perks li::before { content: "✓"; color: var(--yellow-deep); font-weight: 800; }
.tg-close { position: absolute; top: 10px; right: 12px; background: none; border: none; font-size: 24px; line-height: 1; color: var(--text-faint); cursor: pointer; }
.tg-skip { display: block; margin: 12px auto 0; background: none; border: none; color: var(--text-faint); font-size: 13px; cursor: pointer; text-decoration: underline; }

/* ---- Newsletter capture (home) ---- */
.newsletter { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 28px; border-radius: var(--radius); background: var(--yellow-soft); border: 1px solid var(--yellow-deep); }
.newsletter-text { flex: 1; min-width: 240px; }
.newsletter-text h2 { margin: 0 0 4px; letter-spacing: -0.02em; }
.newsletter-text p { margin: 0; color: var(--text-dim); font-size: 13.5px; max-width: 560px; }
.newsletter-form { display: flex; gap: 8px; align-items: center; }
.newsletter-form input { height: 42px; border: 1px solid var(--border); border-radius: 9px; padding: 0 14px; font-size: 14px; font-family: inherit; min-width: 220px; background: #fff; }
.newsletter-form input:focus { outline: none; border-color: var(--yellow-deep); box-shadow: 0 0 0 3px var(--yellow-soft); }
.newsletter-msg { flex-basis: 100%; font-size: 12.5px; color: var(--text-dim); }
.newsletter-msg.err { color: var(--bad, #c0392b); }
.newsletter-done { flex-basis: 100%; font-weight: 700; color: var(--good); }

/* ---- Dashboard alerts ---- */
.alert-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.alert-row:last-child { border-bottom: none; }

/* ---- News Scout ---- */
.scout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.scout-status { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.scout-status.on { background: #e7f7ef; color: var(--good); }
.scout-status.off { background: #f1f1f3; color: var(--text-faint); }
.scout-card { padding: 22px; }
.scout-toggle { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--yellow-soft); cursor: pointer; }
.scout-toggle input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--yellow-deep); }
.scout-section { margin-top: 20px; }
.scout-label { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.scout-actions { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.badge.published, .badge.on { background: #e7f7ef; color: var(--good); }
.badge.draft { background: var(--bg-soft); color: var(--text-faint); border: 1px solid var(--border); }
.badge.off { background: #fdeaee; color: var(--danger); }

/* ---- fund logo avatars (with initials fallback) ---- */
.avlogo { background: #fff !important; border: 1px solid var(--border); overflow: hidden; padding: 0; }
.avlogo img { width: 100%; height: 100%; object-fit: contain; padding: 12%; box-sizing: border-box; display: block; }
.inv-chip .avlogo img { padding: 1px; }

/* ---- official CoinWestern animated house banner (leaderboard slot) ---- */
@keyframes cwSpin { to { transform: rotate(360deg); } }
@keyframes cwShine { 0% { left: -45%; } 60%, 100% { left: 120%; } }
@keyframes cwRot { 0% { opacity: 0; transform: translateY(7px); } 6% { opacity: 1; transform: none; } 28% { opacity: 1; } 34% { opacity: 0; transform: translateY(-7px); } 100% { opacity: 0; } }
@keyframes cwPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,210,0,.55); } 50% { box-shadow: 0 0 0 9px rgba(255,210,0,0); } }
@keyframes cwDot { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
.cwb { position: relative; display: flex; align-items: center; gap: 18px; overflow: hidden; background: linear-gradient(110deg, #0a0a10, #141a2b 55%, #1c2540); border: 1px solid #232c44; border-radius: 14px; padding: 14px 22px; color: #fff; text-decoration: none; }
.cwb .lg { width: 36px; height: 36px; flex: none; animation: cwSpin 16s linear infinite; }
.cwb .mn { flex: 1; min-width: 0; }
.cwb .ttl { display: block; font-weight: 800; font-size: 16.5px; letter-spacing: -.01em; }
.cwb .ttl b { color: #FFD200; }
.cwb .rot { position: relative; display: block; height: 20px; margin-top: 4px; }
.cwb .rot span { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 13px; font-weight: 600; color: #cfd4e0; opacity: 0; animation: cwRot 9s infinite; }
.cwb .rot span:nth-child(1) { animation-delay: 0s; } .cwb .rot span:nth-child(2) { animation-delay: 3s; } .cwb .rot span:nth-child(3) { animation-delay: 6s; }
.cwb .rot i { color: #33d39a; font-style: normal; margin-right: 5px; }
.cwb .vf { flex: none; display: flex; align-items: center; gap: 7px; background: rgba(51,211,154,.12); border: 1px solid rgba(51,211,154,.35); color: #33d39a; font-weight: 700; font-size: 12px; padding: 6px 11px; border-radius: 999px; }
.cwb .vf .d { width: 7px; height: 7px; border-radius: 50%; background: #33d39a; animation: cwDot 1.6s infinite; }
.cwb .cta { flex: none; background: #FFD200; color: #0b0b0c; font-weight: 800; font-size: 14px; padding: 10px 17px; border-radius: 10px; animation: cwPulse 2.4s ease-in-out infinite; }
.cwb .shine { position: absolute; top: 0; left: -45%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.10), transparent); animation: cwShine 6s ease-in-out infinite; pointer-events: none; }
@media (max-width: 760px) { .cwb .vf { display: none; } .cwb .ttl { font-size: 14px; } .cwb .rot { display: none; } }
@media (max-width: 520px) { .cwb .cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .cwb .lg, .cwb .cta, .cwb .shine, .cwb .vf .d, .cwb .rot span { animation: none; } .cwb .rot span:nth-child(1) { opacity: 1; } .cwb .rot span:nth-child(2), .cwb .rot span:nth-child(3) { display: none; } }

/* ---- Google sign-in button ---- */
.google-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; border: 1px solid var(--border); font-weight: 700; padding: 10px; }
.google-btn:hover { border-color: var(--ink); background: var(--bg-soft); }
.auth-or { text-align: center; color: var(--text-faint); font-size: 12px; margin: 12px 0; position: relative; }
.auth-or::before, .auth-or::after { content: ""; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.auth-or::before { left: 0; } .auth-or::after { right: 0; }

/* ---- X login button + nav social icon buttons ---- */
.xlogin-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; background: #000; color: #fff; border: 1px solid #000; font-weight: 700; padding: 10px; margin-top: 8px; }
.xlogin-btn:hover { background: #1a1a1a; }
.social-iconbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.social-iconbtn:hover { border-color: var(--ink); }
.social-iconbtn.xbg { background: #000; border-color: #000; }

/* ---- live news / wire cards ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: .15s; color: var(--ink); }
.news-card:hover { border-color: var(--yellow-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
.news-thumb { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-src { display: flex; align-items: center; gap: 8px; }
.news-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 6px; }
.news-badge.own { background: var(--yellow); color: var(--yellow-ink); }
.news-src time { font-size: 12px; color: var(--text-faint); font-weight: 600; }
.news-card h4 { margin: 0; font-size: 16px; line-height: 1.35; letter-spacing: -0.01em; }
.news-card p { margin: 0; font-size: 13.5px; color: var(--text-dim); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-read { margin-top: auto; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.news-sk { height: 230px; border-radius: var(--radius); }

/* ---- home latest-headlines strip ---- */
.headline-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-soft); color: var(--ink); }
.headline-row:last-child { border-bottom: none; }
.headline-row .hl-src { flex: none; width: 92px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headline-row .hl-title { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.headline-row:hover .hl-title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.headline-row time { flex: none; font-size: 12px; color: var(--text-faint); font-weight: 600; }
@media (max-width: 560px) { .headline-row .hl-src { display: none; } }
