
/* ============================================================
   Rezilta V7.0.13an
   True Pen Draw Lotto Family + Jakob-law UX
   Presentation only: no draw/query/payout logic.
   ============================================================ */
body.rz-public-v7.rz-lotto-family{
  --lot-bg:#0d1216;
  --lot-paper:#151b20;
  --lot-paper-2:#10161a;
  --lot-paper-3:#0d1418;
  --lot-ink:#eef2f3;
  --lot-muted:#9aa7ae;
  --lot-line:rgba(168,182,190,.35);
  --lot-soft:rgba(168,182,190,.17);
  --lot-yellow:#f0cc57;
  --lot-blue:#79bfff;
  --lot-green:#8bd19b;
  --lot-red:#ef7d82;
  --lot-purple:#c6a8ff;
  --lot-hand:var(--font-hand,"Segoe Print","Comic Sans MS",cursive);
  background:var(--lot-bg)!important;
  color:var(--lot-ink);
}
body.rz-public-v7.rz-lotto-family :is(.v5-lotto-page,.lr46-page,.ls54-page){
  background:
    linear-gradient(rgba(255,255,255,.01) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.006) 1px,transparent 1px),
    var(--lot-bg)!important;
  background-size:28px 28px,28px 28px,auto!important;
}
body.rz-public-v7.rz-lotto-family :is(.container,.lr46-wrap,.ls54-wrap){
  width:min(1180px,calc(100% - 28px))!important;
  max-width:1180px!important;
}

