.elementor-9704 .elementor-element.elementor-element-901f525{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:10px;--padding-bottom:10px;--padding-left:0px;--padding-right:0px;}.elementor-9704 .elementor-element.elementor-element-901f525:not(.elementor-motion-effects-element-type-background), .elementor-9704 .elementor-element.elementor-element-901f525 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#00290B;}.elementor-9704 .elementor-element.elementor-element-2afce01{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0em;--padding-bottom:0em;--padding-left:0em;--padding-right:0em;}.elementor-9704 .elementor-element.elementor-element-f276f2b{width:100%;max-width:100%;}.elementor-9704 .elementor-element.elementor-element-526556e{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:10px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0em;--padding-bottom:0em;--padding-left:0em;--padding-right:0em;}.elementor-9704 .elementor-element.elementor-element-526556e:not(.elementor-motion-effects-element-type-background), .elementor-9704 .elementor-element.elementor-element-526556e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-secondary );}.elementor-9704 .elementor-element.elementor-element-1aa6148{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;border-style:dashed;--border-style:dashed;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#00BF63;--border-color:#00BF63;--border-radius:10px 10px 10px 10px;--margin-top:25px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:10px;--padding-bottom:10px;--padding-left:0px;--padding-right:0px;}.elementor-9704 .elementor-element.elementor-element-1aa6148:not(.elementor-motion-effects-element-type-background), .elementor-9704 .elementor-element.elementor-element-1aa6148 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#00BF631F;}.elementor-9704 .elementor-element.elementor-element-1c236cf{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:4px;--padding-bottom:0px;--padding-left:22.5px;--padding-right:0px;}.elementor-9704 .elementor-element.elementor-element-1c236cf.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-9704 .elementor-element.elementor-element-ec8c5e4 .elementor-icon-wrapper{text-align:center;}.elementor-9704 .elementor-element.elementor-element-ec8c5e4.elementor-view-stacked .elementor-icon{background-color:#3399FF;}.elementor-9704 .elementor-element.elementor-element-ec8c5e4.elementor-view-framed .elementor-icon, .elementor-9704 .elementor-element.elementor-element-ec8c5e4.elementor-view-default .elementor-icon{color:#3399FF;border-color:#3399FF;}.elementor-9704 .elementor-element.elementor-element-ec8c5e4.elementor-view-framed .elementor-icon, .elementor-9704 .elementor-element.elementor-element-ec8c5e4.elementor-view-default .elementor-icon svg{fill:#3399FF;}.elementor-9704 .elementor-element.elementor-element-ec8c5e4 .elementor-icon{font-size:21px;}.elementor-9704 .elementor-element.elementor-element-ec8c5e4 .elementor-icon svg{height:21px;}.elementor-9704 .elementor-element.elementor-element-7398cd2{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-9704 .elementor-element.elementor-element-37ce9d0 > .elementor-widget-container{margin:7px 0px -20px 0px;}.elementor-9704 .elementor-element.elementor-element-37ce9d0{text-align:center;font-size:18.5px;font-weight:500;font-style:italic;color:#E5FCEFCC;}.elementor-9704 .elementor-element.elementor-element-e59d57c{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0em;--padding-bottom:0em;--padding-left:0em;--padding-right:0em;}.elementor-9704 .elementor-element.elementor-element-9337dd8{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0em;--padding-bottom:0em;--padding-left:0em;--padding-right:0em;}.elementor-9704 .elementor-element.elementor-element-a738150{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0em;--padding-bottom:0em;--padding-left:0em;--padding-right:0em;}@media(min-width:768px){.elementor-9704 .elementor-element.elementor-element-1aa6148{--width:760px;}.elementor-9704 .elementor-element.elementor-element-1c236cf{--width:4.056%;}}@media(max-width:1024px){.elementor-9704 .elementor-element.elementor-element-901f525{--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-9704 .elementor-element.elementor-element-526556e{--padding-top:15px;--padding-bottom:15px;--padding-left:15px;--padding-right:15px;}}@media(max-width:767px){.elementor-9704 .elementor-element.elementor-element-901f525{--padding-top:20px;--padding-bottom:20px;--padding-left:0px;--padding-right:0px;}.elementor-9704 .elementor-element.elementor-element-526556e{--padding-top:15px;--padding-bottom:15px;--padding-left:15px;--padding-right:15px;}.elementor-9704 .elementor-element.elementor-element-1aa6148{--margin-top:10px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}.elementor-9704 .elementor-element.elementor-element-37ce9d0{font-size:15px;}}/* Start custom CSS *//* ============================= */
/* Container for the date buttons at the top */
/* ============================= */
.statsy-date-buttons {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================= */
/* Style for individual date buttons */
/* ============================= */
.statsy-button {
    flex: 1 1 130px;
    max-width: 130px;
    text-align: center;
    background: #00BF63;
    color: black !important;
    padding: 10px 6px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease-in-out;
}

/* ============================= */
/* Hover state for date buttons */
/* ============================= */
.statsy-button:hover {
    background: #97ffcd;
    color: white;
}

/* ============================= */
/* Active (selected) date button */
/* ============================= */
.statsy-button.active-button {
    background: #e4fff2;
    color: white;
}

/* ============================= */
/* Loading spinner container */
/* ============================= */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 35px 0 10px 0;
    text-align: center;
    color: #00BF63;
}

