:root {
  --bg: #f8fbff;
  --white: #ffffff;
  --text: #17213b;
  --muted: #65708a;

  --pink: #ff3da4;
  --purple: #7857ff;
  --cyan: #00cde8;
  --blue: #3b82f6;
  --yellow: #ffd84d;
  --green: #2fd39a;

  --border: #e6eaf2;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, Arial, "Noto Sans Hebrew", sans-serif;
  color: var(--text);

  background:
    radial-gradient(circle at 5% 8%, rgba(255,61,164,.13), transparent 22%),
    radial-gradient(circle at 95% 4%, rgba(0,205,232,.14), transparent 24%),
    linear-gradient(180deg,#ffffff 0%,#f7fbff 55%,#fff8fd 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid #edf0f6;

  box-shadow:
    0 5px 25px rgba(45,60,100,.06);
}

.header-inner {
  max-width: var(--max);
  min-height: 76px;
  margin: auto;
  padding: 0 22px;

  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-size: 26px;
  font-weight: 950;
  letter-spacing: -1px;
  white-space: nowrap;
  color: #202943;
}

.logo span {
  background: linear-gradient(
    90deg,
    var(--purple),
    var(--pink),
    #ff7849
  );

  -webkit-background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  gap: 25px;
  flex: 1;
}

.main-nav a {
  font-weight: 750;
  color: #46516c;
  transition: .18s;
}

.main-nav a:hover {
  color: var(--pink);
}

.lang-button {
  border: 0;

  background: linear-gradient(
    135deg,
    var(--purple),
    var(--pink)
  );

  color: white;

  padding: 10px 17px;
  border-radius: 999px;

  font-weight: 800;
  cursor: pointer;

  box-shadow:
    0 8px 20px rgba(120,87,255,.20);
}

/* LAYOUT */

.container {
  max-width: var(--max);
  margin: auto;
  padding: 38px 22px 85px;
}

/* HERO */

.hero {
  position: relative;

  min-height: 480px;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;

  width: 480px;
  height: 480px;

  left: -240px;
  top: -120px;

  border-radius: 50%;

  background: rgba(255,61,164,.10);

  filter: blur(2px);
}

.hero::after {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  right: -180px;
  bottom: -170px;

  border-radius: 50%;

  background: rgba(0,205,232,.12);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;

  color: #7147e8;

  background:
    linear-gradient(
      90deg,
      #f3edff,
      #fff0f8
    );

  border: 1px solid #e5d9ff;

  padding: 9px 17px;
  border-radius: 999px;

  font-weight: 800;
}

.hero h1 {
  margin: 25px 0 22px;

  font-size: clamp(58px,9vw,100px);
  line-height: .93;

  letter-spacing: -5px;

  color: #18213a;
}

.hero h1 span {
  background:
    linear-gradient(
      90deg,
      #5f63ff 0%,
      #c044f4 40%,
      #ff3da4 72%,
      #ff754b 100%
    );

  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 750px;
  margin: auto;

  font-size: 21px;
  line-height: 1.7;

  color: #5c6780;
}

/* GRIDS */

.quick-grid,
.card-grid,
.stats-grid {
  display: grid;
  gap: 20px;
}

.quick-grid {
  grid-template-columns: repeat(4,1fr);
}

.card-grid {
  grid-template-columns: repeat(3,1fr);
}

.stats-grid {
  grid-template-columns: repeat(4,1fr);
}

/* CARDS */

.quick-card,
.card,
.stat-card {
  position: relative;

  background: white;

  border: 1px solid var(--border);

  border-radius: 24px;

  padding: 26px;

  box-shadow:
    0 12px 35px rgba(45,60,100,.08);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.quick-card:hover,
.card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 45px rgba(45,60,100,.14);
}

/* HOME CATEGORY CARDS */

.quick-card:nth-child(1) {
  background:
    linear-gradient(145deg,#fff 35%,#fff0f8);
  border-top: 5px solid var(--pink);
}

.quick-card:nth-child(2) {
  background:
    linear-gradient(145deg,#fff 35%,#ecfbff);
  border-top: 5px solid var(--cyan);
}

.quick-card:nth-child(3) {
  background:
    linear-gradient(145deg,#fff 35%,#fff9df);
  border-top: 5px solid var(--yellow);
}

.quick-card:nth-child(4) {
  background:
    linear-gradient(145deg,#fff 35%,#f2efff);
  border-top: 5px solid var(--purple);
}

.quick-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.quick-card h3,
.card h3 {
  margin: 0 0 9px;

  font-size: 22px;
  color: #1d2741;
}

.quick-card p,
.card p,
.muted {
  color: var(--muted);
}

/* PAGE TITLES */

.page-title {
  margin: 15px 0 32px;
}

.page-title h1 {
  margin: 0 0 10px;

  font-size: clamp(43px,6vw,68px);

  color: #19233d;

  letter-spacing: -2px;
}

/* SEARCH */

.search-box {
  width: 100%;

  padding: 16px 19px;

  margin-bottom: 27px;

  border-radius: 16px;

  border: 1px solid #dfe5ef;

  background: white;

  color: var(--text);

  outline: none;

  box-shadow:
    0 8px 25px rgba(45,60,100,.05);
}

.search-box:focus {
  border-color: #8b6cff;

  box-shadow:
    0 0 0 4px rgba(120,87,255,.10);
}

.search-box::placeholder {
  color: #929bb0;
}

/* LINKS */

.entity-link {
  color: #6453e8;
  font-weight: 750;
}

.entity-link:hover {
  color: var(--pink);
}

/* STATISTICS */

.stat-card {
  overflow: hidden;
}

.stat-card:nth-child(4n+1) {
  border-bottom: 4px solid var(--pink);
}

.stat-card:nth-child(4n+2) {
  border-bottom: 4px solid var(--cyan);
}

.stat-card:nth-child(4n+3) {
  border-bottom: 4px solid var(--purple);
}

.stat-card:nth-child(4n+4) {
  border-bottom: 4px solid var(--yellow);
}

.big-number {
  font-size: 40px;
  font-weight: 950;

  background:
    linear-gradient(
      90deg,
      var(--purple),
      var(--pink)
    );

  -webkit-background-clip: text;
  color: transparent;
}

/* DETAIL HERO */

.detail-hero {
  padding: 40px;

  margin-bottom: 30px;

  border-radius: 30px;

  background:
    radial-gradient(circle at 100% 0%,rgba(0,205,232,.15),transparent 30%),
    radial-gradient(circle at 0% 100%,rgba(255,61,164,.13),transparent 32%),
    linear-gradient(135deg,#ffffff,#faf8ff);

  border: 1px solid #e6e5f2;

  box-shadow:
    0 15px 40px rgba(60,70,110,.08);
}

.detail-hero h1 {
  margin: 0 0 13px;

  font-size: clamp(44px,6vw,72px);

  color: #17213b;
}

/* SECTIONS */

.section {
  margin-top: 45px;
}

.section-title {
  margin-bottom: 20px;

  font-size: 29px;

  color: #1b2540;
}

/* TABLES */

.table-wrap {
  overflow-x: auto;

  background: white;

  border: 1px solid #e5e9f1;

  border-radius: 20px;

  box-shadow:
    0 12px 35px rgba(45,60,100,.07);
}

table {
  width: 100%;

  border-collapse: collapse;

  background: white;
}

th,
td {
  padding: 16px 17px;

  border-bottom: 1px solid #edf0f5;

  text-align: start;
}

th {
  color: #4d5872;

  font-size: 13px;
  font-weight: 850;

  text-transform: uppercase;

  background:
    linear-gradient(
      90deg,
      #faf7ff,
      #fff7fb,
      #f5fcff
    );
}

tbody tr {
  transition: background .15s;
}

tbody tr:hover {
  background: #fafbff;
}

/* OTHER */

.empty {
  text-align: center;

  padding: 55px 20px;

  color: #788298;
}

.youtube-frame {
  width: 100%;

  aspect-ratio: 16/9;

  border: 0;
  border-radius: 24px;

  box-shadow:
    0 18px 45px rgba(40,50,90,.13);
}

.lyrics {
  white-space: pre-wrap;

  line-height: 2;

  background: white;

  border: 1px solid #e6eaf1;

  border-radius: 22px;

  padding: 27px;

  color: #303a53;

  box-shadow:
    0 10px 30px rgba(45,60,100,.06);
}

.site-footer {
  border-top: 1px solid #e9ecf3;

  color: #778198;

  text-align: center;

  padding: 32px 20px;

  background: white;
}

/* MOBILE */

@media(max-width:900px) {

  .quick-grid,
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .main-nav {
    display: none;
  }
}

@media(max-width:600px) {

  .quick-grid,
  .card-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 400px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .detail-hero {
    padding: 27px;
  }
}

/* =======================================================
   HEART OF ESC ENTITY VISUALS
   ======================================================= */

.country-hero-grid,
.artist-hero-grid,
.year-hero-grid {
  display: flex;
  align-items: center;
  gap: 34px;
}

.country-visual {
  min-width: 160px;
  display: flex;
  justify-content: center;
}

.country-heart-large {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(50,60,100,.15));
}

.country-flag-large {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #e2e7f0;
  box-shadow: 0 12px 30px rgba(50,60,100,.12);
}

.country-heart-small {
  width: 34px;
  height: 34px;
  object-fit: contain;
  vertical-align: middle;
}

.country-flag-small {
  width: 38px;
  height: 25px;
  object-fit: cover;
  border-radius: 5px;
  vertical-align: middle;
}

.country-subname {
  margin-top: -5px;
  margin-bottom: 12px;
  font-size: 20px;
  color: #7b8497;
}

.country-meta {
  color: #5d6780;
  font-size: 17px;
  font-weight: 650;
}

.artist-profile-image {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 7px solid white;
  box-shadow:
    0 15px 38px rgba(45,60,100,.16);
}

.artist-profile-placeholder {
  width: 170px;
  height: 170px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 65px;

  border-radius: 50%;

  background:
    linear-gradient(
      135deg,
      #f3edff,
      #fff0f8,
      #eefcff
    );
}

.year-logo {
  max-width: 220px;
  max-height: 130px;
  object-fit: contain;
}

@media(max-width:700px) {

  .country-hero-grid,
  .artist-hero-grid,
  .year-hero-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .country-heart-large {
    width: 120px;
    height: 120px;
  }

  .artist-profile-image,
  .artist-profile-placeholder {
    width: 135px;
    height: 135px;
  }
}

/* =====================================================
   COMPETITIONS
   ===================================================== */

.competition-tabs {
  display: flex;
  gap: 12px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.competition-tab {
  border: 1px solid #dfe4ee;
  background: white;
  color: #566078;

  border-radius: 999px;

  padding: 11px 21px;

  font-weight: 800;
  font-size: 15px;

  cursor: pointer;

  transition: .2s;
}

.competition-tab:hover {
  border-color: #bdafff;
  color: #7459ec;
}

.competition-tab.active {
  color: white;
  border-color: transparent;

  background:
    linear-gradient(
      135deg,
      #7857ff,
      #ff3da4
    );

  box-shadow:
    0 8px 22px rgba(120,87,255,.20);
}

.artist-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.competition-badge {
  display: inline-flex;
  align-items: center;

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 800;
}

.esc-badge {
  color: #6646da;
  background: #f0ebff;
  border: 1px solid #e0d7ff;
}

.junior-badge {
  color: #d92b88;
  background: #ffedf7;
  border: 1px solid #ffd5ea;
}

.artist-competition-section + .artist-competition-section {
  margin-top: 55px;
}



/* ==========================================================
   YEAR RESULTS / RANKING
   ========================================================== */

.year-summary {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.year-summary span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  border: 1px solid #e9e7f4;
  font-weight: 700;
  font-size: 13px;
}

.year-ranking-table td,
.year-ranking-table th {
  vertical-align: middle;
}

.finalist-row td:first-child strong {
  font-size: 17px;
}

.non-qualifier-row {
  background: #fafafd;
}

.non-qualifier-row td {
  opacity: .88;
}

.entry-card-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(190px,1fr)
    );
  gap: 13px;
}

.entry-mini-card {
  padding: 15px;
  background: white;
  border: 1px solid #e7e8ef;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.entry-mini-card span {
  color: #72798c;
}

.tba-public {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f0f1f5;
  color: #767d8d;
  font-size: 11px;
  font-weight: 800;
}


/* ==========================================================
   ADMIN RESULT EDITOR
   ========================================================== */

.song-result-editor {
  margin: 28px 0;
  padding: 20px;
  background: #faf9ff;
  border: 1px solid #e5e0ff;
  border-radius: 16px;
}

.song-result-editor h3 {
  margin-top: 0;
}

.result-field-hidden {
  display: none !important;
}



/* ==========================================================
   YEAR TABLE VIEW SWITCHER
   ========================================================== */

.results-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.results-section-header .section-title {
  margin-bottom: 0;
}

.year-table-tabs {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 5px;
  background: #f4f4f8;
  border-radius: 14px;
}

.year-table-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px 15px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: #656b7a;
  transition:
    background .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.year-table-tab:hover {
  background: rgba(255,255,255,.75);
}

.year-table-tab.active {
  background: white;
  color: #212433;
  box-shadow:
    0 2px 10px
    rgba(34,38,55,.09);
}


/* Main final result */

.final-result-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  white-space: nowrap;
}

.final-result-main strong {
  font-size: 17px;
  line-height: 1;
}

.final-result-main span {
  font-size: 14px;
  font-weight: 700;
}


/* Smaller semifinal result */

.semi-result-small {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 11px;
  color: #7b8190;
}

.semi-result-small strong {
  font-size: 12px;
  color: #5d6371;
}

.semi-result-small .semi-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  padding: 2px 5px;
  border-radius: 6px;
  background: #f1f1f6;
  font-size: 9px;
  font-weight: 800;
}

.result-empty {
  color: #b2b5be;
}

.qualification-status {
  font-size: 12px;
  color: #737988;
  white-space: nowrap;
}


/* Event-specific tables */

.event-ranking-table .event-place-cell strong {
  font-size: 20px;
}

.event-ranking-table .event-points-cell strong {
  font-size: 17px;
}

.country-symbol-cell {
  width: 42px;
}

.song-name-cell {
  font-weight: 700;
}

.overall-place-cell strong {
  font-size: 18px;
}


@media (max-width: 700px) {

  .results-section-header {
    align-items: stretch;
  }

  .year-table-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .year-table-tab {
    white-space: nowrap;
  }

}


/* ==========================================================
   PUBLIC COMPETITION SWITCH
   ========================================================== */

.public-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.public-page-heading h1 {
  margin-bottom: 5px;
}

.competition-switch {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: #f3f3f8;
}

.competition-switch-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  color: #686e7c;
  white-space: nowrap;
}

.competition-switch-button.active {
  background: #ffffff;
  color: #212331;
  box-shadow:
    0 3px 12px
    rgba(37,41,60,.09);
}

.public-list-tools {
  margin-bottom: 22px;
}

.public-search-input {
  width: min(460px,100%);
  padding: 13px 16px;
  border: 1px solid #e0e2e9;
  background: #fff;
  border-radius: 13px;
  font: inherit;
}

.public-search-input:focus {
  outline: none;
  border-color: #7659ff;
  box-shadow:
    0 0 0 3px
    rgba(118,89,255,.10);
}


/* ==========================================================
   YEARS LIST
   ========================================================== */

.years-public-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(230px,1fr)
    );
  gap: 18px;
}

.year-public-card {
  overflow: hidden;
  min-height: 230px;
  border: 1px solid #e9e9f0;
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.year-public-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 34px
    rgba(38,42,64,.10);
}

.year-card-logo-wrap,
.year-card-logo-placeholder {
  height: 145px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      #f9f7ff,
      #eff9ff
    );
}

.year-card-logo {
  max-width: 78%;
  max-height: 105px;
  object-fit: contain;
}

.year-card-logo-placeholder {
  font-size: 40px;
  font-weight: 900;
}

.year-card-content {
  padding: 16px;
}

.year-card-content h2 {
  margin: 4px 0;
  font-size: 25px;
}

.competition-mini-label {
  font-size: 11px;
  font-weight: 800;
  color: #7c668f;
}


/* ==========================================================
   SONGS LIST
   ========================================================== */

.songs-public-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(330px,1fr)
    );
  gap: 16px;
}

.song-public-card {
  min-height: 130px;
  display: flex;
  overflow: hidden;
  border: 1px solid #e7e8ef;
  border-radius: 17px;
  background: white;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.song-public-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px
    rgba(36,40,60,.09);
}

.song-image-side {
  width: 120px;
  min-width: 120px;
  min-height: 130px;
  background: #f2f2f7;
  text-decoration: none;
}

.song-first-artist-image,
.song-first-artist-placeholder {
  width: 100%;
  height: 100%;
  min-height: 130px;
}

.song-first-artist-image {
  display: block;
  object-fit: cover;
}

.song-first-artist-placeholder {
  display: grid;
  place-items: center;
  font-size: 38px;
}

.song-card-main {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
}

.song-card-country-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
}

.song-country-heart,
.song-country-placeholder {
  width: 31px;
  height: 24px;
  flex: 0 0 31px;
}

.song-country-heart {
  object-fit: contain;
}

.song-country-placeholder {
  display: grid;
  place-items: center;
  font-size: 18px;
}

.song-country-name {
  color: inherit;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.song-year-link {
  margin-inline-start: auto;
  padding: 4px 8px;
  background: #f4f4f8;
  border-radius: 8px;
  color: #6c7281;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.song-card-title {
  margin: 12px 0 5px;
  line-height: 1.15;
  font-size: 21px;
}

.song-card-title a {
  color: inherit;
  text-decoration: none;
}

.song-card-artist {
  color: #686f7f;
  font-size: 14px;
}

.song-card-artist a {
  color: inherit;
  text-decoration: none;
}


/* ==========================================================
   ARTISTS LIST
   ========================================================== */

.artists-public-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(220px,1fr)
    );
  gap: 18px;
}

.artist-public-card {
  overflow: hidden;
  border: 1px solid #e7e8ee;
  border-radius: 18px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.artist-public-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px
    rgba(34,38,55,.10);
}

.artist-public-image,
.artist-public-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.artist-public-image {
  display: block;
  object-fit: cover;
}

.artist-public-image-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      135deg,
      #f4f1ff,
      #edf8ff
    );
  font-size: 46px;
}

.artist-public-content {
  padding: 15px;
}

.artist-public-content h2 {
  margin: 0 0 5px;
  font-size: 19px;
}


@media (max-width: 700px) {

  .competition-switch {
    width: 100%;
    overflow-x: auto;
  }

  .competition-switch-button {
    flex: 1;
  }

  .songs-public-grid {
    grid-template-columns: 1fr;
  }

  .song-image-side {
    width: 100px;
    min-width: 100px;
  }

  .song-public-card {
    min-height: 120px;
  }

  .song-first-artist-image,
  .song-first-artist-placeholder {
    min-height: 120px;
  }

}


/* ==========================================================
   COUNTRIES PUBLIC LIST
   ========================================================== */

.countries-public-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(280px,1fr)
    );
  gap: 16px;
}

.country-public-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 145px;
  padding: 18px;
  border: 1px solid #e7e8ef;
  border-radius: 18px;
  background: white;
  text-decoration: none;
  color: inherit;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.country-public-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 30px
    rgba(35,39,58,.10);
}

