/* Version 3: one compact, themed two-brand showcase after the page's first H1.
   Theme variables belong to the site or the section, not to the document root.
   Optional artwork is supplied per article through --au-art: url(...).
   No page, hero, navigation, footer or unrelated promotional selectors. */
.au-showcase-v3,
.au-showcase-v3 * {
  box-sizing: border-box;
}

.au-showcase-v3 {
  display: grid;
  grid-column: 1 / -1;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 12px 0 16px;
  padding: 0;
  border: 0;
  color: var(--au-ink, #102330);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-align: left;
  letter-spacing: normal;
  container-type: inline-size;
  isolation: isolate;
}

.au-showcase-v3 .au-offer {
  display: block;
  position: relative;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid var(--au-border, #d7e3e9);
  border-radius: 16px;
  background: var(--au-surface, #ffffff);
  color: var(--au-ink, #102330);
  overflow: hidden;
  box-shadow: 0 8px 28px -22px #06141f55;
  transform: none;
  opacity: 1;
}

.au-showcase-v3 .au-offer::before {
  content: '';
  position: absolute;
  inset: 0 0 0 35%;
  pointer-events: none;
  background-image: var(--au-art, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  opacity: .22;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}

.au-showcase-v3 .au-offer[data-brand='wincrown'] {
  border-color: color-mix(in srgb, var(--au-accent, #008c79) 45%, var(--au-border, #d7e3e9));
}

.au-showcase-v3 .au-offer-rank,
.au-showcase-v3 .au-offer-sponsored {
  position: absolute;
  top: 7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  margin: 0;
  padding: 4px 7px;
  border: 0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: none;
}

.au-showcase-v3 .au-offer-rank {
  left: 12px;
  color: var(--au-surface, #fff);
  background: var(--au-accent, #008c79);
}

.au-showcase-v3 .au-offer[data-brand='safe'] .au-offer-rank {
  background: var(--au-accent-2, #375adc);
}

.au-showcase-v3 .au-offer-sponsored {
  right: 12px;
  max-width: calc(100% - 80px);
  padding-inline: 8px;
  color: var(--au-ink, #102330);
  background: color-mix(in srgb, var(--au-accent, #008c79) 15%, var(--au-surface, #fff));
  border: 1px solid color-mix(in srgb, var(--au-accent, #008c79) 28%, var(--au-border, #d7e3e9));
  border-radius: 999px;
  font-size: 8px;
  line-height: 1.15;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.au-showcase-v3 .au-offer-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 90px 152px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 102px;
  margin: 0;
  padding: 29px 12px 10px;
  border: 0;
  background: transparent;
}

.au-showcase-v3 .au-offer-body > * { min-width: 0; }

.au-showcase-v3 .au-offer-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 52px;
  min-width: 0;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  background: #10272c;
  overflow: hidden;
}

.au-showcase-v3 .au-offer-logo img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  filter: none;
  box-shadow: none;
}

.au-showcase-v3 .au-offer-copy {
  margin: 0;
  padding: 0;
  color: var(--au-ink, #102330);
}

.au-showcase-v3 .au-offer-brand {
  display: block;
  margin: 0 0 4px;
  padding: 0;
  color: var(--au-accent, #008c79);
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: anywhere;
}

.au-showcase-v3 .au-offer-title {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--au-ink, #102330);
  font-family: inherit;
  font-size: clamp(16px, 1.1vw + 6px, 20px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-transform: none;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.au-showcase-v3 .au-offer-reviews {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 3px;
  margin: 0;
  padding: 2px 0;
  color: var(--au-muted, #5c7180);
  text-align: center;
}

.au-showcase-v3 .au-offer-reviews strong {
  display: block;
  margin: 0;
  padding: 0;
  color: var(--au-accent, #008c79);
  font-family: inherit;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.au-showcase-v3 .au-offer-reviews span {
  display: block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--au-muted, #5c7180);
  font-family: inherit;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: anywhere;
}

.au-showcase-v3 a.au-offer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 8px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(115deg, var(--au-accent, #008c79), var(--au-accent-2, #375adc));
  color: var(--au-surface, #fff);
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 6px 16px -12px var(--au-accent, #008c79);
  touch-action: manipulation;
  -webkit-tap-highlight-color: #22d3ee22;
  transition: filter .15s ease;
}

.au-showcase-v3 a.au-offer-cta:hover { color: var(--au-surface, #fff); filter: brightness(.95); }

.au-showcase-v3 .au-offer-conditions {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--au-border, #d7e3e9);
  border-radius: 0;
  background: color-mix(in srgb, var(--au-muted, #5c7180) 6%, var(--au-surface, #fff));
  color: var(--au-muted, #5c7180);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}

.au-showcase-v3 .au-offer-conditions > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 34px;
  margin: 0;
  padding: 5px 12px;
  color: var(--au-muted, #5c7180);
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: #22d3ee22;
  overflow-wrap: anywhere;
}

.au-showcase-v3 .au-offer-conditions > summary::-webkit-details-marker { display: none; }
.au-showcase-v3 .au-offer-conditions > summary::after {
  content: '+';
  display: block;
  flex: none;
  width: 16px;
  margin: 0;
  color: var(--au-accent, #008c79);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}
.au-showcase-v3 .au-offer-conditions[open] > summary::after { content: '−'; }
.au-showcase-v3 .au-offer-conditions > summary:hover {
  color: var(--au-ink, #102330);
  background: color-mix(in srgb, var(--au-accent, #008c79) 7%, transparent);
}
.au-showcase-v3 .au-offer-terms {
  margin: 0;
  padding: 4px 12px 12px;
  color: var(--au-muted, #5c7180);
  font-family: inherit;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  overflow-wrap: anywhere;
}
.au-showcase-v3 .au-offer-terms > :last-child { margin-bottom: 0; }
.au-showcase-v3 :is(a.au-offer-cta, .au-offer-conditions > summary):focus-visible {
  outline: 3px solid var(--au-accent-2, #375adc);
  outline-offset: -3px;
}

/* Container queries keep a sidebar-width hero usable on a wide monitor, too. */
@container (max-width: 640px) {
  .au-showcase-v3 .au-offer-body {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas: 'logo copy' 'reviews cta';
    gap: 7px 10px;
    min-height: 0;
    padding: 27px 10px 8px;
  }
  .au-showcase-v3 .au-offer-logo { grid-area: logo; height: 46px; padding: 5px 6px; }
  .au-showcase-v3 .au-offer-copy { grid-area: copy; }
  .au-showcase-v3 .au-offer-brand { margin-bottom: 3px; font-size: 11px; }
  .au-showcase-v3 .au-offer-title { font-size: 15px; line-height: 1.22; }
  .au-showcase-v3 .au-offer-reviews { grid-area: reviews; gap: 2px; padding: 0; }
  .au-showcase-v3 .au-offer-reviews strong { font-size: 22px; }
  .au-showcase-v3 .au-offer-reviews span { font-size: 9px; }
  .au-showcase-v3 a.au-offer-cta { grid-area: cta; font-size: 12px; padding-inline: 6px; }
}

@media (max-width: 680px) {
  .au-showcase-v3 { margin-block: 10px 14px; gap: 9px; }
  .au-showcase-v3 .au-offer { border-radius: 14px; }
  .au-showcase-v3 .au-offer-body {
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-areas: 'logo copy' 'reviews cta';
    gap: 7px 10px;
    min-height: 0;
    padding: 27px 10px 8px;
  }
  .au-showcase-v3 .au-offer-logo { grid-area: logo; height: 46px; padding: 5px 6px; }
  .au-showcase-v3 .au-offer-copy { grid-area: copy; }
  .au-showcase-v3 .au-offer-brand { margin-bottom: 3px; font-size: 11px; }
  .au-showcase-v3 .au-offer-title { font-size: 15px; line-height: 1.22; }
  .au-showcase-v3 .au-offer-reviews { grid-area: reviews; gap: 2px; padding: 0; }
  .au-showcase-v3 .au-offer-reviews strong { font-size: 22px; }
  .au-showcase-v3 .au-offer-reviews span { font-size: 9px; }
  .au-showcase-v3 a.au-offer-cta { grid-area: cta; font-size: 12px; padding-inline: 6px; }
}

@container (max-width: 310px) {
  .au-showcase-v3 .au-offer-body { grid-template-columns: 78px minmax(0, 1fr); column-gap: 8px; }
  .au-showcase-v3 .au-offer-title { font-size: 14px; }
  .au-showcase-v3 .au-offer-sponsored { font-size: 7px; letter-spacing: .07em; }
}

@media (max-width: 360px) {
  .au-showcase-v3 .au-offer-body { grid-template-columns: 78px minmax(0, 1fr); column-gap: 8px; }
  .au-showcase-v3 .au-offer-title { font-size: 14px; }
  .au-showcase-v3 .au-offer-sponsored { font-size: 7px; letter-spacing: .07em; }
}

@media (prefers-reduced-motion: reduce) {
  .au-showcase-v3,
  .au-showcase-v3 .au-offer,
  .au-showcase-v3 a.au-offer-cta { animation: none; transition: none; }
}

/* Australia Atlas: native Inter/system fonts, navy/parchment/gold. */
.au-showcase-v3[data-site='australiapokiesguide.com'] {
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  text-align: left;
  padding: 0;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer {
  border-radius: 8px;
  border-color: #dad6c9;
  background: #fff9ec;
  color: #0b2537;
  box-shadow: 0 3px 10px #0b25370d;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer[data-brand='wincrown'] { border-color: #0b2537; }
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer::before { opacity: .12; }
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-body {
  grid-template-columns: 120px minmax(0, 1fr) 90px 176px;
  min-height: 102px;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-logo {
  border-radius: 6px;
  border-color: #0b2537;
  background: #0b2537;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-brand { color: #0b2537; }
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-title {
  color: #0b2537;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -.015em;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] :is(.au-offer-brand, .au-offer-title) { max-width: none; }
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-rank {
  border-radius: 4px;
  background: #0b2537;
  color: #ffffff;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer[data-brand='safe'] .au-offer-rank {
  background: #f6bb2c;
  color: #ffffff;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-sponsored {
  border-radius: 4px;
  border-color: #dad6c9;
  background: #ffffff;
  color: #0b2537;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-reviews strong { color: #0b2537; }
.au-showcase-v3[data-site='australiapokiesguide.com'] a.au-offer-cta {
  border-radius: 6px;
  background: #0b2537;
  color: #ffffff;
  font-weight: 800;
  box-shadow: none;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer[data-brand='safe'] a.au-offer-cta {
  background: #f6bb2c;
  color: #ffffff;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] a.au-offer-cta:hover { color: #ffffff; filter: brightness(1.08); }
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-conditions {
  border-top-color: #dad6c9;
  background: #ffffff;
  color: #49616d;
}
.au-showcase-v3[data-site='australiapokiesguide.com'] :is(a.au-offer-cta, .au-offer-conditions > summary):focus-visible {
  outline: 3px solid #f6bb2c;
  outline-offset: -3px;
}


.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer[data-brand='safe'] :is(.au-offer-rank, a.au-offer-cta) { color:#0b2537; }
.au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer[data-brand='safe'] a.au-offer-cta:hover { color:#0b2537; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .au-atlas-hero-grid { grid-template-columns:minmax(0,1fr); gap:24px; min-height:0; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .au-atlas-hero-copy { order:-1; min-width:0; width:100%; max-width:none; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .au-atlas-hero-copy > h1 { max-width:none; font-size:clamp(36px,5vw,72px); line-height:1.08; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .hero:has(.au-atlas-hero-grid) { min-height:0; padding-block:42px; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .hero-card { max-width:none; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) :is(.article,.retail-shell,.rtp-tool,.rtp-tool-intro,.mechanics-guide > header):has(.au-showcase-v3) { min-width:0; max-width:1180px; width:100%; }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .retail-hero:has(.au-showcase-v3) { grid-template-columns:minmax(0,1fr); }
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .retail-hero > div:has(.au-showcase-v3) { min-width:0; }
@container (max-width:640px) {
 .au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-body { grid-template-columns:88px minmax(0,1fr); min-height:0; }
 .au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-title { font-size:16px; line-height:1.3; letter-spacing:-.01em; }
}
@media (max-width:680px) {
 .au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-body { grid-template-columns:88px minmax(0,1fr); min-height:0; }
 .au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-title { font-size:16px; line-height:1.3; letter-spacing:-.01em; }
 body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .au-atlas-hero-copy > h1 { font-size:32px; line-height:1.1; }
 body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .hero:has(.au-atlas-hero-grid) { padding-block:28px; }
}
@container (max-width:310px) { .au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-body { grid-template-columns:78px minmax(0,1fr); } }
@media (max-width:360px) { .au-showcase-v3[data-site='australiapokiesguide.com'] .au-offer-body { grid-template-columns:78px minmax(0,1fr); } }
@media (prefers-reduced-motion:reduce) { .au-showcase-v3[data-site='australiapokiesguide.com'] * { animation:none; transition:none; } }

/* Native copy/card pin grid-column:2, which creates an unwanted implicit column. */
body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .au-atlas-hero-grid > :is(.au-atlas-hero-copy,.hero-card) { grid-column:1; }

@media (max-width:680px) {
 body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .retail-shell:has(.au-showcase-v3) { padding-inline:0; }
 body:has(.au-showcase-v3[data-site='australiapokiesguide.com']) .retail-hero:has(.au-showcase-v3) { padding-inline:12px; }
}