.loading-spinner .safety-heading {
    color: #00BF63;
}

.loading-spinner .moderate-heading {
    color: #3399ff;
}

/* === SPINNER: Football ball (spin + bounce) === */
.spinner{
  width:50px; height:50px; border-radius:50%;
  background: center/80% no-repeat;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'>\
  <circle cx='256' cy='256' r='246' fill='%23fff' stroke='%23000' stroke-width='12'/>\
  <path fill='%23000' d='M255.03 33.813c-1.834-.007-3.664-.007-5.5.03-6.73.14-13.462.605-20.155 1.344.333.166.544.32.47.438L204.78 75.063l73.907 49.437-.125.188 70.625.28L371 79.282 342.844 52c-15.866-6.796-32.493-11.776-49.47-14.78-12.65-2.24-25.497-3.36-38.343-3.407zM190.907 88.25l-73.656 36.78-13.813 98.407 51.344 33.657 94.345-43.438 14.875-76.5-73.094-48.906zm196.344.344l-21.25 44.5 36.75 72.72 62.063 38.905 11.312-21.282c.225.143.45.403.656.75-.77-4.954-1.71-9.893-2.81-14.782-6.446-28.59-18.59-55.962-35.5-79.97-9.07-12.872-19.526-24.778-31.095-35.5l-20.125-5.342zm-302.656 23c-6.906 8.045-13.257 16.56-18.938 25.5-15.676 24.664-26.44 52.494-31.437 81.312C31.783 232.446 30.714 246.73 31 261l20.25 5.094 33.03-40.5L98.75 122.53l-14.156-10.936zm312.719 112.844l-55.813 44.75-3.47 101.093 39.626 21.126 77.188-49.594 4.406-78.75-.094.157-61.844-38.783zm-140.844 6.406l-94.033 43.312-1.218 76.625 89.155 57.376 68.938-36.437 3.437-101.75-66.28-39.126zm-224.22 49.75c.91 8.436 2.29 16.816 4.156 25.094 6.445 28.59 18.62 55.96 35.532 79.968 3.873 5.5 8.02 10.805 12.374 15.938l-9.374-48.156.124-.032-27.03-68.844-15.782-3.968zm117.188 84.844l-51.532 8.156 10.125 52.094c8.577 7.49 17.707 14.332 27.314 20.437 14.612 9.287 30.332 16.88 46.687 22.594l62.626-13.69-4.344-31.124-90.875-58.47zm302.437.5l-64.22 41.25-42 47.375 4.408 6.156c12.027-5.545 23.57-12.144 34.406-19.72 23.97-16.76 44.604-38.304 60.28-62.97 2.51-3.947 4.87-7.99 7.125-12.092zm-122.78 97.656l-79.94 9.625-25.968 5.655c26.993 4 54.717 3.044 81.313-2.813 9.412-2.072 18.684-4.79 27.75-8.062l-3.156-4.406z'/>\
</svg>");
  filter: drop-shadow(0 0 8px rgba(0,191,99,.28));
  animation: ssBall 1.05s linear infinite;
}

@keyframes ssBall{ 0%{transform: rotate(0)} 50%{transform: rotate(180deg)} 100%{transform: rotate(360deg)} }

