.mp-wc {
  --mp-wc-accent: #dd3333;
  background: #123457;
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Flama', system-ui, sans-serif;
  color: #fff;
}

.mp-wc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 3px solid var(--mp-wc-accent);
}
.mp-wc-badge {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mp-wc-accent);
  flex: 0 0 auto;
  position: relative;
}
.mp-wc-badge::after {
  content: '\26BD';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; line-height: 1;
}
.mp-wc-title { font-size: 14px; font-weight: 600; letter-spacing: .5px; }
.mp-wc-meta { margin-left: auto; font-size: 11px; color: #9db8d6; text-transform: uppercase; letter-spacing: .5px; }

.mp-wc-days {
  display: flex; gap: 6px;
  padding: 8px 14px;
  background: #0e2a47;
  overflow-x: auto;
  scrollbar-width: thin;
}
.mp-wc-daypill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: transparent;
  color: #9db8d6;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.mp-wc-daypill:hover { color: #fff; }
.mp-wc-daypill.is-active { background: var(--mp-wc-accent); color: #fff; font-weight: 600; }

.mp-wc-scroll {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #2a5580 transparent;
}
.mp-wc-scroll::-webkit-scrollbar { height: 8px; }
.mp-wc-scroll::-webkit-scrollbar-thumb { background: #2a5580; border-radius: 4px; }
.mp-wc-scroll::-webkit-scrollbar-track { background: transparent; }

.mp-wc-loading { color: #9db8d6; font-size: 13px; padding: 8px 4px; }

.mp-wc-daygroup { display: flex; flex-direction: column; flex: 0 0 auto; }
.mp-wc-daygroup + .mp-wc-daygroup { margin-left: 14px; padding-left: 14px; border-left: 1px dashed #234d72; }
.mp-wc-dayhdr {
  font-size: 11px;
  font-weight: 600;
  color: #7fa3c7;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 9px;
  padding-left: 2px;
}
.mp-wc-cards { display: flex; gap: 10px; align-items: stretch; }

.mp-wc-card {
  flex: 0 0 auto;
  width: 150px;
  background: #0a3d62;
  border-radius: 8px;
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
}
.mp-wc-card-up { opacity: .9; }

.mp-wc-card-live {
  width: 210px;
  border: 3px solid #ff3b3b;
  padding: 12px 14px;
}

.mp-wc-card-next {
  width: 210px;
  border: 3px dashed #ff3b3b;
  padding: 12px 14px;
  opacity: 1;
}
.mp-wc-card-next .mp-wc-name { font-size: 13px; }
.mp-wc-card-next .mp-wc-score { font-size: 19px; }
.mp-wc-nextlabel {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #ff8080;
  text-transform: uppercase;
}

.mp-wc-ctop { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; min-height: 16px; }
.mp-wc-ctime { font-size: 10px; color: #7fa3c7; }
.mp-wc-livedot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mp-wc-accent);
  animation: mp-wc-pulse 1.3s infinite;
}
@keyframes mp-wc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.mp-wc-livelabel { font-size: 11px; font-weight: 600; color: #ff6b6b; letter-spacing: .5px; }
.mp-wc-min { font-size: 13px; font-weight: 600; color: #ff6b6b; margin-left: auto; }

.mp-wc-cbody { display: flex; flex-direction: column; gap: 5px; }
.mp-wc-row { display: flex; align-items: center; gap: 8px; }
.mp-wc-flag {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex: 0 0 auto;
}
.mp-wc-flag-tla {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 600; color: #123457;
}
.mp-wc-name { font-size: 12px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-wc-score { font-size: 15px; font-weight: 600; min-width: 14px; text-align: right; }
.mp-wc-card-live .mp-wc-name { font-size: 13px; }
.mp-wc-card-live .mp-wc-score { font-size: 19px; }
.mp-wc-dim .mp-wc-name, .mp-wc-dim .mp-wc-score { color: #6f93b7; }

/* Visibilita per device */
@media (max-width: 768px) {
  .mp-wc-hide-mobile { display: none !important; }
  .mp-wc-card { width: 140px; }
  .mp-wc-card-live { width: 185px; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .mp-wc-hide-tablet { display: none !important; }
}
@media (min-width: 1025px) {
  .mp-wc-hide-desktop { display: none !important; }
}