.country-public-heart-wrap {
  width: 92px;
  min-width: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-list-heart {
  width: 86px;
  height: 68px;
  object-fit: contain;
}

.country-list-heart-placeholder {
  width: 86px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f3f4f8;
  font-size: 31px;
}

.country-public-content {
  flex: 1;
  min-width: 0;
}

.country-public-content h2 {
  margin: 0;
  font-size: 21px;
}

.country-secondary-name {
  display: block;
  margin-top: 3px;
  color: #8a8f9e;
  font-size: 12px;
}

.country-public-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 14px;
}

.country-stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #747a89;
  font-size: 13px;
}

.country-stat-line strong {
  color: #272a35;
  font-size: 15px;
}


@media (max-width: 600px) {

  .countries-public-grid {
    grid-template-columns: 1fr;
  }

  .country-public-heart-wrap {
    width: 74px;
    min-width: 74px;
  }

  .country-list-heart,
  .country-list-heart-placeholder {
    width: 68px;
    height: 56px;
  }

}


/* ==========================================================
   SONG DETAIL - OFFICIAL STYLE
   ========================================================== */

.song-detail-hero {
  display: grid;
  grid-template-columns:
    minmax(220px, 310px)
    1fr;
  gap: 32px;
  padding: 34px;
  margin-bottom: 30px;
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f7f6ff 48%,
      #f1fbff
    );
  border: 1px solid #e8e7ef;
  border-radius: 24px;
  overflow: hidden;
}

.song-detail-hero-image {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f2f3f7;
}

.song-detail-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.song-detail-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 64px;
}

/*
  Multiple credited artists: show a collage of their photos inside
  the same hero box instead of only the first artist's photo.
  Keeps the exact same outer footprint (.song-detail-hero-image's
  aspect-ratio/border-radius), just fills it with a small grid.
*/
.song-detail-hero-image-grid {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 2px;
}

.song-detail-hero-image-grid.count-2 {
  grid-template-columns: 1fr 1fr;
}

.song-detail-hero-image-grid.count-3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.song-detail-hero-image-grid.count-3 img:first-child {
  grid-column: 1 / span 2;
}

.song-detail-hero-image-grid.count-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.song-detail-hero-image-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.song-detail-hero-main {
  min-width: 0;
}

.song-detail-meta-top {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.song-country-identity {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
  font-weight: 800;
}

.douze-country-heart.large {
  width: 42px;
  height: 32px;
}

.song-year-pill {
  padding: 7px 11px;
  border-radius: 999px;
  background: white;
  border: 1px solid #e2e2eb;
  text-decoration: none;
  color: #666c7a;
  font-size: 12px;
  font-weight: 800;
}

.song-detail-hero-main h1 {
  margin: 0;
  font-size: clamp(
    34px,
    5vw,
    58px
  );
  line-height: 1;
  letter-spacing: -.03em;
}

.song-detail-artists {
  margin-top: 12px;
  font-size: 19px;
  color: #656b79;
}

.song-hero-artist-link {
  color: inherit;
  text-decoration: none;
}

.song-result-status {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f0f0f7;
  font-size: 12px;
  font-weight: 800;
}

.song-event-results {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.song-like-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}

.song-like-button:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.song-like-button:active {
  transform: scale(0.96);
}

.song-like-icon {
  font-size: 17px;
  line-height: 1;
}

.song-like-button.liked {
  background: rgba(255,61,164,.08);
  border-color: var(--pink);
  color: var(--pink);
}

.song-like-button:disabled {
  opacity: .75;
  cursor: default;
}

.song-event-result-card {
  min-width: 145px;
  padding: 14px 16px;
  border-radius: 16px;
  background: white;
  border: 1px solid #e8e8ef;
}

.song-event-result-card.primary {
  box-shadow:
    0 10px 26px
    rgba(42,47,72,.08);
}

.song-event-result-card.secondary {
  opacity: .82;
}

.song-event-result-card .event-name {
  display: block;
  color: #777d8c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.song-event-result-card .event-place {
  margin-top: 5px;
  font-size: 28px;
  font-weight: 900;
}

.song-event-result-card .event-points {
  margin-top: 2px;
  font-weight: 800;
}

.song-event-result-card small {
  display: block;
  margin-top: 7px;
  color: #888e9b;
}


/* Main layout */

.song-content-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    270px;
  gap: 24px;
  align-items: start;
}

.song-main-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.song-side-column {
  position: sticky;
  top: 20px;
}

.song-section-card,
.song-info-card {
  background: white;
  border: 1px solid #e7e8ef;
  border-radius: 20px;
  padding: 22px;
}

.song-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.song-section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.song-section-heading p {
  margin: 4px 0 0;
  color: #808695;
  font-size: 13px;
}


/* Smaller video */

.song-video-compact {
  width: min(100%, 620px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.song-video-compact iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* Song details */

.song-info-card h3 {
  margin-top: 0;
}

.song-info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #ededf2;
  font-size: 13px;
}

.song-info-row:last-child {
  border-bottom: 0;
}

.song-info-row span {
  color: #858b99;
}

.song-info-row strong {
  text-align: end;
}


/* Voting tabs */

.song-voting-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  margin-bottom: 18px;
  background: #f3f3f7;
  border-radius: 12px;
}

.song-voting-tab {
  border: 0;
  background: transparent;
  padding: 8px 14px;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #707684;
}

.song-voting-tab.active {
  background: white;
  color: #242735;
  box-shadow:
    0 2px 8px
    rgba(36,40,59,.08);
}


/* Voting summary */

.voting-summary-cards {
  display: grid;
  grid-template-columns:
    repeat(
      3,
      minmax(0,1fr)
    );
  gap: 10px;
  margin-bottom: 18px;
}

.voting-summary-card {
  padding: 14px;
  border-radius: 14px;
  background: #f7f7fa;
}

.voting-summary-card.highlight {
  background:
    linear-gradient(
      135deg,
      #faf2ff,
      #eff9ff
    );
}

.voting-summary-card span {
  display: block;
  color: #7a808f;
  font-size: 11px;
  font-weight: 700;
}

.voting-summary-card strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
}


/* Douze Points */

.douze-columns {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );
  gap: 14px;
}

.douze-box {
  border: 1px solid #e9e9ef;
  border-radius: 16px;
  padding: 16px;
}

.douze-box.single {
  max-width: 560px;
}

.douze-box-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.douze-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #f4eaff,
      #e8f7ff
    );
  font-size: 18px;
  font-weight: 900;
}

.douze-box-heading strong,
.douze-box-heading small {
  display: block;
}

.douze-box-heading small {
  margin-top: 2px;
  color: #8b909d;
}

.douze-countries-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.douze-country {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-size: 13px;
}

.douze-country:hover {
  background: #f7f7fa;
}

.douze-country-heart.small {
  width: 28px;
  height: 22px;
  object-fit: contain;
}

.douze-heart-placeholder {
  width: 28px;
  text-align: center;
}

.douze-empty {
  color: #969ba7;
  font-size: 12px;
  padding: 6px 0;
}


/* Lyrics */

.lyrics-card {
  padding-bottom: 30px;
}

.song-lyrics {
  max-width: 760px;
  line-height: 1.9;
  color: #454a58;
  white-space: normal;
}


/* Responsive */

@media (max-width: 900px) {

  .song-detail-hero {
    grid-template-columns: 220px 1fr;
    padding: 24px;
  }

  .song-content-layout {
    grid-template-columns: 1fr;
  }

  .song-side-column {
    position: static;
  }

}


@media (max-width: 680px) {

  .song-detail-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .song-detail-hero-image {
    max-width: 100%;
  }

  .song-detail-hero-main h1 {
    font-size: 38px;
  }

  .song-event-results {
    display: grid;
    grid-template-columns:
      repeat(
        2,
        minmax(0,1fr)
      );
  }

  .voting-summary-cards {
    grid-template-columns: 1fr;
  }

  .douze-columns {
    grid-template-columns: 1fr;
  }

  .song-video-compact {
    width: 100%;
  }

}


/* ==========================================================
   ARTIST DETAIL REDESIGN
   ========================================================== */

.artist-profile-hero {
  display: grid;
  grid-template-columns:
    260px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  margin-bottom: 32px;
  border: 1px solid #e7e8ef;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f7f4ff 52%,
      #eefaff
    );
}

.artist-profile-image-wrap {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: #f1f2f6;
}

.artist-profile-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.artist-profile-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 62px;
}

.artist-profile-kicker {
  display: block;
  margin-bottom: 7px;
  color: #7b8190;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.artist-profile-main h1 {
  margin: 0;
  font-size: clamp(
    36px,
    5vw,
    58px
  );
  line-height: 1;
}

.artist-career-stats {
  display: grid;
  grid-template-columns:
    repeat(
      4,
      minmax(100px,1fr)
    );
  gap: 10px;
  margin-top: 26px;
}

.artist-career-stat {
  padding: 15px;
  border-radius: 15px;
  background: rgba(255,255,255,.86);
  border: 1px solid #e8e8ef;
}

.artist-career-stat span {
  display: block;
  color: #7a8090;
  font-size: 11px;
  font-weight: 700;
}

.artist-career-stat strong {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}


.artist-competition-section {
  margin-top: 32px;
}

.artist-competition-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.artist-competition-heading h2 {
  margin: 0;
}

.artist-competition-heading span {
  color: #7b8190;
  font-size: 13px;
}


.artist-entry-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(280px,1fr)
    );
  gap: 16px;
}


.artist-entry-card {
  padding: 17px;
  border: 1px solid #e7e8ef;
  border-radius: 17px;
  background: white;
}

.artist-entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.artist-entry-country {
  display: flex;
  align-items: center;
  gap: 8px;
}

.artist-entry-country a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.artist-country-heart {
  width: 31px;
  height: 24px;
  object-fit: contain;
}

.artist-country-heart-placeholder {
  width: 31px;
  text-align: center;
}

.artist-entry-year {
  padding: 5px 8px;
  border-radius: 8px;
  background: #f4f4f8;
  color: #6c7281;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.artist-entry-card h3 {
  margin: 14px 0 6px;
  font-size: 20px;
}

.artist-entry-card h3 a {
  color: inherit;
  text-decoration: none;
}

.artist-entry-status {
  color: #858b99;
  font-size: 12px;
}

.artist-entry-results {
  display: flex;
  gap: 9px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.artist-result-box {
  min-width: 105px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ececf1;
}

.artist-result-box.primary {
  background: #fbfbff;
}

.artist-result-box.secondary {
  background: #f7f7f9;
  opacity: .78;
}

.artist-result-box span,
.artist-result-box strong,
.artist-result-box small {
  display: block;
}

.artist-result-box span {
  color: #7d8391;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.artist-result-box strong {
  margin-top: 4px;
  font-size: 20px;
}

.artist-result-box small {
  margin-top: 2px;
  color: #767c8a;
}


@media (max-width: 850px) {

  .artist-profile-hero {
    grid-template-columns:
      200px 1fr;
  }

  .artist-career-stats {
    grid-template-columns:
      repeat(2,1fr);
  }

}


@media (max-width: 620px) {

  .artist-profile-hero {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .artist-profile-image-wrap {
    max-width: 100%;
  }

  .artist-career-stats {
    grid-template-columns:
      repeat(2,1fr);
  }

  .artist-entry-grid {
    grid-template-columns: 1fr;
  }

}


/* ==========================================================
   GLOBAL HEADER SEARCH
   ========================================================== */

.global-search {
  position: relative;
  width: min(330px, 30vw);
  min-width: 210px;
  margin-inline-start: auto;
  margin-inline-end: 12px;
  z-index: 1000;
}

.global-search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.global-search-icon {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #7b8190;
  pointer-events: none;
}

.global-search-field input {
  width: 100%;
  height: 40px;
  padding:
    0
    36px
    0
    38px;
  border: 1px solid #e1e2e9;
  border-radius: 12px;
  background: #f7f7fa;
  color: #262936;
  font: inherit;
  font-size: 13px;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

html[dir="rtl"]
.global-search-field input {
  padding:
    0
    38px
    0
    36px;
}

.global-search-field input:focus {
  outline: none;
  background: white;
  border-color: #b9b4db;
  box-shadow:
    0 0 0 3px
    rgba(102,83,180,.08);
}

.global-search-field input::placeholder {
  color: #969ba8;
}

.global-search-clear {
  position: absolute;
  inset-inline-end: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #8b909d;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.global-search-clear.visible {
  display: flex;
}

.global-search-clear:hover {
  background: #ededf2;
}


/* Search dropdown */

.global-search-results {
  position: absolute;
  top: calc(100% + 9px);
  inset-inline-end: 0;
  width: min(520px, 90vw);
  max-height: min(
    620px,
    calc(100vh - 100px)
  );
  overflow-y: auto;
  display: none;
  padding: 8px;
  border: 1px solid #e3e4ea;
  border-radius: 16px;
  background: rgba(255,255,255,.98);
  box-shadow:
    0 22px 55px
    rgba(31,35,53,.16);
  backdrop-filter: blur(14px);
}

.global-search-results.open {
  display: block;
}


.global-search-section +
.global-search-section {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #ededf2;
}

.global-search-section-title {
  padding: 8px 10px 5px;
  color: #979ca8;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .06em;
}


.global-search-result {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 7px 9px;
  border-radius: 11px;
  color: inherit;
  text-decoration: none;
  transition:
    background .14s ease;
}

.global-search-result:hover {
  background: #f5f5f9;
}


.global-search-result-image {
  width: 46px;
  height: 46px;
  min-width: 46px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f1f5;
}

.global-search-artist-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.global-search-country-image {
  width: 39px;
  height: 31px;
  object-fit: contain;
}

.global-search-year-image {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.global-search-fallback {
  font-size: 21px;
}

.global-search-year-fallback {
  font-size: 12px;
  font-weight: 900;
}


.global-search-result-text {
  min-width: 0;
  flex: 1;
}

.global-search-result-text strong {
  display: block;
  overflow: hidden;
  color: #272a35;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.global-search-result-text small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #858a98;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.global-search-no-results {
  padding: 23px 16px;
  text-align: center;
}

.global-search-no-results strong,
.global-search-no-results span {
  display: block;
}

.global-search-no-results strong {
  color: #3d414e;
}

.global-search-no-results span {
  margin-top: 5px;
  color: #969ba7;
  font-size: 12px;
}


/* ==========================================================
   MOBILE HEADER SEARCH
   ========================================================== */

@media (max-width: 900px) {

  .global-search {
    order: 20;
    width: 100%;
    min-width: 100%;
    margin:
      8px
      0
      0;
  }

  .global-search-field input {
    height: 42px;
  }

  .global-search-results {
    inset-inline-start: 0;
    inset-inline-end: auto;
    width: 100%;
  }

}


/* ==========================================================
   NEW HOMEPAGE
   ========================================================== */

.home-official-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    230px;
  gap: 30px;
  align-items: center;
  min-height: 400px;
  padding: 52px;
  margin-bottom: 22px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(98,210,255,.40),
      transparent 31%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(243,105,220,.25),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f6f3ff 52%,
      #edfaff 100%
    );
  border: 1px solid #e6e6ef;
}

.home-eyebrow,
.section-kicker,
.poll-kicker {
  display: block;
  color: #756b91;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.home-hero-content h1 {
  margin:
    8px
    0
    14px;
  font-size:
    clamp(
      55px,
      9vw,
      96px
    );
  line-height: .9;
  letter-spacing: -.055em;
}

.home-hero-content p {
  max-width: 620px;
  margin: 0;
  color: #686e7d;
  font-size: 18px;
  line-height: 1.6;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 27px;
}

.home-primary-action,
.home-secondary-action {
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}

.home-primary-action {
  color: white;
  background: #282633;
}

.home-secondary-action {
  color: #363947;
  background: white;
  border: 1px solid #dedfe7;
}

.home-hero-mark {
  width: 190px;
  height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  margin-inline: auto;
  border-radius: 50%;
  background: white;
  box-shadow:
    0 25px 60px
    rgba(50,48,75,.10);
}

.home-hero-mark span {
  font-size: 78px;
  font-weight: 950;
  line-height: .9;
}

.home-hero-mark small {
  margin-top: 7px;
  font-weight: 900;
  letter-spacing: .15em;
  color: #858998;
}


.home-stat-grid {
  display: grid;
  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );
  gap: 12px;
  margin-bottom: 34px;
}

.home-stat-card {
  padding: 18px 20px;
  border: 1px solid #e7e8ee;
  border-radius: 16px;
  background: white;
  color: inherit;
  text-decoration: none;
}

.home-stat-card strong {
  display: block;
  font-size: 28px;
}

.home-stat-card span {
  display: block;
  margin-top: 3px;
  color: #7c8291;
  font-size: 12px;
}


.home-main-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(310px,390px);
  gap: 26px;
  align-items: start;
}

.home-section-heading {
  margin-bottom: 17px;
}

.home-section-heading h2 {
  margin: 5px 0 0;
  font-size: 27px;
}

.home-navigation-grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );
  gap: 13px;
}

.home-navigation-card {
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 19px;
  border: 1px solid #e6e7ed;
  border-radius: 18px;
  background: white;
  color: inherit;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.home-navigation-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 15px 34px
    rgba(39,43,61,.09);
}

.home-nav-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #f2ecff,
      #eaf9ff
    );
  font-size: 23px;
  font-weight: 900;
}

.home-navigation-card strong,
.home-navigation-card small {
  display: block;
}

.home-navigation-card strong {
  font-size: 16px;
}

.home-navigation-card small {
  margin-top: 4px;
  color: #858b98;
  line-height: 1.35;
}


/* ==========================================================
   HOMEPAGE POLL
   ========================================================== */

.home-poll-card {
  overflow: hidden;
  padding: 22px;
  border: 1px solid #e4e5ec;
  border-radius: 21px;
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #faf7ff
    );
  box-shadow:
    0 17px 40px
    rgba(44,48,69,.07);
}

.home-poll-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.poll-live-badge {
  padding: 4px 7px;
  border-radius: 999px;
  background: #eefff3;
  color: #238443;
  font-size: 9px;
  font-weight: 900;
}

.home-poll-card h2 {
  margin: 13px 0 6px;
  font-size: 23px;
  line-height: 1.2;
}

.home-poll-description {
  margin: 0 0 16px;
  color: #7a808d;
  font-size: 13px;
  line-height: 1.5;
}

.home-poll-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 17px;
}

.poll-vote-option {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e1e2e8;
  border-radius: 12px;
  background: white;
  color: #333641;
  font: inherit;
  font-weight: 750;
  text-align: start;
  cursor: pointer;
}

.poll-vote-option:hover {
  border-color: #aaa1cf;
  background: #fbfaff;
}

.poll-vote-option:disabled {
  opacity: .6;
  cursor: wait;
}

.poll-total {
  margin-top: 15px;
  color: #969ba7;
  font-size: 11px;
}

.previous-polls-link {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 13px 16px;
  border-radius: 13px;
  background: #f4f4f7;
  color: #606674;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}


.poll-result-option {
  padding: 10px 0;
}

.poll-result-option.selected {
  padding: 11px;
  border-radius: 12px;
  background: #faf8ff;
}

.poll-result-top,
.archive-result-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.poll-result-bar {
  height: 7px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #ececf1;
}

.poll-result-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #8962dd,
      #55bce9
    );
}

.poll-result-option small,
.archive-result small {
  display: block;
  margin-top: 5px;
  color: #9297a4;
}


