/*! Dream Birds · Ludo Point Mode — premium live score bar (top of the table).
 *  Hidden until 20:00. Never shown before that.
 */

#table { position: relative; }

.point-bar {
  position: relative;
  margin: 0 0 12px;
  padding: 12px 14px 13px;
  border-radius: 18px;
  border: 1px solid #d9b45f55;
  background:
    radial-gradient(120% 160% at 0% 0%, #1d5940 0%, #10301f 46%, #0a1f16 100%),
    linear-gradient(180deg, #123c2a, #0a2419);
  box-shadow:
    inset 0 1px 0 #ffe9b74d,
    inset 0 0 40px #f3d07112,
    0 10px 26px #04150f66;
  color: #fff8e6;
  font-family: Manjari, "Noto Sans Malayalam", system-ui, sans-serif;
  overflow: hidden;
  isolation: isolate;
}

/* gold hairline shimmer along the top edge */
.point-bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, #f3d07100, #f3d071cc 18%, #fff3c4 50%, #f3d071cc 82%, #f3d07100);
  opacity: .85;
}

.point-bar::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 120px;
  background: radial-gradient(60% 100% at 50% 0%, #f3d07122, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.point-bar[hidden] { display: none !important; }

.point-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.point-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 5px;
  border-radius: 999px;
  border: 1px solid #f3d07166;
  background: #f3d0711a;
  color: #ffe9b7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.point-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px #4ade8033, 0 0 10px #4ade80cc;
  animation: pointPulse 1.6s ease-in-out infinite;
}

.point-bar.is-final .point-live {
  border-color: #f3d071aa;
  background: #f3d0712e;
  color: #fff3c4;
}

.point-bar.is-final .point-live i {
  background: #f3d071;
  box-shadow: 0 0 0 3px #f3d07133, 0 0 10px #f3d071cc;
  animation: none;
}

@keyframes pointPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.82); }
}

.point-clock {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.point-clock small {
  color: #b9d6c7;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.point-clock strong {
  color: #ffe9b7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.point-teams {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}

.point-team {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 10px 8px;
  border-radius: 12px;
  border: 1px solid #ffffff14;
  background: linear-gradient(180deg, #ffffff0f, #ffffff06);
  box-shadow: inset 0 1px 0 #ffffff1a;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.point-team .dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--team, #fff);
  box-shadow: 0 0 0 2px #00000055, 0 0 12px var(--team, #fff);
}

.point-team .team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #eaf5ec;
}

.point-team .team-name b {
  font-size: 8px;
  letter-spacing: .08em;
  padding: 1px 4px;
  border-radius: 4px;
  background: #ffffff22;
  color: #cfe6d8;
  vertical-align: middle;
}

.point-team .team-points {
  margin-left: auto;
  flex: none;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .01em;
  color: #ffe9b7;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 0 #00000066;
}

.point-team.leading {
  border-color: #f3d07188;
  background: linear-gradient(180deg, #f3d07126, #f3d0710d);
}

.point-team.leading .team-points { color: #fff3c4; }

.point-team.negative .team-points {
  color: #ff9a9a;
}

@media (max-width: 560px) {
  .point-bar { padding: 10px 10px 11px; border-radius: 15px; }
  .point-bar-head { margin-bottom: 7px; }
  .point-live { font-size: 9.5px; padding: 3px 8px 4px; letter-spacing: .06em; }
  .point-clock small { display: none; }
  .point-clock strong { font-size: 11px; }
  .point-teams { gap: 5px; }
  .point-team { gap: 5px; padding: 5px 6px 6px; border-radius: 10px; }
  .point-team .dot { width: 8px; height: 8px; }
  .point-team .team-name { font-size: 10px; }
  .point-team .team-points { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .point-live i { animation: none; }
  .point-team { transition: none; }
}
