/* Custom minimal CSS on top of Tailwind */
html, body { height: 100%; }
#countries::-webkit-scrollbar, #channels::-webkit-scrollbar { width: 10px; height: 10px; }
#countries::-webkit-scrollbar-thumb, #channels::-webkit-scrollbar-thumb { background-color: rgba(148,163,184,0.3); border-radius: 9999px; }
#countries::-webkit-scrollbar-track, #channels::-webkit-scrollbar-track { background-color: transparent; }

.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(2,132,199,.25); }

/* Globe tooltip */
.globe-tooltip {
  position: absolute;
  top: 0; left: 0;
  transform: translate(-50%, -120%);
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(2,132,199,0.25);
  pointer-events: none;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .12s ease;
  z-index: 20;
}
.globe-tooltip[data-show="true"] { opacity: 1; }

/* Center selector for mobile */
.center-selector {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 15;
}
#center-dot {
  width: 10px; /* smaller dot */
  height: 10px;
  border-radius: 9999px;
  background: #7F1D1D; /* dark red */
  box-shadow: 0 0 0 3px rgba(127, 29, 29, 0.35), 0 0 14px rgba(127, 29, 29, 0.55);
  opacity: .9;
}
.center-label {
  position: absolute;
  top: calc(50% - 18px);
  transform: translateY(-100%);
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(2,132,199,0.25);
  display: none;
}
.center-label[data-show="true"] { display: inline-block; }

/* Video.js error screen nicer look */
.vjs-error-display .vjs-modal-dialog-content {
  display: grid;
  place-items: center;
  text-align: center;
  color: #e2e8f0;
}
.vjs-error-display .vjs-modal-dialog-content::before {
  content: '';
  display: block;
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f43f5e, #ef4444);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 11H11V7h2v6zm0 4H11v-2h2v2z"/></svg>') center/28px 28px no-repeat;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm1 11H11V7h2v6zm0 4H11v-2h2v2z"/></svg>') center/28px 28px no-repeat;
}
.vjs-error-display .vjs-modal-dialog-content { font-size: 14px; }

/* Hide center selector on >=640px (desktop/tablet) */
@media (min-width: 640px) {
  .center-selector { display: none !important; }
} 