/* Rifas Gold app refinement. All selectors require installed display mode. */
html.rgpwa-standalone{--app-pine:#102c23;--app-forest:#1f593d;--app-brass:#ae8750;--app-cream:#f5f1e8;--app-paper:#fffdf8;--app-ink:#17362a;--app-muted:#52665a;--app-line:#dcd3c2}
html.rgpwa-standalone body.rg-site .rgpwa-appbar{box-shadow:0 3px 14px rgba(12,39,27,.12)}
html.rgpwa-standalone body.rg-site .rgpwa-appbar__actions :is(a,button):active,html.rgpwa-standalone body.rg-site .rgpwa-appbar__back:active{background:rgba(255,255,255,.12)}
html.rgpwa-standalone body.rg-site :is(.rg-mobile-dock,.rgpa-mobile-nav){box-shadow:0 -5px 20px rgba(17,43,28,.1)}
html.rgpwa-standalone body.rg-site :is(.rg-mobile-dock,.rgpa-mobile-nav) a[aria-current=page]{background:#e8eee2!important;color:#174b34!important}

/* The prize artwork contains printed campaign text. Crop to the real prize and
   place live title and facts beside it, keeping current information legible. */
html.rgpwa-standalone body.rg-site .rg-hero{padding-top:17px!important}
html.rgpwa-standalone body.rg-site .rg-hero__grid{gap:0}
html.rgpwa-standalone body.rg-site .rg-hero__copy{position:static;width:100%;max-width:none;padding:0 2px 15px;pointer-events:auto}
html.rgpwa-standalone body.rg-site .rg-hero__copy .rg-eyebrow{color:#866539;font-size:10px;letter-spacing:.13em}
html.rgpwa-standalone body.rg-site .rg-hero h1{max-width:650px;margin:8px 0 12px;color:var(--app-ink)!important;font-size:clamp(29px,7.7vw,39px);line-height:1.03}
html.rgpwa-standalone body.rg-site .rg-hero__actions{display:flex!important;align-items:center;margin:0}
html.rgpwa-standalone body.rg-site .rg-hero__actions .rg-button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:0 18px;border-color:var(--app-forest)!important;border-radius:10px;background:var(--app-forest)!important;color:#fff!important;font-size:12px}
html.rgpwa-standalone body.rg-site .rg-hero__catalog-link{display:none!important}
html.rgpwa-standalone body.rg-site .rg-hero-feature{aspect-ratio:1.26;border-radius:17px;box-shadow:0 9px 25px rgba(17,45,29,.13)}
html.rgpwa-standalone body.rg-site .rg-hero-feature img{object-position:100% center}
html.rgpwa-standalone body.rg-site .rg-hero-feature::before{background:linear-gradient(180deg,transparent 48%,rgba(7,30,21,.72))}
html.rgpwa-standalone body.rg-site .rg-hero-feature__bottom{right:12px;bottom:12px;left:12px;padding:11px 12px;border-color:rgba(226,200,149,.35);background:rgba(12,43,31,.94)}
html.rgpwa-standalone body.rg-site .rg-hero-feature__details small{font-size:9px;letter-spacing:.03em}
html.rgpwa-standalone body.rg-site .rg-hero-feature__details strong{font-size:14px;font-variant-numeric:tabular-nums}
html.rgpwa-standalone body.rg-site .rg-hero-promos{gap:9px;margin-top:12px}
html.rgpwa-standalone body.rg-site .rg-hero-promo{min-height:109px;padding:13px;border-radius:13px}
html.rgpwa-standalone body.rg-site .rg-hero-promo strong{font-size:14px}
html.rgpwa-standalone body.rg-site .rg-hero-promo small{font-size:11px}
html.rgpwa-standalone body.rg-site .rg-reading{padding:19px 14px 22px}
html.rgpwa-standalone body.rg-site .rg-reading__inner{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible;padding:0}
html.rgpwa-standalone body.rg-site .rg-reading__intro{grid-column:1/-1;display:flex;min-width:0;min-height:0;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px;padding:0 0 2px;border:0}
html.rgpwa-standalone body.rg-site .rg-reading__intro>span{flex:none;margin:0;color:#8c6a3c;font-size:9px;white-space:nowrap}
html.rgpwa-standalone body.rg-site .rg-reading__intro strong{font-size:18px;line-height:1.15}
html.rgpwa-standalone body.rg-site .rg-reading__item,html.rgpwa-standalone body.rg-site .rg-reading__item:nth-child(3),html.rgpwa-standalone body.rg-site .rg-reading__item:nth-child(4){display:flex;min-width:0;min-height:91px;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;padding:11px 9px;border:1px solid var(--app-line);border-radius:11px}
html.rgpwa-standalone body.rg-site .rg-reading__symbol{width:27px;height:27px;font-size:12px}
html.rgpwa-standalone body.rg-site .rg-reading__symbol--grid{grid-template-columns:repeat(2,4px);grid-template-rows:repeat(2,4px);gap:2px}
html.rgpwa-standalone body.rg-site .rg-reading__symbol--grid i{width:4px;height:4px}
html.rgpwa-standalone body.rg-site .rg-reading__item strong{margin:0;color:var(--app-ink);font-size:11px;line-height:1.17}
html.rgpwa-standalone body.rg-site .rg-reading__item p{display:none}

/* Scan the catalogue like a native list: prize, price, availability, action. */
html.rgpwa-standalone body.rg-site .rg-listing{padding-top:29px!important}
html.rgpwa-standalone body.rg-site .rg-card-grid{grid-template-columns:1fr;gap:10px}
html.rgpwa-standalone body.rg-site .rg-card{display:grid;grid-template-columns:112px minmax(0,1fr);min-height:174px;border-radius:14px;box-shadow:0 3px 12px rgba(18,50,31,.055)}
html.rgpwa-standalone body.rg-site .rg-card__image{grid-row:1;height:100%;min-height:174px;aspect-ratio:auto}
html.rgpwa-standalone body.rg-site .rg-card__image img{height:100%;object-position:80% center}
html.rgpwa-standalone body.rg-site .rg-card__status{right:auto;bottom:8px;left:8px;top:auto;max-width:calc(100% - 16px);font-size:8px;line-height:1.1;text-align:center}
html.rgpwa-standalone body.rg-site .rg-card__body{display:flex;min-width:0;flex-direction:column;align-items:stretch;padding:11px 12px}
html.rgpwa-standalone body.rg-site .rg-card__category{color:#80653e;font-size:9px;letter-spacing:.09em}
html.rgpwa-standalone body.rg-site .rg-card h3{margin:4px 0 8px;font-size:19px;line-height:1.05}
html.rgpwa-standalone body.rg-site .rg-card__prize-note,html.rgpwa-standalone body.rg-site .rg-card__draw-date,html.rgpwa-standalone body.rg-site .rg-card__stats span:nth-child(n+2){display:none!important}
html.rgpwa-standalone body.rg-site .rg-card__price{justify-content:flex-start;gap:8px;margin:0;padding:0;border:0}
html.rgpwa-standalone body.rg-site .rg-card__price span{font-size:9px}
html.rgpwa-standalone body.rg-site .rg-card__price strong{font-size:18px;white-space:nowrap}
html.rgpwa-standalone body.rg-site .rg-card__stats{display:flex;gap:0;margin:4px 0 8px;padding:0;border:0}
html.rgpwa-standalone body.rg-site .rg-card__stats span{display:flex;align-items:baseline;gap:5px;padding:0;border:0}
html.rgpwa-standalone body.rg-site .rg-card__stats small{font-size:9px}
html.rgpwa-standalone body.rg-site .rg-card__stats strong{font-size:12px}
html.rgpwa-standalone body.rg-site .rg-card__action{min-height:44px;margin-top:auto;border-radius:9px;font-size:11px}

/* One clear call to action in the raffle; supporting steps stay quiet. */
html.rgpwa-standalone body.rg-site .rg-product-panel{padding:17px;border-color:#375945}
html.rgpwa-standalone body.rg-site .rg-product-panel h2{display:none}
html.rgpwa-standalone body.rg-site .rg-product-panel__cta{min-height:51px;border-color:#d5b77a!important;background:#d5b77a!important;color:#173327!important;font-size:13px}
html.rgpwa-standalone body.rg-site .rg-product-panel__cta span{color:#173327}
html.rgpwa-standalone body.rg-site .rg-raffle-jump a{border-color:var(--app-line);background:var(--app-paper);color:var(--app-forest)!important;font-size:12px;font-weight:750}
html.rgpwa-standalone body.rg-site .rg-raffle-info__steps{gap:9px}
html.rgpwa-standalone body.rg-site .rg-raffle-info__steps p{padding:15px 16px;border:1px solid var(--app-line);border-left:3px solid var(--app-brass);border-radius:11px;background:var(--app-paper);color:var(--app-muted)!important;box-shadow:none}
html.rgpwa-standalone body.rg-site .rg-raffle-info__steps strong{color:var(--app-ink)!important}
html.rgpwa-standalone body.rg-site .rg-ticket__heading{background:var(--app-pine)!important}
html.rgpwa-standalone body.rg-site .rg-number-pages button:not(:disabled){border-color:#b9c9bb;color:var(--app-forest);font-size:12px}

/* Compact session lead; consistent controls in account and Bingo. */
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-stage__copy{padding-top:25px}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-stage h1{margin:12px 0;font-size:clamp(33px,8.5vw,47px)}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-stage__actions{margin:17px 0}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-sessions{padding-top:24px}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session{border-radius:14px}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session__cta{min-height:48px;border-radius:9px;background:var(--app-forest)!important;color:#fff!important}
html.rgpwa-standalone body.rgpa-page.rg-site :is(.rgpa-button,.rgpa-form button,.rgpa-link-order button,.rgpa-filters button){font-size:12px;font-weight:800}
html.rgpwa-standalone body.rgpa-page.rg-site .rgpa-auth__form{box-shadow:0 8px 25px rgba(18,45,29,.07)}

html.rgpwa-standalone[data-rgpwa-theme=dark]{--app-pine:#0b231a;--app-forest:#28724e;--app-cream:#111e18;--app-paper:#1b3025;--app-ink:#f2f0e7;--app-muted:#c2d1c2;--app-line:#3e5b47}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site :is(.rg-mobile-dock,.rgpa-mobile-nav) a[aria-current=page]{background:#315b3f!important;color:#fff!important}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rg-hero__copy .rg-eyebrow,html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rg-card__category{color:#ddc48f}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rgpwa-session{border-color:#526a53;background:var(--app-paper)}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rgpwa-session :is(h3,p){color:#f2f0e7!important}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rgpwa-session :is(span,a){color:#e4cb98!important}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rg-raffle-jump a{color:#e6cf9d!important}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rg-raffle-info__steps p{background:var(--app-paper)}

@media(min-width:700px){
  html.rgpwa-standalone body.rg-site .rg-hero-feature{aspect-ratio:1.75}
  html.rgpwa-standalone body.rg-site .rg-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:900px){
  html.rgpwa-standalone body.rg-site .rg-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.rgpwa-standalone body.rg-site .rg-hero__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-rows:1fr auto;grid-template-areas:'copy feature' 'promos feature';gap:15px}
  html.rgpwa-standalone body.rg-site .rg-hero__copy{grid-area:copy;align-self:end;max-width:440px;padding:22px 12px 6px}
  html.rgpwa-standalone body.rg-site .rg-hero h1{font-size:clamp(38px,4vw,49px)}
  html.rgpwa-standalone body.rg-site .rg-hero-feature{grid-area:feature;min-height:400px;max-height:475px;aspect-ratio:1.3}
  html.rgpwa-standalone body.rg-site .rg-hero-promos{grid-area:promos;align-self:start;margin:0}
}
@media(max-width:350px){
  html.rgpwa-standalone body.rg-site .rg-card{grid-template-columns:98px minmax(0,1fr)}
  html.rgpwa-standalone body.rg-site .rg-card h3{font-size:17px}
  html.rgpwa-standalone body.rg-site .rg-card__price{display:block}
  html.rgpwa-standalone body.rg-site .rg-card__price strong{display:block;margin-top:2px}
  html.rgpwa-standalone body.rg-site .rg-hero-feature__details small{font-size:8px}
  html.rgpwa-standalone body.rg-site .rg-hero-feature__details strong{font-size:11px}
}

/* 0.4: tactile, consistent components for the installed application. */
html.rgpwa-standalone{--app-raised:0 1px 2px rgba(12,39,27,.05),0 10px 24px rgba(12,39,27,.085);--app-raised-strong:0 2px 4px rgba(12,39,27,.07),0 15px 30px rgba(12,39,27,.13);--app-action-shadow:inset 0 1px rgba(255,255,255,.17),0 3px 0 #17422f,0 8px 15px rgba(15,65,42,.16)}
html.rgpwa-standalone body.rg-site :is(.rg-card,.rgpwa-session,.rg-bingo-session,.rgpa-panel,.rgpa-metrics article,.rgpa-help-grid a){border-color:var(--app-line);box-shadow:var(--app-raised)}
html.rgpwa-standalone body.rg-site :is(.rg-card,.rgpwa-session,.rg-bingo-session,.rgpa-panel,.rgpa-metrics article){background:var(--app-paper)}

/* Prize rows keep the real status, price and availability in one glance. */
html.rgpwa-standalone body.rg-site .rg-card-grid{gap:12px}
html.rgpwa-standalone body.rg-site .rg-card{min-height:190px;border-radius:17px;box-shadow:var(--app-raised)}
html.rgpwa-standalone body.rg-site .rg-card__image{min-height:190px}
html.rgpwa-standalone body.rg-site .rg-card__body{padding:13px 13px 12px}
html.rgpwa-standalone body.rg-site .rg-card h3{margin:6px 0 9px;font-size:19px;line-height:1.1}
html.rgpwa-standalone body.rg-site .rg-card__price{align-items:baseline;gap:5px}
html.rgpwa-standalone body.rg-site .rg-card__price strong{font-size:19px;line-height:1.1;font-variant-numeric:tabular-nums}
html.rgpwa-standalone body.rg-site .rg-card__stats{margin:6px 0 10px}
html.rgpwa-standalone body.rg-site .rg-card__stats strong{font-size:13px;font-variant-numeric:tabular-nums}
html.rgpwa-standalone body.rg-site .rg-card__status{padding:6px 7px;border:1px solid rgba(255,255,255,.38);border-radius:7px;font-size:9px;font-weight:850;box-shadow:0 2px 8px rgba(0,0,0,.2)}
html.rgpwa-standalone body.rg-site .rg-card[data-rg-status=closed]{box-shadow:0 1px 2px rgba(12,39,27,.04),0 5px 14px rgba(12,39,27,.04)}

/* Raised actions have the same size and feedback across browsing and account flows. */
html.rgpwa-standalone body.rg-site :is(.rg-card__action,.rg-bingo-session__cta,.rg-product-panel__cta,.rg-filter__submit,.rgpa-button,.rgpa-form button,.rgpa-link-order button,.rgpa-filters button,.rg-bingo-submit){min-height:49px;border:1px solid #1a5339;border-radius:11px;background:#205a3e!important;color:#fff!important;font-size:13px;font-weight:800;line-height:1.2;text-align:center;box-shadow:var(--app-action-shadow);transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
html.rgpwa-standalone body.rg-site .rg-product-panel__cta{min-height:54px;border-color:#dfc38d;background:#dfc38d!important;color:#173327!important;box-shadow:inset 0 1px rgba(255,255,255,.5),0 3px 0 #a5854e,0 8px 18px rgba(0,0,0,.2)}
html.rgpwa-standalone body.rg-site .rg-product-panel__cta span{color:#173327}
html.rgpwa-standalone body.rg-site .rg-hero__actions .rg-button,html.rgpwa-standalone body.rg-site .rg-home-bingo .rg-button{min-height:49px;padding-inline:18px;border:1px solid #1a5339!important;border-radius:11px;background:#205a3e!important;color:#fff!important;font-size:13px;font-weight:800;box-shadow:var(--app-action-shadow)}
html.rgpwa-standalone body.rg-site :is(.rg-card__action,.rg-bingo-session__cta,.rg-product-panel__cta,.rg-filter__submit,.rgpa-button,.rgpa-form button,.rgpa-link-order button,.rgpa-filters button,.rg-bingo-submit,.rg-hero__actions .rg-button,.rg-home-bingo .rg-button):active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 1px 4px rgba(0,0,0,.12),0 1px 0 #17422f}
html.rgpwa-standalone body.rg-site :is(button,.rg-button,.rg-card__action,.rg-bingo-session__cta,.rg-product-panel__cta):disabled{opacity:.58;cursor:not-allowed;box-shadow:none;transform:none}
@media(hover:hover){html.rgpwa-standalone body.rg-site :is(.rg-card__action,.rg-bingo-session__cta,.rg-filter__submit,.rgpa-button,.rgpa-form button,.rg-bingo-submit):hover:not(:disabled){background:#164c33!important;box-shadow:inset 0 1px rgba(255,255,255,.17),0 3px 0 #103923,0 10px 20px rgba(15,65,42,.2)}html.rgpwa-standalone body.rg-site .rg-product-panel__cta:hover:not(:disabled){background:#edd19a!important}}

/* Session cards and account surfaces use the same edge and depth. */
html.rgpwa-standalone body.rg-site .rgpwa-session{position:relative;padding:17px;border-left:3px solid var(--app-brass);border-radius:14px}
html.rgpwa-standalone body.rg-site .rgpwa-session h3{margin:6px 0;font-size:19px;line-height:1.12}
html.rgpwa-standalone body.rg-site .rgpwa-session a{display:inline-flex;min-height:44px;align-items:center;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session{padding:19px;border-top-width:4px;border-radius:17px;box-shadow:var(--app-raised)}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session h3{font-size:29px;line-height:1.03}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session dl{margin-bottom:20px}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session dl>div{min-height:43px}
html.rgpwa-standalone body.rg-bingo-page.rg-site .rg-bingo-session dd{font-size:13px;font-variant-numeric:tabular-nums}
html.rgpwa-standalone body.rgpa-page.rg-site :is(.rgpa-panel,.rgpa-metrics article,.rgpa-help-grid a){border-radius:17px;box-shadow:var(--app-raised)}
html.rgpwa-standalone body.rgpa-page.rg-site .rgpa-metrics article{min-height:132px;border-top:3px solid var(--app-brass)}
html.rgpwa-standalone body.rgpa-page.rg-site .rgpa-metrics article strong{font-variant-numeric:tabular-nums}
html.rgpwa-standalone body.rgpa-page.rg-site .rgpa-form button{padding-inline:20px}
html.rgpwa-standalone body.rg-site :is(.rgpwa-filter-toggle,.rg-raffle-jump a,.rg-number-pages button){min-height:46px;border-radius:10px}

html.rgpwa-standalone[data-rgpwa-theme=dark]{--app-raised:0 1px 2px rgba(0,0,0,.13),0 10px 24px rgba(0,0,0,.18);--app-raised-strong:0 2px 4px rgba(0,0,0,.2),0 15px 30px rgba(0,0,0,.24);--app-action-shadow:inset 0 1px rgba(255,255,255,.13),0 3px 0 #17422f,0 8px 15px rgba(0,0,0,.3)}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site :is(.rg-card__action,.rg-bingo-session__cta,.rg-filter__submit,.rgpa-button,.rgpa-form button,.rgpa-link-order button,.rgpa-filters button,.rg-bingo-submit){border-color:#3d9365;background:#246747!important}
html.rgpwa-standalone[data-rgpwa-theme=dark] body.rg-site .rgpwa-session a{color:#e4cb98!important}
@media(max-width:350px){html.rgpwa-standalone body.rg-site .rg-card{grid-template-columns:98px minmax(0,1fr)}html.rgpwa-standalone body.rg-site .rg-card__body{padding:11px 10px}html.rgpwa-standalone body.rg-site .rg-card h3{font-size:17px}html.rgpwa-standalone body.rg-site .rg-card__price strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){html.rgpwa-standalone body.rg-site :is(.rg-card__action,.rg-bingo-session__cta,.rg-product-panel__cta,.rg-filter__submit,.rgpa-button,.rgpa-form button,.rgpa-link-order button,.rgpa-filters button,.rg-bingo-submit,.rg-hero__actions .rg-button,.rg-home-bingo .rg-button){transition:none}}
