#site-banners,
#daily-banners {
  /* Quiz component styling */
  .quiz-container {
    padding: 1.5rem;
    text-align: center !important;
  }

  /* Question styling */
  img[name="question"] {
    background-color: white;
    border-radius: 1000px;
    max-width: 100%;
    height: auto;
  }

  img[name="question"].difficulty-1 {
    filter: grayscale(1);
  }

  img[name="question"].difficulty-2 {
    filter: grayscale(1) blur(2.5px);
  }

  img[name="question"].difficulty-3 {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  }

  /* Tries display */
  div[name="tries-display"] {
    font-size: 45px;
  }

  div[name="tries-display"].tries-icons .try {
    border-width: 1px;
    border-style: solid;
    border-color: black;
    width: 60px;
    height: 75px;
    border-radius: 100px;
    margin-left: 2.5px;
    margin-right: 2.5px;
  }

  div[name="tries-display"].tries-characters .try {
    min-width: 0;
  }

  div[name="tries-display"].tries-characters .try img {
    max-height: 100px;
    width: -webkit-fill-available;
  }

  /* Answer success */
  [name="answer-success"] {
    margin-top: 15px;
    max-height: 15rem;
    max-width: -webkit-fill-available;
  }

  /* Character grid for mismatch quiz */
  .character-grid {
    display: flex;
    justify-content: center;
  }

  .character-grid img {
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
    border-radius: 8px;
  }

  .character-grid img:hover {
    transform: scale(1.05);
    border-color: #0d6efd;
  }

  .character-grid .winner {
    position: relative;
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 0 25px 5px rgba(255, 215, 0, 0.7);
  }

  .character-grid .winner::after {
    content: "WINNER";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background-color: rgba(255, 215, 0, 0.8);
    padding: 5px 0;
    font-size: 24px;
    font-weight: bold;
    transform: rotate(-15deg);
    animation: pulse 1.5s infinite;
  }

  .character-grid .loser {
    filter: grayscale(70%) brightness(0.7);
    transform: scale(0.95);
    transition: all 0.4s ease;
  }

  .podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 300px;
  }

  .podium-block {
    width: 100%;
    background: linear-gradient(to bottom, #f8f8f8, #e0e0e0);
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .podium-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .first-place .podium-block {
    height: 150px;
    background: linear-gradient(to bottom, #ffd700, #ccac00);
    border-color: #cc9900;
  }

  .second-place .podium-block {
    height: 100px;
    background: linear-gradient(to bottom, #c0c0c0, #a0a0a0);
    border-color: #909090;
  }

  .third-place .podium-block {
    height: 70px;
    background: linear-gradient(to bottom, #cd7f32, #a05a2c);
    border-color: #8c4a1e;
  }

  .first-place .podium-image {
    border-color: #ffd700;
  }

  .second-place .podium-image {
    border-color: #c0c0c0;
  }

  .third-place .podium-image {
    border-color: #cd7f32;
  }

  .podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
  }

  .medal {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 24px;
    color: white;
    transform: translateY(-20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .first-place .medal {
    background: linear-gradient(to bottom, #ffd700, #ccac00);
    border: 2px solid #cc9900;
  }

  .second-place .medal {
    background: linear-gradient(to bottom, #c0c0c0, #a0a0a0);
    border: 2px solid #909090;
  }

  .third-place .medal {
    background: linear-gradient(to bottom, #cd7f32, #a05a2c);
    border: 2px solid #8c4a1e;
  }

  .place-label {
    font-size: 24px;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
  }

  .tries-score {
    align-items: center;
    gap: 5px;
    > * {
      margin-top: auto;
      margin-bottom: auto;
    }
  }

  /* Responsive adjustments */
  @media only screen and (min-height: 900px) {
    [name="answer-success"] {
      max-height: 25rem;
    }
  }

  @media only screen and (min-height: 1200px) {
    [name="answer-success"] {
      max-height: 42rem;
    }
  }
}
