.lottery00097-prediction-shell { padding: 18px 0 58px; }
.lottery00097-prediction-nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.lottery00097-prediction-nav a { padding: 13px 10px; border: 1px solid var(--lottery00097-border); border-radius: 12px; color: #e8f0f7; background: rgba(255,255,255,.035); font-weight: 750; text-align: center; text-decoration: none; }
.lottery00097-prediction-nav a[aria-current="page"] { color: #171106; border-color: var(--lottery00097-accent); background: linear-gradient(135deg, #ffd36a, var(--lottery00097-accent)); }
.lottery00097-prediction-dashboard { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; min-width: 0; }
.lottery00097-prediction-card { min-width: 0; max-width: 100%; padding: 22px; border: 1px solid var(--lottery00097-border); border-radius: 17px; background: linear-gradient(145deg, rgba(22,52,80,.98), rgba(10,27,44,.98)); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.lottery00097-prediction-card--period { grid-row: span 2; border-color: var(--lottery00097-border-warm); }
.lottery00097-prediction-card--history { grid-column: 1 / -1; }
.lottery00097-prediction-label { margin-bottom: 5px; color: var(--lottery00097-muted); font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.lottery00097-prediction-value { color: #fff; font-size: clamp(1.25rem, 3vw, 2.1rem); font-weight: 850; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lottery00097-prediction-clock { color: var(--lottery00097-accent-soft); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.lottery00097-prediction-periods { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.lottery00097-prediction-periods > div { min-width: 0; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); }
.lottery00097-countdown { display: flex; align-items: baseline; gap: 10px; margin-top: 20px; }
.lottery00097-countdown strong { color: var(--lottery00097-accent-soft); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.lottery00097-progress { height: 7px; margin-top: 16px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.lottery00097-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lottery00097-secondary), var(--lottery00097-accent)); transition: width .35s linear; }
.lottery00097-number-balls { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 4px; }
.lottery00097-number-ball { display: grid; width: clamp(58px, 8vw, 82px); aspect-ratio: 1; place-items: center; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; color: #11100c; background: radial-gradient(circle at 32% 26%, #fff7d2, #ffbf38 56%, #c66b00); box-shadow: inset 0 -9px 15px rgba(91,46,0,.25), 0 8px 22px rgba(245,158,11,.22); font-size: clamp(1.65rem, 4vw, 2.5rem); font-weight: 950; font-variant-numeric: tabular-nums; }
.lottery00097-reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.lottery00097-reference-grid > div { min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }
.lottery00097-colour-dot { display: inline-block; width: 11px; height: 11px; margin-right: 6px; border-radius: 50%; background: currentColor; }
.lottery00097-history-wrap { max-width: 100%; overflow-x: auto; }
.lottery00097-history { width: 100%; min-width: 660px; }
.lottery00097-history-numbers { display: flex; gap: 5px; }
.lottery00097-history-numbers span { display: inline-grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #171106; background: var(--lottery00097-accent-soft); font-size: .75rem; font-weight: 850; }
.lottery00097-prediction-disclaimer { margin-top: 17px; padding: 16px; border-left: 4px solid var(--lottery00097-accent); border-radius: 4px 12px 12px 4px; color: #d7e0e8; background: rgba(245,158,11,.075); }
.lottery00097-round-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 840px) {
  .lottery00097-prediction-dashboard { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lottery00097-prediction-card--period, .lottery00097-prediction-card--history { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .lottery00097-prediction-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lottery00097-prediction-dashboard { grid-template-columns: minmax(0,1fr); }
  .lottery00097-prediction-card--period, .lottery00097-prediction-card--history { grid-column: auto; }
  .lottery00097-prediction-periods, .lottery00097-reference-grid { grid-template-columns: minmax(0,1fr); }
  .lottery00097-prediction-card { padding: 18px; }
  .lottery00097-number-balls { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .lottery00097-progress span { transition: none; }
}

