/* =========================================================
   CYBER RADISH — light / clean theme (radish red)
   ========================================================= */
:root {
  --bg: #f6f7f9;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --line: #e7eaf0;
  --line-2: #dde1e9;
  --text: #121826;
  --head: #0c111b;
  --muted: #5c6773;
  --dim: #97a1ae;
  --acc: #e11d48;          /* radish red */
  --acc-dark: #be123c;
  --acc-tint: #fff1f3;
  --acc-tint-2: #ffe4e9;
  --leaf: #16a34a;
  --leaf-tint: #e9f9ef;
  --tg: #2aabee;
  --tg-tint: #e8f6fd;
  --amber: #e08600;
  --sh-sm: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.04);
  --sh: 0 4px 14px -4px rgba(16,24,40,.1), 0 2px 6px -2px rgba(16,24,40,.06);
  --sh-lg: 0 24px 48px -16px rgba(16,24,40,.18), 0 8px 20px -8px rgba(16,24,40,.1);
  --sh-acc: 0 10px 30px -10px rgba(225,29,72,.5);
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --f-head: 'Sora', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --w: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--f-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
::selection { background: var(--acc-tint-2); color: var(--acc-dark); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--f-mono); }
.dim { color: var(--dim); }
[hidden] { display: none !important; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cfd5de; border: 3px solid var(--bg); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #b6bdc9; }

/* ===================== BACKGROUND ===================== */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg); }
#fx { display: none; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(18,24,38,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(18,24,38,.035) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(130% 80% at 50% 0%, #000 0%, transparent 72%); -webkit-mask-image: radial-gradient(130% 80% at 50% 0%, #000 0%, transparent 72%); }
.bg-scan { display: none; }
.bg-vignette { position: absolute; inset: 0; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.orb-a { width: 520px; height: 520px; background: radial-gradient(circle, #ffd7df, transparent 70%); top: -180px; right: -120px; }
.orb-b { width: 460px; height: 460px; background: radial-gradient(circle, #dcedff, transparent 70%); top: 40%; left: -160px; background: radial-gradient(circle, #e3edff, transparent 70%); }

/* ===================== NAV ===================== */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); box-shadow: var(--sh-sm); }
.nav-in { max-width: var(--w); margin: 0 auto; padding: 13px 20px; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--acc); border: 1px solid var(--line); border-radius: 11px; font-size: 27px; background: #fff; box-shadow: var(--sh-sm); transition: box-shadow .3s, transform .4s var(--ease); }
.brand:hover .brand-mark { box-shadow: var(--sh-acc); transform: translateY(-1px) rotate(-4deg); }
.brand-tx { font-family: var(--f-head); font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1; display: flex; align-items: baseline; gap: 1px; }
.brand-tx b { color: var(--head); font-weight: 700; }
.brand-tx i { font-style: normal; color: var(--acc); }
.brand-tx em { font: 600 11px var(--f-mono); font-style: normal; color: var(--dim); margin-left: 7px; letter-spacing: 0; }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a { position: relative; padding: 9px 14px; border-radius: var(--r); color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a .pfx { display: none; }
.nav-links a:hover { color: var(--head); background: #eef1f6; }
.nav-links a.active { color: var(--acc); background: var(--acc-tint); }
.nav-tg-m { display: none !important; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.auth-area { display: flex; gap: 8px; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; color: var(--muted); cursor: pointer; transition: all .2s var(--ease); font-size: 18px; box-shadow: var(--sh-sm); }
.icon-btn:hover { border-color: var(--acc); color: var(--acc); }
.icon-btn.tg:hover { color: var(--tg); border-color: var(--tg); }
.burger { display: none; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 13px 4px 4px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; box-shadow: var(--sh-sm); }
.user-chip:hover { border-color: var(--acc); box-shadow: var(--sh); }
.user-chip b { font-weight: 600; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===================== AVATAR ===================== */
.ava { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--f-head); color: #fff; flex: none; }
.ava.lg { width: 46px; height: 46px; font-size: 18px; }

/* ===================== BUTTONS ===================== */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border-radius: var(--r); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn svg { font-size: 18px; transition: transform .25s var(--ease); }
.btn:hover svg.mv { transform: translateX(3px); }
.btn-primary { background: var(--acc); color: #fff; box-shadow: var(--sh-acc); }
.btn-primary:hover { background: var(--acc-dark); transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(225,29,72,.6); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--text); box-shadow: var(--sh-sm); }
.btn-ghost:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-1px); box-shadow: var(--sh); }
.btn-tg { background: var(--tg); color: #fff; box-shadow: 0 10px 28px -10px rgba(42,171,238,.6); }
.btn-tg:hover { background: #1c93d4; transform: translateY(-1px); }
.btn-danger { background: var(--acc-tint); border-color: var(--acc-tint-2); color: var(--acc-dark); }
.btn-danger:hover { background: var(--acc); color: #fff; border-color: var(--acc); }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn .spin { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== LAYOUT ===================== */
main { position: relative; z-index: 1; min-height: 70vh; outline: none; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 20px; }
.section { padding: 94px 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12.5px var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--acc); }
.h2 { font: 700 clamp(28px, 4vw, 44px)/1.1 var(--f-head); margin: 13px 0 14px; letter-spacing: -.025em; color: var(--head); }
.h2 em { font-style: normal; color: var(--acc); }
.lead { color: var(--muted); font-size: 17.5px; max-width: 600px; margin: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }

.page { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ===================== HERO ===================== */
.hero { position: relative; padding: 74px 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 8px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 13px; color: var(--muted); box-shadow: var(--sh-sm); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
.pill b { color: var(--acc); font-weight: 700; }
.hero h1 { font: 700 clamp(40px, 6.4vw, 76px)/1.02 var(--f-head); margin: 22px 0 22px; letter-spacing: -.035em; color: var(--head); }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 540px; margin: 0 0 32px; }
.hero .sub b { color: var(--text); font-weight: 600; }
.typed { color: var(--acc); font-weight: 600; }
.typed::after { content: '|'; margin-left: 1px; color: var(--acc); animation: blink 1.1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; gap: 14px; margin-top: 48px; flex-wrap: wrap; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 22px; box-shadow: var(--sh-sm); flex: 1; min-width: 120px; }
.stat b { display: block; font: 700 28px/1 var(--f-head); color: var(--head); letter-spacing: -.02em; }
.stat span { font-weight: 500; font-size: 13px; color: var(--muted); }

/* hero art */
.hero-art { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; display: grid; place-items: center; }
.art-card { position: relative; width: 74%; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 40px; display: grid; place-items: center; box-shadow: var(--sh-lg); z-index: 2; }
.art-card .big-mark { font-size: 180px; color: var(--acc); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-3deg); } }
.art-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(225,29,72,.2), transparent 65%); filter: blur(30px); z-index: 1; animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .7; } }
.chip-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-lg); font-weight: 700; font-size: 13px; z-index: 3; animation: chipF 7s ease-in-out infinite; }
.chip-float .ci { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; }
.chip-float small { display: block; font-weight: 500; font-size: 11px; color: var(--dim); }
.cf1 { top: 8%; left: -6%; } .cf1 .ci { background: var(--acc-tint); color: var(--acc); }
.cf2 { bottom: 20%; right: -8%; animation-delay: -2.5s; } .cf2 .ci { background: var(--tg-tint); color: var(--tg); }
.cf3 { bottom: 2%; left: 4%; animation-delay: -4.5s; } .cf3 .ci { background: var(--leaf-tint); color: var(--leaf); }
@keyframes chipF { 50% { transform: translateY(-12px); } }

/* ===================== MARQUEE ===================== */
.marquee { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 16px 0; }
.mq-track { display: flex; width: max-content; animation: mq 34s linear infinite; }
.mq-track span { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-weight: 600; font-size: 14px; color: var(--dim); white-space: nowrap; }
.mq-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); opacity: .5; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===================== CARDS ===================== */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); transition: box-shadow .3s, transform .3s var(--ease), border-color .2s; }
.card.spot:hover { box-shadow: var(--sh-lg); border-color: var(--line-2); }
.brk { display: none; }

