/* A7 Final UI V4: text-only brand blink, WAIT blink, black box borders, 10-market continuous chart */

/* Header strip never blinks. Only the letters inside blink. */
.a7-ref-header,.a7-ref-nav,.a7-ref-brand{
  animation:none!important;opacity:1!important;filter:none!important;transform:none!important;
}
.a7-ref-brand{background:var(--a7y,#ffe000)!important;color:#171717!important;text-shadow:none!important;}
.a7-ref-brand-text{display:inline-block;position:relative;animation:a7OfficialTextLamp 1s steps(1,end) infinite!important;will-change:opacity,filter,text-shadow;color;}
@keyframes a7OfficialTextLamp{
  0%,49%{opacity:1;color:#161616;filter:brightness(1.25);text-shadow:0 0 1px #fff,0 0 7px rgba(255,255,255,.75)}
  50%,100%{opacity:.18;color:#5e531f;filter:brightness(.55);text-shadow:none}
}

/* Only the WAIT word blinks — no parent row/card/background animation. */
.wait-blink,.a7-live-row .a7-pair em,.a7-live-row .a7-state.wait,.a7-result-line .new i{
  animation:a7WaitWordLamp .82s steps(1,end) infinite!important;
  will-change:opacity,color,text-shadow!important;
}
@keyframes a7WaitWordLamp{
  0%,49%{opacity:1;color:#d90000!important;text-shadow:0 0 2px #fff,0 0 8px rgba(255,0,0,.65)}
  50%,100%{opacity:.2;color:#6f0000!important;text-shadow:none}
}

/* Consistent black borders around all meaningful public UI boxes/cards. */
.ski-public-page :is(
  .a7-ref-nav a,.a7-ref-brand,.a7-social-card,.a7-ref-results,.a7-table-head,.a7-result-line,
  .a7-record-box,.a7-record-box select,.a7-record-box button,.a7-seo-section,.a7-seo-links a,
  .a7-statusbar,.a7-live-row,.a7-chart-card,.a7-view-btn,.a7-bottom-cta,
  .ski-month-table-card,.ski-month-table-card table,.ski-month-table-card th,.ski-month-table-card td,
  .ski-market-result-card,.ski-market-copy,.ski-market-history,.ski-market-history table,
  .ski-market-history th,.ski-market-history td,.a7-archive-card,.a7-old-card,
  .content-card,.info-card,.result-card,.table-wrap,.table th,.table td
){border-color:#050505!important;}
.a7-ref-nav a,.a7-chart-card,.a7-live-row,.a7-statusbar,.a7-view-btn,.ski-market-result-card,.ski-market-copy,.ski-market-history,.content-card,.info-card,.result-card,.table-wrap{border-width:2px!important;border-style:solid!important;}

/* One straight continuous monthly chart: DATE + all 10 selected games. */
.ski-month-table-all10{width:100%!important;margin:0!important;border:2px solid #050505!important;border-radius:0!important;overflow:hidden!important;background:#fff!important;}
.ski-month-table-all10 .ski-month-table-scroll{width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;}
.ski-all10-table{width:100%!important;min-width:1180px!important;table-layout:fixed!important;border-collapse:collapse!important;background:#fff!important;margin:0!important;}
.ski-all10-table th,.ski-all10-table td{border:1px solid #050505!important;text-align:center!important;padding:6px 4px!important;height:31px!important;line-height:1.15!important;white-space:nowrap!important;font-size:11px!important;}
.ski-all10-table thead th{background:#ffd91a!important;color:#050505!important;font-weight:950!important;}
.ski-all10-table .ski-date-col{width:54px!important;min-width:54px!important;max-width:54px!important;background:#ffd91a!important;color:#050505!important;font-weight:950!important;position:sticky!important;left:0!important;z-index:2!important;}
.ski-all10-table tbody td{background:#fff!important;}

/* Result/chart grid stays balanced; never leave a giant two-card last row. */
.a7-chart-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
.a7-chart-card{min-width:0!important;}

@media(max-width:900px){
  .a7-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .ski-all10-table{min-width:1120px!important;}
}
@media(max-width:560px){
  .ski-all10-table th,.ski-all10-table td{font-size:10px!important;padding:5px 3px!important;}
  .ski-all10-table .ski-date-col{width:44px!important;min-width:44px!important;max-width:44px!important;}
}
@media(prefers-reduced-motion:reduce){.a7-ref-brand-text,.wait-blink,.a7-live-row .a7-pair em,.a7-live-row .a7-state.wait,.a7-result-line .new i{animation:none!important;opacity:1!important;}}