/* ==========================================================
   PREVIOUS POLLS
   ========================================================== */

.polls-page-header {
  max-width: 700px;
  padding: 45px 0 28px;
}

.polls-page-header h1 {
  margin: 7px 0;
  font-size:
    clamp(
      38px,
      6vw,
      62px
    );
}

.polls-page-header p {
  color: #797f8d;
}

.previous-polls-grid {
  display: grid;
  grid-template-columns:
    repeat(
      auto-fill,
      minmax(330px,1fr)
    );
  gap: 18px;
  padding-bottom: 50px;
}

.previous-poll-card {
  padding: 21px;
  border: 1px solid #e6e7ed;
  border-radius: 19px;
  background: white;
}

.previous-poll-heading {
  display: flex;
  justify-content: space-between;
  color: #8a8f9d;
  font-size: 10px;
  font-weight: 800;
}

.previous-poll-card h2 {
  margin: 12px 0 20px;
  font-size: 20px;
}

.previous-poll-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


/* Responsive */

@media (max-width: 900px) {

  .home-official-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-mark {
    display: none;
  }

  .home-main-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 650px) {

  .home-official-hero {
    min-height: 0;
    padding: 27px 21px;
  }

  .home-stat-grid {
    grid-template-columns:
      repeat(2,1fr);
  }

  .home-navigation-grid {
    grid-template-columns: 1fr;
  }

  .previous-polls-grid {
    grid-template-columns: 1fr;
  }

}

/* ==========================================================
   GLOBAL SEARCH - COMPACT HEADER VERSION
   ========================================================== */

.global-search {
  position: relative;
  width: 190px;
  min-width: 190px;
  max-width: 190px;
  margin-inline-start: 10px;
  margin-inline-end: 8px;
  flex: 0 0 190px;
  z-index: 1000;
}

.global-search-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.global-search-field input {
  width: 100%;
  height: 36px;
  padding-inline-start: 34px;
  padding-inline-end: 30px;
  border: 1px solid #e4e5ea;
  border-radius: 999px;
  background: #f7f7f9;
  color: #2d303b;
  font: inherit;
  font-size: 12px;
  transition:
    width .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.global-search-field input:focus {
  background: #fff;
  border-color: #bbb7d1;
  box-shadow:
    0 0 0 3px
    rgba(104,87,177,.08);
}

.global-search-icon {
  inset-inline-start: 10px;
}

.global-search-clear {
  inset-inline-end: 7px;
}

.global-search-results {
  top: calc(100% + 8px);
  inset-inline-end: 0;
  inset-inline-start: auto;
  width: 420px;
  max-width: 80vw;
}


/* Keep header in one row */

.site-header .container,
header .container,
.site-header,
header {
  align-items: center;
}

.site-header .container {
  flex-wrap: nowrap;
}


/* Search sits neatly before language control */

.global-search + * {
  flex-shrink: 0;
}


/* ==========================================================
   MEDIUM SCREENS
   ========================================================== */

@media (max-width: 1050px) {

  .global-search {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    flex-basis: 150px;
  }

  .global-search-field input {
    font-size: 11px;
  }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

  .global-search {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    flex-basis: 42px;
    margin-inline-start: 6px;
    margin-inline-end: 6px;
  }

  .global-search-field input {
    width: 42px;
    height: 36px;
    padding: 0;
    color: transparent;
    cursor: pointer;
    background: #f6f6f8;
  }

  .global-search-field input::placeholder {
    color: transparent;
  }

  .global-search-field input:focus {
    position: absolute;
    inset-inline-end: 0;
    width: min(260px, 76vw);
    padding-inline-start: 34px;
    padding-inline-end: 30px;
    color: #2d303b;
    cursor: text;
    z-index: 2;
  }

  .global-search-field input:focus::placeholder {
    color: #999eaa;
  }

  .global-search-results {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }

}



/* ==========================================================
   HEADER TOOLS - SEARCH + LANGUAGE IN SAME ROW
   ========================================================== */

.header-tools {
  display: flex !important;
  align-items: center !important;
  gap: 7px;
  margin-inline-start: auto;
  flex: 0 0 auto;
  white-space: nowrap;
}

.header-tools .global-search {
  width: 180px !important;
  min-width: 180px !important;
  max-width: 180px !important;
  flex: 0 0 180px !important;
  margin: 0 !important;
}


/*
  Critical:
  header itself stays one single row.
*/

.site-header .container,
header .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
}


/*
  Navigation is allowed to consume
  available middle space, but not force
  search onto another row.
*/

.site-header nav,
header nav {
  min-width: 0;
}


/*
  Search results can still open
  underneath without affecting layout.
*/

.header-tools .global-search-results {
  position: absolute;
  width: 430px;
  max-width: min(430px, 90vw);
}


/* Medium screens */

@media (max-width: 1100px) {

  .header-tools .global-search {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    flex-basis: 140px !important;
  }

}


/* Mobile */

@media (max-width: 760px) {

  .header-tools {
    margin-inline-start: auto;
  }

  .header-tools .global-search {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    flex-basis: 38px !important;
  }

}



/* ==========================================================
   HEART OF ESC HOMEPAGE V2
   ========================================================== */

.esc-home-hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    270px;
  align-items: center;
  gap: 50px;
  padding: 58px;
  margin-bottom: 18px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(34,198,255,.38),
      transparent 27%
    ),
    radial-gradient(
      circle at 6% 92%,
      rgba(255,53,170,.24),
      transparent 31%
    ),
    radial-gradient(
      circle at 55% 120%,
      rgba(125,82,255,.18),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #fff,
      #f8f5ff 46%,
      #eefbff
    );
  border: 1px solid #e8e7ef;
}

.esc-home-hero::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  top: -210px;
  right: 30%;
  border: 50px solid
    rgba(255,255,255,.42);
  border-radius: 50%;
}

.esc-home-hero-content {
  position: relative;
  z-index: 1;
}

.esc-home-overline {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .20em;
  color: #767184;
}

.esc-home-hero h1 {
  margin: 12px 0 18px;
  font-size:
    clamp(
      65px,
      10vw,
      112px
    );
  line-height: .82;
  letter-spacing: -.075em;
}

.esc-home-hero h1 em {
  font-style: normal;
  font-weight: 400;
}

.esc-home-hero p {
  max-width: 650px;
  margin: 0;
  color: #666c7b;
  font-size: 18px;
  line-height: 1.65;
}

.esc-home-hero-buttons {
  display: flex;
  gap: 10px;
  margin-top: 29px;
  flex-wrap: wrap;
}

.esc-main-button,
.esc-light-button {
  padding: 13px 19px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}

.esc-main-button {
  background: #242530;
  color: white;
}

.esc-light-button {
  background: rgba(255,255,255,.78);
  border: 1px solid #dfdfe7;
  color: #3b3e4b;
}


.esc-home-scoreboard {
  position: relative;
  z-index: 1;
  width: 230px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  border-radius: 28px;
  transform: rotate(4deg);
  background:
    rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow:
    0 35px 70px
    rgba(50,44,84,.13);
}

.scoreboard-word {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .25em;
}

.esc-home-scoreboard strong {
  display: block;
  margin-top: 8px;
  font-size: 100px;
  line-height: .8;
  letter-spacing: -.08em;
}

.esc-home-scoreboard span {
  margin-top: 11px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .20em;
}


.home-dashboard {
  display: grid;
  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );
  gap: 10px;
  margin-bottom: 38px;
}

.home-dashboard a {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 17px 19px;
  border-radius: 15px;
  border: 1px solid #e7e7ed;
  background: white;
  text-decoration: none;
  color: inherit;
}

.home-dashboard span {
  font-size: 25px;
  font-weight: 900;
}

.home-dashboard small {
  color: #8b909c;
}


.esc-home-content-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(315px,390px);
  gap: 30px;
  align-items: start;
}

.esc-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 17px;
}

.esc-section-title > div > span {
  color: #8c829c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.esc-section-title h2 {
  margin: 4px 0 0;
  font-size: 28px;
}

.esc-section-title > a {
  color: #777d8c;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}


.home-latest-songs {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );
  gap: 12px;
}

.home-latest-song {
  overflow: hidden;
  display: grid;
  grid-template-columns:
    95px
    minmax(0,1fr);
  min-height: 105px;
  border-radius: 16px;
  border: 1px solid #e5e6ec;
  background: white;
  color: inherit;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.home-latest-song:hover {
  transform:
    translateY(-3px);
  box-shadow:
    0 15px 35px
    rgba(44,48,66,.09);
}

.home-latest-song-image {
  height: 100%;
  min-height: 105px;
  background:
    linear-gradient(
      135deg,
      #f1eff8,
      #edfaff
    );
}

.home-latest-song-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-song-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 33px;
}

.home-latest-song-info {
  min-width: 0;
  padding: 13px;
}

.home-latest-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: #8c919e;
  font-size: 10px;
  white-space: nowrap;
}

.home-small-heart {
  width: 23px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.home-small-heart img {
  width: 23px;
  height: 18px;
  object-fit: contain;
}

.home-latest-song-info strong {
  display: block;
  overflow: hidden;
  margin-top: 8px;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.home-latest-song-info small {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  color: #7f8593;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}


.home-explore-categories {
  display: grid;
  grid-template-columns:
    repeat(
      4,
      minmax(0,1fr)
    );
  gap: 10px;
  margin-top: 30px;
}

.home-explore-categories > a {
  padding: 16px;
  border: 1px solid #e6e7ed;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.category-symbol {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 11px;
  background:
    linear-gradient(
      135deg,
      #f1ecff,
      #e9faff
    );
  font-size: 14px;
  font-weight: 900;
}

.home-explore-categories strong,
.home-explore-categories small {
  display: block;
}

.home-explore-categories small {
  margin-top: 4px;
  color: #8b909c;
  font-size: 10px;
  line-height: 1.35;
}


/* ==========================================================
   FEATURED POLL
   ========================================================== */

.esc-featured-poll {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 25px;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(82,189,245,.22),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #282833,
      #3b354e
    );
  color: white;
  box-shadow:
    0 25px 50px
    rgba(43,39,62,.16);
}

.esc-featured-poll::after {
  content: "12";
  position: absolute;
  right: -9px;
  bottom: -38px;
  color: rgba(255,255,255,.035);
  font-size: 170px;
  font-weight: 950;
  line-height: 1;
}

.featured-poll-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.poll-mini-title {
  display: block;
  color: #bdb7cb;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.featured-poll-top small {
  display: block;
  margin-top: 3px;
  color: #85808f;
  font-size: 9px;
}

.featured-poll-live {
  align-self: start;
  padding: 5px 8px;
  border-radius: 999px;
  background: #dffff0;
  color: #1c7a4b;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .08em;
}

.esc-featured-poll h2 {
  position: relative;
  z-index: 1;
  margin: 22px 0 7px;
  font-size: 25px;
  line-height: 1.2;
}

.esc-featured-poll > p {
  position: relative;
  z-index: 1;
  color: #aaa5b4;
  font-size: 12px;
  line-height: 1.5;
}

.featured-poll-options {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 20px;
}

.featured-poll-option {
  width: 100%;
  min-height: 43px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 13px;
  border: 1px solid
    rgba(255,255,255,.10);
  border-radius: 10px;
  background:
    rgba(255,255,255,.065);
  color: white;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.featured-poll-option:hover {
  background:
    rgba(255,255,255,.12);
}

.featured-poll-option b {
  color: #9adfff;
  font-size: 18px;
}

.featured-poll-footer {
  position: relative;
  z-index: 1;
  margin-top: 17px;
  color: #858190;
  font-size: 10px;
}

.featured-poll-result {
  padding: 7px 0;
}

.featured-poll-result > div:first-child {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.featured-result-bar {
  height: 6px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background:
    rgba(255,255,255,.08);
}

.featured-result-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #b787ff,
      #63d7ff
    );
}

.featured-poll-result.my-choice {
  color: #d7c9ff;
}

.home-poll-archive-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 15px 17px;
  border: 1px solid #e4e5eb;
  border-radius: 14px;
  background: white;
  color: #565c6b;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.poll-empty-public {
  position: relative;
  z-index: 1;
}

.poll-big-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-top: 27px;
  border-radius: 50%;
  background:
    rgba(255,255,255,.08);
  font-size: 34px;
  font-weight: 900;
}


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

@media (max-width: 1000px) {

  .esc-home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-explore-categories {
    grid-template-columns:
      repeat(2,1fr);
  }

}

@media (max-width: 800px) {

  .esc-home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 35px 27px;
  }

  .esc-home-scoreboard {
    display: none;
  }

  .home-dashboard {
    grid-template-columns:
      repeat(2,1fr);
  }

}

@media (max-width: 600px) {

  .home-latest-songs {
    grid-template-columns: 1fr;
  }

  .home-explore-categories {
    grid-template-columns:
      repeat(2,1fr);
  }

}


/* ==========================================================
   FOOTER LANGUAGE SWITCH
   ========================================================== */

.site-footer,
footer {
  margin-top: 56px;
}

.footer-tools {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-language-switch {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  z-index: auto !important;
}

/*
  Neutral compact appearance in footer.
  Existing buttons/links inside the language
  component retain their own behavior.
*/

.footer-language-switch {
  font-size: 12px;
}

.footer-language-switch button,
.footer-language-switch a {
  min-width: auto;
}

/*
  Prevent an old header placement rule from
  reserving space after moving the switch.
*/

header .footer-language-switch,
.site-header .footer-language-switch {
  display: none !important;
}


@media (max-width: 700px) {
  .site-footer,
  footer {
    margin-top: 38px;
  }

  .footer-tools {
    padding: 18px 0 22px;
  }
}



/* ==========================================================
   FOOTER LANGUAGE SWITCH
   ========================================================== */

.site-footer,
footer {
  margin-top: 56px;
}

.footer-tools {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-language-switch {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  z-index: auto !important;
}

/*
  Neutral compact appearance in footer.
  Existing buttons/links inside the language
  component retain their own behavior.
*/

.footer-language-switch {
  font-size: 12px;
}

.footer-language-switch button,
.footer-language-switch a {
  min-width: auto;
}

/*
  Prevent an old header placement rule from
  reserving space after moving the switch.
*/

header .footer-language-switch,
.site-header .footer-language-switch {
  display: none !important;
}


@media (max-width: 700px) {
  .site-footer,
  footer {
    margin-top: 38px;
  }

  .footer-tools {
    padding: 18px 0 22px;
  }
}



/* ==========================================================
   FOOTER LANGUAGE CONTROL V2
   ========================================================== */

.footer-bottom {
  width: min(
    1180px,
    calc(100% - 32px)
  );
  margin: 0 auto;
  padding: 22px 0 28px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-language-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  direction: ltr;
  font-size: 12px;
}

.footer-lang-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 5px;
  color: #888b95;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.footer-lang-button:hover {
  color: #30323d;
}

.footer-lang-button.active {
  color: #30323d;
  font-weight: 900;
}

.footer-lang-divider {
  color: #c4c6cc;
}


/* Hide any old header language control */

header .language-switch,
header .lang-switch,
header .language-toggle,
header .lang-toggle,
.site-header .language-switch,
.site-header .lang-switch,
.site-header .language-toggle,
.site-header .lang-toggle {
  display: none !important;
}


@media (max-width: 700px) {

  .footer-bottom {
    padding:
      18px
      0
      22px;
  }

}



/* ==========================================================
   REMOVE LANGUAGE CONTROL FROM PUBLIC HEADER
   ========================================================== */

header #languageButton,
.site-header #languageButton,

header .language-switch,
.site-header .language-switch,

header .lang-switch,
.site-header .lang-switch,

header .language-toggle,
.site-header .language-toggle,

header .lang-toggle,
.site-header .lang-toggle {
  display: none !important;
}



/* ==========================================================
   ESC LIBI - MULTILINGUAL FOOTER SELECTOR
   ========================================================== */

.footer-language-selector {
  position: relative;

  width: max-content;
  max-width: 100%;

  margin:
    24px auto
    8px;

  z-index: 30;
}


.footer-language-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  min-height: 42px;

  padding:
    9px
    14px;

  border:
    1px solid
    rgba(100, 110, 160, 0.18);

  border-radius:
    999px;

  background:
    rgba(255,255,255,0.95);

  color:
    #363654;

  font:
    inherit;

  font-weight:
    700;

  cursor:
    pointer;

  box-shadow:
    0 8px 24px
    rgba(40, 48, 90, 0.08);
}


.footer-language-button:hover {
  transform:
    translateY(-1px);

  box-shadow:
    0 12px 30px
    rgba(40, 48, 90, 0.12);
}


.language-chevron {
  opacity:
    0.6;
}


.footer-language-menu {
  position:
    absolute;

  bottom:
    calc(100% + 10px);

  left:
    50%;

  transform:
    translateX(-50%);

  width:
    220px;

  max-height:
    340px;

  overflow-y:
    auto;

  padding:
    8px;

  background:
    #fff;

  border:
    1px solid
    rgba(80, 90, 145, 0.15);

  border-radius:
    16px;

  box-shadow:
    0 18px 55px
    rgba(35, 42, 82, 0.18);
}


.footer-language-option {
  width:
    100%;

  display:
    block;

  padding:
    10px
    12px;

  border:
    0;

  border-radius:
    10px;

  background:
    transparent;

  color:
    #393853;

  text-align:
    left;

  font:
    inherit;

  font-weight:
    650;

  cursor:
    pointer;
}


html[dir="rtl"]
.footer-language-option {
  text-align:
    right;
}


.footer-language-option:hover {
  background:
    #f4f3ff;
}


.footer-language-option.active {
  background:
    linear-gradient(
      135deg,
      #ede9ff,
      #eef9ff
    );

  color:
    #654bd7;

  font-weight:
    800;
}


@media (max-width: 600px) {

  .footer-language-menu {
    width:
      min(
        90vw,
        260px
      );
  }

}



/* ==========================================================
   ESC LIBI LANGUAGE SELECTOR V2
   ========================================================== */

#escLibiLanguageSelectorV2 {
  position: relative !important;

  display: block !important;

  width: max-content !important;
  max-width: calc(100% - 30px) !important;

  margin: 30px auto 18px !important;

  visibility: visible !important;
  opacity: 1 !important;

  z-index: 9999 !important;
}


#escLibiLanguageSelectorV2
.esc-language-main {

  appearance: none;

  display: flex !important;
  align-items: center;
  justify-content: center;

  gap: 9px;

  min-width: 145px;

  min-height: 44px;

  padding: 10px 16px;

  border: 1px solid
    rgba(101, 75, 215, 0.20);

  border-radius: 999px;

  background: #ffffff;

  color: #34344d;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size: 14px;

  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 7px 24px
    rgba(63, 53, 118, 0.12);

  visibility: visible !important;
  opacity: 1 !important;
}


#escLibiLanguageSelectorV2
.esc-language-main:hover {

  transform:
    translateY(-1px);

  box-shadow:
    0 10px 28px
    rgba(63, 53, 118, 0.17);
}


#escLibiLanguageSelectorV2
.esc-language-globe {

  font-size: 17px;
}


#escLibiLanguageSelectorV2
.esc-language-arrow {

  font-size: 11px;

  opacity: .55;
}


