#f1-quote.f1-quote {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 9998;
  width: 300px;
  padding: 18px 40px 16px 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #e9ebf0;
  border-left: 4px solid #ff4d6d;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
  backdrop-filter: blur(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#f1-quote.f1-quote.is-loading { opacity: 0.65; }
#f1-quote.f1-quote.is-changing { opacity: 0.2; transform: translateY(-4px); }
#f1-quote.f1-quote.is-hidden { opacity: 0; transform: translateY(-8px); }

#f1-quote .f1-quote__label {
  display: block;
  margin-bottom: 8px;
  color: #ff4d6d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#f1-quote .f1-quote__text {
  margin: 0 0 10px;
  color: #2b303a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
}

#f1-quote .f1-quote__author {
  margin: 0;
  color: #8a909b;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

#f1-quote .f1-quote__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa0aa;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}

#f1-quote .f1-quote__close:hover {
  background: #f3f4f7;
  color: #ff4d6d;
}

.admin-bar #f1-quote.f1-quote { top: 128px; }

@media (max-width: 1100px) {
  #f1-quote.f1-quote { width: 260px; right: 16px; }
}

@media (max-width: 782px) {
  #f1-quote.f1-quote {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 16px 40px 14px 18px;
  }
  .admin-bar #f1-quote.f1-quote { top: auto; bottom: 58px; }
}

@media print {
  #f1-quote.f1-quote { display: none !important; }
}
