/* Rezilta Engine V5.60.99 - shared accessible theme, semantic states and skeletons */
:root{
  --rz-action:var(--semantic-action,var(--green,#20d66b));
  --rz-action-hover:var(--semantic-action-hover,#69ee9d);
  --rz-success:var(--semantic-success,#44e58a);
  --rz-warning:var(--semantic-warning,#ffd75a);
  --rz-danger:var(--semantic-danger,#ff7b7b);
  --rz-info:var(--semantic-info,#78c8ff);
  --rz-focus:var(--semantic-focus,#ffd75a);
  --rz-disabled:var(--semantic-disabled,#82968c);
  --rz-on-action:#031009;
  --rz-state-border:color-mix(in srgb,currentColor 46%,transparent);
  --rz-touch-target:44px;
}

html{scroll-padding-top:92px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{min-width:320px;overflow-x:hidden;font-size:max(16px,1rem)}
main:focus{outline:none}
img,svg,video,canvas{max-width:100%}
img[width][height]{height:auto}
button,input,select,textarea{font:inherit}
button,a,summary,input,select,textarea{-webkit-tap-highlight-color:transparent}
button:not([disabled]),summary,[role="button"],select,label[for]{cursor:pointer}

.sr-only,.rz-sr-only{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}

.rz-skip-links{position:fixed;inset:0 auto auto 0;z-index:100000}
.rz-skip-link{
  position:absolute;left:12px;top:-120px;min-width:max-content;min-height:var(--rz-touch-target);
  display:inline-flex;align-items:center;padding:10px 16px;border:3px solid var(--rz-focus);
  border-radius:0 0 12px 12px;background:#fff;color:#07100d!important;font-weight:900;
  box-shadow:0 10px 32px rgba(0,0,0,.45);text-decoration:none!important;
}
.rz-skip-link:focus{top:0;outline:0}
.rz-skip-link:nth-child(2){left:190px}

:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--rz-focus)!important;outline-offset:3px!important;
  box-shadow:0 0 0 5px color-mix(in srgb,var(--rz-focus) 22%,transparent)!important;
}
:where(a,button,input,select,textarea,summary,[tabindex]):focus:not(:focus-visible){outline:none}
:where(button,a,.btn,summary,[role="button"]){min-height:var(--rz-touch-target)}
:where(input,select,textarea){min-height:var(--rz-touch-target)}
:where(button,[role="button"],[aria-disabled="true"],:disabled){touch-action:manipulation}
:where(button,[aria-disabled="true"],:disabled){opacity:.72;color:var(--rz-disabled);cursor:not-allowed}

/* Semantic status colours always retain a readable word or accessible label. */
:where(.notice.success,.status-won,.won,.positive,.ok,[data-status="success"]){--rz-state:var(--rz-success)}
:where(.notice.error,.status-lost,.lost,.negative,.bad,[data-status="danger"],.danger){--rz-state:var(--rz-danger)}
:where(.status-pending,.status-postponed,.status-abandoned,.warning,[data-status="warning"]){--rz-state:var(--rz-warning)}
:where(.status-manual_review,.info,[data-status="info"]){--rz-state:var(--rz-info)}
:where(.prediction-result-badge,.status-badge,.notice,[data-status]){border-color:color-mix(in srgb,var(--rz-state,currentColor) 48%,transparent)}
:where(.prediction-result-badge,.status-badge,[data-status]){color:var(--rz-state,currentColor)}
.btn.primary,.th-actions .primary,.th-match-row .bet-now{background:var(--rz-action);border-color:var(--rz-action);color:var(--rz-on-action)}
.btn.primary:hover,.th-actions .primary:hover,.th-match-row .bet-now:hover{background:var(--rz-action-hover);border-color:var(--rz-action-hover);color:var(--rz-on-action)}

/* Shared hierarchy and clutter reduction. */
.site-header{isolation:isolate}
.site-header .brand img{flex:0 0 auto}
.site-header :where(a,button,select){min-height:var(--rz-touch-target)}
.mega-nav-trigger i[aria-hidden="true"]{pointer-events:none}
.rz-theme-decorative{pointer-events:none}
[data-rz-subheader][hidden]{display:none!important}
.section-head>div>:where(p,.section-subtitle)[data-rz-subheader]{margin-bottom:0}
.th-panel,.panel,.event-card,.group-preview-card{border-color:color-mix(in srgb,var(--border,#20382d) 86%,var(--rz-action) 14%)}
.th-section-head a,.section-head>a{min-height:var(--rz-touch-target);display:inline-flex;align-items:center}
.th-match-tabs{overflow-x:auto;scrollbar-width:thin;padding:3px}
.th-match-tabs span{min-height:36px;display:inline-flex;align-items:center;white-space:nowrap}
.th-main-grid>.th-panel:hover,.th-lotto-card:hover,.th-mma-tip:hover,.th-mini-row:hover,.th-match-row:hover{transform:none!important}

/* Server-rendered content remains available to assistive technology while a visual loader overlays it. */
[data-rz-skeleton]{position:relative;isolation:isolate}
.rz-ui-loading [data-rz-skeleton][aria-busy="true"]::before,
.rz-ui-loading [data-rz-skeleton][aria-busy="true"]::after{
  content:"";position:absolute;inset:0;z-index:20;border-radius:inherit;pointer-events:none;
}
.rz-ui-loading [data-rz-skeleton][aria-busy="true"]::before{
  background-color:var(--surface,#081710);
  background-image:
    linear-gradient(var(--surface2,#0c1d15) 18px,transparent 0),
    linear-gradient(var(--surface2,#0c1d15) 62px,transparent 0),
    linear-gradient(var(--surface2,#0c1d15) 62px,transparent 0),
    linear-gradient(var(--surface2,#0c1d15) 62px,transparent 0);
  background-repeat:no-repeat;
  background-size:38% 18px,calc(100% - 32px) 62px,calc(100% - 32px) 62px,calc(100% - 32px) 62px;
  background-position:16px 18px,16px 54px,16px 128px,16px 202px;
}
.rz-ui-loading [data-rz-skeleton][aria-busy="true"]::after{
  background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.085) 42%,transparent 64%);
  transform:translateX(-100%);animation:rz-skeleton-shimmer 1.05s ease-in-out infinite;
}
@keyframes rz-skeleton-shimmer{to{transform:translateX(100%)}}
.rz-loading-status{position:fixed;left:-9999px}

/* Accessible data surfaces. */
.table-wrap,[class*="table-wrap"]{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
table{font-variant-numeric:tabular-nums}
th{font-weight:800}
caption{text-align:left;padding:.75rem;color:var(--muted,#9fb4a8)}
[aria-live]{overflow-wrap:anywhere}
.rezilta-ad:empty,.rezilta-ad-frame:empty{display:none!important}

@media(max-width:760px){
  .rz-skip-link:nth-child(2){display:none}
  .th-section-head{align-items:flex-start;flex-wrap:wrap}
  .th-section-head h2{font-size:1.05rem;line-height:1.3}
  .th-main-grid{gap:12px!important}
  .th-card{padding:15px!important}
  .th-match-row{min-height:68px}
  .th-match-row .bet-now{min-height:var(--rz-touch-target)}
  .mobile-bottom-nav{min-height:72px}
  .mobile-bottom-nav a,.mobile-bottom-nav button{min-height:54px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .rz-ui-loading [data-rz-skeleton][aria-busy="true"]::after{display:none}
}

@media(prefers-contrast:more){
  :root{--rz-focus:#fff176}
  body{background:#020604}
  .th-panel,.panel,.event-card,.group-preview-card{border-width:2px}
  a{text-decoration-thickness:2px;text-underline-offset:3px}
  :where(.muted,small,.th-match-row small){color:#d6e2db!important}
}

@media(forced-colors:active){
  *{forced-color-adjust:auto}
  .rz-skip-link,:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid Highlight!important}
  .prediction-result-badge,.status-badge,.btn{border:1px solid ButtonText!important}
}

@media print{
  .rz-skip-links,.mobile-bottom-nav,.v5-mobile-menu-button,.rezilta-ad{display:none!important}
  body{background:#fff!important;color:#000!important}
  a{text-decoration:underline;color:#000!important}
}