#escLibiLanguageSelectorV2
.esc-language-menu {

  position: absolute;

  bottom:
    calc(100% + 10px);

  left: 50%;

  transform:
    translateX(-50%);

  width: 230px;

  max-height: 350px;

  overflow-y: auto;

  padding: 8px;

  background: #ffffff;

  border: 1px solid
    rgba(83, 70, 150, 0.13);

  border-radius: 15px;

  box-shadow:
    0 16px 48px
    rgba(45, 38, 94, 0.22);

  z-index: 10000;
}


#escLibiLanguageSelectorV2
.esc-language-menu[hidden] {

  display: none !important;
}


#escLibiLanguageSelectorV2
.esc-language-option {

  appearance: none;

  display: block;

  width: 100%;

  padding:
    10px 12px;

  border: 0;

  border-radius: 9px;

  background:
    transparent;

  color:
    #34344d;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  font-size:
    14px;

  font-weight:
    600;

  text-align:
    left;

  cursor:
    pointer;
}


html[dir="rtl"]
#escLibiLanguageSelectorV2
.esc-language-option {

  text-align:
    right;
}


#escLibiLanguageSelectorV2
.esc-language-option:hover {

  background:
    #f4f1ff;
}


#escLibiLanguageSelectorV2
.esc-language-option.active {

  background:
    linear-gradient(
      135deg,
      #eee9ff,
      #edf9ff
    );

  color:
    #644bd5;

  font-weight:
    800;
}


@media
(max-width: 600px) {

  #escLibiLanguageSelectorV2
  .esc-language-menu {

    width:
      min(
        86vw,
        250px
      );
  }

}


/* ==========================================================
   LANGUAGE SELECTOR — MOUNTED IN SIDEBAR (below search)
   ========================================================== */

.public-side-language-mount {
  width: 100%;
}

#escLibiLanguageSelectorV2.esc-language-selector-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  margin: 10px 0 0 !important;
}

#escLibiLanguageSelectorV2.esc-language-selector-sidebar
.esc-language-main {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  border-radius: 11px;
  border: 1px solid #e4e0ec;
  background: #faf9fc;
  color: #666071;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  min-height: 43px;
}

#escLibiLanguageSelectorV2.esc-language-selector-sidebar
.esc-language-current {
  flex: 1;
  text-align: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#escLibiLanguageSelectorV2.esc-language-selector-sidebar
.esc-language-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  transform: none;
  width: auto;
  max-width: none;
}



/* ==========================================================
   PARTICIPATIONS BEFORE SONG
   ========================================================== */

.pending-participation-row {
  background:
    linear-gradient(
      90deg,
      rgba(122, 92, 255, .045),
      rgba(0, 190, 255, .035)
    );
}


.pending-participation-row td {
  vertical-align: middle;
}


.pending-participation-details {
  margin-top: 5px;

  font-size: .82rem;

  opacity: .72;
}


.tba-value {
  opacity: .62;

  font-style: italic;
}


.artist-pending-participations {
  margin-top: 34px;
}


.pending-section-heading {
  margin-bottom: 16px;
}


.pending-section-heading h2 {
  margin-bottom: 5px;
}


.pending-section-heading p {
  margin: 0;

  opacity: .68;
}


.pending-participation-cards {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(220px, 1fr)
    );

  gap: 14px;
}


.pending-participation-card {
  padding: 18px;

  border: 1px solid
    rgba(110, 90, 190, .12);

  border-radius: 16px;

  background: #fff;

  box-shadow:
    0 8px 28px
    rgba(35, 35, 80, .07);
}


.pending-participation-year {
  font-weight: 800;

  margin-bottom: 8px;
}


.pending-participation-country {
  font-size: 1.05rem;

  margin-bottom: 15px;
}


.pending-participation-song {
  display: flex;

  justify-content:
    space-between;

  gap: 12px;

  padding-top: 11px;

  border-top: 1px solid
    rgba(80, 80, 120, .09);
}


.pending-participation-song span {
  opacity: .62;
}




/* ==========================================================
   YEAR RESULTS / PARTICIPATIONS MASTER
   ========================================================== */

.participation-tba-row {
  background:
    linear-gradient(
      90deg,
      rgba(115, 80, 230, .035),
      rgba(0, 180, 240, .025)
    );
}


.participation-tba-row td,
.participation-artist-cell {
  vertical-align:
    middle;
}


.participation-artist-link {
  font-weight:
    650;
}


.tba-value {
  opacity:
    .52;

  font-style:
    italic;
}


/* WINNER */

tr.result-gold > td {
  background:
    linear-gradient(
      90deg,
      rgba(255, 215, 0, .22),
      rgba(255, 244, 186, .10)
    ) !important;
}


tr.result-gold > td:first-child {
  box-shadow:
    inset 4px 0 0 #d6a900;
}


/* SECOND */

tr.result-silver > td {
  background:
    linear-gradient(
      90deg,
      rgba(192, 192, 192, .23),
      rgba(240, 240, 240, .10)
    ) !important;
}


tr.result-silver > td:first-child {
  box-shadow:
    inset 4px 0 0 #a8a8a8;
}


/* THIRD */

tr.result-bronze > td {
  background:
    linear-gradient(
      90deg,
      rgba(205, 127, 50, .20),
      rgba(239, 207, 173, .10)
    ) !important;
}


tr.result-bronze > td:first-child {
  box-shadow:
    inset 4px 0 0 #b87333;
}


.withdrawn-countries-section {
  margin-top:
    34px;

  padding:
    22px;

  border-radius:
    18px;

  background:
    #fff;

  border:
    1px solid
    rgba(100, 80, 170, .10);

  box-shadow:
    0 9px 28px
    rgba(40, 40, 80, .055);
}


.withdrawn-countries-section h2 {
  margin:
    0 0 15px;
}


.withdrawn-country-list {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    8px;
}


.withdrawn-country-item {
  display:
    inline-flex;

  align-items:
    center;

  padding:
    7px 11px;

  border-radius:
    999px;

  background:
    rgba(110, 100, 140, .07);

  text-decoration:
    none;
}


/*
 RTL podium marker should appear on right side.
*/

html[dir="rtl"]
tr.result-gold > td:first-child,
html[dir="rtl"]
tr.result-silver > td:first-child,
html[dir="rtl"]
tr.result-bronze > td:first-child {
  box-shadow:
    none;
}


html[dir="rtl"]
tr.result-gold > td:last-child {
  box-shadow:
    inset -4px 0 0 #d6a900;
}


html[dir="rtl"]
tr.result-silver > td:last-child {
  box-shadow:
    inset -4px 0 0 #a8a8a8;
}


html[dir="rtl"]
tr.result-bronze > td:last-child {
  box-shadow:
    inset -4px 0 0 #b87333;
}



/* ==========================================================
   YEAR PAGE - WITHDRAWN COUNTRIES
   ========================================================== */

.withdrawn-countries-section {
  margin-top: 30px;
}

.withdrawn-countries-card {
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
}

.withdrawn-countries-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.withdrawn-countries-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.withdrawn-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .07);
  font-size: .85rem;
  font-weight: 700;
}

.withdrawn-country-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.withdrawn-country-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.withdrawn-country-item:hover {
  transform: translateY(-1px);
}

.withdrawn-country-symbol {
  display: inline-flex;
  align-items: center;
}

.withdrawn-country-symbol img {
  max-width: 30px;
  max-height: 24px;
  object-fit: contain;
}

.withdrawn-country-name {
  font-weight: 700;
}

.withdrawn-country-status {
  opacity: .55;
  font-size: .8rem;
}

@media (max-width: 650px) {
  .withdrawn-country-list {
    display: grid;
    grid-template-columns: 1fr;
  }

  .withdrawn-country-item {
    width: 100%;
  }
}


/* Country page - future participation */

.future-participation-row {
  background:
    rgba(255, 255, 255, .55);
}

.country-entry-tba {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .055);
  font-size: .82rem;
  font-weight: 700;
  opacity: .7;
}


/* ==========================================================
   ARTIST PAGE - FUTURE PARTICIPATIONS
   ========================================================== */

.artist-future-entry-card {
  position: relative;
}

.artist-future-entry-card::after {
  content: "TBA";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .055);
  font-size: .76rem;
  font-weight: 700;
  opacity: .65;
}


/* ==========================================================
   YEAR RESULTS TABLE UPGRADE
   ========================================================== */

.year-sort-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 800;
  color: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.year-sort-button:hover,
.year-sort-button.is-active {
  color: #8b3dff;
}


/* Official podium rows */

.year-ranking-table tr.result-gold-row > td {
  background:
    linear-gradient(
      90deg,
      rgba(255, 215, 80, .22),
      rgba(255, 246, 199, .45)
    );
}

.year-ranking-table tr.result-silver-row > td {
  background:
    linear-gradient(
      90deg,
      rgba(184, 194, 211, .22),
      rgba(243, 246, 250, .55)
    );
}

.year-ranking-table tr.result-bronze-row > td {
  background:
    linear-gradient(
      90deg,
      rgba(205, 127, 50, .17),
      rgba(249, 231, 213, .46)
    );
}

.year-ranking-table tr.result-gold-row > td:first-child {
  box-shadow:
    inset 4px 0 0 #d8a800;
}

.year-ranking-table tr.result-silver-row > td:first-child {
  box-shadow:
    inset 4px 0 0 #9aa6b5;
}

.year-ranking-table tr.result-bronze-row > td:first-child {
  box-shadow:
    inset 4px 0 0 #b46b30;
}


/* Event table */

.event-running-order-cell {
  text-align: center;
  min-width: 76px;
}

.event-running-order-cell strong {
  font-size: 16px;
}

.event-ranking-table .event-total-cell strong {
  font-size: 18px;
}

.event-ranking-table .event-place-cell {
  min-width: 65px;
  text-align: center;
}

.event-ranking-table .event-place-cell strong {
  font-size: 20px;
}


/* ==========================================================
   YEAR VOTING MATRIX
   ========================================================== */

.year-voting-matrix-section {
  margin-top: 36px;
}

.voting-matrix-card {
  background: #fff;
  border: 1px solid #e8e6f1;
  border-radius: 22px;
  padding: 22px;
  box-shadow:
    0 12px 35px rgba(45, 31, 91, .06);
}

.voting-matrix-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.voting-matrix-header h2 {
  margin: 0 0 5px;
  font-size: 24px;
}

.voting-matrix-header p {
  margin: 0;
  color: #7c8291;
}

.voting-matrix-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.voting-matrix-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: #f5f3fa;
}

.matrix-control-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 9px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #6e7380;
}

.matrix-control-button:hover {
  background: rgba(255,255,255,.72);
}

.matrix-control-button.is-active {
  background: #fff;
  color: #7c31ec;
  box-shadow:
    0 2px 9px rgba(58, 37, 101, .10);
}

.voting-matrix-scroll {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #eceaf2;
  border-radius: 15px;
}

.voting-matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  width: max-content;
  min-width: 100%;
  font-size: 11px;
}

.voting-matrix-table th,
.voting-matrix-table td {
  height: 42px;
  min-width: 42px;
  padding: 5px 7px;
  border-right: 1px solid #eeeaf3;
  border-bottom: 1px solid #eeeaf3;
  text-align: center;
  background: #fff;
}

.voting-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #f8f6fc;
}

.voting-matrix-table .matrix-country-heading {
  position: sticky;
  left: 0;
  z-index: 5;
  min-width: 190px;
  text-align: left;
}

.matrix-receiver-cell {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 190px !important;
  max-width: 190px;
  text-align: left !important;
  white-space: nowrap;
}

.matrix-receiver-symbol {
  display: inline-flex;
  width: 30px;
  margin-right: 6px;
  vertical-align: middle;
}

.matrix-voter-name {
  display: block;
  width: 22px;
  max-width: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 92px;
  margin: 4px auto;
  font-size: 10px;
}

.voting-matrix-table thead th:not(
  .matrix-country-heading
) {
  height: 110px;
  vertical-align: bottom;
}

.matrix-score-cell {
  font-weight: 700;
  color: #4f5360;
}

.matrix-score-8 {
  background: #f4f0ff !important;
  font-weight: 800;
}

.matrix-score-10 {
  background: #ebe1ff !important;
  color: #6230ad;
  font-weight: 900;
}

.matrix-score-12 {
  background:
    linear-gradient(
      135deg,
      #fff2a8,
      #ffd75b
    ) !important;
  color: #6e5000;
  font-weight: 1000;
  font-size: 13px;
}


/* RTL podium border */

html[dir="rtl"]
.year-ranking-table
tr.result-gold-row > td:first-child,
html[dir="rtl"]
.year-ranking-table
tr.result-silver-row > td:first-child,
html[dir="rtl"]
.year-ranking-table
tr.result-bronze-row > td:first-child {
  box-shadow: none;
}

html[dir="rtl"]
.year-ranking-table
tr.result-gold-row > td:last-child {
  box-shadow:
    inset -4px 0 0 #d8a800;
}

html[dir="rtl"]
.year-ranking-table
tr.result-silver-row > td:last-child {
  box-shadow:
    inset -4px 0 0 #9aa6b5;
}

html[dir="rtl"]
.year-ranking-table
tr.result-bronze-row > td:last-child {
  box-shadow:
    inset -4px 0 0 #b46b30;
}


@media (max-width: 700px) {

  .voting-matrix-card {
    padding: 15px;
    border-radius: 17px;
  }

  .voting-matrix-header h2 {
    font-size: 20px;
  }

  .voting-matrix-controls {
    align-items: stretch;
  }

  .voting-matrix-tabs {
    max-width: 100%;
    overflow-x: auto;
  }

  .matrix-control-button {
    white-space: nowrap;
  }

  .matrix-receiver-cell,
  .voting-matrix-table .matrix-country-heading {
    min-width: 150px !important;
    max-width: 150px;
  }
}



/* ==========================================================
   YEAR PODIUM REFINEMENT
   cleaner Eurovision-style highlights
   ========================================================== */


/*
  Cancel the stronger previous fills.
*/

.year-ranking-table
tr.result-gold-row > td,
.year-ranking-table
tr.result-silver-row > td,
.year-ranking-table
tr.result-bronze-row > td {
  background: white;
}


/* First place */

.year-ranking-table
tr.result-gold-row > td {
  background:
    linear-gradient(
      90deg,
      rgba(255, 245, 190, .34),
      rgba(255,255,255,.96) 42%
    );
}

.year-ranking-table
tr.result-gold-row {
  box-shadow:
    inset 4px 0 0 #e1b62f;
}


/* Second place */

.year-ranking-table
tr.result-silver-row > td {
  background:
    linear-gradient(
      90deg,
      rgba(226, 232, 240, .42),
      rgba(255,255,255,.96) 42%
    );
}

.year-ranking-table
tr.result-silver-row {
  box-shadow:
    inset 4px 0 0 #a7b0bd;
}


/* Third place */

.year-ranking-table
tr.result-bronze-row > td {
  background:
    linear-gradient(
      90deg,
      rgba(232, 203, 176, .32),
      rgba(255,255,255,.96) 42%
    );
}

.year-ranking-table
tr.result-bronze-row {
  box-shadow:
    inset 4px 0 0 #bd8355;
}


/*
  Make podium placement itself feel
  like a small official badge.
*/

.result-gold-row .event-place-cell strong,
.result-silver-row .event-place-cell strong,
.result-bronze-row .event-place-cell strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  padding: 0 8px;
}

.result-gold-row .event-place-cell strong {
  background: #fff4bd;
  border: 1px solid #e6c751;
  color: #7d6200;
}

.result-silver-row .event-place-cell strong {
  background: #f0f3f7;
  border: 1px solid #c1c8d1;
  color: #596473;
}

.result-bronze-row .event-place-cell strong {
  background: #f6e5d8;
  border: 1px solid #d2a27e;
  color: #805033;
}


/*
  Overall has its place inside the Final
  result column instead of event-place-cell.
*/

.result-gold-row .final-result-main strong,
.result-silver-row .final-result-main strong,
.result-bronze-row .final-result-main strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 3px 8px;
}

.result-gold-row .final-result-main strong {
  background: #fff4bd;
  color: #7d6200;
}

.result-silver-row .final-result-main strong {
  background: #f0f3f7;
  color: #596473;
}

.result-bronze-row .final-result-main strong {
  background: #f6e5d8;
  color: #805033;
}


/* RTL */

html[dir="rtl"]
.year-ranking-table
tr.result-gold-row,
html[dir="rtl"]
.year-ranking-table
tr.result-silver-row,
html[dir="rtl"]
.year-ranking-table
tr.result-bronze-row {
  box-shadow: none;
}

html[dir="rtl"]
.year-ranking-table
tr.result-gold-row {
  box-shadow:
    inset -4px 0 0 #e1b62f;
}

html[dir="rtl"]
.year-ranking-table
tr.result-silver-row {
  box-shadow:
    inset -4px 0 0 #a7b0bd;
}

html[dir="rtl"]
.year-ranking-table
tr.result-bronze-row {
  box-shadow:
    inset -4px 0 0 #bd8355;
}



/* ==========================================================
   PODIUM CLEANUP
   One unified row background — no per-cell gradients
   ========================================================== */

/*
  Cancel all previous cell gradients.
*/

.year-ranking-table
tr.result-gold-row > td,
.year-ranking-table
tr.result-silver-row > td,
.year-ranking-table
tr.result-bronze-row > td {
  background: transparent !important;
}


/*
  Apply one subtle visual tone to the whole row.
*/

.year-ranking-table
tr.result-gold-row {
  background: #fffaf0;
  box-shadow:
    inset 4px 0 0 #d7ad2f;
}

.year-ranking-table
tr.result-silver-row {
  background: #f7f8fa;
  box-shadow:
    inset 4px 0 0 #a9b1bc;
}

.year-ranking-table
tr.result-bronze-row {
  background: #fcf5ef;
  box-shadow:
    inset 4px 0 0 #b97a4d;
}


/*
  Keep cells transparent so the row
  reads as one continuous strip.
*/

.year-ranking-table
tr.result-gold-row td,
.year-ranking-table
tr.result-silver-row td,
.year-ranking-table
tr.result-bronze-row td {
  background: transparent !important;
}


/*
  Cleaner podium badges.
*/

.result-gold-row .event-place-cell strong,
.result-gold-row .final-result-main strong {
  background: #fff1b8;
  border: 1px solid #e0bf4d;
  color: #715700;
}

.result-silver-row .event-place-cell strong,
.result-silver-row .final-result-main strong {
  background: #edf0f4;
  border: 1px solid #c4cad2;
  color: #59616c;
}

.result-bronze-row .event-place-cell strong,
.result-bronze-row .final-result-main strong {
  background: #f3dfd0;
  border: 1px solid #d3a27e;
  color: #7a4d30;
}


/*
  RTL side stripe.
*/

html[dir="rtl"]
.year-ranking-table
tr.result-gold-row {
  box-shadow:
    inset -4px 0 0 #d7ad2f;
}

html[dir="rtl"]
.year-ranking-table
tr.result-silver-row {
  box-shadow:
    inset -4px 0 0 #a9b1bc;
}

html[dir="rtl"]
.year-ranking-table
tr.result-bronze-row {
  box-shadow:
    inset -4px 0 0 #b97a4d;
}



/* ==========================================================
   VOTING MATRIX COUNTRY FILTER
   ========================================================== */

.voting-matrix-country-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.voting-matrix-country-filter label {
  font-size: 13px;
  font-weight: 800;
  color: #555b6b;
}