/* ===================== FEATURES ===================== */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { padding: 28px 24px; }
.feat:hover { transform: translateY(-5px); }
.feat .fi { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; margin-bottom: 20px; color: var(--acc); background: var(--acc-tint); }
.feat:nth-child(2) .fi { color: var(--tg); background: var(--tg-tint); }
.feat:nth-child(3) .fi { color: var(--leaf); background: var(--leaf-tint); }
.feat:nth-child(4) .fi { color: var(--amber); background: #fff5e6; }
.feat h3 { font: 700 18px var(--f-head); margin: 0 0 9px; letter-spacing: -.01em; color: var(--head); }
.feat p { margin: 0; color: var(--muted); font-size: 14.5px; }
.feat .num { position: absolute; top: 24px; right: 24px; font: 700 13px var(--f-head); color: #e3e7ee; }

/* ===================== NEWS CARDS ===================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard { display: flex; flex-direction: column; padding: 0; cursor: pointer; overflow: hidden; min-height: 100%; }
.ncard:hover { transform: translateY(-5px); }
.ncard-top { height: 8px; background: linear-gradient(90deg, var(--acc), #fb7185); }
.ncard-top .id, .ncard-top .ico { display: none; }
.ncard-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.meta { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; font-weight: 500; font-size: 13px; color: var(--dim); }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { font-size: 14px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 99px; font-weight: 600; font-size: 12px; color: var(--acc); background: var(--acc-tint); }
.tag.pin { color: var(--amber); background: #fff5e6; }
.ncard h3 { font: 700 19px/1.35 var(--f-head); margin: 14px 0 10px; letter-spacing: -.015em; color: var(--head); transition: color .2s; }
.ncard:hover h3 { color: var(--acc); }
.ncard p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.ncard-foot .more { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 14px; color: var(--acc); }
.ncard-foot .more svg { transition: transform .25s var(--ease); }
.ncard:hover .ncard-foot .more svg { transform: translateX(4px); }
.ncard.feature { grid-column: span 2; }
.ncard.feature .ncard-top { background: linear-gradient(90deg, var(--acc), #fb7185, var(--tg)); }
.ncard.feature h3 { font-size: 24px; }

.skel { background: linear-gradient(90deg, #eef1f5 25%, #f6f8fb 50%, #eef1f5 75%); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 4/3.4; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--acc-tint), #fff 60%); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: var(--sh); }
.about-visual .big-mark { font-size: 150px; color: var(--acc); filter: drop-shadow(0 20px 30px rgba(225,29,72,.25)); }
.about-visual .ab-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(225,29,72,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(225,29,72,.06) 1px, transparent 1px); background-size: 32px 32px; }
.about-term { display: none; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.checks li svg { color: #fff; background: var(--acc); border-radius: 7px; padding: 4px; font-size: 26px; flex: none; }
.checks li:nth-child(2) svg { background: var(--tg); } .checks li:nth-child(3) svg { background: var(--leaf); }
.checks b { color: var(--head); font-weight: 700; }

/* ===================== TG CTA ===================== */
.tg-cta { padding: 54px 48px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 36px; align-items: center; background: linear-gradient(135deg, var(--tg-tint), #fff 65%); border-color: #cce9fa; }
.tg-cta h2 { font: 700 clamp(24px, 3.2vw, 36px)/1.14 var(--f-head); margin: 12px 0; letter-spacing: -.02em; color: var(--head); }
.tg-cta h2 span { color: var(--tg); }
.tg-cta p { color: var(--muted); margin: 0 0 24px; font-size: 16px; }
.tg-handle { font-weight: 600; font-size: 14px; color: var(--tg); display: inline-flex; gap: 7px; align-items: center; margin-left: 4px; }
.tg-visual { position: relative; aspect-ratio: 1; max-width: 210px; justify-self: center; width: 100%; display: grid; place-items: center; }
.tg-visual .tg-ball { width: 62%; aspect-ratio: 1; border-radius: 26px; background: var(--tg); display: grid; place-items: center; color: #fff; font-size: 52px; box-shadow: 0 20px 44px -12px rgba(42,171,238,.6); animation: bob 5s ease-in-out infinite; }
.tg-visual .wave { position: absolute; inset: 19%; border-radius: 26px; border: 2px solid rgba(42,171,238,.4); animation: wave 3s ease-out infinite; }
.tg-visual .wave:nth-child(2) { animation-delay: 1.5s; }
@keyframes wave { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }

/* ===================== NEWS PAGE ===================== */
.page-head { padding: 66px 0 32px; }
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fbtn { padding: 8px 15px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; color: var(--muted); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .2s; box-shadow: var(--sh-sm); }
.fbtn:hover { color: var(--text); border-color: var(--dim); }
.fbtn.on { color: #fff; background: var(--acc); border-color: var(--acc); box-shadow: var(--sh-acc); }
.fbtn small { opacity: .7; margin-left: 4px; }
.search { position: relative; min-width: 250px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 17px; }
.search input { width: 100%; padding: 11px 14px 11px 42px; }
.pager { display: flex; justify-content: center; gap: 7px; margin-top: 44px; }
.pager button { min-width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 700; transition: all .2s; box-shadow: var(--sh-sm); }
.pager button:hover { border-color: var(--acc); color: var(--acc); }
.pager button.on { background: var(--acc); color: #fff; border-color: var(--acc); }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty .em-mark { font-size: 60px; color: var(--acc); opacity: .35; margin-bottom: 16px; display: inline-grid; }

/* ===================== ARTICLE ===================== */
.article { max-width: 760px; margin: 0 auto; padding: 48px 20px 40px; }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-weight: 600; font-size: 14.5px; margin-bottom: 26px; transition: color .2s, gap .2s; }
.back:hover { color: var(--acc); gap: 11px; }
.article h1 { font: 700 clamp(28px, 4.2vw, 46px)/1.14 var(--f-head); margin: 16px 0 18px; letter-spacing: -.03em; color: var(--head); }
.article .meta { font-size: 13px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.prose { font-size: 17.5px; line-height: 1.8; color: #2b3340; padding: 30px 0 8px; word-wrap: break-word; }
.prose p { margin: 0 0 1.2em; }
.prose strong { color: var(--head); font-weight: 700; }
.prose a { color: var(--acc); font-weight: 500; border-bottom: 1px solid var(--acc-tint-2); word-break: break-word; }
.prose a:hover { border-color: var(--acc); }
.prose h3 { font: 700 22px var(--f-head); color: var(--head); margin: 1.6em 0 .5em; letter-spacing: -.01em; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 3px solid var(--acc); background: var(--acc-tint); border-radius: 0 var(--r) var(--r) 0; color: var(--text); }
.prose code { font: 500 .88em var(--f-mono); background: #f1f3f7; border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; color: var(--acc-dark); }
.art-actions { display: flex; gap: 10px; flex-wrap: wrap; padding: 22px 0; border-block: 1px solid var(--line); margin: 20px 0 46px; }
.like-btn.on { color: var(--acc); border-color: var(--acc-tint-2); background: var(--acc-tint); }
.like-btn.on svg { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.4); } }
.admin-bar { display: flex; gap: 8px; margin-left: auto; }

.cm-head { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.cm-head h2 { font: 700 24px var(--f-head); margin: 0; letter-spacing: -.02em; color: var(--head); }
.cm-count { font-weight: 700; font-size: 13px; color: var(--acc); padding: 3px 10px; border-radius: 99px; background: var(--acc-tint); }
.cm-form { padding: 18px; margin-bottom: 26px; }
.cm-form textarea { width: 100%; min-height: 94px; resize: vertical; }
.cm-form .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.cm-form .cnt { font-weight: 500; font-size: 12.5px; color: var(--dim); }
.cm-locked { padding: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; background: linear-gradient(135deg, var(--acc-tint), #fff 70%); }
.cm-locked .li { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; color: var(--acc); background: #fff; box-shadow: var(--sh-sm); }
.cm-locked div { flex: 1; min-width: 200px; }
.cm-locked b { display: block; font: 700 16px var(--f-head); color: var(--head); }
.cm-locked span { color: var(--muted); font-size: 14px; }
.cm-list { display: grid; gap: 12px; }
.cm { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); animation: cmIn .4s var(--ease) both; }
@keyframes cmIn { from { opacity: 0; transform: translateY(8px); } }
.cm-main { flex: 1; min-width: 0; }
.cm-top { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 5px; }
.cm-top b { font-weight: 700; font-size: 14.5px; color: var(--head); }
.cm-top time { font-weight: 500; font-size: 12.5px; color: var(--dim); }
.badge-admin { font: 700 10px var(--f-body); letter-spacing: .05em; text-transform: uppercase; color: var(--acc); background: var(--acc-tint); padding: 2px 7px; border-radius: 5px; }
.cm-body { color: #2b3340; white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; }
.cm-del { margin-left: auto; background: none; border: 0; color: var(--dim); cursor: pointer; padding: 4px; border-radius: 6px; font-size: 15px; display: grid; place-items: center; transition: color .2s, background .2s; }
.cm-del:hover { color: var(--acc); background: var(--acc-tint); }

/* ===================== FORMS ===================== */
.input, input.input, textarea.input, select.input { width: 100%; padding: 12px 15px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 15px; color: var(--text); }
.input::placeholder { color: var(--dim); }
.input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-tint); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13px; color: var(--text); margin-bottom: 7px; }
.field label::before { content: none; }
.with-ic { position: relative; }
.with-ic > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 18px; pointer-events: none; transition: color .2s; }
.with-ic .input { padding-left: 42px; }
.with-ic:focus-within > svg { color: var(--acc); }
.eye { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--dim); cursor: pointer; padding: 7px; font-size: 18px; display: grid; }
.eye:hover { color: var(--acc); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.strength i { height: 4px; border-radius: 3px; background: #e7eaf0; transition: background .3s; }
.check { display: flex; gap: 9px; align-items: center; cursor: pointer; color: var(--muted); font-size: 14px; }
.check input { accent-color: var(--acc); width: 16px; height: 16px; }
.form-err { color: var(--acc-dark); font-weight: 500; font-size: 13.5px; min-height: 20px; margin: 3px 0 9px; }

/* ===================== MODAL ===================== */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-back { position: absolute; inset: 0; background: rgba(18, 24, 38, .45); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); animation: fade .25s both; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; width: 100%; max-width: 430px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); animation: mIn .35s var(--ease) both; }
.modal-card.wide { max-width: 740px; }
@keyframes mIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.m-bar { display: none; }
.modal-pad { padding: 32px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; font-size: 15px; background: #fff; border: 1px solid var(--line); color: var(--muted); z-index: 2; }
.modal-x:hover { color: var(--acc); border-color: var(--acc); }
.m-mark { width: 56px; height: 56px; margin: 0 auto 14px; display: grid; place-items: center; color: var(--acc); border: 1px solid var(--line); border-radius: 15px; font-size: 36px; background: #fff; box-shadow: var(--sh); }
.m-title { text-align: center; font: 700 23px var(--f-head); margin: 0 0 5px; letter-spacing: -.02em; color: var(--head); }
.m-sub { text-align: center; color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: #f1f3f7; border-radius: var(--r); margin-bottom: 22px; position: relative; }
.tabs button { position: relative; z-index: 1; padding: 9px; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); border-radius: 7px; transition: color .25s; }
.tabs button.on { color: var(--acc); }
.tabs .slider { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 7px; background: #fff; box-shadow: var(--sh-sm); transition: transform .35s var(--ease); }
.tabs.second .slider { transform: translateX(100%); }
.anon-note { display: flex; gap: 9px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--leaf-tint); font-size: 13px; color: #35694a; margin-bottom: 18px; }
.anon-note svg { color: var(--leaf); font-size: 17px; margin-top: 1px; }
.profile-head { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.profile-head b { font: 700 19px var(--f-head); display: block; color: var(--head); }
.profile-head span { color: var(--dim); font-weight: 500; font-size: 13px; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.grid2 { display: grid; grid-template-columns: 1fr 150px; gap: 13px; }

/* ===================== TOASTS ===================== */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 9px; }
.toast { display: flex; align-items: center; gap: 11px; padding: 13px 16px; min-width: 250px; max-width: 370px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--leaf); box-shadow: var(--sh-lg); animation: tIn .4s var(--ease) both; font-weight: 500; font-size: 14px; color: var(--text); }
.toast svg { font-size: 19px; color: var(--leaf); }
.toast.err { border-left-color: var(--acc); } .toast.err svg { color: var(--acc); }
.toast.out { animation: tOut .3s var(--ease) forwards; }
@keyframes tIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes tOut { to { opacity: 0; transform: translateX(30px); } }

/* ===================== FOOTER ===================== */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: 60px; background: #fff; }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 54px 20px 36px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand p { color: var(--muted); max-width: 340px; margin: 0 0 8px; font-size: 14.5px; }
.foot-note { color: var(--dim); font-size: 12.5px; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-cols h4 { font-weight: 700; font-size: 13px; color: var(--head); margin: 0 0 14px; }
.foot-cols a { display: flex; align-items: center; gap: 7px; color: var(--muted); padding: 5px 0; font-weight: 500; font-size: 14.5px; transition: color .2s, transform .2s; }
.foot-cols a:hover { color: var(--acc); transform: translateX(3px); }
.foot-tg { color: var(--tg) !important; }
.foot-tg svg { font-size: 17px; }
.foot-bot { max-width: var(--w); margin: 0 auto; padding: 18px 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .ncard.feature { grid-column: span 2; }
}
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 320px; order: -1; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-visual { max-width: 420px; }
  .tg-cta { grid-template-columns: 1fr; padding: 38px 26px; text-align: center; }
  .tg-cta .cta-row { justify-content: center; }
  .tg-visual { max-width: 170px; order: -1; }
  .burger { display: inline-grid; }
  .nav-links { position: fixed; top: 66px; left: 12px; right: 12px; flex-direction: column; gap: 3px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: all .25s var(--ease); margin: 0; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-tg-m { display: flex !important; align-items: center; gap: 8px; color: var(--tg) !important; }
  .nav-actions { margin-left: auto; }
  .section { padding: 66px 0; }
}
@media (max-width: 620px) {
  .features, .news-grid { grid-template-columns: 1fr; }
  .ncard.feature { grid-column: auto; }
  .ncard.feature h3 { font-size: 20px; }
  .stats { gap: 10px; }
  .stat { min-width: calc(50% - 5px); padding: 14px 16px; }
  .stat b { font-size: 24px; }
  .user-chip b { display: none; }
  .user-chip { padding: 4px; }
  .auth-area .btn span { display: none; }
  .auth-area .btn { width: 40px; height: 40px; padding: 0; }
  .brand-tx em { display: none; }
  .icon-btn.tg { display: none; }
  .search { min-width: 0; width: 100%; }
  .prose { font-size: 16.5px; }
  .modal-pad { padding: 24px 20px; }
  .grid2 { grid-template-columns: 1fr; }
  .chip-float { font-size: 12px; padding: 8px 11px; }
  .cf1 { left: 0; } .cf2 { right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ===================== CHANNEL FEED ===================== */
.feed-wrap { max-width: 660px; }
.feed-page { padding-top: 32px; }
.ch-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; margin-bottom: 16px; position: sticky; top: 74px; z-index: 20; }
.ch-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 27px; background: linear-gradient(135deg, var(--acc), #fb7185); flex: none; box-shadow: var(--sh-sm); }
.ch-info { flex: 1; min-width: 0; }
.ch-info b { display: block; font: 700 16px var(--f-head); color: var(--head); }
.ch-info span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.ch-info span svg { color: var(--tg); font-size: 15px; }
.feed-tools { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.feed-tools .filters { flex: 1; }
.feed-tools .search { min-width: 180px; flex: 0 1 200px; }
.feed { display: flex; flex-direction: column; gap: 16px; }
.post { padding: 20px 22px; }
.post-head { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.post-head .ch-ava { width: 40px; height: 40px; font-size: 24px; }
.post-meta { flex: 1; min-width: 0; }
.post-meta b { display: block; font: 700 14.5px var(--f-head); color: var(--head); line-height: 1.2; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--dim); }
.pin-b { display: inline-flex; align-items: center; gap: 3px; color: var(--amber); font-style: normal; }
.pin-b svg { font-size: 13px; }
.post-head .tag { align-self: flex-start; }
.post-admin { display: flex; gap: 3px; }
.pa-btn { width: 30px; height: 30px; border: 0; background: none; border-radius: 8px; color: var(--dim); cursor: pointer; display: grid; place-items: center; font-size: 15px; transition: all .2s; }
.pa-btn:hover { color: var(--acc); background: var(--acc-tint); }
.post-title { font: 700 20px/1.3 var(--f-head); letter-spacing: -.015em; color: var(--head); margin: 0 0 10px; }
.post-body { font-size: 15.5px; line-height: 1.7; color: #2b3340; word-wrap: break-word; }
.post-body p { margin: 0 0 .9em; } .post-body p:last-child { margin-bottom: 0; }
.post-body strong { color: var(--head); font-weight: 700; }
.post-body a { color: var(--acc); font-weight: 500; border-bottom: 1px solid var(--acc-tint-2); word-break: break-word; }
.post-body a:hover { border-color: var(--acc); }
.post-body h3 { font: 700 17px var(--f-head); color: var(--head); margin: 1.2em 0 .4em; }
.post-body blockquote { margin: 1em 0; padding: 10px 16px; border-left: 3px solid var(--acc); background: var(--acc-tint); border-radius: 0 var(--r) var(--r) 0; color: var(--text); }
.post-actions { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.react { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; border: 1px solid transparent; background: #f1f3f7; color: var(--muted); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .2s; }
.react:hover { background: #e7eaf0; color: var(--text); }
.react svg { font-size: 16px; }
.react.static { background: none; cursor: default; }
.react.static:hover { background: none; }
.like-btn.on { background: var(--acc-tint); color: var(--acc); }
.like-btn.on svg { animation: pop .4s var(--ease); }
.cm-wrap { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cm-loading, .cm-none { color: var(--dim); font-size: 14px; padding: 10px 0; display: flex; align-items: center; gap: 8px; }
.cm-mini { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.cm-mini .input { flex: 1; }
.cm-mini .cm-send { padding: 10px 13px; }
.cm-login { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--r); background: var(--acc-tint); color: var(--acc-dark); font-weight: 600; font-size: 13.5px; margin-bottom: 14px; }
.cm-login .btn { margin-left: auto; }
.feed-more { display: flex; justify-content: center; margin-top: 20px; }

/* ===================== PROJECTS ===================== */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj { padding: 26px 24px; display: flex; flex-direction: column; }
.proj:hover { transform: translateY(-4px); }
.proj-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.proj-top .fi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; color: var(--acc); background: var(--acc-tint); }
.proj h3 { font: 700 18px var(--f-head); color: var(--head); margin: 0 0 8px; letter-spacing: -.01em; }
.proj p { color: var(--muted); font-size: 14.5px; margin: 0 0 20px; flex: 1; }
.proj-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--acc); }
.proj-link svg:last-child { transition: transform .25s var(--ease); }
.proj:hover .proj-link svg:last-child { transform: translateX(4px); }
.proj-cta { margin-top: 24px; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: linear-gradient(135deg, var(--acc-tint), #fff 65%); }
.proj-cta h3 { font: 700 22px var(--f-head); color: var(--head); margin: 0 0 6px; }
.proj-cta p { color: var(--muted); margin: 0; max-width: 520px; }

/* ===================== SUPPORT ===================== */
.sup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sup { padding: 28px 24px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: inherit; }
.sup:hover { transform: translateY(-4px); }
.sup .fi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: var(--acc); background: var(--acc-tint); margin-bottom: 18px; }
.sup h3 { font: 700 18px var(--f-head); color: var(--head); margin: 0 0 8px; }
.sup p { color: var(--muted); font-size: 14px; margin: 0 0 18px; flex: 1; }
.sup-go { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--acc); }
.sup-go svg { transition: transform .25s var(--ease); }
.sup:hover .sup-go svg.mv { transform: translateX(4px); }
.sup-empty { display: flex; align-items: center; gap: 18px; padding: 30px 32px; flex-wrap: wrap; background: linear-gradient(135deg, var(--acc-tint), #fff 70%); }
.sup-empty .fi { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: var(--acc); background: #fff; box-shadow: var(--sh-sm); flex: none; }
.sup-empty b { display: block; font: 700 17px var(--f-head); color: var(--head); margin-bottom: 4px; }
.sup-empty p { color: var(--muted); margin: 0; }
a.feat { text-decoration: none; }

@media (max-width: 1024px) { .proj-grid, .sup-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .ch-head { top: 66px; } }
@media (max-width: 620px) {
  .proj-grid, .sup-grid { grid-template-columns: 1fr; }
  .post { padding: 18px 16px; }
  .feed-tools .search { flex-basis: 100%; }
  .react { padding: 7px 10px; font-size: 13px; }
}

/* ===================== CRYPTO SUPPORT ===================== */
.crypto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crypto { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.crypto-head { display: flex; align-items: center; gap: 12px; }
.crypto-head .coin { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 800 13px var(--f-head); flex: none; }
.crypto-head b { display: block; font: 700 16px var(--f-head); color: var(--head); }
.crypto-head .net { font-weight: 600; font-size: 12px; color: var(--muted); }
.qr { width: 100%; max-width: 190px; margin: 0 auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-sm); }
.qr svg { width: 100%; height: auto; display: block; shape-rendering: crispEdges; }
.addr-row { display: flex; align-items: center; gap: 8px; background: #f1f3f7; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 8px 8px 12px; }
.addr-row .addr { flex: 1; min-width: 0; font: 500 12px var(--f-mono); color: var(--text); word-break: break-all; line-height: 1.4; }
.addr-row .copy-addr { width: 32px; height: 32px; flex: none; border: 1px solid var(--line-2); background: #fff; border-radius: 8px; color: var(--muted); cursor: pointer; display: grid; place-items: center; font-size: 15px; transition: all .2s; }
.addr-row .copy-addr:hover { color: var(--acc); border-color: var(--acc); }
.crypto-note { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 14px 18px; border-radius: var(--r); background: #fff7ed; border: 1px solid #fde4c8; color: #9a6700; font-size: 13.5px; font-weight: 500; }
.crypto-note svg { color: var(--amber); font-size: 18px; flex: none; }
@media (max-width: 1024px) { .crypto-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .crypto-grid { grid-template-columns: 1fr; } }

/* ===================== HOME (welcome + cyber map) ===================== */
.home-hero { padding: 40px 0 70px; }
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: min(72vh, 640px); }
.home-text h1 { font: 700 clamp(38px, 6vw, 72px)/1.03 var(--f-head); margin: 22px 0 20px; letter-spacing: -.035em; color: var(--head); }
.home-text h1 em { font-style: normal; color: var(--acc); }
.home-text .sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 480px; margin: 0 0 32px; }
.home-stats { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.home-stats span { font-size: 14px; color: var(--muted); }
.home-stats b { font: 700 24px var(--f-head); color: var(--head); margin-right: 6px; letter-spacing: -.02em; }
.map-wrap { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
#globe { width: 100%; height: 100%; display: block; }
.map-wrap::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(225,29,72,.12), transparent 62%); filter: blur(24px); }
.map-badge { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-sm); font: 700 11px var(--f-mono); letter-spacing: .06em; color: var(--muted); }
.map-badge .live { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(225,29,72,.5); animation: pulse 1.8s infinite; }

@media (max-width: 860px) {
  .home-grid { grid-template-columns: 1fr; gap: 20px; min-height: auto; text-align: center; }
  .home-text .sub { margin-left: auto; margin-right: auto; }
  .home-text .cta-row, .home-stats { justify-content: center; }
  .map-wrap { max-width: 360px; order: -1; }
}

/* ===================== TELEGRAM POST MEDIA ===================== */
.tg-media { display: block; margin-top: 14px; border-radius: 12px; overflow: hidden; }
.tg-photos { display: grid; gap: 4px; }
.tg-photos.n1 { grid-template-columns: 1fr; }
.tg-photos.n2 { grid-template-columns: 1fr 1fr; }
.tg-photos.n3, .tg-photos.n4 { grid-template-columns: 1fr 1fr; }
.tg-photos a { display: block; overflow: hidden; }
.tg-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); max-height: 420px; }
.tg-photos.n1 img { max-height: 460px; }
.tg-photos a:hover img { transform: scale(1.03); }
.tg-video { position: relative; aspect-ratio: 16/9; background: #0d1420 center/cover no-repeat; display: grid; place-items: center; }
.tg-video .play { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--acc); display: grid; place-items: center; font-size: 22px; box-shadow: var(--sh); }
.tg-video .vlabel { position: absolute; bottom: 10px; left: 12px; font: 600 12px var(--f-body); color: #fff; background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 99px; }
.post-actions a.react { text-decoration: none; }

/* coin icons + empty states */
.crypto-head .coin { width: 46px; height: 46px; border-radius: 50%; background: none; display: grid; place-items: center; overflow: hidden; box-shadow: var(--sh-sm); }
.crypto-head .coin svg { width: 46px; height: 46px; display: block; }
.proj-empty { display: flex; align-items: center; gap: 18px; padding: 30px 32px; flex-wrap: wrap; background: linear-gradient(135deg, var(--acc-tint), #fff 70%); }
.proj-empty .fi { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; color: var(--acc); background: #fff; box-shadow: var(--sh-sm); flex: none; }
.proj-empty b { display: block; font: 700 17px var(--f-head); color: var(--head); margin-bottom: 4px; }
.proj-empty p { color: var(--muted); margin: 0; }

/* live globe as dark cyber-map card */
.map-wrap { aspect-ratio: 1; max-width: 520px; background: radial-gradient(130% 120% at 50% 20%, #0c1621, #060b12 70%); border: 1px solid #16222e; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg), inset 0 0 60px rgba(0,0,0,.5); }
.map-wrap::before { content: none; }
#globe { width: 100%; height: 100%; display: block; }
.map-badge { background: rgba(8,14,20,.8); border-color: #1d2a36; color: #9fb6c6; }