/* Skeleton ред – по-видим върху тъмен фон */
.skeleton-row{
  height:72px;
  border-radius:10px;
  margin:10px 0;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.01) 0%,
      rgba(255,255,255,.10) 50%,
      rgba(255,255,255,.01) 100%
    ),
    linear-gradient(0deg,#0f1513,#0f1513);
  background-size:200% 100%, 100% 100%;
  animation:ssShimmer 1.15s ease-in-out infinite;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.25) inset,
    0 6px 16px rgba(0,0,0,.25);
}

@keyframes ssShimmer{
  0%   { background-position:200% 0, 0 0; }
  100% { background-position:-200% 0, 0 0; }
}

/* Match animation after finished loading */
#safety-matches .match-row,
#moderate-matches .match-row{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

#safety-matches .match-row.is-visible,
#moderate-matches .match-row.is-visible{
  opacity: 1;
  transform: none;
}

/* ============================= */
/* Main accordion container holding all matches */
/* ============================= */
.match-accordion {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/* ============================= */
/* Individual match card container */
/* ============================= */
.match-row {
    border: 1px solid #333;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #121212;
    transition: box-shadow 0.3s;
}

/* ============================= */
/* Match header row (clickable part) */
/* ============================= */
.match-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

/* ============================= */
/* Hover state for match header row */
/* ============================= */
.match-summary:hover {
    background: #1a1a1a;
}

/* ============================= */
/* Active match row (when expanded) */
/* ============================= */
.match-row.active {
    box-shadow: 0 0 15px 2px #00ff88;
}

/* ============================= */
/* LOCKED STATE */
/* ============================= */
.match-row.locked .match-summary{
  cursor: default !important;
}

.match-row.locked .match-summary:hover{
  background: inherit !important;
  box-shadow: none !important;
}

.match-row.locked .match-summary::after,
.match-row.locked .match-summary[data-hint]::after{
  display: none !important;
  content: none !important;
}

.match-row.locked .match-review{
  display: none !important;
  max-height: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================= */
/* Shared styles for columns inside match row */
/* ============================= */
.match-col {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

/* ============================= */
/* Left column with teams and logos */
/* ============================= */
.match-info {
    flex: 0 0 60%;
    justify-content: flex-start;
    gap: 10px;
}

/* ============================= */
/* Center column with prediction option */
/* ============================= */
.match-option {
    flex: 0 0 20%;
    text-align: center
}

/* ============================= */
/* Right column with confidence percentage */
/* ============================= */
.match-percentage {
    flex: 0 0 20%;
}

/* ============================= */
/* Team logos inside match-info */
/* ============================= */
.match-info .team-logo {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #444;
    background: #fff;
    padding: 1.5px;
}

/* ============================= */
/* Hidden review section below match row */
/* ============================= */
.match-review {
  max-height: 0;
  opacity: 0;
  overflow: hidden;

  padding: 0 15px;
  margin-left: 10px;
  border-radius: 5px;
  background-color: rgba(28,28,28,0);
  border-left: 3px solid transparent;

  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: #ccc;

  transition:
    max-height .5s ease,
    opacity .5s ease,
    padding-top .5s ease,
    padding-bottom .5s ease,
    margin .5s ease,
    background-color .5s ease,
    border-left-color .5s ease;
}

.match-review p {
    margin: 0;
}

@media (max-width: 480px) {
    .match-review {
        font-size: 12px;
    }
}

/* ============================= */
/* Expanded review section when row is active */
/* ============================= */
.match-row.active .match-review {
  max-height: 500px;
  opacity: 1;
  padding: 15px;
  margin: 10px;
  background-color: #1c1c1c;
  border-left-color: #00ff88;
}

/* ============================= */
/* Message shown when no matches found */
/* ============================= */
.no-matches {
    text-align: center;
    padding: 30px;
    font-size: 18px;
    color: #aaa;
    border: 1px dashed #444;
    border-radius: 10px;
    margin: 30px 0;
}

/* ============================= */
/* Section titles (Safety & Moderate) */
/* ============================= */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    font-weight: bold;
    text-transform: uppercase;
}

/* ============================= */
/* Safety section title styles */
/* ============================= */
.safety-title {
    color: #00ff99;
    border-bottom: 2px solid #00BF63;
    padding-bottom: 0.5rem;
}

/* ============================= */
/* Moderate section title styles */
/* ============================= */
.moderate-title {
    color: #3399ff;
    border-bottom: 2px solid #3399ff;
    padding-bottom: 0.5rem;
}

/* ============================= */
/* Header row above match list (labels) */
/* ============================= */
.match-header {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: #1c1c1c;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #aaa;
}

/* ============================= */
/* Left column label in header */
/* ============================= */
.match-col-title {
    flex: 0 0 60%;
    text-align: left;
    padding-left: 1rem;
}

/* ============================= */
/* Center column label in header */
/* ============================= */
.option-col-title {
    flex: 0 0 20%;
    text-align: center;
}

/* ============================= */
/* Right column label in header */
/* ============================= */
.confidence-col-title {
    flex: 0 0 20%;
    text-align: center;
}

/* ============================= */
/* Active row glow (green for safety) */
/* ============================= */
.match-row.safety_suggestion.active {
    box-shadow: 0 0 15px 2px #00ff88;
}

/* ============================= */
/* Active row glow (blue for moderate) */
/* ============================= */
.match-row.moderate_suggestion.active {
    box-shadow: 0 0 15px 2px #3399ff;
}

/* ============================= */
/* Review section left border (green for safety) */
/* ============================= */
.match-row.safety_suggestion.active .match-review {
    border-left: 3px solid #00ff88;
}

/* ============================= */
/* Review section left border (blue for moderate) */
/* ============================= */
.match-row.moderate_suggestion.active .match-review {
    border-left: 3px solid #3399ff;
}

/* ============================= */
/* Styles for the suggestion status icon */
/* ============================= */
.suggestion-status-icon svg {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    cursor: help;
    transition: transform 0.3s ease;
}

.suggestion-status-icon.guessed:hover {
    animation: icon-bounce-correct 0.8s ease infinite;
}

.suggestion-status-icon.not-guessed:hover {
    animation: icon-bounce-incorrect 0.8s ease infinite;
}

.suggestion-status-icon.pending:hover {
    animation: icon-pulse-pending 1s ease infinite;
}

@keyframes icon-bounce-correct {
    0% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
    60% { transform: translateY(2px); }
    100% { transform: translateY(0); }
}

@keyframes icon-bounce-incorrect {
    0% { transform: translateY(0); }
    30% { transform: translateX(-4px); }
    60% { transform: translateX(2px); }
    100% { transform: translateY(0); }
}

@keyframes icon-pulse-pending {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ============================= */
/* Probability Progress Bar */
/* ============================= */
.probability-bar {
    position: relative;
    width: 53%;
    max-width: 180px;
    height: 14px;
    background-color: #444;
    border: 1px solid #999;
    border-radius: 9px;
    overflow: visible; /* позволяваме тултипът да излиза извън бара */
}

@media (max-width: 768px) {
    .probability-bar {
        max-width: 120px;
        height: 12px;
    }
}

.probability-bar::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -30px; /* разстояние над бара */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    border: 1px solid #888;
    transition: opacity 0.2s ease, top 0.2s ease;
    z-index: 999;
}

.probability-bar:hover::after {
    opacity: 1;
    top: -40px;
}

@media (max-width: 768px) {
    .probability-bar::after {
        padding: 0px 6px;
        top: -21px; 
    }

    .probability-bar:hover::after {
        top: -31px; 
    }
}

.probability-fill {
    height: 100%;
    width: 0;
    border-radius: 9px 0 0 9px;
    transition: width 0.9s ease;
}

.fill-safety {
    background: linear-gradient(90deg, #00BF63, #00ff99);
}

.fill-moderate {
    background: linear-gradient(90deg, #0066ff, #00ccff);
}


/* ============================= */
/* Responsive styles for mobile */
/* ============================= */
.mobile {
    display: none
}

@media (max-width: 480px) {
  .desktop {
      display: none;
  }    

  .mobile {
      display: flex;
  }
    
  .match-summary {
    flex-direction: row;
    align-items: stretch;
    padding: 12px;
  }

  .match-col {
      flex: 1;
  }
  
  .match-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .match-info .team-logo {
    width: 28px;
    height: 28px;
    padding: 1.5px;
  }

  .match-info .team-name {
    font-weight: 500;
    color: #fff;
    font-size: 12px;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    flex: 1;
  }

  .vs-separator {
    display: none;
  }
  
  .match-header {
    display: none;
  }

  .match-option {
    font-size: 14px;
    color: #fff;
    justify-content: center;
    text-align: center;
    padding: 0;
    font-weight: 600;
  }

  .match-percentage {
    font-size: 13px;
    color: #00BF63;
    justify-content: flex-end;
    padding: 0;
  }
  
  .team-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }
  
  .match-percentage::after {
      display: none;
  }
}

/* ============================= */
/* Date buttons slider for tablet & mobile */
/* ============================= */
@media (max-width: 768px) {
  .statsy-date-slider-wrapper {
    overflow-x: auto;
    padding: 0 10px;
  }
  
  /* Hide horizontal scrollbar for the date slider */
    .statsy-date-slider-wrapper {
      scrollbar-width: none; /* Firefox */
      -ms-overflow-style: none; /* IE & Edge */
    }
    
    .statsy-date-slider-wrapper::-webkit-scrollbar {
      display: none; /* Chrome, Safari */
    }

  .statsy-date-buttons {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    min-width: max-content;
  }

  .statsy-button {
    flex: 0 0 auto;
  }
}

/* ===== HINT  ===== */
  .match-summary{ position: relative; }

  .match-row:not(.active) .match-summary::after{
    content: "Click for our insight";
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1;
    border: 1px solid #00BF63;
    color: #00BF63;
    background: rgba(0,0,0,.9);
    border-radius: 10px;
    pointer-events: none;
  }

  /* SAFETY – само анимация (цветът е като базовия) */
  [suggestions-type="safety"] .match-row:not(.active):not(.ss-seen) .match-summary::after{
    animation: ssHintPulseSafety 1.5s ease infinite;
  }

  /* MODERATE – сменяме цвят + анимация */
  [suggestions-type="moderate"] .match-row:not(.active):not(.ss-seen) .match-summary::after{
    border-color: #3399ff;
    color: #3399ff;
    animation: ssHintPulseModerate 1.5s ease infinite;
  }

  /* скриване при отваряне или след първо отваряне */
  .match-row.active .match-summary::after,
  .match-row.ss-seen .match-summary::after{ display: none; }

  /* Пулс – SAFETY (#00BF63) */
  @keyframes ssHintPulseSafety{
    0%   { box-shadow: 0 0 0 0 rgba(0,191,99,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(0,191,99,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,191,99,0); }
  }
  /* Пулс – MODERATE (#3399ff) */
  @keyframes ssHintPulseModerate{
    0%   { box-shadow: 0 0 0 0 rgba(51,153,255,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(51,153,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(51,153,255,0); }
  }

@media (max-width: 480px){
  .match-summary{ position: relative; }

  .match-row:not(.active) .match-summary::after{
    content: "Tap for our insight";
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1;
    border: 1px solid #00BF63;
    color: #00BF63;
    background: rgba(0,0,0,.9);
    border-radius: 10px;
    pointer-events: none;
  }

  /* SAFETY – само анимация (цветът е като базовия) */
  [suggestions-type="safety"] .match-row:not(.active):not(.ss-seen) .match-summary::after{
    animation: ssHintPulseSafety 1.5s ease infinite;
  }

  /* MODERATE – сменяме цвят + анимация */
  [suggestions-type="moderate"] .match-row:not(.active):not(.ss-seen) .match-summary::after{
    border-color: #3399ff;
    color: #3399ff;
    animation: ssHintPulseModerate 1.5s ease infinite;
  }

  /* скриване при отваряне или след първо отваряне */
  .match-row.active .match-summary::after,
  .match-row.ss-seen .match-summary::after{ display: none; }

  /* Пулс – SAFETY (#00BF63) */
  @keyframes ssHintPulseSafety{
    0%   { box-shadow: 0 0 0 0 rgba(0,191,99,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(0,191,99,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,191,99,0); }
  }
  /* Пулс – MODERATE (#3399ff) */
  @keyframes ssHintPulseModerate{
    0%   { box-shadow: 0 0 0 0 rgba(51,153,255,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(51,153,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(51,153,255,0); }
  }
}

/* long team names patch */
@media (max-width: 480px){
  .match-col.desktop { display: none; }    
  
  .match-summary{
    display: grid;
    grid-template-columns: 40% 28% 32%;
    column-gap: 4px;
    align-items: center;
  }
  
  .match-col{ min-width: 0; }

  .match-info{
    overflow: hidden;
    text-align: left;
  }

  .match-info .team-row{
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    min-width: 0;
  }
}

/* === Option Locker: base styles (desktop) === */
.ss-lock-link{
  display:inline-flex;
  align-items:center;
  font-weight:600;
  text-decoration: underline;
  color:#00BF63;
  border:1px dashed #00BF63;
  padding:.35rem .6rem;
  border-radius:.5rem;
  max-width:100%;
  transition:.2s ease-in-out;
}

.ss-lock-link:hover{ 
    background: #00BF63;
    color: #000;
}

.ss-lock-icon{
  flex:0 0 auto;
  width:18px; 
  height:18px;
  fill:currentColor;
}

#moderate-matches .ss-lock-link {
  color:#3399ff;
  border:1px dashed #3399ff;
}

#moderate-matches .ss-lock-link:hover {
  background: #3399ff;
  color: #000;
}

/* === Laptop/Tablet – леко по-компактно === */
@media (max-width: 992px){
  .ss-lock-link{ 
      font-size:14px; 
      padding:.3rem .55rem;
    }
  .ss-lock-icon{ 
      width:18px; 
      height:18px; 
  }
}

/* === Tablet/Phablet – още по-компактно === */
@media (max-width: 768px){
  .ss-lock-link{ 
      font-size:13px; 
      padding:.3rem .5rem; 
  }
  .ss-lock-icon{ 
      width:17px; 
      height:17px;
  }
}

/* === Телефони ≤480px – иконка-само (за да се събира в 25% колоната) === */
@media (max-width: 480px){
  .ss-lock-link{ 
     font-size:10.5px;
     line-height: 16px;
  }
}

/* ------------------------------------------------- */

/* ============================= */
/* CHALLENGER SUPPORT (NEW)      */
/* ============================= */

/* 1) Loading spinner heading color for Challenger */
.loading-spinner .challenger-heading {
  color: #ff8a00; /* bright orange, NOT red */
}

/* 2) Match animation after finished loading (include Challenger container) */
#challenger-matches .match-row{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

#challenger-matches .match-row.is-visible{
  opacity: 1;
  transform: none;
}

/* 3) Challenger section title styling */
.challenger-title {
  color: #ff8a00;
  border-bottom: 2px solid #ff8a00;
  padding-bottom: 0.5rem;
}

/* 4) Active row glow for Challenger (orange) */
.match-row.challenger_suggestion.active {
  box-shadow: 0 0 15px 2px #ff8a00;
}

/* Review border for Challenger (orange) */
.match-row.challenger_suggestion.active .match-review {
  border-left: 3px solid #ff8a00;
}

/* 5) Probability bar fill for Challenger */
.fill-challenger {
  background: linear-gradient(90deg, #ff8a00, #ffd000);
}

/* 6) Hint styling + pulse for Challenger (desktop) */
[suggestions-type="challenger"] .match-row:not(.active):not(.ss-seen) .match-summary::after{
  border-color: #ff8a00;
  color: #ff8a00;
  animation: ssHintPulseChallenger 1.5s ease infinite;
}

@keyframes ssHintPulseChallenger{
  0%   { box-shadow: 0 0 0 0 rgba(255,138,0,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(255,138,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,0,0); }
}

/* 7) Option Locker color for Challenger */
#challenger-matches .ss-lock-link {
  color:#ff8a00;
  border:1px dashed #ff8a00;
}

#challenger-matches .ss-lock-link:hover {
  background: #ff8a00;
  color: #000;
}

/* 8) Hint styling + pulse for Challenger (mobile copy of your existing logic) */
@media (max-width: 480px){
  [suggestions-type="challenger"] .match-row:not(.active):not(.ss-seen) .match-summary::after{
    border-color: #ff8a00;
    color: #ff8a00;
    animation: ssHintPulseChallenger 1.5s ease infinite;
  }
}


/*---  Challenger Suggestions Explanation Icon Styles  ---*/

/* Info icon + tooltip (Challenger title) */
.section-title.challenger-title{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.ss-info-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  outline:none;
  margin-left: 8px;
}

.ss-info-icon{
  width:26px;
  height:26px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:18px;
  cursor:pointer;
  background:#00BF63;
  color:#000;
}

.ss-info-icon:hover {
  background:#e4fff2;
}

/* Prevent the H2 uppercase rule from affecting the info UI */
.section-title.challenger-title .ss-info-wrap,
.section-title.challenger-title .ss-info-icon,
.section-title.challenger-title .ss-tooltip{
  text-transform: none !important;
}

/* Small screens: keep tooltip inside viewport */
@media (max-width:480px){
  .ss-tooltip{
    min-width:220px;
    max-width:280px;
  }
  .section-title.challenger-title {
      gap: 0;
  }
  .ss-info-wrap {
      margin: 0;
  }
}/* End custom CSS */