.voting-matrix-country-filter select {
  min-width: 220px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #ddd9e8;
  background: #fff;
  font: inherit;
  font-size: 13px;
  color: #373b46;
  cursor: pointer;
  outline: none;
}

.voting-matrix-country-filter select:focus {
  border-color: #9e69ef;
  box-shadow:
    0 0 0 3px rgba(158,105,239,.12);
}

@media (max-width: 700px) {
  .voting-matrix-country-filter {
    align-items: stretch;
  }

  .voting-matrix-country-filter select {
    width: 100%;
    min-width: 0;
  }
}



/* ==========================================================
   NON-QUALIFIER COLOR
   Distinct from silver / 2nd place
   ========================================================== */

.non-qualifier-row {
  background: #fff7fb !important;
}

.non-qualifier-row td {
  background: transparent !important;
  opacity: .92;
}

.non-qualifier-row td:first-child {
  box-shadow:
    inset 4px 0 0 #e6a7c8;
}


/* RTL */

html[dir="rtl"]
.non-qualifier-row td:first-child {
  box-shadow: none;
}

html[dir="rtl"]
.non-qualifier-row td:last-child {
  box-shadow:
    inset -4px 0 0 #e6a7c8;
}



/* ==========================================================
   EVENT PLACE — DISTINCT FROM POINTS
   ========================================================== */

.event-ranking-table .event-place-cell {
  text-align: center;
  min-width: 74px;
}

.event-place-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;

  min-width: 44px;
  padding: 6px 10px;

  border-radius: 10px;
  border: 1px solid #e2dff0;
  background: #f7f5fc;

  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  color: #38334a;
}

.event-place-hash {
  font-size: 11px;
  font-weight: 800;
  color: #9690a5;
}


/*
  Points stay deliberately simpler.
*/

.event-ranking-table .event-total-cell {
  text-align: center;
}

.event-ranking-table .event-total-cell strong {
  font-size: 17px;
  font-weight: 800;
  color: #292d37;
}


/*
  Podium places keep their medal identity,
  but now use the same badge shape.
*/

.result-gold-row .event-place-badge {
  background: #fff1b8;
  border-color: #e0bf4d;
  color: #715700;
}

.result-gold-row .event-place-hash {
  color: #a5861c;
}

.result-silver-row .event-place-badge {
  background: #edf0f4;
  border-color: #c4cad2;
  color: #59616c;
}

.result-silver-row .event-place-hash {
  color: #8b949f;
}

.result-bronze-row .event-place-badge {
  background: #f3dfd0;
  border-color: #d3a27e;
  color: #7a4d30;
}

.result-bronze-row .event-place-hash {
  color: #a97755;
}



/* ==========================================================
   COUNTRY HISTORY RESULTS
   ========================================================== */

.country-history-table
.country-result-cell {
  min-width: 105px;
}

.country-history-table
.country-points-cell {
  text-align: center;
  min-width: 75px;
}

.country-final-points {
  font-size: 17px;
  font-weight: 850;
  color: #292d37;
}


/* Same podium language as year page */

.country-history-table
.result-gold-row td,
.country-history-table
.result-silver-row td,
.country-history-table
.result-bronze-row td {
  background: transparent !important;
}

.country-history-table
.result-gold-row {
  background: #fffaf0;
  box-shadow:
    inset 4px 0 0 #d7ad2f;
}

.country-history-table
.result-silver-row {
  background: #f7f8fa;
  box-shadow:
    inset 4px 0 0 #a9b1bc;
}

.country-history-table
.result-bronze-row {
  background: #fcf5ef;
  box-shadow:
    inset 4px 0 0 #b97a4d;
}


/* Non qualifier */

.country-history-table
.non-qualifier-row {
  background: #fff7fb !important;
  box-shadow:
    inset 4px 0 0 #e6a7c8;
}

.country-history-table
.non-qualifier-row td {
  background: transparent !important;
}


/* Semi-final result */

.country-semi-result {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.country-semi-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 7px;
  border-radius: 7px;

  background: #f5eaf2;
  color: #a25780;

  font-size: 10px;
  font-weight: 900;
}

.country-semi-result strong {
  font-size: 15px;
}

.country-semi-result > span:last-child {
  font-size: 11px;
  color: #7b7f89;
}

.country-nq-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  background: #f5eaf2;
  color: #985375;
  font-size: 11px;
  font-weight: 800;
}

.country-cancelled-label {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eceef3;
  color: var(--muted, #65708a);
  font-size: 11px;
  font-weight: 800;
}


/* RTL podium stripe */

html[dir="rtl"]
.country-history-table
.result-gold-row {
  box-shadow:
    inset -4px 0 0 #d7ad2f;
}

html[dir="rtl"]
.country-history-table
.result-silver-row {
  box-shadow:
    inset -4px 0 0 #a9b1bc;
}

html[dir="rtl"]
.country-history-table
.result-bronze-row {
  box-shadow:
    inset -4px 0 0 #b97a4d;
}

html[dir="rtl"]
.country-history-table
.non-qualifier-row {
  box-shadow:
    inset -4px 0 0 #e6a7c8;
}


/* ==========================================================
   COUNTRY VOTING STATISTICS
   ========================================================== */

.country-voting-statistics {
  margin-top: 42px;
}

.country-voting-statistics-heading {
  margin-bottom: 18px;
}

.country-voting-statistics-heading
.section-title {
  margin-bottom: 5px;
}

.country-voting-statistics-heading p {
  margin: 0;
  color: #7b8190;
}

.country-voting-stat-grid {
  display: grid;
  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );
  gap: 13px;
}

.country-vote-stat-card {
  position: relative;
  overflow: hidden;

  min-height: 125px;
  padding: 18px;

  border: 1px solid #e7e4f0;
  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #faf8ff
    );
}

.country-vote-stat-icon {
  position: absolute;
  right: 15px;
  top: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 31px;
  height: 31px;
  padding: 0 7px;

  border-radius: 9px;

  background: #f0e8ff;
  color: #8246d7;

  font-size: 12px;
  font-weight: 950;
}

.country-vote-stat-label {
  max-width: calc(100% - 45px);
  margin-bottom: 19px;

  color: #777c89;
  font-size: 12px;
  font-weight: 750;
}

.country-vote-stat-value {
  display: flex;
  align-items: center;
  gap: 9px;
}

.country-vote-stat-value img {
  width: 31px;
  height: 22px;
  object-fit: contain;
}

.country-vote-stat-value strong {
  font-size: 17px;
}

.country-vote-stat-value span {
  margin-left: auto;

  padding: 5px 8px;
  border-radius: 8px;

  background: #f3f1f7;
  color: #666b77;

  font-size: 11px;
  font-weight: 800;
}

.douze-stat-card
.country-vote-stat-icon {
  background: #fff0b7;
  color: #806000;
}

.country-vote-total-card {
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 15px 18px;

  border: 1px solid #ebe7f2;
  border-radius: 14px;

  background: #fff;
}

.country-vote-total-card strong {
  font-size: 25px;
  color: #7b42d1;
}

.country-vote-total-card span {
  color: #747987;
  font-size: 12px;
  font-weight: 750;
}

.country-vote-stat-empty {
  color: #a8acb5;
}


/* Hebrew */

html[dir="rtl"]
.country-vote-stat-icon {
  right: auto;
  left: 15px;
}

html[dir="rtl"]
.country-vote-stat-value span {
  margin-left: 0;
  margin-right: auto;
}


/* Mobile */

@media (max-width: 700px) {

  .country-voting-stat-grid {
    grid-template-columns: 1fr;
  }

  .country-vote-stat-card {
    min-height: 115px;
  }

}



/* ==========================================================
   COUNTRY HISTORY SORTING
   ========================================================== */

.country-history-table
.sortable-header {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background .15s ease,
    color .15s ease;
}

.country-history-table
.sortable-header:hover {
  background: #faf8ff;
}

.country-history-table
.sort-indicator {
  display: inline-block;
  margin-left: 5px;
  font-size: 11px;
  vertical-align: 1px;
}

.country-history-table
.muted-sort {
  color: #c0bbc9;
}

.country-history-table
.active-sort {
  color: #7c45cf;
  font-weight: 900;
}

html[dir="rtl"]
.country-history-table
.sort-indicator {
  margin-left: 0;
  margin-right: 5px;
}



/* ==========================================================
   COUNTRY VOTING STATS — JURY / TELEVOTE SPLIT
   ========================================================== */

.country-vote-split-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.country-vote-split-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 9px;

  padding-top: 9px;
  border-top: 1px solid #efedf4;
}

.country-vote-split-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.country-vote-split-label {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #96919e;
}

.country-vote-split-row
.country-vote-stat-value strong {
  font-size: 14px;
}

.country-vote-split-row
.country-vote-stat-value img {
  width: 25px;
  height: 18px;
}

.country-vote-split-row
.country-vote-stat-value span {
  font-size: 10px;
  padding: 4px 6px;
}

.country-vote-total-expanded {
  justify-content: space-between;
}

.country-vote-total-expanded > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.country-vote-total-breakdown {
  display: flex;
  gap: 7px;
}

.country-vote-total-breakdown span {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 5px 8px;
  border-radius: 8px;

  background: #f6f3fb;
  font-size: 10px;
}

.country-vote-total-breakdown b {
  color: #7444bd;
  font-size: 12px;
}

@media (max-width: 600px) {

  .country-vote-split-row {
    grid-template-columns: 62px 1fr;
  }

  .country-vote-total-expanded {
    align-items: flex-start;
    flex-direction: column;
  }

}



/* ==========================================================
   COUNTRY HISTORY SORTING
   ========================================================== */

.country-history-table
.sortable-header {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background .15s ease,
    color .15s ease;
}

.country-history-table
.sortable-header:hover {
  background: #faf8ff;
}

.country-history-table
.sort-indicator {
  display: inline-block;
  margin-left: 5px;
  font-size: 11px;
  vertical-align: 1px;
}

.country-history-table
.muted-sort {
  color: #c0bbc9;
}

.country-history-table
.active-sort {
  color: #7c45cf;
  font-weight: 900;
}

html[dir="rtl"]
.country-history-table
.sort-indicator {
  margin-left: 0;
  margin-right: 5px;
}



/* ==========================================================
   COUNTRY PAGE V2
   ========================================================== */


/* ---------- history table ---------- */

.country-history-table
.country-result-cell {
  min-width: 120px;
}

.country-history-table
.country-points-cell {
  min-width: 75px;
  text-align: center;
}

.country-final-points {
  font-size: 17px;
  font-weight: 850;
  color: #292d37;
}


/* ---------- place badge ---------- */

.country-place-badge {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;

  min-width: 44px;
  padding: 6px 10px;

  border: 1px solid #e2dff0;
  border-radius: 10px;

  background: #f7f5fc;

  color: #38334a;

  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}

.country-place-badge span {
  color: #9690a5;
  font-size: 11px;
}


/* ---------- podium rows ---------- */

.country-history-table
.country-gold-row {
  background: #fffaf0;
  box-shadow:
    inset 4px 0 0 #d7ad2f;
}

.country-history-table
.country-silver-row {
  background: #f7f8fa;
  box-shadow:
    inset 4px 0 0 #a9b1bc;
}

.country-history-table
.country-bronze-row {
  background: #fcf5ef;
  box-shadow:
    inset 4px 0 0 #b97a4d;
}

.country-history-table
.country-gold-row td,
.country-history-table
.country-silver-row td,
.country-history-table
.country-bronze-row td {
  background: transparent !important;
}


.country-gold-row
.country-place-badge {
  background: #fff1b8;
  border-color: #e0bf4d;
  color: #715700;
}

.country-silver-row
.country-place-badge {
  background: #edf0f4;
  border-color: #c4cad2;
  color: #59616c;
}

.country-bronze-row
.country-place-badge {
  background: #f3dfd0;
  border-color: #d3a27e;
  color: #7a4d30;
}


/* ---------- non qualifier ---------- */

.country-history-table
.country-nq-row {
  background: #fff7fb;
  box-shadow:
    inset 4px 0 0 #e6a7c8;
}

.country-history-table
.country-nq-row td {
  background: transparent !important;
}

.country-semi-result {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.country-semi-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 4px 7px;

  border-radius: 7px;

  background: #f5eaf2;
  color: #9b527b;

  font-size: 10px;
  font-weight: 900;
}

.country-semi-result strong {
  font-size: 15px;
}

.country-semi-points {
  color: #777d88;
  font-size: 11px;
}

.country-nq-label {
  display: inline-flex;

  padding: 5px 9px;

  border-radius: 8px;

  background: #f5eaf2;
  color: #985375;

  font-size: 11px;
  font-weight: 800;
}


/* ---------- sorting ---------- */

.country-sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.country-sortable:hover {
  background: #faf8ff;
}

.country-sort-indicator {
  display: inline-block;

  margin-left: 5px;

  color: #c1bccb;

  font-size: 11px;
}

.country-sort-indicator.active {
  color: #7c45cf;
  font-weight: 900;
}


/* ==========================================================
   VOTING STATISTICS
   ========================================================== */

.country-voting-section {
  margin-top: 42px;
}

.country-voting-heading {
  margin-bottom: 18px;
}

.country-voting-heading
.section-title {
  margin-bottom: 5px;
}

.country-voting-heading p {
  margin: 0;
  color: #7b8190;
}


.country-voting-grid {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 14px;
}


.country-voting-card {
  position: relative;

  padding: 18px;

  border: 1px solid #e7e4f0;
  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #faf8ff
    );
}


.country-voting-card h3 {
  margin:
    0
    0
    15px;

  color: #474b58;

  font-size: 13px;
  font-weight: 850;
}


.country-voting-item {
  display: grid;

  grid-template-columns:
    72px
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 9px;

  padding: 10px 0;

  border-top:
    1px solid #efedf4;
}


.country-voting-item:first-of-type {
  border-top: 0;
}


.country-voting-type {
  color: #9994a2;

  font-size: 10px;
  font-weight: 900;

  text-transform: uppercase;
}


.country-voting-country {
  display: flex;
  align-items: center;

  gap: 8px;

  min-width: 0;
}


.country-voting-country img {
  width: 28px;
  height: 20px;

  object-fit: contain;
}


.country-voting-country strong {
  overflow: hidden;

  color: #373b46;

  font-size: 14px;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.country-voting-value {
  padding: 5px 7px;

  border-radius: 8px;

  background: #f2eff7;

  color: #6c6478;

  font-size: 10px;
  font-weight: 850;

  white-space: nowrap;
}


.country-douze-card {
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #fffaf0
    );
}


.country-douze-card
.country-voting-value {
  background: #fff0b7;
  color: #806000;
}


.country-voting-empty {
  color: #aaa6b0;
}


/* ---------- total 12s ---------- */

.country-douze-totals {
  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap: 14px;

  margin-top: 14px;
}


.country-douze-totals > div {
  display: grid;

  grid-template-columns:
    1fr
    auto;

  align-items: center;

  gap: 3px 12px;

  padding: 15px 18px;

  border: 1px solid #ebe7f2;
  border-radius: 14px;

  background: #fff;
}


.country-douze-totals span {
  color: #747987;

  font-size: 12px;
  font-weight: 750;
}


.country-douze-totals strong {
  grid-row:
    1 /
    span 2;

  grid-column: 2;

  color: #7b42d1;

  font-size: 27px;
}


.country-douze-totals small {
  color: #9a96a1;

  font-size: 10px;
}


/* ---------- RTL ---------- */

html[dir="rtl"]
.country-sort-indicator {
  margin-left: 0;
  margin-right: 5px;
}

html[dir="rtl"]
.country-history-table
.country-gold-row {
  box-shadow:
    inset -4px 0 0 #d7ad2f;
}

html[dir="rtl"]
.country-history-table
.country-silver-row {
  box-shadow:
    inset -4px 0 0 #a9b1bc;
}

html[dir="rtl"]
.country-history-table
.country-bronze-row {
  box-shadow:
    inset -4px 0 0 #b97a4d;
}

html[dir="rtl"]
.country-history-table
.country-nq-row {
  box-shadow:
    inset -4px 0 0 #e6a7c8;
}


/* ---------- mobile ---------- */

@media (max-width: 720px) {

  .country-voting-grid,
  .country-douze-totals {
    grid-template-columns: 1fr;
  }

  .country-voting-item {
    grid-template-columns:
      62px
      minmax(0, 1fr)
      auto;
  }

}



/* ==========================================================
   COUNTRY TOP ARTISTS
   ========================================================== */

.country-top-artists {
  margin-top: 36px;
}

.country-top-artists-heading {
  margin-bottom: 18px;
}

.country-top-artists-heading
.section-title {
  margin-bottom: 5px;
}

.country-top-artists-heading p {
  margin: 0;
  color: #7b8190;
}


.country-top-artists-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 14px;
}


.country-top-artist-card {
  position: relative;

  display: flex;
  align-items: center;

  gap: 14px;

  min-width: 0;
  padding: 14px;

  border: 1px solid #e7e4f0;
  border-radius: 17px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #faf8ff
    );

  color: inherit;
  text-decoration: none;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}


.country-top-artist-card:hover {
  transform:
    translateY(-2px);

  border-color:
    #d8cbed;

  box-shadow:
    0 9px 24px
    rgba(
      82,
      56,
      128,
      .09
    );
}


.country-top-artist-rank {
  position: absolute;

  top: 9px;
  right: 9px;

  z-index: 2;

  padding:
    4px 7px;

  border-radius: 8px;

  background:
    rgba(
      255,
      255,
      255,
      .92
    );

  color: #7652a8;

  font-size: 10px;
  font-weight: 900;

  box-shadow:
    0 2px 8px
    rgba(
      60,
      40,
      90,
      .08
    );
}


.country-top-artist-photo {
  flex:
    0
    0
    78px;

  width: 78px;
  height: 78px;

  overflow: hidden;

  border-radius: 14px;

  background: #f2eef7;
}


.country-top-artist-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


.country-top-artist-placeholder {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #9b83bc;

  font-size: 26px;
  font-weight: 900;
}


.country-top-artist-info {
  min-width: 0;
  flex: 1;
}


.country-top-artist-info h3 {
  margin:
    0
    0
    10px;

  overflow: hidden;

  color: #333743;

  font-size: 15px;
  font-weight: 850;

  text-overflow: ellipsis;
  white-space: nowrap;
}


.country-top-artist-stats {
  display: flex;
  gap: 7px;
}


.country-top-artist-stats > span {
  display: flex;
  flex-direction: column;

  min-width: 58px;

  padding:
    6px
    8px;

  border-radius: 9px;

  background: #f5f2fa;
}


.country-top-artist-stats small {
  color: #96919e;

  font-size: 9px;
  font-weight: 750;
}


.country-top-artist-stats strong {
  margin-top: 2px;

  color: #604783;

  font-size: 14px;
}


/* Top 3 visual accent */

.country-top-artist-card:nth-child(1) {
  background:
    linear-gradient(
      135deg,
      #fffdf6,
      #fff8df
    );
}

.country-top-artist-card:nth-child(2) {
  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f4f6f8
    );
}

.country-top-artist-card:nth-child(3) {
  background:
    linear-gradient(
      135deg,
      #fffdfb,
      #faf1ea
    );
}


/* RTL */

html[dir="rtl"]
.country-top-artist-rank {
  right: auto;
  left: 9px;
}


/* Tablet */

