/* =================================================================
   MasterInvest — Professional financial blog redesign (2026)
   Single-file design system. Palette preserved as tokens.
   Brand: green #66CC33, blue #2AABD3, ink #2D2D2D.
   Engine/JS class names are preserved and restyled.
   ================================================================= */

/* ============================ TOKENS ============================ */

:root{
  /* Brand (preserved palette) */
  --brand:#66cc33;
  --brand-600:#56b528;
  --brand-700:#479a20;
  --brand-050:#eef9e7;
  --blue:#2aabd3;
  --blue-600:#1f93b8;
  --blue-700:#19789a;
  --blue-050:#e8f6fb;
  --ink:#2d2d2d;

  /* Semantic market colors */
  --up:#16a34a;
  --up-bg:#e9f7ef;
  --down:#e5484d;
  --down-bg:#fdecec;
  --warn:#f59e0b;
  --warn-bg:#fef3e2;

  /* Neutrals / surfaces (light) */
  --bg:#f4f6f9;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --surface-3:#eef2f6;
  --header-bg:#ffffff;
  --footer-bg:#0f1722;
  --footer-fg:#aeb9c7;

  --text:#1c2733;
  --text-muted:#64748b;
  --text-soft:#94a3b8;
  --heading:#0f1b2a;
  --link:#1f93b8;
  --link-hover:#479a20;

  --border:#e4e9f0;
  --border-strong:#d4dce6;

  /* Effects */
  --radius-sm:8px;
  --radius:12px;
  --radius-lg:18px;
  --radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(15,27,42,.06), 0 1px 3px rgba(15,27,42,.05);
  --shadow:0 4px 14px rgba(15,27,42,.08);
  --shadow-lg:0 18px 40px rgba(15,27,42,.16);
  --ring:0 0 0 3px rgba(42,171,211,.35);

  /* Layout */
  --container:1640px;
  --gap:28px;
  --left-w:230px;
  --right-w:300px;
  --header-h:64px;

  --font:'Inter','Inter var',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  --tr:.18s ease;
  color-scheme:light;
}

html[data-theme="dark"]{
  --brand:#7ed957;
  --brand-600:#6fce46;
  --brand-700:#5fbe39;
  --brand-050:#16241a;
  --blue:#43c0e6;
  --blue-600:#5cc9eb;
  --blue-700:#7ad4ef;
  --blue-050:#0e2730;

  --up:#3ddc84;
  --up-bg:#13241a;
  --down:#ff6b6f;
  --down-bg:#2a1618;
  --warn:#fbbf24;
  --warn-bg:#2a2310;

  --bg:#0b1118;
  --surface:#121a24;
  --surface-2:#161f2b;
  --surface-3:#1c2834;
  --header-bg:#0f1722;
  --footer-bg:#070b11;
  --footer-fg:#8a97a8;

  --text:#dfe7f0;
  --text-muted:#93a2b5;
  --text-soft:#6b7c91;
  --heading:#f1f5fb;
  --link:#5cc9eb;
  --link-hover:#7ed957;

  --border:#243140;
  --border-strong:#2f3e50;

  --shadow-sm:0 1px 2px rgba(0,0,0,.4);
  --shadow:0 6px 18px rgba(0,0,0,.5);
  --shadow-lg:0 20px 44px rgba(0,0,0,.6);
  color-scheme:dark;
}

/* ============================ BASE ============================ */

*,*::before,*::after{ box-sizing:border-box; }

html{
  background:var(--bg);
  background-image:none !important;
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  -webkit-text-size-adjust:100%;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  scroll-behavior:smooth;
  scroll-padding-top:118px;
}
body{
  background:var(--bg);
  background-image:none !important;
  color:var(--text);
  min-height:100%;
  margin:0;
  overflow-x:hidden;
}

a, img, input, button, select, textarea, .transition, .transition:before{
  transition:background-color var(--tr), border-color var(--tr), color var(--tr),
    opacity var(--tr), box-shadow var(--tr), transform var(--tr), filter var(--tr);
}

a{ color:var(--link); text-decoration:none; }
a:hover{ color:var(--link-hover); }
img{ max-width:100%; height:auto; }
strong,b{ font-weight:700; }

h1,h2,h3,h4,h5,h6{ color:var(--heading); line-height:1.25; font-weight:800; letter-spacing:-.01em; margin:0; }

h1{
  font-size:30px; font-weight:800; margin-bottom:18px; padding-bottom:14px;
  border-bottom:1px solid var(--border); display:flex; align-items:center;
  justify-content:space-between; gap:12px; flex-wrap:wrap;
}
h2.h2{
  font-size:22px; text-align:left; margin:34px 0 16px; padding-bottom:12px;
  position:relative; border-bottom:1px solid var(--border);
}
h2.h2:after{ content:""; position:absolute; left:0; bottom:-1px; width:54px; height:3px; background:var(--brand); border-radius:3px; }
h2.h2-red{ color:var(--heading); }
h2.h2-left{ text-align:left; }

hr{ width:100%; height:1px; background:var(--border); border:0; margin:24px 0; display:block; clear:both; }

::selection{ background:rgba(102,204,51,.28); }
:focus-visible{ outline:none; box-shadow:var(--ring); border-radius:6px; }
input:focus, textarea:focus, select:focus, button:focus-visible{ outline:none; }

::-webkit-scrollbar{ width:11px; height:11px; }
::-webkit-scrollbar-thumb{ background:var(--border-strong); border-radius:10px; border:3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover{ background:var(--text-soft); }

.body{ padding-bottom:30px; }
.black{ color:var(--text) !important; }
.outer-background{ top:0; left:0; display:inline; width:100%; height:100%; position:fixed; cursor:pointer; }
.only-mobile{ display:none; }

/* Generic surface card helper applied to many modules */
.card-surface{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); }

/* ============================ SOCIAL ICONS (preserve sprites) ============================ */
.social-auth-tg:before, .social-group-button-tg{ background-image:url('//www.masterinvest.info/uploads/social/telegram.svg'); }
.social-auth-ig:before, .social-group-button-ig{ background-image:url('//www.masterinvest.info/uploads/social/instagram.svg'); }
.social-auth-fb:before, .social-group-button-fb, .auth-panel-social-fb{ background-image:url('//www.masterinvest.info/uploads/social/facebook.svg'); }
.social-auth-tt:before, .social-group-button-tt{ background-image:url('//www.masterinvest.info/uploads/social/twitter.svg'); }
.social-auth-vk:before, .social-group-button-vk, .auth-panel-social-vk{ background-image:url('//www.masterinvest.info/uploads/social/vkontakte.svg'); }
.social-auth-gp:before, .social-group-button-gp, .auth-panel-social-gp{ background-image:url('//www.masterinvest.info/uploads/social/google.plus.svg'); }
.social-auth-ya:before, .social-group-button-ya, .auth-panel-social-ya{ background-image:url('//www.masterinvest.info/uploads/social/yandex.svg'); }
.social-auth-mr:before, .social-group-button-mr, .auth-panel-social-mr{ background-image:url('//www.masterinvest.info/uploads/social/mailrufill.svg'); }
.social-auth-ok:before, .social-group-button-ok, .auth-panel-social-ok{ background-image:url('//www.masterinvest.info/uploads/social/odnoklassniki.svg'); }
.social-group-button-pin, .share-pinterest{ background-image:url('//www.masterinvest.info/uploads/social/pinterest.svg'); }
.social-group-button-yt{ background-image:url('//www.masterinvest.info/uploads/social/youtube.svg'); }
.social-group-button-rss{ background-image:url('//www.masterinvest.info/uploads/social/rss.svg'); }