/* Familiar interactive controls: one consistent language everywhere */
body.rz-public-v7.rz-lotto-family :is(a,button,input,select,summary):focus-visible{
  outline:3px solid rgba(121,191,255,.72)!important;
  outline-offset:3px!important;
}
body.rz-public-v7.rz-lotto-family :is(button,.btn,.lr46-links a,.lr46-nav a,.rz-wl-open,.lr54-stats-link,.ls54-game-head a){
  min-height:42px;
}
body.rz-public-v7.rz-lotto-family :is(.btn,.lr46-links a,.rz-wl-open,.lr54-stats-link,.ls54-game-head a){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1.2px dashed var(--lot-line)!important;
  border-radius:10px 6px 11px 7px!important;
  background:#10161a!important;
  color:var(--lot-ink)!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
body.rz-public-v7.rz-lotto-family :is(.btn,.lr46-links a,.rz-wl-open,.lr54-stats-link,.ls54-game-head a):hover{
  background:var(--lot-yellow)!important;
  color:#171408!important;
  border-color:#f4dc7a!important;
}

/* Hero = lottery notebook sheet */
body.rz-public-v7.rz-lotto-family :is(.lr46-hero,.ls54-hero){
  position:relative!important;
  overflow:visible!important;
  margin-top:15px!important;
  background:linear-gradient(179deg,var(--lot-paper),var(--lot-paper-2))!important;
  border:1.5px dashed var(--lot-line)!important;
  border-left:4px solid var(--lot-yellow)!important;
  border-radius:18px 11px 20px 13px!important;
  box-shadow:0 10px 24px rgba(0,0,0,.15)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-hero::before,
body.rz-public-v7.rz-lotto-family .ls54-hero::before{
  content:"LOTTO DESK";
  position:absolute;
  top:-10px;
  left:20px;
  padding:3px 9px;
  color:#171408;
  background:var(--lot-yellow);
  border:1px solid #f4dc7a;
  border-radius:8px 5px 9px 6px;
  font:900 .72rem/1.3 var(--lot-hand);
  transform:rotate(-.8deg);
}
body.rz-public-v7.rz-lotto-family :is(.lr46-hero h1,.ls54-hero h1){
  color:#fff!important;
  font-family:var(--lot-hand)!important;
  font-size:clamp(1.9rem,4vw,3rem)!important;
  line-height:1.08!important;
  letter-spacing:.01em!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-eyebrow,.ls54-kicker){
  color:var(--lot-blue)!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-hero p,
body.rz-public-v7.rz-lotto-family .ls54-hero p{
  color:#c6d0d5!important;
  line-height:1.55!important;
}
body.rz-public-v7.rz-lotto-family .lr46-hero-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin-top:12px!important;
}
body.rz-public-v7.rz-lotto-family .lr46-hero-meta span{
  padding:7px 9px!important;
  color:var(--lot-muted)!important;
  background:#0f1519!important;
  border:1px dashed var(--lot-soft)!important;
  border-radius:9px 6px 10px 7px!important;
  font-family:var(--lot-hand)!important;
}

/* Feature strip = compact editorial notes, not glossy KPI cards */
body.rz-public-v7.rz-lotto-family .lr46-features{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:9px!important;
  margin:12px 0 16px!important;
}
body.rz-public-v7.rz-lotto-family .lr46-features article{
  padding:10px 11px!important;
  background:#10161a!important;
  border:1px dashed var(--lot-soft)!important;
  border-radius:11px 7px 12px 8px!important;
  box-shadow:none!important;
}
body.rz-public-v7.rz-lotto-family .lr46-features .lr46-icon{
  color:var(--lot-blue)!important;
  background:transparent!important;
  border:1px solid var(--lot-blue)!important;
  border-radius:50% 45% 52% 44%!important;
}
body.rz-public-v7.rz-lotto-family .lr46-features h3{
  color:#fff!important;
  font-family:var(--lot-hand)!important;
  font-size:.84rem!important;
}
body.rz-public-v7.rz-lotto-family .lr46-features p{
  color:var(--lot-muted)!important;
  font-size:.72rem!important;
}

/* All major cards become paper sheets */
body.rz-public-v7.rz-lotto-family :is(
  .lr46-card,.lr46-panel,.lr47-calendar-card,.lr46-responsible,.lr48-country-selector,
  .lr46-world-card,.rz-wl-mauritius,.ls54-notice,.ls54-game,.ls54-method,.ls54-faq,
  .ls54-summary article,.ls54-hot-cold article,.ls54-analysis-grid article
){
  background:linear-gradient(179deg,var(--lot-paper),var(--lot-paper-2))!important;
  border:1.3px dashed var(--lot-line)!important;
  border-radius:15px 9px 17px 11px!important;
  box-shadow:none!important;
}
body.rz-public-v7.rz-lotto-family .lr46-grid{
  gap:14px!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-card,.lr46-panel,.lr47-calendar-card,.lr48-country-selector){
  padding:16px!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-card h2,.lr46-panel h2,.lr47-calendar-card h2,.lr48-country-selector h2,.ls54-game h2,.ls54-method h2,.ls54-faq h2){
  color:#fff!important;
  font-family:var(--lot-hand)!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-date,.rz-wl-card-date,.ls54-game-head p){
  color:var(--lot-muted)!important;
}

/* Winning numbers: hand-drawn lottery balls */
body.rz-public-v7.rz-lotto-family :is(.v5-lotto-balls,.rz-wl-number-row){
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px!important;
  align-items:center!important;
}
body.rz-public-v7.rz-lotto-family :is(.v5-lotto-ball,.rz-wl-number-row b,.ls54-table-ball,.ls54-number-grid>div>span){
  display:inline-grid!important;
  place-items:center!important;
  color:#171408!important;
  background:var(--lot-yellow)!important;
  border:1.5px solid #f4dc7a!important;
  border-radius:50% 45% 53% 44%!important;
  box-shadow:2px 3px 0 rgba(240,204,87,.08)!important;
  font-family:var(--lot-hand)!important;
  font-weight:900!important;
  transform:rotate(-.6deg)!important;
}
body.rz-public-v7.rz-lotto-family .v5-lotto-ball:nth-child(even),
body.rz-public-v7.rz-lotto-family .rz-wl-number-row b:nth-child(even){
  transform:rotate(.6deg)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-balls.plus .v5-lotto-ball{
  background:var(--lot-blue)!important;
  border-color:#a7d6ff!important;
}
body.rz-public-v7.rz-lotto-family :is(.lotovert,.vert) .v5-lotto-ball{
  background:var(--lot-green)!important;
  border-color:#aee4ba!important;
}

/* Published and pending are textual, familiar and restrained */
body.rz-public-v7.rz-lotto-family .lr46-status{
  color:var(--lot-green)!important;
  background:#0d1418!important;
  border:1px dashed rgba(139,209,155,.42)!important;
  border-radius:8px 5px 9px 6px!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .rz-wl-pending{
  color:var(--lot-yellow)!important;
  background:#0d1418!important;
  border:1px dashed rgba(240,204,87,.4)!important;
  border-radius:9px 6px 10px 7px!important;
}

/* Prize / winner tables = ruled notebook tables */
body.rz-public-v7.rz-lotto-family :is(.lr46-prizes,.ls54-table-wrap){
  margin-top:13px!important;
  overflow:auto!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-prizes table,.ls54-table-wrap table){
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  background:transparent!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-prizes th,.ls54-table-wrap th){
  color:var(--lot-blue)!important;
  background:#0f1519!important;
  border-bottom:1px dashed var(--lot-line)!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr46-prizes td,.ls54-table-wrap td){
  color:#dce4e8!important;
  border-bottom:1px dashed var(--lot-soft)!important;
}

/* Draw navigation follows familiar previous/current/next convention */
body.rz-public-v7.rz-lotto-family .lr46-nav{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:9px!important;
  margin:13px 0!important;
}
body.rz-public-v7.rz-lotto-family .lr46-nav a{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:var(--lot-ink)!important;
  background:#11171c!important;
  border:1px dashed var(--lot-line)!important;
  border-radius:10px 7px 11px 8px!important;
  font-family:var(--lot-hand)!important;
  text-decoration:none!important;
}
body.rz-public-v7.rz-lotto-family .lr46-nav a:hover{
  color:#171408!important;
  background:var(--lot-yellow)!important;
  border-color:#f4dc7a!important;
}

/* Date finder: familiar label -> field -> action */
body.rz-public-v7.rz-lotto-family .lr47-calendar-card form label,
body.rz-public-v7.rz-lotto-family .lr48-country-selector label{
  color:#dfe6e9!important;
  font:800 .76rem/1.2 var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr47-calendar-card input,.lr48-country-selector select,.rz-wl-filter select,.rz-wl-filter input){
  min-height:44px!important;
  background:#0d1418!important;
  color:var(--lot-ink)!important;
  border:1px dashed var(--lot-line)!important;
  border-radius:9px 6px 10px 7px!important;
}
body.rz-public-v7.rz-lotto-family :is(.lr47-calendar-card button,.lr48-country-selector button,.rz-wl-filter button){
  min-height:44px!important;
  background:var(--lot-yellow)!important;
  color:#171408!important;
  border:1px solid #f4dc7a!important;
  border-radius:9px 6px 10px 7px!important;
  font-family:var(--lot-hand)!important;
  font-weight:900!important;
}

/* History = clean ruled list */
body.rz-public-v7.rz-lotto-family .lr46-history{
  display:grid!important;
  gap:0!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history article{
  display:grid!important;
  grid-template-columns:minmax(105px,.55fr) minmax(0,1.45fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:10px 0!important;
  border-bottom:1px dashed var(--lot-soft)!important;
  background:transparent!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history time{
  color:var(--lot-blue)!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history a{
  color:var(--lot-blue)!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}

/* Country selector / quick links */
body.rz-public-v7.rz-lotto-family .lr48-country-selector{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(250px,.7fr)!important;
  gap:14px!important;
  align-items:end!important;
}
body.rz-public-v7.rz-lotto-family .lr46-links{
  display:grid!important;
  gap:7px!important;
}
body.rz-public-v7.rz-lotto-family .lr46-links a{
  justify-content:space-between!important;
}
body.rz-public-v7.rz-lotto-family .lr46-link-icon{
  color:var(--lot-blue)!important;
  background:transparent!important;
  border:1px solid var(--lot-blue)!important;
  border-radius:50% 45% 52% 44%!important;
}

/* World Lotto cards */
body.rz-public-v7.rz-lotto-family .lr46-world-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
body.rz-public-v7.rz-lotto-family .lr46-world-card{
  min-width:0!important;
  padding:14px!important;
  border-left:3px solid rgba(121,191,255,.42)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-world-card header{
  padding-bottom:10px!important;
  border-bottom:1px dashed var(--lot-soft)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-world-card h3{
  color:#fff!important;
  font-family:var(--lot-hand)!important;
  line-height:1.18!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
body.rz-public-v7.rz-lotto-family .rz-wl-country{
  color:var(--lot-blue)!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .rz-wl-game{
  padding-top:10px!important;
  border-top:1px dashed var(--lot-soft)!important;
}
body.rz-public-v7.rz-lotto-family .rz-wl-game-title{
  color:var(--lot-blue)!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .rz-wl-supp,
body.rz-public-v7.rz-lotto-family .rz-wl-detail-supp{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
body.rz-public-v7.rz-lotto-family .rz-wl-supp span,
body.rz-public-v7.rz-lotto-family .rz-wl-detail-supp span{
  padding:5px 7px!important;
  color:var(--lot-muted)!important;
  background:#0d1418!important;
  border:1px dashed var(--lot-soft)!important;
  border-radius:8px 5px 9px 6px!important;
}

/* Responsible play is a familiar safety note, not a competing hero */
body.rz-public-v7.rz-lotto-family .lr46-responsible{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr)!important;
  gap:11px!important;
  align-items:start!important;
  padding:13px!important;
  border-left:3px solid var(--lot-blue)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-responsible-icon{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  color:var(--lot-blue)!important;
  background:transparent!important;
  border:1px solid var(--lot-blue)!important;
  border-radius:50% 45% 52% 44%!important;
}
body.rz-public-v7.rz-lotto-family .lr46-age{
  color:var(--lot-yellow)!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-responsible h2{
  color:#fff!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-family .lr46-responsible p{
  color:var(--lot-muted)!important;
  line-height:1.5!important;
}

/* Lotto statistics: same notebook family, conventional data hierarchy */
body.rz-public-v7.rz-lotto-stats-family .ls54-hero-links{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-hero-links a{
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  padding:0 11px!important;
  color:var(--lot-ink)!important;
  background:#10161a!important;
  border:1px dashed var(--lot-line)!important;
  border-radius:10px 6px 11px 7px!important;
  text-decoration:none!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-notice{
  display:flex!important;
  gap:10px!important;
  padding:12px!important;
  border-left:3px solid var(--lot-blue)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-game{
  padding:16px!important;
  margin-top:15px!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-game-head{
  display:flex!important;
  justify-content:space-between!important;
  gap:12px!important;
  align-items:flex-start!important;
  padding-bottom:11px!important;
  border-bottom:1px dashed var(--lot-line)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin:12px 0!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-summary article{
  padding:10px!important;
  text-align:center!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-summary strong{
  display:block!important;
  color:#fff!important;
  font-size:1.2rem!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-summary span{
  color:var(--lot-muted)!important;
  font-size:.7rem!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-hot-cold,
body.rz-public-v7.rz-lotto-stats-family .ls54-analysis-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
body.rz-public-v7.rz-lotto-stats-family :is(.ls54-hot-cold article,.ls54-analysis-grid article){
  padding:12px!important;
}
body.rz-public-v7.rz-lotto-stats-family :is(.ls54-hot-cold h3,.ls54-analysis-grid h3){
  color:#fff!important;
  font-family:var(--lot-hand)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-number-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-number-grid>div{
  padding:7px!important;
  background:#0d1418!important;
  border:1px dashed var(--lot-soft)!important;
  border-radius:9px 6px 10px 7px!important;
  text-align:center!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-number-grid>div>span{
  width:36px!important;
  height:36px!important;
  margin:auto!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-number-grid strong{
  display:block!important;
  margin-top:5px!important;
  color:#fff!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-number-grid small{
  color:var(--lot-muted)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-oe-bars progress{
  accent-color:var(--lot-yellow)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-splits span,
body.rz-public-v7.rz-lotto-stats-family .ls54-recent span{
  border-bottom:1px dashed var(--lot-soft)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-faq details{
  border-top:1px dashed var(--lot-line)!important;
}
body.rz-public-v7.rz-lotto-stats-family .ls54-faq summary{
  min-height:48px!important;
  color:#fff!important;
  font-family:var(--lot-hand)!important;
  cursor:pointer!important;
}

/* Global text safety - no character-by-character breaks */
body.rz-public-v7.rz-lotto-family :is(h1,h2,h3,strong,a,button,label,summary){
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}

/* Mobile: familiar hierarchy, one-column cards, 44px touch targets */
@media(max-width:900px){
  body.rz-public-v7.rz-lotto-family .lr46-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.rz-public-v7.rz-lotto-family .lr48-country-selector{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body.rz-public-v7.rz-lotto-family :is(.container,.lr46-wrap,.ls54-wrap){width:min(100% - 18px,1180px)!important}
  body.rz-public-v7.rz-lotto-family :is(button,.btn,.lr46-links a,.lr46-nav a,.rz-wl-open,.lr54-stats-link,.ls54-game-head a){min-height:44px!important}
  body.rz-public-v7.rz-lotto-family .lr46-features{grid-template-columns:1fr!important}
  body.rz-public-v7.rz-lotto-family .lr46-features article{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important}
  body.rz-public-v7.rz-lotto-family .lr46-world-grid{grid-template-columns:1fr!important}
  body.rz-public-v7.rz-lotto-family .lr46-history article{grid-template-columns:1fr auto!important}
  body.rz-public-v7.rz-lotto-family .lr46-history article .v5-lotto-balls{grid-column:1/-1!important}
  body.rz-public-v7.rz-lotto-family .lr46-history a{grid-column:2!important;grid-row:1!important}
  body.rz-public-v7.rz-lotto-family .lr47-calendar-card form>div,
  body.rz-public-v7.rz-lotto-family .lr48-country-selector form>div{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.rz-public-v7.rz-lotto-family .lr47-calendar-card :is(input,button),
  body.rz-public-v7.rz-lotto-family .lr48-country-selector :is(select,button){width:100%!important}
  body.rz-public-v7.rz-lotto-family .ls54-hot-cold,
  body.rz-public-v7.rz-lotto-family .ls54-analysis-grid{grid-template-columns:1fr!important}
  body.rz-public-v7.rz-lotto-family .ls54-game-head{flex-direction:column!important}
  body.rz-public-v7.rz-lotto-family .ls54-game-head a{width:100%!important}
}
@media(max-width:480px){
  body.rz-public-v7.rz-lotto-family .lr46-nav{grid-template-columns:1fr!important}
  body.rz-public-v7.rz-lotto-family .lr46-nav span:empty{display:none!important}
  body.rz-public-v7.rz-lotto-family .ls54-summary{grid-template-columns:1fr 1fr!important}
  body.rz-public-v7.rz-lotto-family .ls54-summary article:last-child{grid-column:1/-1!important}
  body.rz-public-v7.rz-lotto-family .ls54-number-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}


/* ============================================================
   V7.0.13ao - Recent Lotto Results card correction
   Prevents 5-column squeeze / vertical ball stacks.
   ============================================================ */

/* Mauritius result history should scan like familiar result cards:
   date -> horizontal balls -> result action. */
body.rz-public-v7.rz-lotto-family .lr46-history-results{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:11px!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results article{
  min-width:0!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:10px!important;
  padding:13px 14px!important;
  background:linear-gradient(179deg,var(--lot-paper),var(--lot-paper-2))!important;
  border:1.25px dashed var(--lot-line)!important;
  border-radius:14px 9px 16px 10px!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results article:nth-child(odd){
  transform:rotate(-.05deg);
}
body.rz-public-v7.rz-lotto-family .lr46-history-results article:nth-child(even){
  transform:rotate(.05deg);
}
body.rz-public-v7.rz-lotto-family .lr46-history-results time{
  min-height:0!important;
  display:block!important;
  color:var(--lot-blue)!important;
  font:800 .72rem/1.35 var(--lot-hand)!important;
  text-wrap:pretty!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results .v5-lotto-balls{
  width:100%!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  margin:0!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results .v5-lotto-ball{
  flex:0 0 34px!important;
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  font-size:.72rem!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results article>a{
  width:max-content!important;
  max-width:100%!important;
  margin-top:auto!important;
  padding-top:4px!important;
  color:var(--lot-blue)!important;
  font:800 .71rem/1.2 var(--lot-hand)!important;
  text-decoration:none!important;
  white-space:normal!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results article>a:hover,
body.rz-public-v7.rz-lotto-family .lr46-history-results article>a:focus-visible{
  color:var(--lot-yellow)!important;
}

/* Remove the old generic history-row grid rules from these result cards. */
body.rz-public-v7.rz-lotto-family .lr46-history-results article .v5-lotto-balls{
  grid-column:auto!important;
}
body.rz-public-v7.rz-lotto-family .lr46-history-results article>a{
  grid-column:auto!important;
  grid-row:auto!important;
}

@media(max-width:980px){
  body.rz-public-v7.rz-lotto-family .lr46-history-results{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  body.rz-public-v7.rz-lotto-family .lr46-history-results{
    grid-template-columns:1fr!important;
  }
  body.rz-public-v7.rz-lotto-family .lr46-history-results article{
    transform:none!important;
    padding:12px!important;
  }
  body.rz-public-v7.rz-lotto-family .lr46-history-results .v5-lotto-ball{
    flex-basis:36px!important;
    width:36px!important;
    height:36px!important;
  }
}