@media (max-width: 950px) {

  .country-top-artists-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


/* Mobile */

@media (max-width: 620px) {

  .country-top-artists-grid {
    grid-template-columns: 1fr;
  }

  .country-top-artist-photo {
    flex-basis: 70px;

    width: 70px;
    height: 70px;
  }

}



/* ==========================================================
   COUNTRY HISTORY — OVERALL STYLE
   ========================================================== */

.country-history-table
.country-final-cell,
.country-history-table
.country-semi-cell {
  min-width: 145px;
}


.country-round-result {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  white-space: nowrap;
}


.country-round-place {
  display: inline-flex;
  align-items: baseline;

  gap: 1px;

  padding: 5px 8px;

  border: 1px solid #ded9e8;
  border-radius: 9px;

  background: #f6f3fa;

  color: #393541;

  font-size: 15px;
  font-weight: 900;
}


.country-round-place > span {
  color: #9b94a5;

  font-size: 10px;
  font-weight: 800;
}


.country-round-points {
  color: #77717e;

  font-size: 11px;
  font-weight: 750;
}


.country-round-empty {
  color: #bbb6c1;
}


/* Winner */

.country-gold-row
.country-final-result
.country-round-place {
  border-color: #e1c359;

  background: #fff0b5;

  color: #715500;
}


/* Second */

.country-silver-row
.country-final-result
.country-round-place {
  border-color: #c5cbd3;

  background: #edf0f4;

  color: #58616d;
}


/* Third */

.country-bronze-row
.country-final-result
.country-round-place {
  border-color: #d4a37f;

  background: #f3dfd0;

  color: #754a2e;
}


/* NQ semi result */

.country-nq-row
.country-semi-result
.country-round-place {
  border-color: #e5bfd3;

  background: #faedf4;

  color: #99587a;
}


/* ==========================================================
   VOTING STAT COUNTRY LINKS
   ========================================================== */

.country-voting-country-link {
  color: inherit;
  text-decoration: none;

  border-radius: 8px;

  transition:
    background .15s ease,
    transform .15s ease;
}


.country-voting-country-link:hover {
  background: #f5f1fa;

  transform:
    translateX(2px);
}


.country-voting-country-link:hover strong {
  color: #7444b5;
  text-decoration: underline;
}


html[dir="rtl"]
.country-voting-country-link:hover {
  transform:
    translateX(-2px);
}


/* Mobile */

@media (max-width: 720px) {

  .country-history-table
  .country-final-cell,
  .country-history-table
  .country-semi-cell {
    min-width: 125px;
  }

}



/* ==========================================================
   SONG PAGE V2
   ========================================================== */


/* ---------- FIX STRETCHED COUNTRY HEART ---------- */

.song-country-pill img,
.song-country-pill
.country-heart-small,
.song-country-pill
.country-flag-small {
  width: 34px !important;
  height: 24px !important;

  min-width: 34px;
  max-width: 34px;

  object-fit: contain !important;
  object-position: center;

  flex: 0 0 34px;
}


/* ==========================================================
   POINTS BREAKDOWN
   ========================================================== */

.song-points-breakdown {
  margin-top: 28px;
  padding-top: 24px;

  border-top:
    1px solid #ebe8f0;
}


.song-points-breakdown-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 16px;
}


.song-points-breakdown-heading h3 {
  margin: 0 0 4px;

  color: #353944;

  font-size: 18px;
  font-weight: 900;
}


.song-points-breakdown-heading p {
  margin: 0;

  color: #8a8691;

  font-size: 12px;
}


.song-points-mini-summary {
  display: flex;

  gap: 7px;
}


.song-points-mini-summary > span {
  display: flex;
  flex-direction: column;

  min-width: 65px;

  padding: 7px 10px;

  border-radius: 10px;

  background: #f5f2f9;

  text-align: center;
}


.song-points-mini-summary small {
  color: #96909e;

  font-size: 9px;
  font-weight: 800;
}


.song-points-mini-summary strong {
  margin-top: 1px;

  color: #5e536b;

  font-size: 15px;
}


.song-points-mini-summary
.total {
  background:
    linear-gradient(
      135deg,
      #f1e9ff,
      #f8f4ff
    );
}


.song-points-mini-summary
.total strong {
  color: #7643ba;
}


/* ---------- table ---------- */

.song-points-table {
  width: 100%;

  border-collapse: collapse;
}


.song-points-table th,
.song-points-table td {
  padding: 10px 12px;

  border-bottom:
    1px solid #eeebf1;
}


.song-points-table th {
  color: #77717f;

  font-size: 10px;
  font-weight: 850;

  text-transform: uppercase;
}


.song-points-table
.number {
  width: 105px;
  text-align: center;
}


.song-vote-sortable {
  cursor: pointer;
  user-select: none;
}


.song-vote-sortable:hover {
  background: #faf8fd;
}


.song-vote-sort-indicator {
  margin-left: 4px;

  color: #c0bbc7;

  font-size: 10px;
}


.song-vote-sort-indicator.active {
  color: #7845b8;
  font-weight: 900;
}


/* ---------- country ---------- */

.song-vote-country {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  min-width: 0;
}


.song-vote-country-link {
  padding: 4px 6px;

  border-radius: 8px;

  color: inherit;
  text-decoration: none;

  transition:
    background .15s ease;
}


.song-vote-country-link:hover {
  background: #f5f1fa;
}


.song-vote-country-link:hover
strong {
  color: #7543b5;
  text-decoration: underline;
}


.song-vote-country-image {
  width: 32px;
  height: 23px;

  object-fit: contain;

  flex: 0 0 32px;
}


.song-vote-world {
  display: inline-flex;

  width: 32px;

  justify-content: center;

  font-size: 20px;
}


.song-vote-country strong {
  color: #3d4049;

  font-size: 13px;
}


/* ---------- scores ---------- */

.song-vote-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 31px;
  height: 27px;

  padding: 0 6px;

  border-radius: 8px;

  color: #69636e;

  font-size: 12px;
  font-weight: 800;
}


.song-vote-score.score-12 {
  background: #fff0b3;
  color: #795b00;
}


.song-vote-score.score-10 {
  background: #eee9fa;
  color: #654b91;
}


.song-vote-score.score-8 {
  background: #e8f4fb;
  color: #39708d;
}


.song-vote-total {
  color: #4a4352;

  font-size: 13px;
  font-weight: 900;
}


/* RTL */

html[dir="rtl"]
.song-vote-sort-indicator {
  margin-left: 0;
  margin-right: 4px;
}


/* Mobile */

@media (max-width: 720px) {

  .song-points-breakdown-heading {
    align-items: stretch;
    flex-direction: column;
  }


  .song-points-mini-summary {
    width: 100%;
  }


  .song-points-mini-summary > span {
    flex: 1;
  }


  .song-points-table
  .number {
    width: 72px;
  }


  .song-points-table th,
  .song-points-table td {
    padding:
      9px
      7px;
  }

}



/* ==========================================================
   SONG VOTING FILTERS
   ========================================================== */

.song-vote-filters {
  display: flex;
  align-items: flex-end;

  gap: 12px;

  margin: 0 0 14px;

  padding: 12px 14px;

  border: 1px solid #ebe6f1;
  border-radius: 12px;

  background: #faf8fd;
}


.song-vote-filter {
  display: flex;
  flex-direction: column;

  gap: 5px;
}


.song-vote-filter > span {
  color: #817a89;

  font-size: 10px;
  font-weight: 850;

  text-transform: uppercase;
}


.song-vote-filter select {
  min-width: 190px;

  padding: 8px 32px 8px 10px;

  border: 1px solid #ddd6e7;
  border-radius: 9px;

  background: white;

  color: #45404b;

  font: inherit;
  font-size: 12px;
  font-weight: 700;

  cursor: pointer;
}


.song-vote-points-only {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  min-height: 34px;

  padding: 0 10px;

  border-radius: 9px;

  background: white;

  color: #625c68;

  font-size: 11px;
  font-weight: 750;

  cursor: pointer;
}


.song-vote-points-only input {
  accent-color: #8251bd;
}


.song-vote-row-count {
  margin-left: auto;

  min-height: 34px;

  display: inline-flex;
  align-items: center;

  color: #9a94a0;

  font-size: 10px;
  font-weight: 700;
}


html[dir="rtl"]
.song-vote-row-count {
  margin-left: 0;
  margin-right: auto;
}


/* ==========================================================
   SONG HERO COUNTRY IMAGE — NO STRETCH
   Target every country image in the hero/meta area.
   ========================================================== */

.song-hero
a[href*="/countries/"] img,
.song-detail-hero
a[href*="/countries/"] img,
.song-header
a[href*="/countries/"] img,
.song-hero-card
a[href*="/countries/"] img {
  width: 42px !important;
  height: 30px !important;

  min-width: 42px !important;
  max-width: 42px !important;

  min-height: 30px !important;
  max-height: 30px !important;

  object-fit: contain !important;
  object-position: center !important;

  aspect-ratio: auto !important;

  flex: 0 0 42px !important;
}


@media (max-width: 720px) {

  .song-vote-filters {
    align-items: stretch;
    flex-direction: column;
  }


  .song-vote-filter select {
    width: 100%;
    min-width: 0;
  }


  .song-vote-points-only {
    width: fit-content;
  }


  .song-vote-row-count,
  html[dir="rtl"]
  .song-vote-row-count {
    margin: 0;
  }

}



/* Points Breakdown now always shows scoring countries only */

.song-vote-filter {
  flex: 0 1 260px;
}

.song-vote-filter select {
  width: 100%;
}



/* ==========================================================
   ARTIST PAGE — CAREER JOURNEY UPGRADE
   ========================================================== */

.artist-career-overview {
  margin: 28px 0 34px;
  padding: 26px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(
      circle at top right,
      rgba(236, 72, 153, 0.10),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(255,255,255,0.98),
      rgba(239,246,255,0.96)
    );
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.07);
}

.artist-career-overview-heading {
  margin-bottom: 20px;
}

.artist-career-overview-heading > span {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
}

.artist-career-overview-heading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.artist-career-overview-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.artist-career-overview-item {
  min-width: 0;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(148,163,184,0.18);
}

.artist-career-overview-item span {
  display: block;
  min-height: 34px;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}

.artist-career-overview-item strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
  line-height: 1;
  color: #0f172a;
}


/*
  Entry cards become a competition journey:
  Semi-final → Final / NQ
*/

.artist-entry-card {
  position: relative;
  overflow: hidden;
}

.artist-entry-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #ec4899,
      #06b6d4
    );
}

.artist-entry-results {
  align-items: stretch;
}

.artist-result-box {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.artist-result-box.nq {
  background:
    linear-gradient(
      145deg,
      rgba(255, 241, 242, 0.98),
      rgba(254, 226, 226, 0.82)
    );
  border-color:
    rgba(244, 63, 94, 0.22);
}

.artist-result-box.nq strong {
  color: #e11d48;
}

.artist-journey-arrow {
  align-self: center;
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 900;
  color: #7c3aed;
  opacity: 0.7;
}

.artist-journey-arrow.nq {
  color: #e11d48;
}

.artist-result-running-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(148,163,184,0.18);
  font-size: 11px;
  color: #64748b;
}

.artist-result-running-order b {
  color: #334155;
}

.artist-result-split {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.artist-result-split span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(148,163,184,0.18);
  font-size: 10px;
  color: #475569;
}

.artist-result-split b {
  font-weight: 800;
  color: #334155;
}


@media (max-width: 850px) {
  .artist-career-overview-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 560px) {
  .artist-career-overview {
    padding: 20px 16px;
    border-radius: 22px;
  }

  .artist-career-overview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .artist-entry-results {
    display: grid;
    grid-template-columns: 1fr;
  }

  .artist-journey-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
}



/* Artist Best Result stage */

.artist-best-result-value {
  display: block;
}

.artist-best-result-stage {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  color: #64748b;
}




/* ==========================================================
   FINAL DISQUALIFICATION / REMOVAL
   Optional exceptional result state
   ========================================================== */

.event-dq-row,
.country-dq-row {
  background:
    linear-gradient(
      90deg,
      rgba(255, 228, 230, 0.82),
      rgba(255, 241, 242, 0.58)
    ) !important;
}

.event-dq-row > td:first-child,
.country-dq-row > td:first-child {
  box-shadow:
    inset 4px 0 0 rgba(225, 29, 72, 0.8);
}

.event-dq-row:hover,
.country-dq-row:hover {
  background:
    rgba(255, 228, 230, 0.95) !important;
}

.final-disqualified-group {
  border: 1px solid rgba(225, 29, 72, 0.18);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 241, 242, 0.7);
}

.admin-checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.admin-checkbox-row input {
  width: 18px;
  height: 18px;
}

.final-disqualified-group .form-help {
  display: block;
  margin-top: 8px;
  line-height: 1.5;
  color: #64748b;
}



/* ==========================================================
   DISQUALIFIED FROM FINAL
   ========================================================== */

.final-disqualified-row,
.country-dq-row {
  background: #fff1f2 !important;
}

.final-disqualified-row td,
.country-dq-row td {
  border-color: #fecdd3 !important;
}

.final-disqualified-row td:first-child,
.country-dq-row td:first-child {
  box-shadow: inset 4px 0 0 #e11d48;
}

.final-dq-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.final-dq-result strong {
  color: #be123c;
  font-size: 17px;
}

.final-dq-result span {
  color: #9f1239;
  font-size: 10px;
  font-weight: 700;
}

.song-event-result-card.final-dq-card {
  background: #fff1f2;
  border-color: #fda4af;
}

.song-event-result-card.final-dq-card .event-place {
  color: #be123c;
}

.song-event-result-card.final-dq-card .event-points {
  color: #9f1239;
}



/* ==========================================================
   DISQUALIFIED FROM FINAL
   ========================================================== */

.final-disqualified-row,
.country-dq-row {
  background: #fff1f2 !important;
}

.final-disqualified-row td,
.country-dq-row td {
  border-color: #fecdd3 !important;
}

.final-disqualified-row td:first-child,
.country-dq-row td:first-child {
  box-shadow: inset 4px 0 0 #e11d48;
}

.final-dq-result {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.final-dq-result strong {
  color: #be123c;
  font-size: 17px;
}

.final-dq-result span {
  color: #9f1239;
  font-size: 10px;
  font-weight: 700;
}

.song-event-result-card.final-dq-card {
  background: #fff1f2;
  border-color: #fda4af;
}

.song-event-result-card.final-dq-card .event-place {
  color: #be123c;
}

.song-event-result-card.final-dq-card .event-points {
  color: #9f1239;
}


/* ==========================================================
   FINAL DQ
   ========================================================== */

.final-disqualified-row,
.country-dq-row {
  background: #fff1f2 !important;
}

.final-disqualified-row td,
.country-dq-row td {
  border-color: #fecdd3 !important;
}

.final-disqualified-row td:first-child,
.country-dq-row td:first-child {
  box-shadow: inset 4px 0 0 #e11d48;
}

.final-dq-result {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.final-dq-result strong {
  color: #be123c;
  font-size: 18px;
}

.final-dq-result span {
  color: #9f1239;
  font-size: 11px;
  font-weight: 700;
}

.song-final-dq-notice {
  margin-top: 14px;
  padding: 15px 18px;
  border: 1px solid #fda4af;
  border-radius: 14px;
  background: #fff1f2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.song-final-dq-notice strong {
  color: #be123c;
  font-size: 18px;
}

.song-final-dq-notice span {
  color: #9f1239;
  font-weight: 700;
}



/* ==========================================================
   FINAL DISQUALIFICATION
   ========================================================== */

.final-disqualified-row,
.country-dq-row {
  background: #fff1f2 !important;
}

.final-disqualified-row td,
.country-dq-row td {
  border-color: #fecdd3 !important;
}

.final-disqualified-row td:first-child,
.country-dq-row td:first-child {
  box-shadow: inset 4px 0 0 #e11d48;
}

.final-dq-result,
.country-final-dq {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.final-dq-result strong,
.country-final-dq strong {
  color: #be123c;
  font-size: 18px;
}

.final-dq-result span,
.country-final-dq span {
  color: #9f1239;
  font-size: 11px;
  font-weight: 700;
}

.song-event-result-card.final-dq-card {
  background: #fff1f2;
  border-color: #fda4af;
}

.song-event-result-card.final-dq-card .event-place {
  color: #be123c;
}

.song-event-result-card.final-dq-card .event-points {
  color: #9f1239;
  font-size: 14px;
}




/* ==========================================================
   FINAL DISQUALIFICATION
   ========================================================== */

.final-disqualified-row,
.country-dq-row {
  background: #fff1f2 !important;
}

.final-disqualified-row td,
.country-dq-row td {
  border-color: #fecdd3 !important;
}

.final-disqualified-row td:first-child,
.country-dq-row td:first-child {
  box-shadow: inset 4px 0 0 #e11d48;
}

.final-dq-result,
.country-final-dq {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.final-dq-result strong,
.country-final-dq strong {
  color: #be123c;
  font-size: 18px;
}

.final-dq-result span,
.country-final-dq span {
  color: #9f1239;
  font-size: 11px;
  font-weight: 700;
}

.song-event-result-card.final-dq-card {
  background: #fff1f2;
  border-color: #fda4af;
}

.song-event-result-card.final-dq-card .event-place {
  color: #be123c;
}

.song-event-result-card.final-dq-card .event-points {
  color: #9f1239;
  font-size: 14px;
}



/* =========================
   NEWS
   ========================= */

.news-page,
.news-article-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 70px;
}

.news-hero {
  border-radius: 28px;
  padding: 46px;
  margin-bottom: 32px;
  background:
    linear-gradient(
      135deg,
      #f3efff,
      #ffffff
    );
  border: 1px solid #e5defa;
}

.news-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6552b8;
}

.news-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
}

.news-hero p {
  max-width: 720px;
  margin: 0;
  color: #666274;
  font-size: 17px;
}

.news-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e5ef;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow:
    0 8px 28px rgba(30, 20, 60, .06);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 36px rgba(30, 20, 60, .11);
}

.news-card-image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eeeaf8;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 28px;
  color: #6552b8;
}

.news-card-content {
  padding: 20px 20px 22px;
}

.news-card-meta,
.news-article-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #746d85;
}

.news-card h2 {
  margin: 10px 0 9px;
  font-size: 21px;
  line-height: 1.25;
}

.news-card p {
  margin: 0 0 16px;
  color: #65606f;
  line-height: 1.55;
}

.news-card-read {
  font-weight: 800;
  color: #6552b8;
}

.news-article {
  max-width: 900px;
  margin: 0 auto;
}

.news-article-heading {
  margin-bottom: 28px;
}

.news-article h1 {
  margin: 12px 0;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
}

.news-article-summary {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: #5d5867;
}

.news-article-image {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 28px;
}

.news-article-source-box {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 24px;
  background: #f7f5fc;
  border: 1px solid #e7e2f4;
  border-radius: 20px;
}

.news-article-source-box div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-source-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #6552b8;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.news-loading,
.news-empty {
  padding: 34px;
  text-align: center;
  background: #f8f7fb;
  border-radius: 18px;
  color: #696375;
}