/* ============================ BUTTONS ============================ */
.btn,
.short-post-more a,
.module-vote-button-vote,
.out-button a,
.post-category-related-item-more{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--brand); color:#06210b; font-weight:700; font-size:15px;
  padding:11px 22px; border-radius:var(--radius-pill); border:0; cursor:pointer;
  text-decoration:none; text-transform:none; line-height:1.1; box-shadow:var(--shadow-sm);
}
.btn:hover,
.short-post-more a:hover,
.module-vote-button-vote:hover,
.out-button a:hover,
.post-category-related-item-more:hover{
  background:var(--brand-600); color:#06210b; transform:translateY(-1px); box-shadow:var(--shadow);
}
.btn-secondary{ background:var(--blue); color:#04222c; }
.btn-secondary:hover{ background:var(--blue-600); color:#04222c; }
.btn-ghost{ background:transparent; color:var(--text); border:1px solid var(--border-strong); box-shadow:none; }
.btn-ghost:hover{ background:var(--surface-2); color:var(--text); border-color:var(--brand); }

/* ============================ HEADER / TOP BAR ============================ */
.site-top{ position:sticky; top:0; z-index:1000; }

/* Crypto ticker bar */
.crypto-ticker{
  background:var(--ink); color:#e9eef5; height:38px; overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.06); position:relative;
}
html[data-theme="dark"] .crypto-ticker{ background:#060a0f; }
.crypto-ticker-track{ display:flex; align-items:center; width:max-content; height:38px;
  animation:ticker 60s linear infinite; will-change:transform; }
.crypto-ticker:hover .crypto-ticker-track{ animation-play-state:paused; }
.crypto-ticker-group{ display:flex; align-items:center; gap:28px; padding:0 14px; }
.crypto-ticker-item{ display:inline-flex; align-items:center; gap:8px; font-size:13px; text-decoration:none; }
.crypto-ticker-sym{ font-weight:700; color:#fff; letter-spacing:.02em; }
.crypto-ticker-price{ color:#cbd5e1; font-variant-numeric:tabular-nums; }
.crypto-ticker-chg{ font-weight:600; font-variant-numeric:tabular-nums; color:#cbd5e1; }
.crypto-ticker-chg.up, .crypto-ticker-chg.coin-change-positive{ color:#5ce08a; }
.crypto-ticker-chg.down, .crypto-ticker-chg.coin-change-negative{ color:#ff7b7e; }
@keyframes ticker{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .crypto-ticker-track{ animation:none; } }

/* Compact the default {coin} output into ticker chips */
.crypto-ticker .custom-coin-main{ display:inline-flex; align-items:center; border:0; margin:0; padding:0; background:transparent; }
.crypto-ticker .custom-coin-main-title{ display:inline-flex; align-items:center; gap:7px; padding:0 0 0 23px; min-height:0;
  background-size:18px 18px; background-position:left center; background-repeat:no-repeat; }
.crypto-ticker .custom-coin-main-name{ display:inline-flex; align-items:baseline; gap:6px; font-size:13px; order:1; }
.crypto-ticker .custom-coin-main-name br{ display:none; }
.crypto-ticker .custom-coin-main-name a{ color:#fff; font-weight:700; text-decoration:none; }
.crypto-ticker .custom-coin-main-name span{ color:#cbd5e1; font-weight:400; font-variant-numeric:tabular-nums; }
.crypto-ticker .custom-coin-main-change{ float:none; order:2; width:auto; display:inline-flex; align-items:center; font-size:13px; margin-left:2px; }
.crypto-ticker .custom-coin-main-hour, .crypto-ticker .custom-coin-main-week{ display:none; }
.crypto-ticker .custom-coin-main-day{ font-weight:600; font-variant-numeric:tabular-nums; }
.crypto-ticker .coin-change-positive{ color:#5ce08a; }
.crypto-ticker .coin-change-negative{ color:#ff7b7e; }

/* Header inline search */
.header-search{ position:relative; width:260px; }
.header-search .easysearch{ width:100%; height:40px; line-height:40px; padding:0 38px 0 14px; box-sizing:border-box;
  font-size:14px; border:1px solid var(--border); border-radius:var(--radius-pill); background:var(--surface-2); color:var(--text);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13 17 17'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center right 12px; }
.header-search .easysearch:focus{ border-color:var(--brand); box-shadow:var(--ring); background-color:var(--surface); }
@media (max-width:1280px){ .header-search{ display:none; } }

/* Main header */
.header{
  background:var(--header-bg); border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm); padding:0; width:100%; height:auto;
}
.header-inner{
  max-width:var(--container); margin:0 auto; min-height:var(--header-h);
  display:flex; align-items:center; gap:20px; padding:10px 24px;
}
.logo{ width:206px; height:44px; margin:0; flex:0 0 auto; position:relative; z-index:2; }
.logo a{
  display:block; width:206px; height:44px; text-decoration:none;
  background-image:url('//www.masterinvest.info/theme/Default/images/logo.png');
  background-repeat:no-repeat; background-position:left center; background-size:contain;
}
html[data-theme="dark"] .logo a{ filter:brightness(0) invert(1); }

/* Primary navigation */
.header-navigation{ width:auto; flex:1 1 auto; text-align:left; position:relative; z-index:1; }
.header-navigation-split, .header-navigation-left, .header-navigation-right{ display:none; }
.header-navigation-inline{ display:block; }
.header-navigation ul{ display:flex; flex-wrap:wrap; align-items:center; gap:2px; border:0; padding:0; }
.header-navigation li{ display:inline-block; height:auto; line-height:1; padding:0; }
.header-navigation li a{
  display:block; font-size:14.5px; font-weight:600; color:var(--text);
  text-decoration:none; padding:9px 13px; border-radius:var(--radius-pill);
}
.header-navigation li a:hover, .header-navigation li a.active{ color:var(--brand-700); background:var(--brand-050); }
html[data-theme="dark"] .header-navigation li a:hover, html[data-theme="dark"] .header-navigation li a.active{ color:var(--brand); }

/* Header actions */
.header-actions{ flex:0 0 auto; display:flex; align-items:center; gap:8px; margin-left:auto; }
.header-icon-btn{
  width:40px; height:40px; border-radius:var(--radius-pill); border:1px solid var(--border);
  background:var(--surface-2); display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--text); padding:0;
}
.header-icon-btn:hover{ border-color:var(--brand); color:var(--brand-700); background:var(--surface); }
.header-icon-btn svg{ width:19px; height:19px; display:block; }
.theme-toggle .icon-sun{ display:none; }
html[data-theme="dark"] .theme-toggle .icon-sun{ display:block; }
html[data-theme="dark"] .theme-toggle .icon-moon{ display:none; }
.header-login-btn{
  display:inline-flex; align-items:center; gap:7px; height:40px; padding:0 16px;
  border-radius:var(--radius-pill); background:var(--brand); color:#06210b; font-weight:700; font-size:14px;
}
.header-login-btn:hover{ background:var(--brand-600); color:#06210b; }

/* ============================ LAYOUT GRID ============================ */
#body{ width:100%; }
.wrapper{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.middle{
  display:grid; grid-template-columns:230px 1fr 300px; grid-template-areas:"left content right";
  gap:var(--gap); align-items:start; border:0; position:relative; margin:28px auto;
}
.middle:after{ display:none; }
.container{ grid-area:content; width:auto; float:none; overflow:visible; margin:0; min-width:0; }
.content{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm); padding:28px 30px; min-width:0;
}
.left-sidebar{ grid-area:left; float:none; width:auto; padding:0; left:auto; background:transparent; position:relative; }
.right-sidebar{ grid-area:right; float:none; width:auto; margin:0; padding:0; background:transparent; position:relative; }

/* ============================ HERO / ABOUT ============================ */
.about{
  max-width:var(--container); margin:30px auto 6px; padding:0 24px; text-align:center;
}
.about-title, h1.about-title{
  font-size:clamp(26px,4vw,40px); font-weight:800; text-align:center; border:0;
  display:block; margin:0 auto 14px; max-width:900px; letter-spacing:-.02em;
}
.about-text{ text-align:center; font-size:16px; color:var(--text-muted); max-width:920px; margin:0 auto; }
.about-text p{ padding-top:12px; }
.about-text p:first-child{ padding-top:0; }

/* ============================ SLIDER ============================ */
.slider{ max-width:var(--container); margin:24px auto 12px; padding:0 24px; height:auto; overflow:visible; position:relative; }
.slider-window{
  width:100%; margin:0; position:relative; left:auto; white-space:normal;
  display:grid; grid-template-columns:2fr 1fr 1fr; grid-auto-rows:1fr; gap:16px;
}
.slider-item{
  display:block; width:auto; height:260px; margin:0; opacity:1; filter:none;
  border-radius:var(--radius-lg); overflow:hidden; position:relative; vertical-align:top;
  background-position:center; background-size:cover; background-repeat:no-repeat; box-shadow:var(--shadow-sm);
  border:1px solid var(--border);
}
.slider-item:first-child{ grid-row:span 2; height:auto; min-height:300px; }
.slider-item:before{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(8,12,18,0),rgba(8,12,18,.85)); z-index:1; }
.slider-item.active{ opacity:1; filter:none; }
.slider-item:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.slider-left{ display:block; box-sizing:border-box; width:auto; float:none; position:absolute; inset:auto 0 0 0;
  z-index:2; padding:20px; font-size:13px; }
.slider-category{ display:inline-block; background:var(--brand); padding:4px 11px; border-radius:var(--radius-pill);
  text-transform:uppercase; font-size:11px; font-weight:700; margin-bottom:10px; }
.slider-category a{ color:#06210b; text-decoration:none; }
.slider-category a:hover{ color:#06210b; }
.slider-title{ padding:0; color:#fff; font-size:18px; font-weight:700; background:transparent; text-align:left; display:block; line-height:1.3; }
.slider-right, .slider-navigation{ display:none; }
.slider-link{ position:absolute; inset:0; z-index:4; display:block; text-indent:-9999px; overflow:hidden; }

/* ============================ MAGAZINE GRID (homepage) ============================ */
.mag-section{ max-width:var(--container); margin:34px auto 14px; padding:0 24px; }
.mag-section-bottom{ margin-top:50px; margin-bottom:44px; }
.sec-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; gap:16px; }
.sec-head h2{ font-size:22px; font-weight:800; letter-spacing:-.01em; display:flex; align-items:center; gap:11px; }
.sec-head h2:before{ content:""; width:8px; height:24px; background:linear-gradient(135deg,var(--brand),var(--blue)); border-radius:4px; }
.sec-more{ color:var(--text-muted); font-size:14px; font-weight:600; white-space:nowrap; }
.sec-more:hover{ color:var(--brand-700); }
.mag-grid{ display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:1fr; gap:18px; }
.mag-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; text-decoration:none; box-shadow:var(--shadow-sm); transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.mag-card:hover{ transform:translateY(-4px); border-color:var(--brand); box-shadow:var(--shadow); }
.mag-card:first-child{ grid-column:span 2; grid-row:span 2; }
.mag-ph{ display:block; aspect-ratio:16/10; overflow:hidden; background:var(--surface-3); position:relative; }
.mag-card:first-child .mag-ph{ aspect-ratio:16/11; }
.mag-ph img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .45s ease; }
.mag-card:hover .mag-ph img{ transform:scale(1.05); }
.mag-body{ padding:14px 16px 18px; display:flex; flex-direction:column; gap:9px; flex:1; }
.mag-cat{ align-self:flex-start; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--brand-700); background:var(--brand-050); padding:4px 11px; border-radius:50px; }
html[data-theme="dark"] .mag-cat{ color:var(--brand); }
.mag-title{ font-size:15.5px; font-weight:700; line-height:1.32; color:var(--heading); }
.mag-card:first-child .mag-title{ font-size:26px; letter-spacing:-.01em; }
.mag-excerpt{ font-size:14px; color:var(--text-muted); line-height:1.6; display:none; }
.mag-card:first-child .mag-excerpt{ display:block; }
.mag-meta{ margin-top:auto; font-size:12.5px; color:var(--text-soft); }
@media (max-width:1080px){ .mag-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .mag-grid{ grid-template-columns:repeat(2,1fr); } .mag-card:first-child{ grid-column:span 2; grid-row:auto; } .mag-card:first-child .mag-title{ font-size:20px; } .mag-section{ padding:0 16px; } }
@media (max-width:480px){ .mag-grid{ grid-template-columns:1fr; } .mag-card:first-child{ grid-column:span 1; } }

/* ============================ MARKET BAND ============================ */
.market-band{ background:var(--ink); color:#cfd8e4; border-bottom:1px solid rgba(255,255,255,.06); }
html[data-theme="dark"] .market-band{ background:#070b11; }
.mb-inner{ max-width:var(--container); margin:0 auto; padding:0 24px; height:42px; display:flex; align-items:center; gap:26px; overflow-x:auto; }
.mb-inner::-webkit-scrollbar{ display:none; }
.mb-item, .mb-fng{ display:inline-flex; align-items:center; gap:8px; font-size:13px; white-space:nowrap; }
.mb-item i, .mb-fng i{ font-style:normal; color:#7e8ba0; }
.mb-item b, .mb-fng b{ font-weight:700; color:#fff; font-variant-numeric:tabular-nums; }
.mb-fng{ margin-left:auto; }
.mb-gauge{ display:inline-flex; align-items:center; }
@media (max-width:860px){ .mb-fng{ margin-left:0; } .mb-inner{ height:40px; gap:18px; padding:0 16px; } }

/* ============================ TRENDING COINS ============================ */
.trend-section{ max-width:var(--container); margin:32px auto 8px; padding:0 24px; }
.trend-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.tcard{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:14px; text-decoration:none; box-shadow:var(--shadow-sm); transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease; display:block; }
.tcard:hover{ transform:translateY(-3px); border-color:var(--brand); box-shadow:var(--shadow); }
.tc-top{ display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.tc-ico{ width:30px; height:30px; border-radius:50%; background-size:cover; background-position:center; background-repeat:no-repeat; flex:0 0 auto; background-color:var(--surface-3); }
.tc-sym{ font-weight:700; font-size:14px; color:var(--heading); line-height:1.15; min-width:0; }
.tc-sym small{ display:block; color:var(--text-soft); font-weight:500; font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:88px; }
.tc-px{ display:block; font-size:18px; font-weight:700; color:var(--heading); font-variant-numeric:tabular-nums; letter-spacing:-.01em; }
.tc-ch{ display:block; font-size:12.5px; font-weight:700; margin-top:2px; font-variant-numeric:tabular-nums; }
.tc-ch.up{ color:var(--up); } .tc-ch.down{ color:var(--down); }
.tc-spark{ display:block; margin-top:8px; height:34px; }
.tc-spark svg{ width:100%; height:34px; display:block; }
@media (max-width:1080px){ .trend-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:760px){ .trend-section{ padding:0 16px; } .trend-grid{ grid-template-columns:repeat(2,1fr); gap:10px; } }

/* ============================ BREADCRUMBS ============================ */
#speedbar{
  padding:0 0 18px; display:flex; flex-wrap:wrap; gap:6px; align-items:center;
  font-size:13.5px; text-align:left; color:var(--text-muted);
}
#speedbar a{ color:var(--text-muted); text-decoration:none; }
#speedbar a:hover{ color:var(--brand-700); }
#speedbar .separator, #speedbar > strong{ color:var(--text-soft); }

/* ============================ POST CARDS (feed) ============================ */
.short-post{
  padding:0; margin-bottom:30px; background:transparent;
  border-bottom:1px solid var(--border); padding-bottom:30px;
}
.short-post:first-child{ padding-top:0; }
.short-post:last-child{ border-bottom:0; }
.short-post-name{
  font-size:24px; font-weight:800; text-align:left; border:0; padding:0; margin:0 0 14px; line-height:1.25;
}
.short-post-name a{ color:var(--heading); text-decoration:none; }
.short-post-name a:hover{ color:var(--brand-700); }
.short-post-photo{ margin:0 0 18px; border-radius:var(--radius); overflow:hidden; position:relative; }
.short-post-photo img{ display:block; width:100%; height:auto; border-radius:var(--radius); transition:transform .4s ease; }
.short-post-photo:hover img{ transform:scale(1.03); }
.short-post-text{ padding:0 0 18px; font-size:16px; color:var(--text-muted); text-align:left; line-height:1.7; }
.short-post-more{ text-align:left; }
.short-post-more a{ width:auto; height:auto; line-height:1.1; font-size:15px; text-transform:none; padding:11px 22px; }
.short-post-details{
  padding:16px 0 0; margin-top:18px; border:0; border-top:1px solid var(--border);
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.short-post-details-row{ display:inline-flex; align-items:center; width:auto; font-size:13.5px; color:var(--text-muted); }
.short-post-details-row a{ color:var(--text-muted); text-decoration:none; }
.short-post-details-row a:hover{ color:var(--brand-700); }
.short-post-details-row-1{ text-align:left; }
.short-post-details-row-1 a{ background:var(--surface-3); padding:5px 12px; border-radius:var(--radius-pill); font-weight:600; color:var(--text); }
.short-post-details-row-1 a:hover{ background:var(--brand-050); color:var(--brand-700); }
.short-post-details-row-2{ text-align:center; margin:0; }
.short-post-details-row-3{ text-align:right; margin-left:auto; }
.short-post-details-2{ font-size:12.5px; text-align:left; padding-top:12px; display:flex; gap:18px; flex-wrap:wrap; color:var(--text-muted); }
.short-post-details-2-row{ width:auto; }
.short-post-details-2-row a{ color:var(--text-muted); text-decoration:none; }
.short-post-details-2-row a:hover{ color:var(--brand-700); }

/* ============================ FULL ARTICLE ============================ */
.full-post{ position:relative; }
.full-post-details{ margin-bottom:22px; border:0; border-bottom:1px solid var(--border); padding-bottom:14px;
  display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.full-post-details-row{ display:inline-flex; align-items:center; width:auto; font-size:14px; text-transform:none; color:var(--text-muted); }
.full-post-details-row a{ color:var(--text-muted); }
.full-post-details-row a:hover{ color:var(--brand-700); }
.full-post-details-row-3{ margin-left:auto; }

.full-post-rating{ display:inline-flex; align-items:center; gap:8px; font-weight:700; }

.full-text{ font-size:17px; color:var(--text); line-height:1.78; }
.full-text p{ margin:0 0 18px; }
.full-text img{ display:block; width:auto; max-width:100%; margin:22px auto; border-radius:var(--radius); height:auto; box-shadow:var(--shadow-sm); }
.full-text a{ text-decoration:underline; text-underline-offset:2px; color:var(--link); }
.full-text a:hover{ color:var(--link-hover); text-decoration:none; }
.full-text h2, .full-text h3, .full-text h4{ color:var(--heading); overflow:hidden; margin:32px 0 14px; scroll-margin-top:120px; }
.full-text h2{ font-size:25px; }
.full-text h3{ font-size:21px; }
.full-text h4{ font-size:18px; }
.full-text ul, .full-text ol{ padding:0 0 18px 24px; margin:0; }
.full-text ul li{ padding:6px 0 0; position:relative; list-style:none; padding-left:22px; }
.full-text ul li:before{ content:""; position:absolute; left:2px; top:16px; width:7px; height:7px; border-radius:2px; background:var(--brand); }
.full-text ol{ list-style:decimal; padding-left:34px; }
.full-text ol li{ padding:6px 0 0; list-style:decimal; }
.full-text blockquote{ margin:22px 0; padding:16px 22px; border-left:4px solid var(--brand); background:var(--surface-2); border-radius:0 12px 12px 0; color:var(--text); }
.full-text table{ width:100%; border-collapse:collapse; margin:20px 0; }

.quote{ margin:24px 0; padding:16px 24px; font-size:18px; border-left:4px solid var(--brand); background:var(--surface-2); border-radius:0 12px 12px 0; }

/* Reading progress bar */
#reading-progress{ position:fixed; top:0; left:0; height:3px; width:0; z-index:1100;
  background:linear-gradient(90deg,var(--brand),var(--blue)); box-shadow:0 0 8px rgba(102,204,51,.5); transition:width .1s linear; }

/* Article meta header (new) */
.article-meta{ display:flex; align-items:center; flex-wrap:wrap; gap:14px; margin:0 0 22px; padding-bottom:16px;
  border-bottom:1px solid var(--border); font-size:13.5px; color:var(--text-muted); }
.article-meta .meta-chip{ display:inline-flex; align-items:center; gap:6px; }
.article-meta .meta-cat{ background:var(--brand-050); color:var(--brand-700); padding:5px 12px; border-radius:var(--radius-pill); font-weight:700; }
.article-meta svg{ width:15px; height:15px; opacity:.8; }

/* Table of contents */
.toc{ background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius); padding:18px 20px; margin:0 0 26px; }
.toc-title{ font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); margin-bottom:10px; }
.toc ul{ margin:0; padding:0; }
.toc li{ margin:0; }
.toc a{ display:block; padding:6px 10px; border-radius:8px; color:var(--text-muted); font-size:14.5px; border-left:2px solid transparent; }
.toc a:hover{ color:var(--brand-700); background:var(--surface-3); }
.toc a.active{ color:var(--brand-700); background:var(--brand-050); border-left-color:var(--brand); font-weight:600; }
.toc a.lvl-3{ padding-left:24px; font-size:13.5px; }

/* prev/next */
.prev-next{ overflow:hidden; display:flex; gap:16px; flex-wrap:wrap; }
a.prev-next-item{ display:flex; align-items:center; width:calc(50% - 8px); margin-bottom:0; font-size:15px;
  text-decoration:none; color:var(--text); background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius); padding:14px 18px; font-weight:600; }
a.prev-next-item:hover{ border-color:var(--brand); color:var(--brand-700); background:var(--surface); }
a.prev-next-prev{ float:none; }
a.prev-next-next{ float:none; text-align:right; justify-content:flex-end; }
a.prev-next-prev:before{ content:"‹"; width:auto; height:auto; margin-right:12px; float:none; font-size:22px; background:none; filter:none; color:var(--brand); }
a.prev-next-next:before{ content:"›"; width:auto; height:auto; margin-left:12px; float:none; order:2; font-size:22px; background:none; filter:none; color:var(--brand); }
.prev-next-top{ padding-top:0 !important; margin-bottom:24px; }
.prev-next-bottom{ padding-top:8px; margin:24px 0; }

/* related */
.post-related{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.related-item{ display:block; width:auto; margin:0; position:relative; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--border); box-shadow:var(--shadow-sm); }
.related-item:first-child{ display:block; }
.related-item img{ display:block; width:100%; height:170px; object-fit:cover; margin:0; transition:transform .4s ease; }
.related-item:hover img{ transform:scale(1.05); }
.related-name{ font-size:14px; text-align:left; background:linear-gradient(180deg,rgba(8,12,18,0),rgba(8,12,18,.9));
  color:#fff; position:absolute; width:100%; margin:0; padding:30px 14px 12px; z-index:2; text-transform:none;
  left:0; right:0; top:auto; bottom:0; font-weight:600; line-height:1.3; }

/* tags */
.post-tags{ display:flex; flex-wrap:wrap; gap:8px; margin:22px 0 0; max-height:108px; overflow:hidden; position:relative; }
.post-tags.mi-expanded{ max-height:none; }
.post-tags.mi-clamp:after{ content:""; position:absolute; left:0; right:0; bottom:0; height:48px; background:linear-gradient(rgba(255,255,255,0),var(--surface)); pointer-events:none; }
.post-tags.mi-expanded:after{ display:none; }
.post-tags-toggle{ display:inline-flex; align-items:center; gap:6px; margin:10px 0 22px; padding:7px 16px; border:1px solid var(--border); background:var(--surface-2); color:var(--brand-700); font-size:13px; font-weight:600; border-radius:var(--radius-pill); cursor:pointer; }
.post-tags-toggle:hover{ border-color:var(--brand); }

/* ---- Sort bar ---- */
div.sort{ margin:0 0 22px; }
div.sort form{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:var(--text-muted); }
ul.sort{ display:flex; flex-wrap:wrap; gap:7px; align-items:center; padding:0; margin:0; list-style:none; }
ul.sort li{ display:inline-block; list-style:none; }
ul.sort li a{ display:inline-block; padding:6px 13px; border-radius:var(--radius-pill); background:var(--surface-2); border:1px solid var(--border); color:var(--text-muted); font-size:13px; font-weight:600; text-decoration:none; }
ul.sort li a:hover{ border-color:var(--brand); color:var(--brand-700); }
ul.sort li.asc a, ul.sort li.desc a, ul.sort li.active a{ background:var(--brand); border-color:var(--brand); color:#06210b; }
div.sort input, div.sort button[type=submit]{ display:none; }
.post-tags a{ display:inline-block; background:var(--surface-3); color:var(--text-muted); padding:6px 13px;
  border-radius:var(--radius-pill); font-size:13px; text-decoration:none; font-weight:500; }
.post-tags a:hover{ background:var(--brand-050); color:var(--brand-700); }

.full-post-details-2{ padding-top:16px; margin-top:18px; border-top:1px solid var(--border);
  display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.full-post-details-2-with-tags{ margin-top:0; border-top:0; padding-top:0; }
.full-post-details-2-row{ display:inline-flex; align-items:center; width:auto; font-size:14px; color:var(--text-muted); }
.full-post-details-2-row a{ color:var(--text-muted); }
.full-post-details-2-row a:hover{ color:var(--brand-700); }
.full-post-details-2-row-3{ margin-left:auto; }
.full-post-details-2-row-1 .black, .full-post-details-2-row-3 a{ background:var(--surface-3); padding:5px 12px; border-radius:var(--radius-pill); font-weight:600; }

.post-queries{ font-style:normal; font-size:14px; background:var(--surface-2); padding:16px 18px; border-radius:var(--radius); color:var(--text-muted); border:1px solid var(--border); }
.post-queries a{ color:var(--text-muted); }
.post-queries a:hover{ color:var(--brand-700); }

.investments-warning{ margin:24px 0 0; padding:16px 20px; background:var(--warn-bg); border:1px solid var(--warn); border-radius:var(--radius); font-size:13.5px; color:var(--text); }
.investments-warning p{ padding:4px 0; }
.investments-warning a{ color:var(--warn); font-weight:600; }

.full-static{ padding:6px 0; }

/* quote block */
.post-quote{ background:linear-gradient(135deg,var(--brand-050),var(--blue-050)); padding:4px; border-radius:var(--radius-lg); }
.post-quote-inside{ background:var(--surface); padding:30px; font-size:21px; border-radius:var(--radius); position:relative; }
.post-quote-inside:before{ content:"“"; position:absolute; left:18px; top:0; font-size:70px; line-height:1; color:var(--brand); opacity:.35; font-family:Georgia,serif; }
.post-quote-text{ text-align:center; width:85%; margin:0 auto; color:var(--heading); font-weight:500; line-height:1.5; }
.post-quote-author{ font-size:14px; text-align:right; width:85%; margin:10px auto 0; color:var(--text-muted); }

/* category-related */
.post-category-related{ border:1px solid var(--border); padding:6px 20px; margin-top:0; border-radius:var(--radius); background:var(--surface); }
.post-category-related-item{ border-top:1px solid var(--border); padding:18px 0 18px 142px; margin-top:0; min-height:120px; overflow:hidden; position:relative; }
.post-category-related-item:first-child{ border-top:0; }
.post-category-related-item-image{ width:122px; height:90px; position:absolute; left:0; margin:0; border-radius:var(--radius-sm); overflow:hidden; }
.post-category-related-item-image img{ width:100%; height:100%; object-fit:cover; display:block; }
a.post-category-related-item-title{ text-decoration:none; color:var(--heading); font-size:18px; font-weight:700; }
a.post-category-related-item-title:hover{ color:var(--brand-700); }
.post-category-related-item-text{ padding:8px 0; font-size:14px; color:var(--text-muted); }
a.post-category-related-item-more{ float:none; display:inline-flex; width:auto; height:auto; line-height:1.1; padding:9px 18px; font-size:14px; }
.post-category-related-more{ text-align:right; padding:14px 5px 4px 0; }
.post-category-related-more a{ display:inline-flex; align-items:center; gap:6px; text-decoration:none; color:var(--brand-700); font-size:14px; font-weight:600; padding-left:0; }
.post-category-related-more a:before{ display:none; }
.post-category-related-more a:after{ content:"→"; }

/* ============================ SIDEBAR MODULES ============================ */
.sidebar-block{ margin-bottom:26px; }
.module-custom, .module-search, .vote{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:16px 16px 14px; }
.module-title{ font-size:15px; font-weight:800; padding:0 0 12px; margin:0 0 12px; border:0; border-bottom:1px solid var(--border);
  text-align:left; color:var(--heading); position:relative; text-transform:none; letter-spacing:-.01em; }
.module-title:after{ content:""; position:absolute; left:0; bottom:-1px; width:34px; height:3px; background:var(--brand); border-radius:3px; }
.module-content{ font-size:14px; }

.module-more{ text-align:center; margin-top:10px; }
.module-more a{ text-decoration:none; color:var(--text-muted); font-size:12.5px; font-style:normal; text-transform:none; display:inline-flex; gap:5px; }
.module-more a:hover{ color:var(--brand-700); }
a.module-more{ color:var(--text-muted); margin:6px 0; display:block; text-align:center; }
a.module-more:hover{ color:var(--brand-700); }

.sidebar-item{ text-decoration:none; cursor:pointer; display:inline-block; vertical-align:top; width:33%; margin:.16%; box-sizing:border-box; }
.sidebar-item img{ display:block; width:auto; max-width:100%; height:auto; border-radius:8px; }
.sidebar-item:hover img{ filter:brightness(108%); }

.top-item{ display:block; text-decoration:none; position:relative; margin:0 0 10px; border-radius:var(--radius-sm); overflow:hidden; }
.top-item img{ display:block; width:100%; height:auto; margin:0; }
.top-item:hover img{ filter:brightness(106%); }
.top-name{ font-size:14px; text-align:left; background:linear-gradient(180deg,rgba(8,12,18,0),rgba(8,12,18,.88));
  color:#fff; position:absolute; width:100%; margin:0; padding:24px 12px 10px; z-index:2; left:0; right:0; top:auto; bottom:0; font-weight:600; line-height:1.3; }

.referer-item{ padding:7px 0 7px 24px; position:relative; border-bottom:1px dashed var(--border); }
.referer-item:last-child{ border-bottom:0; }
.referer-item img{ display:block; position:absolute; left:0; margin:5px 0 0; border-radius:3px; }
.referer-item a{ font-size:14px; line-height:1.4; color:var(--text); text-decoration:none; }
.referer-item a:hover, .referer-item a.active{ color:var(--brand-700); }

.module-content-tags{ text-align:left; display:flex; flex-wrap:wrap; gap:7px; }
.module-content-tags a{ display:inline-block; background:var(--surface-3); color:var(--text-muted); padding:5px 11px; border-radius:var(--radius-pill); font-size:12.5px; text-decoration:none; }
.module-content-tags a:hover{ background:var(--brand-050); color:var(--brand-700); }

/* easysearch */
.module-easysearch{ display:block; position:relative; border:0; padding:0; margin:12px 0 0; }
.module-easysearch input[type=text].easysearch{ width:100%; padding:0 38px 0 14px; box-sizing:border-box; height:40px;
  line-height:40px; font-size:14px; border:1px solid var(--border); border-radius:var(--radius-pill); background:var(--surface-2);
  color:var(--text);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13 17 17'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center right 12px; filter:none; }
.module-easysearch input[type=text].easysearch:focus{ filter:none; border-color:var(--brand); box-shadow:var(--ring); }
.easysearch-result, .autocomplete-result{ position:absolute; width:100%; background:var(--surface); z-index:9999; padding:6px;
  border-radius:var(--radius); box-sizing:border-box; box-shadow:var(--shadow-lg); margin:6px 0 0; border:1px solid var(--border); }
.easysearch-result div, .autocomplete-result div{ border-top:1px solid var(--border); padding:9px 10px; font-size:13px; line-height:1.4;
  white-space:nowrap; text-overflow:ellipsis; overflow:hidden; border-radius:8px; }
.easysearch-result div:first-child, .autocomplete-result div:first-child{ border-top:0; }
.easysearch-result div a{ font-size:13px; color:var(--text); text-decoration:none; }
.easysearch-result div a.easysearch-tpl-icon{ background-repeat:no-repeat; background-position:center left; padding-left:24px; display:inline-block; }
.easysearch-result div:hover, .easysearch-result div.active,
.autocomplete-result div:hover, .autocomplete-result div.active{ cursor:pointer; background:var(--surface-3); }
.easysearch-result div b, .autocomplete-result div b{ color:var(--brand-700); }
.autocomplete-result div b{ color:var(--brand-700); }

/* sidebar search */
.module-search{ }
#q_search{ display:block; border:0; margin:0; position:relative; }
#q_search #story{ width:100%; padding:0 44px 0 14px; box-sizing:border-box; height:42px; line-height:42px; font-size:14px;
  border:1px solid var(--border); border-radius:var(--radius-pill); background:var(--surface-2); color:var(--text); }
#q_search #story:focus{ border-color:var(--brand); box-shadow:var(--ring); }
.module-search-button{ display:block; width:34px; height:34px; position:absolute; margin:0; right:4px; top:4px; cursor:pointer;
  background:var(--brand); border-radius:var(--radius-pill); filter:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' fill='none' stroke='%2306210b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13 17 17'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; }
.module-search-button:hover{ filter:none; background-color:var(--brand-600); }
.module-search-button span{ display:none; }

/* proxy sidebar links */
.proxy-module-item{ display:flex; align-items:center; height:auto; line-height:1.3; padding:9px 0 9px 40px; position:relative;
  border-bottom:1px solid var(--border); margin:0; text-decoration:none; font-size:14px; color:var(--text); }
.proxy-module-item:last-child{ border-bottom:0; }
.proxy-module-item:hover{ color:var(--brand-700); }
.proxy-module-item:before{ display:block; content:""; width:28px; height:28px; position:absolute; left:0; margin:0;
  background-repeat:no-repeat; background-size:cover; border-radius:50px; }
.proxy-module-item.proxy-module-icon-ru:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/ru.png'); }
.proxy-module-item.proxy-module-icon-ua:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/ua.png'); }
.proxy-module-item.proxy-module-icon-us:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/us.png'); }
.proxy-module-item.proxy-module-icon-http:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/http.png'); }
.proxy-module-item.proxy-module-icon-ssl:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/ssl.png'); }
.proxy-module-item.proxy-module-icon-socks4:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/socks4.png'); }
.proxy-module-item.proxy-module-icon-socks5:before{ background-image:url('//www.masterinvest.info/theme/Default/images/proxy/socks5.png'); }

/* float sidebar */
.float-block.float-block-on{ position:fixed; width:var(--right-w); top:118px; }

/* ============================ SUBSCRIBE ============================ */
.subscribe{ display:block; border:1px solid var(--border); background:linear-gradient(135deg,var(--brand),var(--blue)); border-radius:var(--radius); padding:22px; }
.subscribe-start-ico, .subscribe-finish-ico{ width:46px; height:46px; margin:0 auto 8px; background:rgba(255,255,255,.2); border-radius:14px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='m4 6 8 6 8-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; }
.subscribe-start-text, .subscribe-finish-text{ font-size:16px; color:#fff; text-align:center; padding:8px 0 12px; font-weight:600; line-height:1.4; }
.subscribe-finish-text{ font-size:14px; font-weight:400; }
.subscribe-finish-text strong{ text-decoration:underline; }
.subscribe-finish{ display:none; }
.subscribe input{ height:42px; line-height:42px; font-size:15px; border:0; margin:5px 0; text-align:center; display:block; box-sizing:border-box; padding:5px 12px; width:100%; border-radius:var(--radius-pill); }
.subscribe input[type=email]{ background:#fff; color:#1c2733; }
.subscribe input[type=button]{ background:var(--ink); color:#fff; cursor:pointer; text-transform:none; font-weight:700; }
.subscribe input[type=button]:hover{ filter:brightness(118%); }

.subscribes-fullstory{ padding-top:18px; }
.subscribes-fullstory .subscribe{ padding:22px; text-align:center; min-height:auto; }
.subscribes-fullstory .subscribe-start{ padding-left:0; }
.subscribes-fullstory .subscribe-start-ico{ display:block; position:static; padding:0; margin:0 auto 8px; }
.subscribes-fullstory .subscribe-start-text{ box-sizing:border-box; text-align:center; padding:0 5px 12px; }
.subscribes-fullstory .subscribe-start-form{ display:flex; gap:10px; max-width:520px; margin:0 auto; }
.subscribes-fullstory .subscribe-start-form .subscribe-start-form-item{ display:block; width:65%; box-sizing:border-box; padding:0; }
.subscribes-fullstory .subscribe-start-form .subscribe-start-form-button{ display:block; width:35%; box-sizing:border-box; padding:0; }
.subscribes-fullstory .subscribe input{ margin:0; }

/* social buttons */
.social-group-buttons{ text-align:center; border:1px solid var(--border); padding:10px; border-radius:var(--radius); background:var(--surface);
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.social-group-buttons-clear-top{ border-top:1px solid var(--border); margin-top:0; }
.social-group-button{ display:inline-block; width:38px; height:38px; margin:0; background-color:var(--surface-2);
  background-repeat:no-repeat; background-position:center; background-size:54%; border-radius:var(--radius-pill); border:1px solid var(--border); }
.social-group-button a{ display:block; width:100%; height:100%; border-radius:var(--radius-pill); }
.social-group-button:hover{ width:38px; height:38px; margin:0; transform:translateY(-2px); border-color:var(--brand); box-shadow:var(--shadow-sm); }
.social-group-button:hover a{ width:100%; height:100%; }
.social-group-buttons-short{ text-align:right; border:0; padding:0; background:transparent; display:inline-flex; gap:6px; }
.social-group-buttons-full{ text-align:center; justify-content:center; }
.social-group-button-short{ margin:0; width:30px; height:30px; filter:none; background-size:50%; }
.social-group-button-short a{ width:100%; height:100%; }
.social-group-button-short:hover{ width:30px; height:30px; margin:0; filter:none; transform:translateY(-2px); }

/* rating like/dislike */
.rating-like, .rating-unlike{ display:inline-block; vertical-align:middle; width:28px; height:28px; filter:grayscale(100%); border-radius:50px; }
.rating-like:hover, .rating-unlike:hover{ filter:grayscale(0%); }
.rating-like{ background-image:url('//www.masterinvest.info/theme/Default/images/like.png'); }
.rating-unlike{ background-image:url('//www.masterinvest.info/theme/Default/images/dislike.png'); }
.ratingtypeplusminus{ display:inline-block; vertical-align:middle; padding:0 6px; }

/* ============================ USER / AUTH PANELS ============================ */
.user-panel{ font-size:14px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow-sm); }
.user-panel-photo{ width:84px; height:84px; border-radius:200px; border:3px solid var(--surface); margin:0 auto; background:var(--brand);
  background-position:center; background-repeat:no-repeat; background-size:cover; box-shadow:0 0 0 2px var(--border); }
.user-panel-login{ text-align:center; padding:8px 0 14px; font-size:15px; color:var(--text); }
.user-panel-login b{ color:var(--brand-700); }
.user-panel-menu{ display:block; border:0; padding:0; font-size:13.5px; }
.user-panel li{ border-top:1px solid var(--border); }
.user-panel li a{ text-decoration:none; color:var(--text); padding:10px 5px; display:block; }
.user-panel li a:hover{ color:var(--brand-700); }
.favorites-li, .mbox-li{ display:inline-block; float:right; color:var(--text-muted); }
.mbox-li b{ color:var(--brand-700); }
.user-panel-menu li:first-child{ border-top:0; }

.auth-panel{ font-size:14px; display:block; border:1px solid var(--border); padding:22px; border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); }
.auth-panel-socials{ text-align:center; }
.auth-panel-socials-name{ display:block; text-align:center; padding:0 0 12px; font-weight:800; font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); }
.auth-panel-socials-items{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.auth-panel-or{ position:relative; height:1px; width:100%; background:var(--border); margin:20px 0; }
.auth-panel-or div{ position:absolute; background:var(--surface); margin:-11px auto 0; left:0; right:0; width:46px; text-align:center; color:var(--text-muted); font-size:12px; }
.auth-panel .form-item{ max-width:100%; margin:0 auto 12px; }
.auth-panel .form-label{ position:static; line-height:1.4; height:auto; margin:0 0 6px; font-size:12px; font-weight:700; text-transform:uppercase; color:var(--text-muted); }
.auth-panel .form-field{ padding:0; border:0; line-height:normal; height:auto; }
.auth-panel .form-field #login_name, .auth-panel .form-field #login_password{ display:block; box-sizing:border-box; width:100%; font-size:15px; padding:0 14px; line-height:44px; height:44px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--surface-2); color:var(--text); }
.auth-panel .form-field input:focus{ border-color:var(--brand); box-shadow:var(--ring); }
.auth-panel .form-button button{ width:100%; max-width:100%; height:46px; line-height:46px; color:#06210b; text-align:center; border:0; cursor:pointer; background:var(--brand); display:block; font-size:16px; font-weight:700; margin:8px auto; border-radius:var(--radius-pill); }
.auth-panel .form-button button:hover{ background:var(--brand-600); }
.auth-panel center{ font-size:12px; color:var(--text-muted); padding:4px 0; }
.auth-panel center a{ color:var(--text); font-weight:700; text-decoration:none; }
.auth-panel center a:hover{ color:var(--brand-700); }
.auth-panel-social{ }

/* ============================ COMMENTS ============================ */
.module-comment{ display:block; text-decoration:none; min-height:auto; padding-left:64px; color:var(--text); font-size:14px;
  border-bottom:1px solid var(--border); padding-bottom:14px; margin-bottom:14px; position:relative; }
.module-comment-image{ display:block; width:50px; height:50px; border-radius:50px; position:absolute; left:0; margin:0;
  background-color:var(--brand); background-position:center; background-size:cover; }
.module-comment-news{ display:block; font-size:13px; font-weight:600; color:var(--text); }
.module-comment-text{ display:block; font-size:13.5px; padding:4px 0; color:var(--text-muted); }
.module-comment-meta{ display:block; font-size:12px; color:var(--text-soft); }
.module-comment-date{ display:block; float:right; }
.module-comment:hover .module-comment-news{ color:var(--brand-700); }

.comment-block{ padding:16px 18px 16px 78px; border:1px solid var(--border); border-radius:var(--radius); margin:0 0 14px; position:relative; background:var(--surface); }
.comment-block-mass{ float:right; cursor:pointer; margin:-6px -6px 0 0; }
.comment-block-mass input{ cursor:pointer; }
#comments-list ol ol, .comments-tree-list .comments-tree-list{ padding-left:4%; }
.comment-block-left{ width:50px; height:50px; position:absolute; left:16px; margin:0; }
.comment-block-photo{ display:block; width:50px; height:50px; border-radius:50px; background-color:var(--brand); background-position:center; background-size:cover; }
.comment-block-online{ width:11px; height:11px; border-radius:15px; background:#22c55e; float:right; margin:38px 2px 0 0; border:2px solid var(--surface); }
.comment-block-rating{ float:right; line-height:1.6; }
.comment-block-author{ line-height:1.4; }
.comment-block-author a{ font-size:16px; color:var(--heading); text-decoration:none; font-weight:700; }
.comment-block-author a:hover{ color:var(--brand-700); }
.comment-block-text{ padding:8px 0 12px; font-size:14.5px; color:var(--text); line-height:1.65; }
.comment-block-date{ float:right; font-size:13px; color:var(--text-soft); text-decoration:none; }
.comment-block-action a{ font-size:13px; color:var(--text-muted); text-decoration:none; margin-right:12px; display:inline-block; }
.comment-block-action a:hover{ color:var(--brand-700); }
.mass_comments_action{ text-align:right; font-size:13px; color:var(--text-muted); }
.comments-navigation{ padding-top:8px; }

/* comment / post forms */
.form-post{ border:1px solid var(--border); border-radius:var(--radius); margin-top:0; padding:18px; font-size:14px; background:var(--surface); }
.form-editor{ max-width:100%; box-sizing:border-box; padding:14px 0; }
label[for=allow_subscribe]{ text-transform:none; display:inline-block; margin:0; font-size:14px; line-height:1.4; cursor:pointer; color:var(--text-muted); }
#allow_subscribe{ margin:0 6px 0 0; cursor:pointer; }
.form-post .form-button button,
.form-item-social .form-button-social button,
.form-button-social button,
.full-form-button button,
.full-form-button button{ width:100%; max-width:280px; height:46px; line-height:46px; color:#06210b; text-align:center; border:0; cursor:pointer; background:var(--brand); display:block; font-size:16px; font-weight:700; margin:14px auto; border-radius:var(--radius-pill); }
.form-post .form-button button:hover,
.form-button-social button:hover,
.full-form-button button:hover{ background:var(--brand-600); }
.form-post .form-item{ max-width:240px; display:inline-block; margin-right:14px; vertical-align:top; }
.form-post .form-label{ position:static; line-height:1.4; height:auto; margin:0 0 6px; font-size:12px; font-weight:700; text-transform:uppercase; color:var(--text-muted); }
.form-post .form-field{ padding:0; border:0; line-height:normal; height:auto; }
.form-post .form-field input{ display:block; box-sizing:border-box; width:100%; font-size:15px; padding:0 14px; line-height:42px; height:42px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--surface-2); color:var(--text); }

input[type=button].bbcodes, input[type=submit].bbcodes{ display:inline-block; width:auto; min-width:200px; max-width:100%; height:44px; line-height:44px; color:#06210b; text-align:center; border:0; cursor:pointer; background:var(--brand); font-size:15px; font-weight:700; margin:14px auto; border-radius:var(--radius-pill); padding:0 24px; }
input[type=button].bbcodes:hover, input[type=submit].bbcodes:hover{ background:var(--brand-600); }

.form-item-social{ padding:14px 0; font-size:14px; color:var(--text); }
.form-item-social input{ margin:6px 0 0; border:1px solid var(--border); padding:10px 12px; width:100%; max-width:280px; box-sizing:border-box; border-radius:var(--radius-sm); background:var(--surface-2); color:var(--text); }

/* ============================ GENERIC / FULL FORMS ============================ */
.form{ max-width:540px; margin:0 auto; display:block; }
.form input, .form select, .form textarea{ width:100%; padding:0 14px; box-sizing:border-box; display:inline-block; vertical-align:top;
  border:1px solid var(--border); height:44px; line-height:44px; font-size:15px; border-radius:var(--radius-sm); background:var(--surface-2); color:var(--text); }
.form textarea{ padding:12px 14px; height:160px; line-height:1.6; }
.form input:focus, .form select:focus, .form textarea:focus{ border-color:var(--brand); box-shadow:var(--ring); background:var(--surface); }
.form input.form-group-field-price, .form input.form-group-field-percent{ max-width:75%; }
.form input[type=button]{ width:100%; max-width:280px; height:46px; line-height:46px; color:#06210b; text-align:center; border:0; cursor:pointer; background:var(--brand); display:block; font-size:16px; font-weight:700; margin:14px auto; border-radius:var(--radius-pill); }
.form input[type=button]:hover{ background:var(--brand-600); }
.form input[type=file]{ padding:9px 12px; height:auto; line-height:1.4; }
.form-group{ padding:10px; }
.form-group-field-name{ font-size:12px; text-transform:uppercase; color:var(--text-muted); padding-bottom:6px; font-weight:700; }
.form-group-field-name.important:after{ font-size:16px; display:inline-block; vertical-align:middle; content:"*"; margin:0 0 0 5px; color:var(--down); }
.form-group-field-hidden{ display:none; }
.form-group-field-hidden[data-form-active]{ display:inherit; }
.form-group-field-html{ position:relative; }
.form-group-field-html-two{ display:inline-block; vertical-align:top; width:49%; margin-left:2%; }
.form-group-field-html-three{ display:inline-block; vertical-align:top; width:32%; margin-left:1.5%; }
.form-group-field-html-first{ margin-left:0; }
.form-group-field-price-symbol{ display:inline-flex; align-items:center; justify-content:center; vertical-align:top; height:44px; text-align:center; width:23%; box-sizing:border-box; padding:0 5px; color:#06210b; background:var(--brand); margin-left:2%; border-radius:var(--radius-sm); font-weight:700; }
.form-group-field-percent-symbol{ display:inline-flex; align-items:center; justify-content:center; vertical-align:top; height:44px; text-align:center; width:23%; box-sizing:border-box; color:#fff; background:#8543D4; padding:0 5px; margin-left:2%; border-radius:var(--radius-sm); font-weight:700; }
.form-group-tab{ display:inline-block; vertical-align:top; background:var(--surface-3); color:var(--text); width:49%; height:44px; line-height:44px; font-size:16px; cursor:pointer; text-align:center; border-radius:var(--radius-sm); font-weight:600; }
.form-group-tab:first-child{ margin-right:2%; }
.form-group-tab:hover, .form-group-tab.active{ background:var(--brand); color:#06210b; }
.form-group-hidden, .form-option-hidden, .form-group-field-name-hidden{ display:none; }
.form-group-hidden[data-form-active], .form-option-hidden[data-form-active]{ display:block; }
.form-group-field-name-hidden[data-form-active]{ display:inline-block; vertical-align:top; }

.full-form-item{ padding:10px 0; width:100%; max-width:300px; margin:0 auto; }
.full-form-label{ font-size:12px; text-transform:uppercase; color:var(--text-muted); font-weight:700; }
.full-form-label.important:after{ content:"*"; font-size:12px; color:var(--brand); margin-left:5px; }
.full-form-field input, .full-form-field textarea, .full-form-field select{ width:100%; max-width:300px; height:46px; line-height:46px; color:var(--text); border:1px solid var(--border); display:block; font-size:15px; padding:0 14px; margin-top:6px; box-sizing:border-box; background:var(--surface-2); border-radius:var(--radius-sm); }
.full-form-field textarea{ height:150px; line-height:1.6; padding:12px 14px; }
.full-form-field input:focus, .full-form-field textarea:focus, .full-form-field select:focus{ border-color:var(--brand); box-shadow:var(--ring); }
.full-form-captcha{ margin:6px 0; }
.full-form-or{ position:relative; height:1px; width:100%; max-width:300px; background:var(--border); margin:22px auto 16px; }
.full-form-or div{ position:absolute; background:var(--surface); margin:-12px auto 0; left:0; right:0; width:46px; text-align:center; color:var(--text-muted); }
.full-form center{ font-size:12px; color:var(--text-muted); padding:4px 0; }
.full-form center a{ color:var(--text); font-weight:700; text-decoration:none; }
.full-form center a:hover{ color:var(--brand-700); }
.full-form-fullsize .full-form-item{ width:100%; max-width:100%; padding:10px; box-sizing:border-box; }
.full-form-fullsize .full-form-field input, .full-form-fullsize .full-form-field textarea, .full-form-fullsize .full-form-field select{ max-width:100%; }
.full-form-group{ overflow:hidden; }
.full-form-group .full-form-item{ display:inline-block; vertical-align:top; width:50%; box-sizing:border-box; padding:10px; max-width:100%; }
.full-form-comment{ font-size:12px; padding:5px; color:var(--text-muted); }
.full-form-checkbox-item{ display:block; padding:6px 0 0; cursor:pointer; padding-left:22px; position:relative; }
.full-form-checkbox-item input{ display:block; position:absolute; left:0; margin:5px 0 0; }
.border{ padding:8px; margin-top:0; border:1px solid var(--border); border-radius:var(--radius-sm); }
#result-registration{ font-size:12px; padding:6px 10px 0; color:var(--text-muted); }

/* ============================ PAGINATION ============================ */
.page-navigation{ padding:0; margin:34px 0 0; background:none; }
div.page-navigation:nth-child(5){ margin-bottom:0; }
.pages{ display:flex; flex-wrap:wrap; justify-content:center; gap:6px; text-align:center; margin:0; }
.pages a, .pages span{ display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 10px;
  border-radius:var(--radius-sm); text-decoration:none; font-size:14.5px; font-weight:600; color:var(--text); background:var(--surface);
  border:1px solid var(--border); margin:0; }
.pages a:hover{ color:var(--brand-700); border-color:var(--brand); background:var(--brand-050); }
.pages span{ color:#06210b; background:var(--brand); border-color:var(--brand); }
.pages .nav_ext{ color:var(--text-muted); background:none; border:0; min-width:auto; }
.post-navigation{ margin:24px 0 0; font-size:14px; color:var(--text-muted); display:flex; gap:10px; align-items:center; }
.post-navigation-pages{ display:inline-flex; gap:6px; }

/* ============================ TABLES / CRYPTO LISTINGS ============================ */
.full-table{ font-size:13px; overflow-x:auto; display:block; border-radius:var(--radius); border:1px solid var(--border); }
.full-table table{ width:100%; }
.full-table th{ text-align:center; vertical-align:middle; background:var(--surface-3); padding:11px 8px; text-transform:uppercase;
  color:var(--text-muted); border:0; border-bottom:1px solid var(--border); white-space:nowrap; font-size:11px; font-weight:700; letter-spacing:.03em; }
.full-table th.full-table-filter, .full-table th.full-table-filter-option{ padding:8px; background:var(--surface-2); color:var(--text); }
.full-table th.full-table-filter-option input{ text-align:center; background:var(--surface); width:100%; display:block; padding:6px; font-size:12px; box-sizing:border-box; border:1px solid var(--border); border-radius:6px; color:var(--text); }
.full-table th a{ text-decoration:none; text-transform:none; cursor:pointer; color:var(--text-muted); }
.full-table th a:hover{ text-decoration:none; color:var(--brand-700); }
.full-table td{ padding:14px 8px; vertical-align:middle; border-bottom:1px solid var(--border); }
.full-table td a{ text-decoration:none; color:var(--text); }
.full-table td a:hover{ color:var(--brand-700); }
.full-table tr:nth-child(even)>td{ background-color:var(--surface-2); }
.full-table tr.row-even td{ background-color:var(--surface-2) !important; }
.full-table tr.row-odd td{ background-color:var(--surface) !important; }
.full-table tr.row-total td{ background-color:var(--surface-3) !important; color:var(--text) !important; font-weight:700; }
.full-table tr:hover td{ background-color:var(--brand-050) !important; }

.coins-short-symbol{ font-size:14px; font-weight:700; color:var(--heading); }
.coins-short-name{ font-size:12px; color:var(--text-muted); }
.coins-short-ico{ background-position:12px center; padding-left:54px; background-repeat:no-repeat; background-size:32px 32px; position:relative; text-align:left; }
.coins-short-price{ font-size:13px; color:var(--text); font-weight:700; font-variant-numeric:tabular-nums; }
.coins-short-18{ font-size:13px; color:var(--text); font-variant-numeric:tabular-nums; }
.coins-short-12{ font-size:12px; color:var(--text-muted); margin-top:2px; }
.coins-short-token{ float:right; color:#fff; background:var(--text-soft); padding:2px 6px; font-size:8px; text-transform:uppercase; margin:4px 0 0; border-radius:4px; }
.coins-short-mineable{ width:14px; height:14px; background:url('//www.masterinvest.info/theme/Default/images/icon/32/mining.png'); filter:grayscale(100%); display:inline-block; vertical-align:middle; margin-left:5px; background-size:contain; }
.coins-short-mineable:hover{ filter:grayscale(0%); }
.coins-short-change-positive, .coins-short-change-success{ color:var(--up); font-weight:600; font-variant-numeric:tabular-nums; }
.coins-short-change-negative, .coins-short-change-fail{ color:var(--down); font-weight:600; font-variant-numeric:tabular-nums; }
.coins-short-change-stop{ color:var(--warn); font-weight:600; }
[data-coin-short-change-lowhigh]{ display:none; }
[data-table-filter-item]{ display:none; }
.table-preload{ display:none; }

.coins-short-group{ white-space:nowrap; }
.coins-short-group-item, .coins-short-group-sep{ display:inline-block; vertical-align:middle; }
.coins-short-group-sep{ padding:0 5px; font-size:16px; color:var(--text-soft); }
.coins-short-ico-16{ background-position:0 center; padding-left:22px; }

.full-pages{ padding:10px 4px; }
.table-pages{ padding:10px 4px; text-align:center; font-size:12px; display:flex; flex-wrap:wrap; justify-content:center; gap:5px; }
.table-pages a.table-pages-page{ display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:8px; background:var(--surface-2); margin:0; line-height:1; text-decoration:none; color:var(--text); border:1px solid var(--border); font-weight:600; }
.table-pages a.table-pages-page.active-page, .table-pages a.table-pages-page:hover{ color:#06210b; background:var(--brand); border-color:var(--brand); }
.table-pages-show-all{ font-size:12px; display:block; text-align:center; padding-top:10px; width:100%; }
.table-pages-show-all a{ display:inline-block; margin:0 4px; text-decoration:none; color:var(--text-muted); }
.table-pages-show-all a:hover{ color:var(--brand-700); }

.fiats-short-ico{ position:absolute; text-align:center; background:var(--surface); color:var(--blue); }
.fiats-short-ico-16{ margin:1px 0 0 -20px; font-size:11px; width:16px; height:16px; line-height:16px; border:1px solid var(--border-strong); border-radius:16px; }
.fiats-short-ico-32{ margin:1px 0 0 -44px; font-size:13px; width:32px; height:32px; line-height:32px; border:2px solid var(--border-strong); border-radius:32px; }

/* ============================ COIN FULL PAGE ============================ */
.h-changers{ float:right; display:inline-flex; }
.h-changer{ padding:7px 14px; border:1px solid var(--border); background:var(--surface-2); color:var(--text-muted); line-height:1; cursor:pointer; font-size:12px; text-transform:uppercase; display:inline-block; text-align:center; vertical-align:top; font-weight:700; }
.h-changer-active{ background:var(--blue); color:#04222c; border-color:var(--blue); }
.h-changer-item{ display:none; }
.h-changer-item-active{ display:block; }
.h-changers-twice .h-changers-1{ border-radius:999px 0 0 999px; border-right:0; }
.h-changers-twice .h-changers-2{ border-radius:0 999px 999px 0; }

.coins-full-info{ max-width:480px; margin:0 auto; text-align:center; }
.coins-full-info-item{ display:inline-block; vertical-align:middle; width:166px; box-sizing:border-box; }
.coins-full-info-left{ padding-top:0; padding-right:15px; text-align:right; }
.coins-full-info-icon{ width:110px; height:110px; }
.coins-full-info-right{ padding-top:0; padding-left:15px; text-align:left; }
.coins-full-info-l1{ font-size:24px; color:var(--blue); font-weight:800; }
.coins-full-info-l2{ font-size:24px; color:var(--brand-700); font-weight:800; font-variant-numeric:tabular-nums; }
.coins-full-info-l3{ font-size:17px; color:var(--text-muted); }

.coins-full-labels, .coins-full-links{ margin:14px auto; padding:14px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); text-align:center; }
.coins-full-label{ display:inline-block; margin:4px; font-size:12px; line-height:1; text-transform:uppercase; padding:7px 11px; background:var(--surface-3); color:var(--text); border-radius:var(--radius-pill); font-weight:600; }
.coins-full-label-green{ background:var(--brand); color:#06210b; }
.coins-full-label-orange{ background:var(--warn); color:#3a2a00; }
.coins-full-label a{ text-decoration:none; color:inherit; }
.coins-full-links{ font-size:12px; }
.coins-full-links a{ display:inline-block; text-decoration:none; color:var(--text); font-size:12.5px; position:relative; margin:5px 10px; }
.coins-full-links a:hover{ color:var(--brand-700); }
.coins-full-links p{ display:inline-block; margin:5px; color:var(--text-muted); }
.coins-full-links-next{ padding-top:0; border-top:0; }

.coins-full-change{ text-align:center; display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.coins-full-change-item{ display:block; text-align:center; padding:14px 8px; margin:0; width:auto; box-sizing:border-box; vertical-align:top; background:var(--surface); border:0 !important; }
.coins-full-change-item:nth-child(even){ background:var(--surface-2); }
.coins-full-change-item-f{ font-size:20px; color:var(--heading); font-weight:700; font-variant-numeric:tabular-nums; }
.coins-full-change-item-l{ font-size:11px; line-height:1.4; color:var(--text-muted); text-transform:uppercase; letter-spacing:.02em; }
.coins-full-change-item-l strong{ color:var(--text); }
.coins-full-change-positive, .coins-full-change-success{ color:var(--up) !important; }
.coins-full-change-negative, .coins-full-change-fail{ color:var(--down) !important; }
.coins-full-change-none{ color:var(--text) !important; }
.coins-full-change-item.v2{ background:var(--surface); border:0 !important; }
.coins-full-change-item.v2:nth-child(even){ background:var(--surface-2); }

.coins-full-amounts{ margin:14px auto; padding-bottom:0; border-bottom:0; text-align:center; }
.coins-full-amount{ text-align:center; display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.coins-full-amount-item{ display:block; text-align:center; padding:14px 8px; margin:0; width:auto; box-sizing:border-box; background:var(--surface); border:0 !important; }
.coins-full-amount-item:nth-child(even){ background:var(--surface-2); }
.coins-full-amount-item-f{ font-size:17px; color:var(--blue); font-weight:700; font-variant-numeric:tabular-nums; }
.coins-full-amount-item-l{ font-size:11px; line-height:1.4; color:var(--text-muted); text-transform:uppercase; }
.coins-full-amount-item-l strong{ color:var(--text); }

.coins-full-chart{ padding:10px 0; border-bottom:1px solid var(--border); margin-bottom:10px; }

.coins-full-services-group{ border-top:2px solid var(--blue); padding:18px 16px; position:relative; margin-top:28px; box-sizing:border-box; width:30%; display:inline-block; vertical-align:top; background:var(--surface-2); border-radius:0 0 12px 12px; }
.coins-full-services-group:nth-child(3n-1){ margin-left:5%; margin-right:5%; }
.coins-full-services-group-title{ position:absolute; padding:5px 10px; border:0; left:0; top:-30px; line-height:1; color:var(--blue); font-weight:700; }
.coins-full-services-group-title strong{ font-weight:700; }
.coins-full-services-group ul{ padding:0; margin:0; }
.coin-service-item{ line-height:1.8; font-size:12.5px; }
.coin-service-item a{ display:block; padding-left:25px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--text); }
.coin-service-item a:hover{ color:var(--brand-700); }
.coin-service-item img{ width:16px; height:16px; margin:2px; position:absolute; margin-left:-25px; border-radius:3px; }

.coins-full-changes-block{ display:none; }
.coins-full-changes-block-active{ display:block; }
.coins-full-changes{ font-size:12px; overflow-x:auto; box-sizing:border-box; display:block; margin:0 auto; border:1px solid var(--border); border-radius:var(--radius); }
.coins-full-changes th{ text-align:center; vertical-align:middle; background:var(--surface-3); padding:9px 6px; text-transform:uppercase; color:var(--text-muted); border:1px solid var(--border); white-space:nowrap; font-weight:700; font-size:11px; }
.coins-full-changes td{ padding:9px 6px; text-align:center; vertical-align:middle; box-sizing:border-box; border:1px solid var(--border); width:9%; color:var(--text); }
.coins-full-changes tr:nth-child(odd)>td:nth-child(even), .coins-full-changes tr:nth-child(even)>td:nth-child(odd){ background:var(--surface-2); }
.coins-full-changes td abbr{ font-size:14px; display:inline-block; cursor:pointer; }
.coins-full-changes td.coins-full-changes-positive{ color:var(--up); }
.coins-full-changes td.coins-full-changes-negative{ color:var(--down); }
.coins-full-changes th.coins-full-changes-th-year{ background:var(--surface-2); color:var(--text); }
.coins-full-changes th div{ display:inline-block; width:80px; }

.coins-full-events-item{ font-size:15px; color:var(--text); padding:12px 0 12px 120px; border-top:1px solid var(--border); position:relative; }
.coins-full-events-item:first-child{ padding-top:0; border-top:0; }
.coins-full-events-item-date{ display:inline-block; color:var(--brand-700); padding:0 10px; margin:0; border-right:1px solid var(--border); position:absolute; left:0; font-weight:600; }
.coins-full-events-item-name{ display:inline-block; }

.coins-full-calculator-form, .signals-full-calculator-form{ margin:0 auto; padding:24px; text-align:center; border:1px solid var(--border); border-radius:var(--radius); background:linear-gradient(135deg,var(--brand-050),var(--blue-050)); }
.coins-full-calculator-item, .coins-full-calculator-equally{ display:inline-block; vertical-align:middle; width:45%; box-sizing:border-box; }
.coins-full-calculator-equally{ color:var(--text-muted); font-size:32px; padding:0 10px; line-height:1; width:8%; }
.coins-full-calculator-item-title{ font-size:11px; text-transform:uppercase; color:var(--text-muted); padding-bottom:6px; font-weight:700; text-align:left; }
.coins-full-calculator input{ display:block; box-sizing:border-box; width:100%; padding:0 12px; border:1px solid var(--border); color:var(--text); font-size:16px; height:44px; line-height:44px; background:var(--surface); border-radius:var(--radius-sm); }

.signals-full-calculator-form{ max-width:420px; border:1px solid var(--border); }
.signals-full-calculator-item{ padding:10px; }
.signals-full-calculator-item input{ width:100%; padding:0 12px; box-sizing:border-box; display:block; border:1px solid var(--border); height:44px; line-height:44px; font-size:16px; border-radius:var(--radius-sm); background:var(--surface); color:var(--text); }
.signals-full-calculator-item-title{ font-size:14px; padding-bottom:6px; color:var(--blue); font-weight:600; }
.signals-full-calculator-item-result-title{ font-size:14px; padding-bottom:6px; color:var(--text-muted); }
.signals-full-calculator-item-result{ font-weight:800; color:var(--brand-700); font-size:18px; }

.coin-full-buttons{ text-align:center; padding:14px 0; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.coin-full-buttons a{ text-align:left; display:inline-flex; flex-direction:column; justify-content:center; min-width:130px; margin:0; text-decoration:none !important; font-size:16px; border-radius:var(--radius-pill); background:var(--text-soft); color:#fff !important; padding:8px 22px 8px 48px; min-height:46px; font-weight:700; background-repeat:no-repeat; background-position:left 16px center; background-size:22px; }
.coin-full-buttons a span{ display:block; height:auto; line-height:1.2; font-size:12px; font-weight:500; opacity:.9; }
.coin-full-buttons a:hover{ color:#fff !important; box-shadow:var(--shadow); transform:translateY(-1px); }
.coin-full-buttons a.coin-button-buy{ background-color:var(--up); background-image:url('//www.masterinvest.info/theme/Default/icons/40/buy.png'); }
.coin-full-buttons a.coin-button-buy:hover{ background-color:var(--brand-600); }
.coin-full-buttons a.coin-button-sell{ background-color:var(--down); background-image:url('//www.masterinvest.info/theme/Default/icons/40/sell.png'); }
.coin-full-buttons a.coin-button-sell:hover{ filter:brightness(108%); }

.custom-coin-main, .custom-coin-signal{ border-bottom:1px solid var(--border); margin-bottom:10px; padding-bottom:10px; }
.custom-coin-main:last-child, .custom-coin-signal:last-child{ border-bottom:0; margin-bottom:0; }
.custom-coin-main-title{ background-repeat:no-repeat; background-position:left center; background-size:32px 32px; padding-left:44px; min-height:36px; position:relative; }
.custom-coin-main-change{ float:right; width:auto; text-align:right; font-size:12px; font-weight:600; font-variant-numeric:tabular-nums; }
.custom-coin-main-name{ font-size:15px; color:var(--text); font-weight:600; }
.custom-coin-main-name span{ font-size:11px; color:var(--text-muted); font-weight:400; }
.custom-coin-main-name a{ text-decoration:none; color:var(--text); }
.custom-coin-main-name a:hover{ color:var(--brand-700); }
.coin-change-positive{ color:var(--up); }
.coin-change-negative{ color:var(--down); }
.custom-coin-signal-direction{ float:right; width:16px; height:16px; padding:10px 5px; }
.custom-coin-signal-name{ color:var(--text); }
.custom-coin-signal-name a{ text-decoration:none; color:var(--text); }
.custom-coin-signal-name a:hover{ color:var(--brand-700); }

/* signals */
.signals-full-info{ max-width:540px; margin:0 auto; text-align:center; }
.signals-full-info-item{ display:inline-block; vertical-align:middle; width:166px; box-sizing:border-box; }
.signals-full-info-left{ padding:0 15px 0 0; text-align:right; }
.signals-full-info-icon{ width:192px; height:128px; position:relative; }
.signals-full-info-icon-base{ width:120px; height:120px; float:right; }
.signals-full-info-icon-market{ width:120px; height:120px; position:absolute; }
.signals-full-info-icon-fiat{ width:114px; height:114px; line-height:114px; text-align:center; border:3px solid var(--border-strong); background:var(--surface); border-radius:128px; font-size:58px; color:var(--blue); }
.signals-full-info-right{ padding:0 0 0 15px; text-align:left; }
.signals-full-info-l1{ font-size:24px; color:var(--blue); font-weight:800; }
.signals-full-info-l2{ font-size:24px; color:var(--brand-700); font-weight:800; }
.signals-full-info-l2-short{ color:var(--down); }
.signals-full-info-l3{ font-size:17px; color:var(--text-muted); }
.signals-full-goal{ text-align:center; width:180px; margin:24px auto 28px; position:relative; background:var(--surface-2); border-radius:36px; height:36px; padding:0 6px 0 48px; box-shadow:var(--shadow-sm); }
.signals-full-goal-short .signals-full-goal-f{ color:var(--down); }
.signals-full-goal-long .signals-full-goal-f{ color:var(--up); }
.signals-full-goal:before{ display:block; position:absolute; width:48px; height:48px; content:""; margin:-6px 0 0 -50px; }
.signals-full-goal-short:before{ background-image:url('//www.masterinvest.info/theme/Default/images/signal/goal-short.png'); }
.signals-full-goal-long:before{ background-image:url('//www.masterinvest.info/theme/Default/images/signal/goal-long.png'); }
.signals-full-goal-f{ font-size:22px; line-height:36px; font-weight:700; }
.signals-full-goal-l{ position:absolute; font-size:12px; line-height:1.4; color:var(--text-muted); text-align:center; width:180px; padding-top:5px; }
.signals-full-goal-l strong{ color:var(--text); }
.signals-full-goal-guest{ height:22px; padding:7px 6px 7px 48px; }
.signals-full-goal-guest:before{ margin-top:-13px; }
.signals-full-goal-guest .signals-full-goal-l{ padding:0; }

.signal-short-more a{ display:inline-block; margin:0 auto; width:30px; height:30px; text-decoration:none; background-image:url('//www.masterinvest.info/theme/Default/images/signal/more.png'); filter:grayscale(100%); }
.signal-short-more a:hover{ filter:grayscale(0%); }
.signal-short-user-photo{ width:32px; height:32px; border-radius:100px; border:2px solid var(--surface); margin:0 auto; background:var(--brand); background-position:center; background-size:cover; position:relative; }
.signal-short-user-rating, .signal-short-user-rank, .signal-short-user-accuracy{ display:inline-block; vertical-align:middle; font-size:12px; background-repeat:no-repeat; }
.signal-short-user-rating{ padding:0 0 0 15px; background-image:url('//www.masterinvest.info/theme/Default/images/signal/user-rating.png'); background-position:top 1px left; margin-bottom:5px; }
.signal-short-user-accuracy{ padding:0 0 0 15px; background-image:url('//www.masterinvest.info/theme/Default/images/signal/user-accuracy.png'); background-position:top 1px left; }
.signal-short-user-accuracy-green{ color:var(--up); }
.signal-short-user-accuracy-yellow{ color:var(--warn); }
.signal-short-user-accuracy-red{ color:var(--down); }
.signal-short-user-accuracy-grey{ color:var(--text-soft); }
.signal-short-user-award{ width:16px; height:16px; position:absolute; bottom:0; right:0; margin:0 -5px -5px 0; background-image:url('//www.masterinvest.info/theme/Default/images/signal/user-award.png'); }
.signal-short-user-name{ font-size:12px; color:var(--text-muted); padding:3px 0 0; }
.signal-short-user-name a{ font-size:12px; color:var(--text-muted); text-decoration:none; }
.signal-short-user-name a:hover{ color:var(--brand-700); }
a.signal-locked{ display:inline-block; vertical-align:middle; border:2px solid var(--border-strong); border-radius:50px; filter:none; text-decoration:none; padding:5px 12px; color:var(--text-muted); }
a.signal-locked span{ display:block; border-radius:50px; background:transparent; background-repeat:no-repeat; background-position:left center; background-image:url('//www.masterinvest.info/theme/Default/images/signal/lock.png'); background-size:contain; padding:2px 0 0 20px; font-size:12px; text-transform:uppercase; line-height:1.2; }
a.signal-locked:hover{ border-color:var(--brand); color:var(--brand-700); }
a.signal-locked.small{ border:1px solid var(--border-strong); padding:3px 9px; }
a.signal-locked.small:hover{ border-color:var(--brand); }

.three-tables{ text-align:center; }
.three-tables-table{ display:inline-block; vertical-align:top; width:49%; }
.three-tables-table h2{ text-align:left; }
.three-tables-table-two{ margin:0 0 0 2%; }

.buy-sell-short-item{ display:inline-block; vertical-align:top; width:49%; }
.buy-sell-short-item .nowrap-ellipsis{ max-width:90px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.buy-sell-short-item-buy{ margin-right:2%; }

/* proxy speed/anonymity */
.proxy-speed{ width:92%; height:24px; line-height:24px; position:relative; border:1px solid var(--border); margin:0 auto; background:var(--surface-2); border-radius:50px; font-size:13px; overflow:hidden; }
.row-even .proxy-speed{ border:1px solid var(--border); }
.proxy-speed-value{ width:100%; height:24px; line-height:24px; position:absolute; text-align:center; border-radius:50px; color:var(--text); z-index:2; }
.proxy-speed-value.proxy-speed-green{ color:#fff; }
.proxy-speed-bar{ width:100%; height:24px; line-height:24px; position:absolute; text-align:center; border-radius:50px; }
.proxy-speed-bar.proxy-speed-green{ background:var(--up); }
.proxy-speed-bar.proxy-speed-yellow{ background:var(--warn); }
.proxy-speed-bar.proxy-speed-red{ background:var(--down); }
.proxy-anonymity a{ display:inline-block; vertical-align:middle; font-size:11px; text-transform:uppercase; line-height:26px; height:26px; min-width:80px; width:92%; text-align:center; border-radius:50px; font-weight:700; }
.proxy-anonymity.proxy-anonymity-high a{ background:var(--up); color:#fff; }
.proxy-anonymity.proxy-anonymity-middle a{ background:var(--warn); color:#3a2a00; }
.proxy-anonymity.proxy-anonymity-low a{ background:var(--down); color:#fff; }
.proxy-anonymity.proxy-anonymity-none a{ background:var(--ink); color:#fff; }

/* image labels (hyip status) */
.image-label{ position:absolute; z-index:9; margin:18px; right:0; text-transform:uppercase; color:#fff; font-size:18px; line-height:1; padding:9px 16px; background:var(--brand); border-radius:var(--radius-pill); box-shadow:var(--shadow); font-weight:700; }
.image-label-hyip-scam{ background:var(--down); }
.image-label-hyip-problem{ background:var(--warn); color:#3a2a00; }

/* ============================ VOTE / POLL ============================ */
.module-vote-question{ text-align:left; font-size:16px; color:var(--heading); padding:0 0 12px; font-weight:600; }
.module-vote-list{ font-size:14px; }
.module-vote-list .vote{ position:relative; padding:10px 12px 10px 38px; cursor:pointer; margin:8px 0; border:1px solid var(--border); border-left:3px solid var(--border); border-radius:var(--radius-sm); background:var(--surface-2); }
.module-vote-list .vote:hover{ border-color:var(--brand); border-left-color:var(--brand); color:var(--brand-700); }
.module-vote-result .vote{ margin:8px 0; }
.module-vote-list input{ display:block; position:absolute; left:14px; margin:2px 0 0; }
.module-vote-list label{ cursor:pointer; }
.module-vote-button-vote{ width:auto; height:auto; line-height:1.1; padding:11px 22px; font-size:14px; text-transform:none; margin-top:10px; }
.voteprogress, .pollprogress{ margin:0 0 8px; border-radius:0 0 8px 8px; border:1px solid var(--border); border-left:3px solid var(--brand); border-top:none; }
.module-vote-votes{ text-align:center; margin:10px 0 0; text-transform:uppercase; font-size:12px; color:var(--text-muted); }

/* ============================ MISC ============================ */
.out-button{ text-align:center; }
.out-button a{ width:auto; height:auto; line-height:1.1; padding:11px 22px; font-size:14px; text-transform:none; margin-top:10px; }

span.icon-before{ display:inline-block; padding-left:22px; background-position:left center; background-repeat:no-repeat; position:relative; }
span.icon-before span{ display:block; width:16px; height:16px; vertical-align:middle; background-position:center; background-repeat:no-repeat; background-size:cover; border-radius:32px; position:absolute; left:0; }
span.icon-before span.icon-before-text{ font-style:normal; font-size:11px; line-height:16px; border:1px solid var(--border-strong); background:var(--surface); color:var(--blue); }

h5{ display:block; padding:0; margin:0; text-align:left; line-height:1.5; font-size:12px; }
hr.hr-one{ height:1px; }
a.in-h-link{ float:none; display:inline-flex; align-items:center; background:var(--surface-3); color:var(--text); text-decoration:none; font-style:normal; font-size:13px; padding:6px 14px; border-radius:var(--radius-pill); font-weight:600; }
a.in-h-link:hover{ color:var(--brand-700); background:var(--brand-050); }
h1 a.in-h-link{ margin-top:0; }

.donate{ display:block; text-align:center; font-size:12px; color:var(--text-muted); }
.donate-image a{ display:inline-block; margin:0 5px 15px; border:4px solid var(--brand); border-radius:var(--radius-sm); }
.user-photo{ border-radius:128px; overflow:hidden; max-width:100px; max-height:100px; }

/* profile */
.profile-online{ display:inline-block; vertical-align:middle; width:9px; height:9px; background:#22c55e; border-radius:50px; }
.profile-offline{ display:none; }
.prodile-edit, .prodile-edit a{ float:right; font-size:13px; line-height:1.6; color:var(--text-muted); }
.prodile-edit:hover, .prodile-edit a:hover{ color:var(--brand-700); }
.profile-photo{ width:100px; height:100px; background:var(--brand); border-radius:100px; background-position:center; background-size:cover; position:absolute; }
.profile-info{ padding-left:118px; color:var(--text-muted); font-size:14px; }
.profile-info b{ color:var(--text); font-weight:600; text-transform:uppercase; }
.profile-info-item{ padding-top:6px; }
.profile-info-item:first-child{ padding-top:0; }

/* private messages */
.pm-folder{ display:inline-block; width:33.3%; vertical-align:top; box-sizing:border-box; text-align:center; font-size:14px; text-transform:uppercase; color:var(--text-muted); font-weight:600; }
.pm-folder:before{ display:block; content:""; width:54px; height:54px; margin:0 auto 6px; filter:grayscale(100%); opacity:.7; }
.pm-inbox:before{ background-image:url('//www.masterinvest.info/theme/Default/images/inbox.png'); background-size:contain; background-repeat:no-repeat; background-position:center; }
.pm-outbox:before{ background-image:url('//www.masterinvest.info/theme/Default/images/outbox.png'); background-size:contain; background-repeat:no-repeat; background-position:center; }
.pm-send:before{ background-image:url('//www.masterinvest.info/theme/Default/images/new-message.png'); background-size:contain; background-repeat:no-repeat; background-position:center; }
.active .pm-folder, .pm-folder:hover{ color:var(--brand-700); }
.active .pm-folder:before, .pm-folder:hover:before{ filter:grayscale(0%); opacity:1; }
.pm-limit{ text-align:center; font-size:12px; text-transform:uppercase; color:var(--text-muted); }

/* user card popup */
.user-profile-popup{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-lg); padding:16px; display:flex; gap:14px; max-width:360px; }
.user-profile-popup-photo{ display:block; width:64px; height:64px; border-radius:50%; background:var(--brand); background-position:center; background-size:cover; }
.user-profile-popup-online{ font-size:11px; color:var(--up); text-align:center; margin-top:5px; font-weight:600; }
.user-profile-popup-item{ font-size:13px; padding:2px 0; color:var(--text-muted); }
.user-profile-popup-item b{ color:var(--text); }

/* info block */
.info-block-text{ padding:10px 0; font-size:16px; color:var(--text); }
.info-block-text a{ text-decoration:underline; color:var(--link); }
.info-block-text a:hover{ color:var(--link-hover); text-decoration:none; }
.info-block-float{ position:fixed; left:0; right:0; bottom:0; padding:15px; font-size:14px; text-align:center; z-index:100; }
.info-block-warning{ background:var(--down); color:#fff; }

/* notices inside content */
.post-notice, .post-warning, .post-success, .post-error{ padding:18px 22px; color:#fff; border-radius:var(--radius); margin:18px 0; }
.post-notice{ background:var(--text-soft); }
.post-warning{ background:var(--warn); color:#3a2a00; }
.post-success{ background:var(--brand); color:#06210b; }
.post-error{ background:var(--down); }
.post-notice u, .post-warning u, .post-success u, .post-error u{ text-decoration:none; display:table; padding-bottom:5px; border-bottom:1px solid rgba(255,255,255,.5); font-weight:700; }
.post-notice a, .post-warning a, .post-success a, .post-error a{ color:inherit; text-decoration:underline; }
.form-group.post-notice, .form-group.post-warning, .form-group.post-success, .form-group.post-error{ font-size:12px; margin:0 10px; }

/* billing */
.billing-advert-check{ padding:16px 20px; border:1px solid var(--warn); background:var(--warn-bg); margin:5px 0; font-size:13px; border-radius:var(--radius); }
.billing-advert-check-group{ padding:8px 0; }
.billing-advert-check-group span.colored{ color:var(--warn); font-size:16px; font-weight:700; }

/* ad button (yellow promo) */
.ad-button{ display:block; margin:0 0 18px; text-align:center; text-decoration:none; font-size:15px; color:#3a2a00; border-radius:var(--radius); padding:13px; background:linear-gradient(135deg,#fddc30,#fbbf24); font-weight:800; box-shadow:var(--shadow-sm); }
.ad-button:hover{ box-shadow:var(--shadow); transform:translateY(-1px); }
.ad-button span{ display:block; font-size:11px; font-weight:500; opacity:.85; margin-top:3px; }

/* banners */
.bn{ margin:0 0 26px; padding:8px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }
.bn a{ display:block; margin:auto; padding:0; box-sizing:border-box; }
.bn a img{ display:block; margin:auto; padding:0; box-sizing:border-box; width:auto; max-width:100%; height:auto; border-radius:var(--radius-sm); }
.bn.bn-125{ padding:16px; }
.bn.bn-728{ margin-bottom:18px; }
.bn.bn-group{ padding:10px 0; border-left:0; border-right:0; text-align:center; }
.bn.bn-group a{ display:inline-block; }
.bn.bn-group a:nth-child(odd){ margin-right:10px; }
.bn.bn-group.bn-with-title{ padding-top:0; border-top:0; }
.bn-240{ }

.adbn{ display:none; text-align:center; margin:0 auto 26px; }
.adbn.active + .adbn.active{ margin-top:-20px; }
.adbn-group{ border:1px solid var(--border); text-align:center; padding:8px; background:var(--surface); display:inline-block; border-radius:var(--radius); }
.adbn-group a, .adbn-group img{ display:block; box-sizing:border-box; margin:auto; padding:0; }
.adbn-group img{ width:auto; max-width:100%; height:auto; border-radius:var(--radius-sm); }

/* loader */
#loader{ display:none; width:64px; height:64px; margin:-32px 0 0 -32px; position:fixed; z-index:9999; top:50%; left:50%;
  border:4px solid var(--surface-3); border-top-color:var(--brand); border-radius:50%; background:none; animation:spin .8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* back to top */
#to-top{ position:fixed; right:22px; bottom:22px; width:46px; height:46px; border-radius:var(--radius-pill); background:var(--brand);
  color:#06210b; border:0; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow);
  opacity:0; visibility:hidden; transform:translateY(12px); z-index:900; }
#to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
#to-top:hover{ background:var(--brand-600); transform:translateY(-2px); }
#to-top svg{ width:22px; height:22px; }

/* skeleton */
.skeleton{ background:linear-gradient(90deg,var(--surface-2),var(--surface-3),var(--surface-2)); background-size:400% 100%; animation:sk 1.4s ease infinite; border-radius:6px; }
@keyframes sk{ from{ background-position:100% 50%; } to{ background-position:0 50%; } }

/* ============================ RANDOM (bottom strip) ============================ */
.random{ padding-top:50px; max-width:var(--container); margin:0 auto; padding-left:24px; padding-right:24px; }
.random-title{ width:100%; max-width:100%; padding-bottom:12px; border-bottom:1px solid var(--border); font-size:20px; font-weight:800; color:var(--heading); text-align:left; margin:0 auto 18px; position:relative; }
.random-title:after{ content:""; position:absolute; left:0; bottom:-1px; width:54px; height:3px; background:var(--brand); border-radius:3px; }
.random-window{ white-space:normal; overflow:hidden; width:100%; display:grid; grid-template-columns:repeat(8,1fr); gap:12px; }
.random-item{ display:block; text-decoration:none; width:auto; border-radius:var(--radius-sm); overflow:hidden; border:1px solid var(--border); }
.random-item img{ display:block; width:100%; height:auto; margin:0; }
.random-item:hover img{ filter:brightness(106%); }

/* ============================ FOOTER ============================ */
.footer{ max-width:100%; margin:0; padding:50px 24px; text-align:left; background:var(--footer-bg); color:var(--footer-fg);
  display:flex; flex-wrap:wrap; gap:30px; justify-content:center; }
.footer-navigation-group{ display:block; vertical-align:top; text-align:left; width:auto; max-width:320px; flex:1 1 260px; margin:0; }
.footer-navigation-group-two{ margin:0; }
.footer li{ padding:4px 0; }
.footer li a{ display:block; padding-left:0; font-size:13.5px; line-height:1.5; color:var(--footer-fg); text-decoration:none; }
.footer li a:hover{ color:var(--brand); }
.footer li a:before{ display:none; }
.footer-navigation-group-name{ text-align:left; display:block; color:#fff; font-size:16px; font-weight:800; padding-bottom:8px; margin-bottom:6px; border-bottom:0; }
.footer-navigation-group-name span{ color:#fff; }
.footer-navigation-group-name:after{ display:none; }
.footer-navigation-group-sep{ height:18px; }
.footer .module-title{ color:#fff; border-bottom-color:rgba(255,255,255,.12); }
.footer .module-title:after{ background:var(--brand); }

/* ============================ MOBILE HEADER & MENU ============================ */
#header-mobile{ display:none; }
#header-mobile-menu{ display:none; }
#header-mobile-user{ display:none; }
#header-mobile-search{ display:none; }
.header-mobile-menu-block{ display:none; }
.header-mobile-menu-block.active{ display:block; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */

@media (max-width:1200px){
  :root{ --left-w:200px; --right-w:280px; --gap:22px; }
  .middle{ grid-template-columns:200px 1fr 280px; }
  .post-related{ grid-template-columns:repeat(3,1fr); }
  .random-window{ grid-template-columns:repeat(6,1fr); }
}

/* Tablet: drop the left rail, keep content + right sidebar */
@media (max-width:1080px){
  .middle{ grid-template-columns:1fr 280px; grid-template-areas:"content right" "left left"; }
  .left-sidebar .sidebar{ position:static; display:grid; grid-template-columns:repeat(2,1fr); gap:16px; align-items:start; }
  .slider-window{ grid-template-columns:1fr 1fr; }
  .slider-item:first-child{ grid-row:auto; min-height:auto; height:230px; }
  .random-window{ grid-template-columns:repeat(5,1fr); }
}

/* Below tablet: single column, mobile chrome on */
@media (max-width:860px){
  .header{ display:none; }
  .site-top{ position:static; }
  .crypto-ticker{ position:fixed; top:0; left:0; right:0; z-index:1001; }
  .only-mobile{ display:block; }
  #header-mobile{ display:flex; }
  .middle{ grid-template-columns:1fr; grid-template-areas:"content" "left" "right"; gap:24px; margin:20px auto; }
  .left-sidebar .sidebar{ display:block; }
  .left-sidebar .sidebar, .right-sidebar .sidebar{ position:static; }
  .content{ padding:22px 18px; border-radius:var(--radius); }
  .wrapper{ padding:0 16px; }
  .about{ padding:0 16px; }
  .slider{ padding:0 16px; }
  .post-related{ grid-template-columns:repeat(2,1fr); }
  .random-window{ grid-template-columns:repeat(4,1fr); }
  .only-pc{ display:none; }

  /* Mobile sticky bar */
  #header-mobile{ position:fixed; top:38px; left:0; right:0; height:56px; z-index:1000; align-items:center;
    background:var(--header-bg); border-bottom:1px solid var(--border); box-shadow:var(--shadow-sm); padding:0 14px; gap:10px; }
  #body{ padding-top:0; }
  body{ padding-top:94px; }
  #header-mobile-l{ display:block; width:170px; height:36px; background-image:url('//www.masterinvest.info/theme/Default/images/logo.png');
    background-repeat:no-repeat; background-position:center; background-size:contain; margin:0 auto; text-indent:-9999px; }
  html[data-theme="dark"] #header-mobile-l{ filter:brightness(0) invert(1); }
  #header-mobile-m, #header-mobile-s, #header-mobile-u, #header-mobile-a{ flex:0 0 auto; width:42px; height:42px; border-radius:var(--radius-pill);
    background:var(--surface-2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; cursor:pointer; text-indent:-9999px; overflow:hidden; position:relative; }
  #header-mobile-a{ width:auto; padding:0 16px; text-indent:0; color:var(--brand-700); font-weight:700; font-size:14px; text-decoration:none; }
  #header-mobile-m:before{ content:""; width:18px; height:14px; border-top:2px solid var(--text); border-bottom:2px solid var(--text); position:relative; }
  #header-mobile-m:after{ content:""; position:absolute; width:18px; height:2px; background:var(--text); }
  #header-mobile-s:before{ content:""; width:18px; height:18px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8.5' cy='8.5' r='6'/%3E%3Cpath d='M13 13 17 17'/%3E%3C/svg%3E"); background-size:contain; background-repeat:no-repeat; }
  #header-mobile-u{ background-position:center; background-size:cover; text-indent:-9999px; }

  #header-mobile-menu{ position:fixed; top:94px; left:0; right:0; bottom:0; z-index:999; background:var(--surface); overflow-y:auto;
    padding:16px; display:none; }
  #header-mobile-menu.active, #header-mobile-menu.open{ display:block; }
  #header-mobile-menu .header-mobile-menu-title{ display:block; padding:14px 14px; font-size:16px; font-weight:700; color:var(--heading);
    background:var(--surface-2); border-radius:var(--radius-sm); margin-top:8px; cursor:pointer; position:relative; }
  #header-mobile-menu .header-mobile-menu-title:after{ content:"+"; position:absolute; right:16px; color:var(--text-muted); font-weight:400; }
  #header-mobile-menu .header-mobile-menu-title.active:after{ content:"–"; }
  #header-mobile-menu .header-mobile-menu-block{ padding:6px 0; }
  #header-mobile-menu .header-mobile-menu-block li a{ display:block; padding:11px 16px; color:var(--text); font-size:15px; border-bottom:1px solid var(--border); }
  #header-mobile-menu .header-mobile-menu-block li a:hover{ color:var(--brand-700); }

  #header-mobile-search, #header-mobile-user{ position:fixed; top:94px; left:0; right:0; z-index:998; background:var(--surface);
    padding:16px; border-bottom:1px solid var(--border); box-shadow:var(--shadow); }
  #header-mobile-search.active, #header-mobile-user.active,
  #header-mobile-search.open, #header-mobile-user.open{ display:block; }
  .header-mobile-search-comment{ font-size:12px; color:var(--text-muted); padding-top:8px; }

  .footer{ flex-direction:column; gap:22px; padding:36px 18px; }
  .footer-navigation-group{ max-width:100%; }

  .prev-next{ flex-direction:column; }
  a.prev-next-item{ width:100%; }
  .three-tables-table{ width:100%; display:block; }
  .three-tables-table-two{ margin:24px 0 0; }
  .coins-full-services-group{ width:100%; display:block; margin:28px 0 0 !important; }
}

@media (max-width:560px){
  h1{ font-size:24px; }
  .short-post-name{ font-size:21px; }
  .full-text{ font-size:16px; }
  .post-related{ grid-template-columns:1fr 1fr; }
  .random-window{ grid-template-columns:repeat(3,1fr); }
  .slider-window{ grid-template-columns:1fr; }
  .coins-full-change{ grid-template-columns:repeat(2,1fr); }
  .coins-full-amount{ grid-template-columns:repeat(2,1fr); }
  .coins-full-info-item{ width:auto; display:block; }
  .coins-full-info-left, .coins-full-info-right{ text-align:center; padding:6px 0; }
  .subscribes-fullstory .subscribe-start-form{ flex-direction:column; }
  .subscribes-fullstory .subscribe-start-form .subscribe-start-form-item,
  .subscribes-fullstory .subscribe-start-form .subscribe-start-form-button{ width:100%; }
  .coins-full-calculator-item, .coins-full-calculator-equally{ width:100%; display:block; padding:8px 0; }
  .post-category-related-item{ padding-left:0; }
  .post-category-related-item-image{ position:static; width:100%; height:160px; margin-bottom:12px; }
}

/* ============================ PRINT ============================ */
@media print{
  .crypto-ticker, .header, #header-mobile, #header-mobile-menu, .left-sidebar, .right-sidebar,
  .footer, .random, .adbn, .bn, #to-top, #reading-progress, .social-group-buttons, .subscribe{ display:none !important; }
  .middle{ grid-template-columns:1fr; }
  .content{ border:0; box-shadow:none; padding:0; }
  body{ background:#fff; color:#000; }
}

/* ===================== Crypto signals — premium listing (2026) ===================== */
.full-static > .full-text{ margin-bottom:24px; }
.full-static h1{ font-size:26px; font-weight:800; color:var(--heading); margin:0 0 18px; letter-spacing:-.01em; }
.in-h-link{ font-size:13px; font-weight:600; color:#06210b; background:var(--brand); padding:7px 14px; border-radius:var(--radius-pill); text-decoration:none; vertical-align:middle; margin-left:10px; }
.in-h-link:hover{ background:var(--brand-700); }

/* table shell */
.full-table{ overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); box-shadow:var(--shadow-sm); margin:0 0 18px; }
.full-table > table{ width:100%; border-collapse:collapse; min-width:760px; }
.signal-short{ border-top:1px solid var(--border); transition:background .15s ease; }
.signal-short:first-child{ border-top:0; }
.signal-short:hover{ background:var(--surface-2); }
.signal-short > td{ padding:13px 10px; vertical-align:middle; }
.signal-short > td:first-child{ padding-left:14px; }
.signal-short-long > td:first-child{ box-shadow:inset 4px 0 0 var(--up); }
.signal-short-short > td:first-child{ box-shadow:inset 4px 0 0 var(--down); }
.signal-short td img[alt="long"], .signal-short td img[alt="short"]{ width:18px; height:18px; opacity:.9; }

/* pair + exchange cell */
.signal-short .coins-short-group{ margin-bottom:5px; }
.signal-short .coins-short-symbol a{ color:var(--heading); font-weight:700; text-decoration:none; }
.signal-short .coins-short-symbol a:hover{ color:var(--brand-700); }
.signal-short .coins-short-group-first{ font-size:11px; color:var(--text-muted); padding-left:22px; min-height:16px; line-height:16px; }
.signal-short .coins-short-group-first .coins-short-symbol a{ color:var(--text-muted); font-weight:600; font-size:11px; }

/* author cell */
.signal-short-user-photo{ width:38px; height:38px; border-radius:50%; background-size:cover; background-position:center; margin:0 auto 5px; border:2px solid var(--border); position:relative; background-color:var(--surface-3); }
.signal-short-user-award{ position:absolute; right:-3px; top:-3px; width:15px; height:15px; border-radius:50%; background:gold; border:2px solid var(--surface); }
.signal-short-user-name{ text-align:center; }
.signal-short-user-name a{ font-size:12px; font-weight:600; color:var(--text); text-decoration:none; }
.signal-short-user-name a:hover{ color:var(--brand-700); }
.signal-short-user-rating{ display:inline-block; font-size:12px; font-weight:700; color:var(--brand-700); background:var(--brand-050); border-radius:var(--radius-pill); padding:2px 9px; }
.signal-short-user-rating:before{ content:"\2605"; margin-right:3px; color:#f0b400; }
.signal-short-user-accuracy{ display:inline-block; font-size:11px; font-weight:700; padding:2px 8px; border-radius:var(--radius-pill); margin-top:4px; background:var(--surface-2); }
.signal-short-user-accuracy-good, .signal-short-user-accuracy-high{ color:var(--up); background:rgba(38,166,91,.12); }
.signal-short-user-accuracy-bad, .signal-short-user-accuracy-low{ color:var(--down); background:rgba(229,72,77,.12); }

/* prices */
.signal-short .coins-short-18{ font-size:14px; font-weight:700; }
.signal-locked{ display:inline-flex; align-items:center; gap:5px; color:var(--brand-700); font-weight:700; text-decoration:none; }
.signal-locked:hover{ text-decoration:underline; }

/* status icons */
.signal-short td img[alt^="Сигнал"]{ width:30px; height:30px; }
.signal-short-more a{ display:block; width:30px; height:30px; border-radius:50%; background:var(--surface-2); border:1px solid var(--border); position:relative; }
.signal-short-more a:after{ content:""; position:absolute; left:11px; top:10px; width:7px; height:7px; border-top:2px solid var(--brand-700); border-right:2px solid var(--brand-700); transform:rotate(45deg); }
.signal-short-more a:hover{ border-color:var(--brand); background:var(--brand-050); }

/* top authors / exchanges / pairs blocks */
.three-tables{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:18px 0; }
.three-tables-table{ min-width:0; }
@media (max-width:760px){ .three-tables{ grid-template-columns:1fr; } .full-table > table{ min-width:0; } }

/* signals: graceful single/empty TOP-5 layout */
.three-tables-single{ grid-template-columns:minmax(0,560px); }
.three-tables-table h2{ font-size:17px; font-weight:700; color:var(--heading); margin:0 0 4px; }
.three-tables-table h5{ font-size:12px; color:var(--text-muted); font-weight:500; margin:0 0 8px; }
.three-tables-table > br{ display:none; }
.three-tables-table .post-category-related-more{ margin-top:10px; font-size:13px; }
.three-tables-table .post-category-related-more a{ color:var(--brand-700); text-decoration:none; font-weight:600; }

/* ============ signals — design fixes (2026-06 round 2) ============ */
/* фото 1 & 3: 16px coin/exchange icons were inheriting 32px size → overlapping text */
.coins-short-ico-16, .coins-short-group-first{ background-size:16px 16px !important; background-position:0 center !important; }
.coins-short-group{ display:inline-flex; align-items:center; gap:2px; }
.coins-short-group-first{ margin-top:4px; font-size:11px; color:var(--text-muted); padding-left:20px; min-height:16px; line-height:16px; }

/* фото 3: signal listing — cleaner, less dull */
.signal-short > td{ padding:14px 12px; }
.signal-short .coins-short-symbol a{ font-size:13px; }
.signal-short .coins-short-18{ font-size:14px; font-weight:800; }

/* фото 4: signal-page price blocks as a 4-card row (were stacked vertically) */
.coins-full-amounts{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; text-align:center; margin:18px auto; }
.coins-full-amount-item{ padding:16px 10px; background:var(--surface); }
.coins-full-amount-item:nth-child(even){ background:var(--surface-2); }
.coins-full-amount-item-f{ font-size:18px; }
.coins-full-amount-item-l strong{ text-transform:uppercase; font-size:11px; letter-spacing:.03em; }

/* фото 2: TOP-5 stat blocks → 2x2 grid, normal table width (not the wide main-listing min-width) */
.three-tables{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.three-tables-single{ grid-template-columns:minmax(0,560px); }
.three-tables-table .full-table{ overflow:visible; }
.three-tables-table .full-table > table{ min-width:0; }
.three-tables-table th, .three-tables-table td{ padding:9px 8px; }
@media (max-width:760px){ .three-tables, .coins-full-amounts{ grid-template-columns:1fr; } }

/* фото 5: calculator + donate in one row */
.signals-cta-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; margin:18px 0; }
.signals-cta-row > div{ min-width:0; margin:0; }
.signals-cta-row .signals-full-calculator-form{ max-width:none; }
.signals-cta-row .donate{ border:1px solid var(--border); border-radius:var(--radius); padding:24px; text-align:center; background:var(--surface); }
@media (max-width:760px){ .signals-cta-row{ grid-template-columns:1fr; } }

/* signals-cta-row: ignore stray <br> grid items (they pushed donate to a new row) */
.signals-cta-row > br{ display:none; }
.signals-cta-col{ min-width:0; }
.signals-cta-col > h2:first-child{ margin-top:0; }

/* ===================== Signal page — premium hero (trade plan + bar) ===================== */
.sig-hero{ border:1px solid var(--border); border-radius:16px; padding:22px 24px; margin:18px 0 24px; position:relative; overflow:hidden;
  background:radial-gradient(130% 150% at 100% 0, rgba(38,166,91,.10), transparent 58%), var(--surface); box-shadow:var(--shadow-sm); }
.sig-hero-short{ background:radial-gradient(130% 150% at 100% 0, rgba(229,72,77,.10), transparent 58%), var(--surface); }
.sig-hero-top{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.sig-badge{ display:inline-flex; align-items:center; gap:7px; font-weight:800; font-size:13px; letter-spacing:.05em; padding:7px 15px; border-radius:var(--radius-pill); color:#06210b; background:var(--up); }
.sig-badge-short{ background:var(--down); color:#fff; }
.sig-badge-ar{ width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent; border-bottom:8px solid currentColor; }
.sig-hero-short .sig-badge-ar{ border-bottom:0; border-top:8px solid currentColor; }
.sig-hero-pair{ font-size:22px; font-weight:800; color:var(--heading); }
.sig-hero-pair i{ color:var(--text-soft); font-style:normal; margin:0 3px; font-weight:400; }
.sig-exch{ margin-left:auto; font-size:13px; color:var(--text-muted); padding-left:22px; background-repeat:no-repeat; background-position:0 center; background-size:16px 16px; }
.sig-levels{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.sig-level{ background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius); padding:13px 15px; display:flex; flex-direction:column; gap:3px; }
.sig-level-cap{ font-size:11px; text-transform:uppercase; letter-spacing:.04em; color:var(--text-muted); font-weight:700; }
.sig-level-val{ font-size:17px; font-weight:800; color:var(--heading); font-variant-numeric:tabular-nums; }
.sig-level-pct{ font-size:12px; font-weight:700; }
.sig-level-pct.up, .sig-level .coins-full-change-positive{ color:var(--up); }
.sig-level-pct.down, .sig-level .coins-full-change-negative{ color:var(--down); }
.sig-level-target{ border-color:rgba(38,166,91,.4); background:rgba(38,166,91,.06); }
.sig-level-stop{ border-color:rgba(229,72,77,.35); background:rgba(229,72,77,.05); }
/* visual levels bar */
.sigbar-track{ position:relative; height:8px; border-radius:6px; background:var(--surface-3); margin:48px 6px 40px; }
.sigbar-fill{ position:absolute; top:0; height:8px; }
.sigbar-fill.up{ background:linear-gradient(90deg, rgba(38,166,91,.35), var(--up)); border-radius:0 6px 6px 0; }
.sigbar-fill.down{ background:linear-gradient(90deg, var(--down), rgba(229,72,77,.35)); border-radius:6px 0 0 6px; }
.sigbar-mark{ position:absolute; top:-5px; width:2px; height:18px; transform:translateX(-1px); border-radius:2px; }
.sigbar-mark.entry{ background:var(--text); }
.sigbar-mark.target{ background:var(--up); }
.sigbar-mark.stop{ background:var(--down); }
.sigbar-mark:after{ position:absolute; top:-19px; left:50%; transform:translateX(-50%); font-size:10px; font-weight:700; white-space:nowrap; }
.sigbar-mark.entry:after{ content:"Вход"; color:var(--text-muted); }
.sigbar-mark.target:after{ content:"Цель"; color:var(--up); }
.sigbar-mark.stop:after{ content:"Стоп"; color:var(--down); }
.sigbar-cur{ position:absolute; top:-7px; width:16px; height:16px; border-radius:50%; background:var(--brand); border:3px solid var(--surface); box-shadow:0 0 0 1px var(--brand); transform:translateX(-8px); z-index:2; }
.sigbar-cur:after{ content:"Сейчас"; position:absolute; top:19px; left:50%; transform:translateX(-50%); font-size:10px; font-weight:700; color:var(--brand-700); white-space:nowrap; }
@media (max-width:640px){ .sig-levels{ grid-template-columns:repeat(2,minmax(0,1fr)); } .sig-exch{ margin-left:0; } }

/* signal page: hero supersedes the old price-range block (avoid duplicate Старта/Текущая) */
.sig-hero + .coins-full-amounts{ display:none; }
.sig-hero + .coins-full-amounts + .coins-full-change{ margin-top:0; }

/* signal page: stats grid 4×2 (8 items) — no empty trailing cells */
.sig-hero + .coins-full-amounts + .coins-full-change{ grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:640px){ .sig-hero + .coins-full-amounts + .coins-full-change{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* ============ signal page — design round 4 ============ */
/* фото 3: icon-before icons were unsized → overlapping text */
.icon-before{ display:inline-block; background-repeat:no-repeat; background-position:0 center; background-size:16px 16px; padding-left:21px; line-height:18px; min-height:16px; }
.icon-before > span{ display:inline-block; width:16px; height:16px; border-radius:50%; background-size:cover; background-position:center; vertical-align:middle; margin:0 5px 0 -21px; }
.coins-full-links a, .coins-full-links p{ white-space:nowrap; }

/* фото 2: hide the dull default pair-graphic header (hero supersedes it) */
.signals-full-info, .signals-full-goal{ display:none !important; }
/* author chip inside the hero */
.sig-author{ margin-left:auto; display:inline-flex; align-items:center; gap:9px; text-decoration:none; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius-pill); padding:5px 15px 5px 5px; }
.sig-author:hover{ border-color:var(--brand); }
.sig-author-ph{ width:30px; height:30px; border-radius:50%; background-size:cover; background-position:center; background-color:var(--surface-3); flex:none; }
.sig-author-meta{ display:flex; flex-direction:column; line-height:1.2; }
.sig-author-meta b{ font-size:13px; color:var(--heading); font-weight:700; }
.sig-author-meta em{ font-size:11px; color:var(--text-muted); font-style:normal; }
.sig-hero-top .sig-exch{ margin-left:12px; }
@media (max-width:600px){ .sig-author{ margin-left:0; } }

/* фото 4: calculator + donate as equal-height premium cards (text is now full-width above) */
.signals-cta-row{ align-items:stretch; }
.signals-cta-col{ display:flex; flex-direction:column; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); padding:24px; box-shadow:var(--shadow-sm); margin:0; }
.signals-cta-title, .signals-cta-col > h2{ margin:0 0 18px; font-size:18px; font-weight:800; color:var(--heading); }
.signals-cta-col .signals-full-calculator, .signals-cta-col .signals-full-calculator-form{ border:0 !important; background:transparent !important; padding:0 !important; margin:0 !important; max-width:none !important; flex:1; }
.signals-cta-col .donate{ border:0; padding:0; background:transparent; flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; }
.signals-cta-col .signals-full-calculator-item{ padding:9px 0; }
.signals-cta-col .signals-full-calculator-item-input input{ background:var(--surface-2); }

/* фото 5: stats / data tables — cleaner, less dull */
.full-table table th{ background:var(--surface-3); color:var(--text-muted); font-size:11px; text-transform:uppercase; letter-spacing:.02em; font-weight:700; padding:11px 8px; vertical-align:middle; }
.full-table table td{ padding:12px 9px; vertical-align:middle; }
.full-table tbody tr{ border-top:1px solid var(--border); transition:background .15s ease; }
.full-table tbody tr:hover{ background:var(--surface-2); }
.coins-short-18{ font-weight:800; }

/* ============ signal page round 5 — kill redundant meta bar, real cards, cleaner tables ============ */
/* серая шапка / отступ сверху: the meta row duplicated the hero — remove it */
.coins-full-links-meta{ display:none !important; }
.sig-hero{ margin-top:6px; }

/* calculator + donate: genuine premium equal cards */
.signals-cta-col{ border:1px solid var(--border); border-radius:14px; background:var(--surface); padding:24px; box-shadow:var(--shadow-sm); }
.signals-cta-title, .signals-cta-col > h2{ margin:0 0 18px !important; font-size:18px; font-weight:800; color:var(--heading); text-align:left; }
.signals-cta-col .signals-full-calculator, .signals-cta-col .signals-full-calculator-form{ border:0 !important; background:transparent !important; box-shadow:none !important; padding:0 !important; margin:0 !important; max-width:none !important; text-align:left !important; flex:1; }
.signals-cta-col .signals-full-calculator-item{ padding:0 0 15px !important; }
.signals-cta-col .signals-full-calculator-item-title{ font-size:13px !important; color:var(--text-muted) !important; font-weight:600; text-align:left !important; padding:0 0 7px !important; }
.signals-cta-col .signals-full-calculator-item-input input{ width:100%; height:46px; line-height:46px; padding:0 14px; border:1.5px solid var(--border); border-radius:10px; background:var(--surface-2); font-size:16px; color:var(--text); box-sizing:border-box; }
.signals-cta-col .signals-full-calculator-item-input input:focus{ border-color:var(--brand); outline:none; }
.signals-cta-col .signals-full-calculator-item-result-title{ font-size:13px !important; color:var(--text-muted) !important; text-align:left !important; padding:0 0 3px !important; }
.signals-cta-col .signals-full-calculator-item-result{ font-size:22px !important; font-weight:800 !important; color:var(--brand-700) !important; text-align:left !important; }
.signals-cta-col .donate{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; text-align:center; }
.signals-cta-col .donate-text p{ font-size:12.5px; color:var(--text-muted); word-break:break-all; margin:2px 0; }
.signals-cta-col .donate-text strong{ color:var(--text); }

/* tables: lighter header (less grey), cleaner */
.full-table{ border-radius:14px; }
.full-table table th{ background:var(--surface-2) !important; color:var(--text-muted) !important; font-weight:700; }

/* TOP-5 stat blocks: masonry-style packing (no equal-height stretch → no big gaps) */
.three-tables{ display:block !important; column-count:2; column-gap:24px; grid-template-columns:none !important; }
.three-tables-table{ break-inside:avoid; -webkit-column-break-inside:avoid; page-break-inside:avoid; display:block; width:100%; margin:0 0 14px; box-sizing:border-box; }
.three-tables-table h2{ margin-top:0; }
.three-tables-table .post-category-related-more{ margin-top:8px; }
.three-tables-single{ column-count:1; }
@media (max-width:760px){ .three-tables{ column-count:1 !important; } }

/* signal hero: "Торговать на Binance" referral CTA (Binance brand gold) */
.sig-trade{ display:inline-flex; align-items:center; gap:9px; margin-top:20px; padding:12px 22px; border-radius:11px; background:linear-gradient(135deg,#f3ba2f,#f8d24a); color:#1a1500; font-weight:800; font-size:14px; text-decoration:none; box-shadow:0 6px 18px rgba(243,186,47,.32); transition:filter .15s ease, transform .15s ease; }
.sig-trade:hover{ filter:brightness(1.06); transform:translateY(-1px); color:#1a1500; }
.sig-trade i{ font-style:normal; font-size:16px; margin-left:2px; }
.sig-trade-ico{ width:18px; height:18px; background-size:contain; background-repeat:no-repeat; background-position:center; }

/* button-style links must not inherit the article-link underline (.full-text a) */
.full-text a.sig-trade, .full-text a.sig-author, .full-text a.in-h-link,
.sig-trade, .sig-author, .in-h-link,
.full-text a.sig-trade:hover, .full-text a.sig-author:hover{ text-decoration:none !important; }
/* polish: author chip + trade CTA */
.sig-author:hover{ background:var(--surface-3); }
.sig-trade{ letter-spacing:.01em; }
.sig-trade:active{ transform:translateY(0); }
