/* EURUSD Journal v1.7 — opis na pełną szerokość, czytelniejsze ikony Lubię/Nie lubię */
.myfx-public-stats{
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
  box-shadow:0 24px 74px rgba(0,0,0,.24);
  backdrop-filter:blur(12px);
  color:var(--text);
}
.top .wrap{position:relative;}
.myfx-public-stats--rail{
  position:absolute;
  right:0;
  top:54px;
  width:318px;
  min-height:288px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:13px;
  z-index:3;
}
.myfx-public-stats__title{
  display:grid;
  gap:3px;
  text-decoration:none;
  color:var(--text);
  padding-bottom:10px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.myfx-public-stats__title span{
  color:var(--muted);
  font-size:10px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.myfx-public-stats__title strong{
  font-size:16px;
  letter-spacing:.02em;
}
.myfx-public-stats__icons{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
.myfx-public-stat{
  display:grid;
  grid-template-columns:auto 1fr;
  grid-template-areas:"icon label" "icon value";
  gap:1px 8px;
  min-height:62px;
  padding:10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  background:rgba(0,0,0,.18);
  text-decoration:none;
  color:var(--text);
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.myfx-public-stat:hover{
  transform:translateY(-1px);
  border-color:rgba(120,200,255,.28);
  background:rgba(255,255,255,.07);
}
.myfx-stat-icon{
  grid-area:icon;
  align-self:center;
  width:28px;
  height:28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.10);
  font-size:14px;
}
.myfx-stat-label{
  grid-area:label;
  align-self:end;
  color:var(--muted);
  font-size:10px;
  font-weight:850;
  line-height:1.1;
}
.myfx-public-stat strong{
  grid-area:value;
  display:block;
  font-size:22px;
  line-height:1.03;
  letter-spacing:.02em;
}
.myfx-vote-row{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:auto;
}
.myfx-vote-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:42px;
  padding:9px 11px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:var(--text);
  font:inherit;
  font-weight:900;
  cursor:pointer;
  transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
.myfx-vote-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.10);}
.myfx-vote-btn[aria-pressed="true"].myfx-vote-btn--like{
  border-color:rgba(57,217,138,.44);
  background:rgba(57,217,138,.13);
}
.myfx-vote-btn[aria-pressed="true"].myfx-vote-btn--dislike{
  border-color:rgba(255,104,120,.42);
  background:rgba(255,104,120,.12);
}
.myfx-public-stats.is-backend-offline .myfx-public-stats__title span::after,
.myfx-stats-page.is-backend-offline .myfx-stats-page__subtitle::after{
  content:" · podgląd";
  color:rgba(159,176,195,.82);
}
.top .hero{padding-right:360px;}

.myfx-stats-page{
  display:grid;
  gap:18px;
}
.myfx-stats-page__hero{
  border-left:5px solid var(--buy);
}
.myfx-stats-page__hero h2{
  margin:0 0 8px;
  font-size:34px;
}
.myfx-stats-page__subtitle{
  color:var(--muted);
  line-height:1.6;
  margin:0;
}
.myfx-stats-big-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.myfx-stats-big-card{
  display:grid;
  gap:7px;
  padding:22px;
  min-height:142px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.16));
}
.myfx-stats-big-card .myfx-stat-icon{
  width:38px;
  height:38px;
  font-size:18px;
}
.myfx-stats-big-card span:not(.myfx-stat-icon){
  color:var(--muted);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.10em;
}
.myfx-stats-big-card strong{
  font-size:42px;
  line-height:1;
}
.myfx-stats-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}
.myfx-stats-actions .myfx-vote-btn{
  min-width:154px;
}
@media(max-width:1040px){
  .top .hero{padding-right:0;}
  .myfx-public-stats--rail{
    position:static;
    width:auto;
    min-height:0;
    margin:18px 0 0;
  }
  .myfx-public-stats__icons{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:860px){
  .myfx-public-stats--rail{padding:14px;}
  .myfx-public-stats__icons,.myfx-stats-big-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:520px){
  .myfx-public-stats__icons,.myfx-stats-big-grid{grid-template-columns:1fr;}
  .myfx-vote-row{grid-template-columns:1fr;}
  .myfx-stats-actions .myfx-vote-btn{width:100%;}
}


/* v1.5 — kolejność: Odwiedziny / Powiadomienia / Lubię + Nie lubię */
.myfx-public-stats__icons--ordered{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.myfx-public-stat--wide{
  grid-column:1 / -1;
  min-height:58px;
}
button.myfx-public-stat,
button.myfx-stats-big-card{
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.myfx-public-stat--vote{
  width:100%;
  min-height:64px;
}
.myfx-public-stat--vote[aria-pressed="true"].myfx-public-stat--like{
  border-color:rgba(57,217,138,.44);
  background:rgba(57,217,138,.13);
}
.myfx-public-stat--vote[aria-pressed="true"].myfx-public-stat--dislike{
  border-color:rgba(255,104,120,.42);
  background:rgba(255,104,120,.12);
}
.myfx-stats-big-grid--ordered{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.myfx-stats-big-card--wide{
  grid-column:1 / -1;
  min-height:126px;
}
.myfx-stats-big-card--vote{
  width:100%;
}
.myfx-stats-big-card--vote[aria-pressed="true"].myfx-stats-big-card--like{
  border-color:rgba(57,217,138,.44);
  background:linear-gradient(180deg,rgba(57,217,138,.13),rgba(0,0,0,.16));
}
.myfx-stats-big-card--vote[aria-pressed="true"].myfx-stats-big-card--dislike{
  border-color:rgba(255,104,120,.42);
  background:linear-gradient(180deg,rgba(255,104,120,.12),rgba(0,0,0,.16));
}
@media(max-width:1040px){
  .myfx-public-stats__icons--ordered{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:520px){
  .myfx-stats-big-grid--ordered{grid-template-columns:1fr;}
  .myfx-stats-big-card--wide{grid-column:auto;}
}


/* v1.6 — liczby wyrównane do prawej + data startu publicznego licznika */
.myfx-public-stats__headline{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.myfx-public-stats__headline strong{
  min-width:0;
}
.myfx-public-stats__headline em{
  color:rgba(186,206,228,.88);
  font-style:normal;
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
  letter-spacing:.02em;
}
.myfx-public-stat{
  grid-template-columns:auto minmax(0,1fr) auto;
  grid-template-areas:"icon label value";
  align-items:center;
}
.myfx-public-stat strong{
  justify-self:end;
  text-align:right;
  min-width:42px;
}
.myfx-public-stat--wide{
  min-height:58px;
}
.myfx-public-stat--vote{
  min-height:64px;
}
.myfx-stats-page__since{
  margin:0 0 12px;
  color:rgba(186,206,228,.88);
  font-size:13px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.myfx-stats-big-card{
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
}
.myfx-stats-big-card strong{
  justify-self:end;
  text-align:right;
  min-width:82px;
}
.myfx-stats-big-card--wide{
  min-height:112px;
}
@media(max-width:520px){
  .myfx-public-stats__headline{
    align-items:flex-start;
    flex-direction:column;
    gap:4px;
  }
  .myfx-public-stat{
    grid-template-columns:auto minmax(0,1fr) auto;
  }
}


/* v1.7 — opis strony na pełną szerokość + wyraźne kolory ocen */
.top .hero{
  max-width:none;
  padding-right:0;
}
.top .hero .eyebrow,
.top .hero h1{
  max-width:760px;
}
.top .hero .lead{
  max-width:none;
  width:100%;
  margin-top:18px;
}
.myfx-stat-icon--like{
  color:lime;
  border-color:rgba(0,255,0,.42);
  background:rgba(0,255,0,.13);
  font-size:18px;
  font-weight:1000;
  text-shadow:0 0 12px rgba(0,255,0,.45);
}
.myfx-stat-icon--dislike{
  color:red;
  border-color:rgba(255,0,0,.42);
  background:rgba(255,0,0,.13);
  font-size:18px;
  font-weight:1000;
  text-shadow:0 0 12px rgba(255,0,0,.42);
}
.myfx-public-stat--like .myfx-stat-label,
.myfx-stats-big-card--like span:not(.myfx-stat-icon){
  color:lime;
}
.myfx-public-stat--dislike .myfx-stat-label,
.myfx-stats-big-card--dislike span:not(.myfx-stat-icon){
  color:red;
}
.myfx-public-stat--like,
.myfx-stats-big-card--like{
  border-color:rgba(0,255,0,.20);
}
.myfx-public-stat--dislike,
.myfx-stats-big-card--dislike{
  border-color:rgba(255,0,0,.20);
}
.myfx-public-stat--vote[aria-pressed="true"].myfx-public-stat--like,
.myfx-stats-big-card--vote[aria-pressed="true"].myfx-stats-big-card--like{
  border-color:rgba(0,255,0,.58);
  background:linear-gradient(180deg,rgba(0,255,0,.16),rgba(0,0,0,.14));
}
.myfx-public-stat--vote[aria-pressed="true"].myfx-public-stat--dislike,
.myfx-stats-big-card--vote[aria-pressed="true"].myfx-stats-big-card--dislike{
  border-color:rgba(255,0,0,.58);
  background:linear-gradient(180deg,rgba(255,0,0,.14),rgba(0,0,0,.14));
}
@media(max-width:1040px){
  .top .hero .eyebrow,
  .top .hero h1{
    max-width:none;
  }
}

/* v1.8 — kompaktowy prawy panel statystyk: dolna krawędź wyrównana z dołem nagłówka H1 */
.myfx-public-stats--rail{
  min-height:0;
  padding:12px;
  gap:8px;
}
.myfx-public-stats__title{
  gap:2px;
  padding-bottom:7px;
}
.myfx-public-stats__title span{
  font-size:9px;
  letter-spacing:.14em;
}
.myfx-public-stats__title strong{
  font-size:14px;
}
.myfx-public-stats__headline em{
  font-size:9px;
}
.myfx-public-stats__icons{
  gap:7px;
}
.myfx-public-stat{
  min-height:44px;
  padding:7px 9px;
  border-radius:15px;
  gap:1px 7px;
}
.myfx-public-stat--wide{
  min-height:44px;
}
.myfx-public-stat--vote{
  min-height:46px;
}
.myfx-stat-icon{
  width:25px;
  height:25px;
  font-size:13px;
}
.myfx-stat-icon--like,
.myfx-stat-icon--dislike{
  font-size:16px;
}
.myfx-stat-label{
  font-size:9px;
  line-height:1.05;
}
.myfx-public-stat strong{
  font-size:20px;
  min-width:34px;
}
@media(min-width:1041px){
  .myfx-public-stats--rail{
    top:54px;
    max-height:calc(100% - 54px);
  }
}


/* v2.3 — poprawa łamania nagłówka strony startowej bez ruszania LIVE */
.myfx-nowrap{
  white-space:nowrap;
}
.top .hero .myfx-hero-title{
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
}
@media(min-width:1041px){
  .top .hero .myfx-hero-title{
    max-width:840px;
    font-size:clamp(36px,4.65vw,56px);
    line-height:1.035;
  }
}
@media(max-width:1040px){
  .top .hero .myfx-hero-title{
    max-width:none;
  }
}
@media(max-width:520px){
  .myfx-nowrap{white-space:normal;}
}

/* v2.4 — czytelne kolory liczb ocen */
.myfx-public-stat--like strong,
.myfx-stats-big-card--like strong[data-stat-value="likes"]{
  color:Lime !important;
  text-shadow:0 0 10px rgba(0,255,0,.28);
}
.myfx-public-stat--dislike strong,
.myfx-stats-big-card--dislike strong[data-stat-value="dislikes"]{
  color:OrangeRed !important;
  text-shadow:0 0 10px rgba(255,69,0,.30);
}

/* v2.5 — trwałe kolory liczników ocen także po zmianie podstrony/języka */
[data-vote-button="like"] [data-stat-value="likes"]{
  color:Lime !important;
  text-shadow:0 0 10px rgba(0,255,0,.28);
}
[data-vote-button="dislike"] [data-stat-value="dislikes"]{
  color:Red !important;
  text-shadow:0 0 10px rgba(255,0,0,.30);
}