@media (max-width: 700px) {
  .news-hero {
    padding: 30px 24px;
  }

  .news-article-source-box {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ========================================
   HEART OF ESC PUBLIC SIDEBAR
   ======================================== */

:root {
  --public-sidebar-width: 248px;
}

body.has-public-sidebar {
  padding-left:
    var(--public-sidebar-width);
}

body.has-public-sidebar.public-lang-he {
  padding-left: 0;
  padding-right:
    var(--public-sidebar-width);
}

.public-sidebar {
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  width:
    var(--public-sidebar-width);
  background: #fff;
  border-right:
    1px solid #ebe8f1;
}

.public-lang-he .public-sidebar {
  left: auto;
  right: 0;
  border-right: 0;
  border-left:
    1px solid #ebe8f1;
}

.public-sidebar-inner {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 24px 17px 18px;
  overflow-y: auto;
}

.public-side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 8px 25px;
  text-decoration: none;
  color: #20202b;
}

.public-side-logo {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background:
    linear-gradient(
      135deg,
      #51409f,
      #7665c5
    );
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
}

.public-side-brand > span:last-child {
  display: flex;
  flex-direction: column;
}

.public-side-brand strong {
  font-size: 19px;
}

.public-side-brand small {
  margin-top: 2px;
  color: #8a8595;
  font-size: 11px;
}

.public-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.public-side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 0 13px;
  border-radius: 12px;
  color: #565160;
  text-decoration: none;
  font-weight: 700;
  transition:
    background .15s ease,
    color .15s ease;
}

.public-side-link:hover {
  background: #f5f3fa;
  color: #51409f;
}

.public-side-link.active {
  background: #f0edfb;
  color: #51409f;
}

.public-side-icon {
  width: 21px;
  text-align: center;
  font-size: 18px;
}

.public-current-contest {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 23px;
  padding: 17px;
  border-radius: 17px;
  text-decoration: none;
  color: white;
  background:
    linear-gradient(
      135deg,
      #51409f,
      #7665c5
    );
  box-shadow:
    0 10px 24px
    rgba(81, 64, 159, .18);
}

.public-current-contest small {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  opacity: .78;
}

.public-current-contest strong {
  font-size: 17px;
}

.public-current-contest span {
  font-size: 12px;
  opacity: .9;
}

.public-side-bottom {
  margin-top: auto;
  padding-top: 20px;
}

.public-side-search {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e4e0ec;
  border-radius: 11px;
  background: #faf9fc;
  color: #666071;
  padding: 0 11px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.public-side-language {
  display: flex;
  gap: 5px;
  margin-top: 12px;
  padding: 4px;
  background: #f5f3f8;
  border-radius: 10px;
}

.public-side-language button {
  flex: 1;
  border: 0;
  border-radius: 7px;
  padding: 7px;
  background: transparent;
  color: #716b79;
  cursor: pointer;
  font-weight: 800;
}

.public-side-language button.active {
  background: #fff;
  color: #51409f;
  box-shadow:
    0 1px 5px rgba(0,0,0,.07);
}

.public-mobile-menu {
  display: none;
}


/* Hide the old public top navigation
   once the new sidebar is active */

.has-public-sidebar
.site-header,
.has-public-sidebar
.main-header,
.has-public-sidebar
header.site-header {
  display: none !important;
}


@media (max-width: 850px) {

  body.has-public-sidebar,
  body.has-public-sidebar.public-lang-he {
    padding-left: 0;
    padding-right: 0;
  }

  .public-sidebar {
    width: 270px;
    transform: translateX(-105%);
    transition:
      transform .2s ease;
    box-shadow:
      10px 0 35px
      rgba(30, 20, 50, .14);
  }

  .public-lang-he .public-sidebar {
    transform: translateX(105%);
  }

  .public-menu-open
  .public-sidebar {
    transform: translateX(0);
  }

  .public-mobile-menu {
    display: grid;
    place-items: center;
    position: fixed;
    z-index: 1100;
    top: 14px;
    left: 14px;
    width: 45px;
    height: 45px;
    border: 1px solid #e4e0ec;
    border-radius: 13px;
    background: #fff;
    color: #51409f;
    box-shadow:
      0 4px 16px
      rgba(30,20,50,.1);
    font-size: 21px;
    cursor: pointer;
  }

  .public-lang-he
  .public-mobile-menu {
    left: auto;
    right: 14px;
  }
}


/* ========================================
   PUBLIC SIDEBAR UPDATE - 20260904
   ======================================== */

.public-side-logo-image {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.public-side-nav
.public-current-contest {
  margin-top: 7px;
  margin-bottom: 12px;
}

.public-side-links-after-contest {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Language selector intentionally removed
   from the public sidebar. */

.public-side-language {
  display: none !important;
}


/* ========================================
   HEART OF ESC HOME 2026
   ======================================== */

.new-home {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 34px 80px;
}


.home-main-hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  padding: 52px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 85% 15%,
      rgba(255,255,255,.22),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #51409f 0%,
      #6552b8 50%,
      #806fd1 100%
    );
  color: white;
  box-shadow:
    0 18px 50px
    rgba(81,64,159,.18);
}


.home-main-hero-content {
  max-width: 700px;
}


.home-eyebrow,
.home-section-kicker {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}


.home-eyebrow {
  color:
    rgba(255,255,255,.72);
}


.home-main-hero h1 {
  margin: 0 0 13px;
  font-size:
    clamp(46px, 7vw, 78px);
  line-height: .98;
  letter-spacing: -.04em;
}


.home-main-hero p {
  max-width: 620px;
  margin: 0;
  color:
    rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.55;
}


.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}


.home-primary-button,
.home-secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 19px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}


.home-primary-button {
  background: white;
  color: #51409f;
}


.home-secondary-button {
  border:
    1px solid rgba(255,255,255,.35);
  background:
    rgba(255,255,255,.1);
  color: white;
}


.home-stats {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0,1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 17px;
  background:
    rgba(255,255,255,.18);
}


.home-stat {
  padding: 17px 20px;
  background:
    rgba(40,25,90,.17);
  backdrop-filter: blur(10px);
}


.home-stat strong {
  display: block;
  font-size: 25px;
}


.home-stat span {
  display: block;
  margin-top: 2px;
  color:
    rgba(255,255,255,.73);
  font-size: 12px;
}


.home-section {
  margin-top: 56px;
}


.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}


.home-section-kicker {
  color: #6552b8;
}


.home-section-heading h2 {
  margin: 0;
  color: #20202b;
  font-size:
    clamp(27px, 4vw, 36px);
  letter-spacing: -.025em;
}


.home-section-link {
  color: #6552b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}


.home-current-contest {
  display: grid;
  grid-template-columns:
    minmax(0,1fr) auto auto;
  align-items: center;
  gap: 30px;
  padding: 28px 30px;
  border:
    1px solid #e5e0f2;
  border-radius: 24px;
  background: white;
  box-shadow:
    0 8px 30px
    rgba(40,30,70,.055);
}


.home-current-main {
  display: flex;
  align-items: center;
  gap: 21px;
}


.home-current-year {
  min-width: 83px;
  height: 83px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #f0edfb;
  color: #51409f;
  font-size: 22px;
  font-weight: 900;
}


.home-current-label {
  color: #777080;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}


.home-current-copy h3 {
  margin: 4px 0 5px;
  font-size: 25px;
}


.home-current-copy p {
  margin: 0;
  color: #77717e;
}


.home-current-info {
  display: flex;
  gap: 25px;
}


.home-current-info div {
  min-width: 68px;
}


.home-current-info strong {
  display: block;
  font-size: 22px;
}


.home-current-info span {
  color: #8a8490;
  font-size: 11px;
}


.home-current-open,
.home-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  background: #6552b8;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}


.home-news-grid {
  display: grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap: 20px;
}


.home-news-card {
  overflow: hidden;
  border:
    1px solid #e8e5ed;
  border-radius: 20px;
  background: white;
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 6px 25px
    rgba(30,20,50,.045);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}


.home-news-card:hover {
  transform:
    translateY(-4px);
  box-shadow:
    0 13px 32px
    rgba(30,20,50,.1);
}


.home-news-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eeeaf8;
}


.home-news-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


.home-news-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #6552b8;
  font-size: 25px;
  font-weight: 900;
}


.home-news-content {
  padding: 19px;
}


.home-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #88818e;
  font-size: 11px;
  font-weight: 700;
}


.home-news-content h3 {
  margin: 9px 0 8px;
  color: #25232b;
  font-size: 19px;
  line-height: 1.3;
}


.home-news-content p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: #716b77;
  line-height: 1.5;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


.home-news-read {
  color: #6552b8;
  font-size: 12px;
  font-weight: 800;
}


.home-two-column {
  display: grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap: 24px;
}


.home-feature-card {
  min-height: 220px;
  box-sizing: border-box;
  border:
    1px solid #e8e4ef;
  border-radius: 22px;
  background: #fff;
  padding: 26px;
}


.home-poll-card,
.home-last-contest {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


.home-last-contest-grid {
  display: grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap: 16px;
}


.home-last-contest-grid
.home-last-contest {
  padding: 20px;
}


@media (max-width: 900px) {

  .home-last-contest-grid {
    grid-template-columns: 1fr;
  }
}


.home-poll-badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 20px;
  background: #f0edfb;
  color: #6552b8;
  font-size: 10px;
  font-weight: 900;
}


.home-poll-card h3 {
  margin: 17px 0 8px;
  font-size: 23px;
}


.home-poll-card p {
  margin: 0 0 20px;
  color: #77717e;
}


.home-poll-card
.home-card-action {
  margin-top: auto;
}


.home-last-year {
  color: #6552b8;
  font-size: 40px;
  line-height: 1;
  font-weight: 900;
}


.home-last-details {
  margin-top: 15px;
}


.home-last-details > span {
  color: #8a8490;
  font-size: 11px;
  font-weight: 800;
}


.home-last-details h3 {
  margin: 5px 0;
  font-size: 23px;
}


.home-last-details p {
  margin: 0;
  color: #77717e;
}


.home-last-contest
.home-card-action {
  margin-top: auto;
}


.home-explore-grid {
  display: grid;
  grid-template-columns:
    repeat(4,minmax(0,1fr));
  gap: 17px;
}


.home-explore-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 24px;
  border:
    1px solid #e8e4ef;
  border-radius: 20px;
  background: white;
  color: inherit;
  text-decoration: none;
  transition:
    border-color .15s ease,
    transform .15s ease;
}


.home-explore-card:hover {
  transform:
    translateY(-3px);
  border-color: #cfc6ec;
}


.home-explore-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #f0edfb;
  color: #6552b8;
  font-size: 20px;
}


.home-explore-card strong {
  font-size: 19px;
}


.home-explore-card p {
  margin: 7px 0 18px;
  color: #77717e;
  font-size: 13px;
  line-height: 1.5;
}


.home-explore-arrow {
  margin-top: auto;
  color: #6552b8;
  font-size: 12px;
  font-weight: 800;
}


.home-random-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 56px;
  padding: 30px 34px;
  border-radius: 24px;
  background: #f3f0fb;
}


.home-random-section h2 {
  margin: 4px 0 5px;
  font-size: 25px;
}


.home-random-section p {
  margin: 0;
  color: #77717e;
}


.home-random-button {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #6552b8;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}


.home-loading-card,
.home-empty {
  box-sizing: border-box;
  padding: 28px;
  border:
    1px solid #ebe7f0;
  border-radius: 18px;
  background: #faf9fc;
  color: #817b87;
}


@media (max-width: 1050px) {

  .home-news-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .home-news-card:last-child {
    display: none;
  }

  .home-explore-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .home-current-contest {
    grid-template-columns:
      1fr auto;
  }

  .home-current-open {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 700px) {

  .new-home {
    padding:
      80px 17px 55px;
  }

  .home-main-hero {
    padding: 32px 24px;
    border-radius: 23px;
  }

  .home-main-hero h1 {
    font-size: 48px;
  }

  .home-stats {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .home-current-contest {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .home-current-info {
    justify-content:
      space-between;
  }

  .home-current-open {
    width: 100%;
    box-sizing: border-box;
  }

  .home-news-grid,
  .home-two-column,
  .home-explore-grid {
    grid-template-columns: 1fr;
  }

  .home-news-card:last-child {
    display: block;
  }

  .home-section {
    margin-top: 43px;
  }

  .home-section-heading {
    align-items: flex-start;
  }

  .home-random-section {
    flex-direction: column;
    align-items: stretch;
  }

  .home-random-button {
    width: 100%;
  }
}


/* ========================================
   HOME WITHOUT HERO
   ======================================== */

.new-home {
  padding-top: 42px;
}

.new-home
.home-section:first-child {
  margin-top: 0;
}


/* ========================================
   PUBLIC POLLS
   ======================================== */

.polls-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 46px 34px 80px;
}

.polls-page-heading {
  margin-bottom: 36px;
}

.polls-page-heading h1 {
  margin: 4px 0 8px;
  font-size:
    clamp(38px, 6vw, 58px);
  color: #20202b;
}

.polls-page-heading p {
  max-width: 650px;
  margin: 0;
  color: #77717e;
  font-size: 16px;
  line-height: 1.55;
}

.polls-archive {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.poll-archive-item {
  padding-top: 10px;
}

.poll-archive-item +
.poll-archive-item {
  border-top:
    1px solid #e9e5ef;
  padding-top: 32px;
}

.poll-archive-meta {
  margin-bottom: 9px;
}

.poll-archive-meta span {
  color: #7665c5;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}

.public-poll-widget {
  padding: 27px;
  border:
    1px solid #e7e3ed;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 7px 26px
    rgba(30,20,50,.045);
}

.public-poll-widget.active-poll {
  border-color:
    #d9d1f2;
}

.public-poll-status-row {
  display: flex;
  margin-bottom: 13px;
}

.public-poll-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
}

.public-poll-status.live {
  background: #eeeafd;
  color: #6552b8;
}

.public-poll-status.closed {
  background: #f0eff3;
  color: #77717e;
}

.public-poll-widget h3 {
  margin: 0;
  color: #24222a;
  font-size: 23px;
  line-height: 1.32;
}

.public-poll-description {
  margin: 8px 0 20px;
  color: #77717e;
  line-height: 1.55;
}

.public-poll-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}

.public-poll-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  box-sizing: border-box;
  padding: 10px 14px;
  border:
    1px solid #e4e0e9;
  border-radius: 13px;
  background: #fbfafc;
  cursor: pointer;
  transition:
    border-color .15s ease,
    background .15s ease;
}

.public-poll-option:hover {
  border-color: #bfb5e1;
  background: #f7f5fc;
}

.public-poll-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.public-poll-radio {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  box-sizing: border-box;
  border:
    2px solid #bcb6c5;
  border-radius: 50%;
}

.public-poll-option
input:checked +
.public-poll-radio {
  border:
    5px solid #6552b8;
}

.public-poll-vote-button {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 23px;
  border: 0;
  border-radius: 11px;
  background: #6552b8;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.public-poll-vote-button:disabled {
  opacity: .65;
  cursor: wait;
}

.public-poll-message {
  min-height: 18px;
  margin-top: 8px;
  color: #a13f50;
  font-size: 12px;
}

.public-poll-live-results {
  margin-top: 25px;
  padding-top: 20px;
  border-top:
    1px solid #eeeaf2;
}

.poll-results-title {
  margin-bottom: 13px;
  color: #817a88;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.poll-results {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.poll-result-row {
  padding: 3px 0;
}

.poll-result-row.selected {
  color: #51409f;
}

.poll-result-top {
  display: flex;
  align-items: center;
  justify-content:
    space-between;
  gap: 15px;
  margin-bottom: 7px;
  font-size: 13px;
}

.poll-result-top strong {
  font-size: 13px;
}

.poll-result-top span {
  flex: 0 0 auto;
  color: #817a88;
  font-size: 11px;
}

.poll-result-track {
  height: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #ebe8ef;
}

.poll-result-track span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #51409f,
      #806fd1
    );
}

.poll-total-votes {
  margin-top: 2px;
  color: #8a8490;
  font-size: 11px;
}

.public-poll-thanks {
  margin-bottom: 20px;
  padding: 11px 13px;
  border-radius: 11px;
  background: #f0edfb;
  color: #51409f;
  font-size: 12px;
  font-weight: 800;
}


/* Poll on homepage */

#homePoll.home-feature-card {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#homePoll
.public-poll-widget {
  height: 100%;
  box-sizing: border-box;
}


/* Mobile */

@media (max-width: 700px) {

  .new-home {
    padding-top: 80px;
  }

  .polls-page {
    padding:
      82px 17px 55px;
  }

  .public-poll-widget {
    padding: 20px;
  }

  .poll-result-top {
    align-items: flex-start;
  }
}


/* ========================================
   HOME STARTS WITH CURRENT EUROVISION
   ======================================== */

.new-home {
  padding-top: 42px;
}

.new-home
.home-section:first-child {
  margin-top: 0;
}


/* ========================================
   PUBLIC POLLS
   ======================================== */

.polls-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 46px 34px 80px;
}

.polls-page-heading {
  margin-bottom: 34px;
}

.polls-page-heading > span {
  display: block;
  margin-bottom: 7px;
  color: #6552b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.polls-page-heading h1 {
  margin: 0 0 8px;
  color: #20202b;
  font-size:
    clamp(38px, 6vw, 56px);
  letter-spacing: -.03em;
}

.polls-page-heading p {
  max-width: 640px;
  margin: 0;
  color: #77717e;
  font-size: 16px;
  line-height: 1.55;
}

.polls-archive {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.poll-archive-item {
  padding-bottom: 3px;
}

.poll-archive-item +
.poll-archive-item {
  padding-top: 28px;
  border-top:
    1px solid #e8e4ed;
}

.public-poll-widget {
  box-sizing: border-box;
  padding: 27px;
  border:
    1px solid #e6e2eb;
  border-radius: 22px;
  background: white;
  box-shadow:
    0 7px 28px
    rgba(30,20,50,.045);
}

.public-poll-status {
  display: inline-flex;
  margin-bottom: 13px;
  padding: 5px 9px;
  border-radius: 20px;
  background: #f0edfb;
  color: #6552b8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .05em;
}

.public-poll-widget h3 {
  margin: 0;
  color: #25232b;
  font-size: 23px;
  line-height: 1.32;
}

.public-poll-widget > p {
  margin: 8px 0 18px;
  color: #77717e;
  line-height: 1.55;
}

.public-poll-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 19px;
}

.public-poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  box-sizing: border-box;
  padding: 10px 14px;
  border:
    1px solid #e4e0e9;
  border-radius: 13px;
  background: #fbfafc;
  cursor: pointer;
  transition:
    border-color .15s ease,
    background .15s ease;
}

.public-poll-option:hover {
  border-color: #bbb1de;
  background: #f7f5fc;
}

.public-poll-option input {
  width: 17px;
  height: 17px;
  accent-color: #6552b8;
}

.public-poll-option span {
  font-size: 14px;
}

.public-poll-vote-button {
  min-height: 44px;
  margin-top: 16px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  background: #6552b8;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.public-poll-vote-button:disabled {
  opacity: .65;
  cursor: wait;
}

.public-poll-message {
  min-height: 17px;
  margin-top: 7px;
  color: #a13d4d;
  font-size: 12px;
}

.public-poll-current-results {
  margin-top: 24px;
  padding-top: 20px;
  border-top:
    1px solid #eeeaf2;
}

.public-poll-current-results > strong {
  display: block;
  margin-bottom: 13px;
  color: #817a88;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.poll-results {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.poll-result-row {
  padding: 2px 0;
}

.poll-result-row.selected {
  color: #51409f;
}

.poll-result-top {
  display: flex;
  align-items: center;
  justify-content:
    space-between;
  gap: 15px;
  margin-bottom: 7px;
}

.poll-result-top strong {
  color: #35313b;
  font-size: 13px;
}

.poll-result-top span {
  flex: 0 0 auto;
  color: #817a88;
  font-size: 11px;
}

.poll-result-track {
  height: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #ebe8ef;
}

.poll-result-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #51409f,
      #806fd1
    );
}

.poll-total-votes {
  margin-top: 3px;
  color: #8a8490;
  font-size: 11px;
}

.public-poll-thanks {
  margin: 18px 0;
  padding: 11px 13px;
  border-radius: 11px;
  background: #f0edfb;
  color: #51409f;
  font-size: 12px;
  font-weight: 800;
}


/* Home poll should sit naturally inside section */

#homePoll.home-feature-card {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#homePoll
.public-poll-widget {
  height: 100%;
}


/* Mobile */

@media (max-width: 700px) {

  .new-home {
    padding-top: 80px;
  }

  .polls-page {
    padding:
      82px 17px 55px;
  }

  .public-poll-widget {
    padding: 20px;
  }

  .poll-result-top {
    align-items: flex-start;
  }
}

/* PUBLIC POLLS */

.new-home {
  padding-top: 42px;
}

.new-home .home-section:first-child {
  margin-top: 0;
}

.polls-page {
  max-width: 1050px;
  margin: 0 auto;
  padding: 46px 34px 80px;
}

.polls-page-heading {
  margin-bottom: 34px;
}

.polls-page-heading > span {
  color: #6552b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
}

.polls-page-heading h1 {
  margin: 6px 0 8px;
  font-size: 52px;
  color: #20202b;
}

.polls-page-heading p {
  margin: 0;
  color: #77717e;
}

.polls-archive {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.poll-archive-item + .poll-archive-item {
  padding-top: 28px;
  border-top: 1px solid #e8e4ed;
}

.public-poll-widget {
  padding: 26px;
  border: 1px solid #e6e2eb;
  border-radius: 22px;
  background: white;
}

.public-poll-status {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f0edfb;
  color: #6552b8;
  font-size: 10px;
  font-weight: 900;
}

.public-poll-widget h3 {
  margin: 0;
  font-size: 23px;
  color: #25232b;
}

.public-poll-widget > p {
  color: #77717e;
}

.public-poll-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}

.public-poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #e4e0e9;
  border-radius: 13px;
  background: #fbfafc;
  cursor: pointer;
}

.public-poll-option:hover {
  border-color: #b9afdd;
  background: #f7f5fc;
}

.public-poll-option input {
  width: 17px;
  height: 17px;
  accent-color: #6552b8;
}

.public-poll-vote-button {
  margin-top: 16px;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 11px;
  background: #6552b8;
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.public-poll-message {
  margin-top: 8px;
  color: #a13d4d;
  font-size: 12px;
}

.public-poll-current-results {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eeeaf2;
}

.poll-results {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 13px;
}

.poll-result-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
  font-size: 13px;
}

.poll-result-top span {
  color: #817a88;
  font-size: 11px;
}

.poll-result-track {
  height: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #ebe8ef;
}

.poll-result-track span {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: #6552b8;
}

.poll-result-row.selected strong {
  color: #51409f;
}

.poll-total-votes {
  color: #8a8490;
  font-size: 11px;
}

.public-poll-thanks {
  margin: 18px 0;
  padding: 11px 13px;
  border-radius: 11px;
  background: #f0edfb;
  color: #51409f;
  font-size: 12px;
  font-weight: 800;
}

#homePoll.home-feature-card {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#homePoll .public-poll-widget {
  height: 100%;
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .new-home {
    padding-top: 80px;
  }

  .polls-page {
    padding: 82px 17px 55px;
  }

  .public-poll-widget {
    padding: 20px;
  }
}

/* Hide legacy public top navigation immediately */
.site-header {
  display: none !important;
}

/* Poll option selected state */
.public-poll-option {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.public-poll-option.selected {
  border-color: #6d5dfc;
  background: rgba(109, 93, 252, 0.1);
  box-shadow: 0 0 0 2px rgba(109, 93, 252, 0.16);
  transform: translateY(-1px);
}

.public-poll-option.selected span {
  font-weight: 700;
}

.public-poll-option input[type="radio"] {
  accent-color: #6d5dfc;
}

/* News relation tags */
.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(109, 93, 252, 0.09);
  border: 1px solid rgba(109, 93, 252, 0.18);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

a.news-tag {
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

a.news-tag:hover {
  transform: translateY(-1px);
  background: rgba(109, 93, 252, 0.15);
  border-color: rgba(109, 93, 252, 0.32);
}

.news-article-tags {
  margin-top: 12px;
  margin-bottom: 8px;
}

/* Last Contest winner visual */
.home-last-winner-image {
  width: 130px;
  height: 120px;
  flex: 0 0 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-last-winner-image img {
  width: 118px;
  height: 108px;
  object-fit: cover;
  object-position: center;
  clip-path: path("M59 103 C50 94 8 66 8 35 C8 14 32 5 48 18 L59 29 L70 18 C86 5 110 14 110 35 C110 66 68 94 59 103 Z");
}

.home-last-country-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.home-last-country-heart {
  width: 28px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 600px) {
  .home-last-winner-image {
    width: 110px;
    height: 102px;
    flex-basis: 110px;
  }

  .home-last-winner-image img {
    width: 100px;
    height: 92px;
  }
}

/* Sidebar live search */
.public-side-search-wrap {
  position: relative;
  width: 100%;
}

.public-side-search-wrap .public-side-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
}

.public-side-search-wrap .public-side-search input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.public-side-search-wrap .public-side-search input::placeholder {
  color: #817a88;
  opacity: 1;
}

.public-side-search-results {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 1500;
  max-height: 330px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1px solid #e6e1ed;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(30,20,50,.15);
}

.public-search-result {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  color: #2e2934;
  text-decoration: none;
  border-radius: 10px;
}

.public-search-result:hover {
  background: #f5f2fb;
}

.public-search-result-icon {
  width: 27px;
  flex: 0 0 27px;
  text-align: center;
}

.public-search-result-text {
  min-width: 0;
}

.public-search-result-text strong,
.public-search-result-text small {
  display: block;
}

.public-search-result-text strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-search-result-text small {
  margin-top: 2px;
  color: #817a88;
  font-size: 11px;
}

.public-search-empty {
  padding: 12px 8px;
  color: #817a88;
  text-align: center;
  font-size: 13px;
}

.public-search-result-image {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  object-fit: cover;
  border-radius: 9px;
  background: #f3f0f7;
}

.public-search-result-image[src*="heart"],
.public-search-result-image[src*="flag"] {
  object-fit: contain;
}

/* ========================================
   LAST CONTEST — ARTIST STYLE IMAGE
   ======================================== */

.home-last-winner-image {
  width: 150px;
  height: 112px;
  flex: 0 0 150px;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e8e3ee;
  background: #f4f1f7;
  box-shadow: 0 7px 20px rgba(40, 30, 60, .09);
  text-decoration: none;
}

.home-last-winner-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: none;
  border-radius: 0;
}

.home-last-winner-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(40, 30, 60, .14);
}

.home-last-contest-year-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.home-last-song-link {
  color: inherit;
  text-decoration: none;
}

.home-last-entity-link {
  color: inherit;
  text-decoration: none;
}

.home-last-contest-year-link:hover,
.home-last-song-link:hover,
.home-last-entity-link:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .home-last-winner-image {
    width: 125px;
    height: 94px;
    flex-basis: 125px;
  }
}

/* ========================================
   HEART OF ESC YouTube
   ======================================== */

.home-youtube-section {
  margin-top: 28px;
}

.home-youtube-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e4ef;
  border-radius: 22px;
  box-shadow:
    0 8px 28px rgba(40,30,60,.07);
}

.home-youtube-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.home-youtube-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-youtube-info {
  padding: 15px 18px 17px;
}

.home-youtube-info strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.public-youtube-link .public-side-icon {
  font-size: 12px;
}

@media (min-width: 900px) {
  .home-youtube-card {
    max-width: 850px;
  }
}

/* ========================================
   Related News
   ======================================== */

.related-news-section {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid #eee9f2;
}

.related-news-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.related-news-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .55;
}

.related-news-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.related-news-all {
  flex: 0 0 auto;
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  opacity: .65;
}

.related-news-all:hover {
  opacity: 1;
}

.related-news-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-news-card {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid #ebe6ef;
  border-radius: 16px;
  box-shadow:
    0 5px 18px rgba(40,30,60,.055);
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.related-news-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 25px rgba(40,30,60,.11);
}

.related-news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2eff5;
}

.related-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.related-news-card:hover
.related-news-image img {
  transform: scale(1.035);
}

.related-news-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  font-weight: 800;
  opacity: .35;
}

.related-news-content {
  padding: 11px 12px 12px;
}

.related-news-content h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.related-news-date {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  opacity: .55;
}

@media (max-width: 850px) {
  .related-news-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .related-news-section {
    margin-top: 32px;
  }

  .related-news-grid {
    gap: 10px;
  }

  .related-news-content {
    padding: 9px 10px 10px;
  }

  .related-news-content h3 {
    font-size: 13px;
  }

  .related-news-all {
    display: none;
  }
}


/* VIDEOS PAGE */

.video-channel-link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.video-channel-link {
  font-weight: 800;
  color: #6552b8;
}

.video-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.video-tab {
  border: 1px solid #e5defa;
  background: #fff;
  color: #665f78;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: .18s;
}

.video-tab:hover {
  border-color: #cabcf2;
}

.video-tab.active {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(120,87,255,.20);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.video-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e5ef;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(30, 20, 60, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(30, 20, 60, .11);
}

.video-card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eeeaf8;
}

.video-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,.92);
  background: rgba(20,10,40,.18);
  opacity: 0;
  transition: opacity .18s ease;
}

.video-card:hover .video-card-play {
  opacity: 1;
}

.video-card-content {
  padding: 16px 18px 20px;
}

.video-card-content h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
  color: #746d85;
}

.video-card {
  cursor: pointer;
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: inherit;
  appearance: none;
}

/* Video modal (in-page playback) */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 30, .78);
}

.video-modal-content {
  position: relative;
  width: 100%;
  max-width: 960px;
}

.video-modal-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  background: #000;
}

.video-modal-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}

.video-modal-close:hover {
  background: rgba(255,255,255,.26);
}

.video-modal-fallback-link {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  text-decoration: underline;
}

.video-modal-fallback-link:hover {
  color: #fff;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .video-modal-close {
    top: -40px;
  }
}


/*
  ==========================================================
  REST OF THE WORLD PAGE
  ==========================================================
*/

.row-vote-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.row-vote-hero-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 10px;
}

.row-vote-year-section {
  margin-top: 36px;
}

.row-vote-year-section h2 {
  font-size: 26px;
  margin-bottom: 18px;
}

.row-vote-round-block {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

.row-vote-round-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.row-vote-winner-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,216,77,.18);
}

.row-vote-winner-callout img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.row-vote-winner-callout div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.row-vote-table {
  width: 100%;
  border-collapse: collapse;
}

.row-vote-table th,
.row-vote-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.row-vote-rank {
  width: 32px;
  font-weight: 800;
  color: var(--muted);
}

.row-vote-country-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.row-vote-country-heart,
.row-vote-country-flag {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}

.row-vote-points {
  font-weight: 800;
}

.row-vote-winner-row {
  background: rgba(255,216,77,.12);
}

/* YEAR CANCELLED BADGE (2020 support) */
.year-cancelled-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(120, 120, 120, 0.12);
  color: #555;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==========================================================
   MEDAL COLOR CONTRAST FIX
   Silver was too close to a plain/neutral row; bronze was
   too close in tone to gold. Repaint both so all three
   podium colors stay clearly distinct from each other.
   ========================================================== */

.year-ranking-table tr.result-silver-row,
.country-history-table .result-silver-row,
.country-history-table .country-silver-row {
  background: #eaeff5 !important;
  box-shadow: inset 4px 0 0 #77879b !important;
}

html[dir="rtl"] .year-ranking-table tr.result-silver-row,
html[dir="rtl"] .country-history-table .result-silver-row,
html[dir="rtl"] .country-history-table .country-silver-row {
  box-shadow: inset -4px 0 0 #77879b !important;
}

.year-ranking-table tr.result-silver-row > td:first-child {
  box-shadow: inset 4px 0 0 #77879b !important;
}

html[dir="rtl"] .year-ranking-table tr.result-silver-row > td:last-child {
  box-shadow: inset -4px 0 0 #77879b !important;
}

.result-silver-row .event-place-cell strong,
.result-silver-row .final-result-main strong,
.result-silver-row .event-place-badge,
.country-silver-row .country-place-badge {
  background: #d8e0e9 !important;
  border-color: #7c8ba0 !important;
  color: #2e3947 !important;
}

.country-silver-row .country-final-result .country-round-place {
  border-color: #7c8ba0 !important;
  background: #d8e0e9 !important;
  color: #2e3947 !important;
}

.result-silver-row .event-place-hash {
  color: #4d5a69 !important;
}

.year-ranking-table tr.result-bronze-row,
.country-history-table .result-bronze-row,
.country-history-table .country-bronze-row {
  background: #fbe7d6 !important;
  box-shadow: inset 4px 0 0 #bc5e22 !important;
}

html[dir="rtl"] .year-ranking-table tr.result-bronze-row,
html[dir="rtl"] .country-history-table .result-bronze-row,
html[dir="rtl"] .country-history-table .country-bronze-row {
  box-shadow: inset -4px 0 0 #bc5e22 !important;
}

.year-ranking-table tr.result-bronze-row > td:first-child {
  box-shadow: inset 4px 0 0 #bc5e22 !important;
}

html[dir="rtl"] .year-ranking-table tr.result-bronze-row > td:last-child {
  box-shadow: inset -4px 0 0 #bc5e22 !important;
}

.result-bronze-row .event-place-cell strong,
.result-bronze-row .final-result-main strong,
.result-bronze-row .event-place-badge,
.country-bronze-row .country-place-badge {
  background: #f6d7bd !important;
  border-color: #bc5e22 !important;
  color: #66350f !important;
}

.country-bronze-row .country-final-result .country-round-place {
  border-color: #bc5e22 !important;
  background: #f6d7bd !important;
  color: #66350f !important;
}

.result-bronze-row .event-place-hash {
  color: #8c4a1c !important;
}

/* Song like error message */
.song-like-error {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #b3261e;
}


/* REST OF THE WORLD: TABBED YEAR NAVIGATION */

#rotwYearTabs {
  margin-bottom: 4px;
}

#rotwYearContent .row-vote-year-section {
  margin-top: 20px;
}


/* ==========================================================
   GOLD COLOR BOOST FIX
   After the silver/bronze contrast fix above, gold (1st
   place) became the *least* visible podium color. Boost it
   so the winner clearly stands out again.
   ========================================================== */

.year-ranking-table tr.result-gold-row,
.country-history-table .result-gold-row,
.country-history-table .country-gold-row {
  background: #ffe58a !important;
  box-shadow: inset 4px 0 0 #c9960a !important;
}

html[dir="rtl"] .year-ranking-table tr.result-gold-row,
html[dir="rtl"] .country-history-table .result-gold-row,
html[dir="rtl"] .country-history-table .country-gold-row {
  box-shadow: inset -4px 0 0 #c9960a !important;
}

.year-ranking-table tr.result-gold-row > td:first-child {
  box-shadow: inset 4px 0 0 #c9960a !important;
}

html[dir="rtl"] .year-ranking-table tr.result-gold-row > td:last-child {
  box-shadow: inset -4px 0 0 #c9960a !important;
}

.result-gold-row .event-place-cell strong,
.result-gold-row .final-result-main strong,
.result-gold-row .event-place-badge,
.country-gold-row .country-place-badge {
  background: #ffd54a !important;
  border-color: #b8860b !important;
  color: #4a3700 !important;
}

.country-gold-row .country-final-result .country-round-place {
  border-color: #b8860b !important;
  background: #ffd54a !important;
  color: #4a3700 !important;
}

.result-gold-row .event-place-hash {
  color: #8a6400 !important;
}


/* Rest of the World: globe fallback icons where no logo is set yet */

.country-voting-world {
  display: inline-flex;
  width: 28px;
  justify-content: center;
  font-size: 16px;
}

.row-vote-hero-globe {
  font-size: 96px;
  line-height: 1;
}


/* ==========================================================
   WINNERS PAGE
   ========================================================== */

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.winner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px 22px;
  border: 1px solid #f0e2b8;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf5, #ffffff);
  box-shadow: 0 10px 26px rgba(180, 140, 20, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.winner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(180, 140, 20, .16);
}

.winner-card-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  background: #ffd54a;
  border: 1px solid #b8860b;
  color: #4a3700;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.winner-card-photo-link {
  display: block;
  text-decoration: none;
}

.winner-card-photo-wrap {
  width: 150px;
  height: 112px;
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: 18px;
  border: 1px solid #e8e3ee;
  background: #f4f1f7;
  box-shadow: 0 7px 20px rgba(40, 30, 60, .09);
}

.winner-card-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.winner-card-photo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
}

.winner-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.winner-card-song {
  margin: 4px 0 6px;
  font-size: 19px;
  line-height: 1.25;
}

.winner-card-song a {
  color: inherit;
  text-decoration: none;
}

.winner-card-song a:hover {
  text-decoration: underline;
}

.winner-card-country-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.winner-card-country-heart {
  width: 22px;
  height: 17px;
  object-fit: contain;
}

.winner-card-country-line a {
  color: #5d6780;
  text-decoration: none;
}

.winner-card-country-line a:hover {
  text-decoration: underline;
}

.winner-card-artist {
  margin: 0 0 12px;
  color: #77717e;
  font-size: 13px;
}

.winner-card-artist a {
  color: inherit;
  text-decoration: none;
}

.winner-card-artist a:hover {
  text-decoration: underline;
}

.winner-card-points {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 14px;
  background: #fff3d6;
  color: #8a6400;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 480px) {
  .winners-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .winner-card {
    padding: 20px 12px 16px;
  }

  .winner-card-photo-wrap {
    width: 125px;
    height: 94px;
  }
}


/* ==========================================================
   SHARE BUTTONS (song / artist / year detail pages)
   ========================================================== */

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.share-buttons-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(23, 33, 59, .12);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(23, 33, 59, .18);
  opacity: .92;
}

.share-btn:active {
  transform: scale(0.94);
}

.share-btn svg {
  display: block;
}

.share-btn-whatsapp {
  background: #25d366;
}

.share-btn-facebook {
  background: #1877f2;
}


/* ==========================================================
   SHARE BUTTONS - inline/compact variant
   (song meta row, artist kicker row, year hostcity row,
   country meta row)
   ========================================================== */

.inline-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-buttons-inline {
  margin-top: 0;
  margin-inline-start: auto;
}

.share-buttons-inline .share-btn {
  width: 32px;
  height: 32px;
}


/* ==========================================================
   HOME YOUTUBE WIDGET - fallback link
   (shown under the embed in case the iframe itself
   is blocked by an ad-blocker / network policy)
   ========================================================== */

.home-youtube-fallback-link {
  display: block;
  padding: 10px 18px 16px;
  color: var(--purple, #7857ff);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
}

.home-youtube-fallback-link:hover {
  color: var(--pink, #ff3da4);
}
