/* BonoDrop — visual clarity & mobile-first usability, 31 Oct 2026.
   Applied after existing public styles across all 7 language routes.
   Presentation only: no database/API, admin or SEO metadata changes. */
:root{
  --bd-ui-ink:#211b35;
  --bd-ui-secondary:#465366;
  --bd-ui-accent:#58329a;
  --bd-ui-green:#087546;
  --bd-ui-line:#e5e1eb;
  --bd-ui-shadow:0 8px 24px rgba(39,23,71,.07);
}
body:not(.admin-page){
  font-size:15px;
  line-height:1.65;
  text-rendering:optimizeLegibility;
  -webkit-text-size-adjust:100%;
}
body:not(.admin-page) :is(.bd-hero-copy>p,.game-banner p,.page-heading p,.guide-box p,.detail-main p,.detail-aside p){
  font-size:clamp(14px,1.28vw,16px);
  line-height:1.7;
  color:var(--bd-ui-secondary);
}
body:not(.admin-page) :is(.bd-panel-note,.bd-reward-subtext,.bd-time>span,.bd-farm-summary,.bd-path-description){
  color:var(--bd-ui-secondary);
}
body:not(.admin-page) :is(.guide-box,.detail-main,.detail-aside,.bd-main-panel,.bd-news-panel){
  border-color:var(--bd-ui-line);
  box-shadow:var(--bd-ui-shadow);
}
body:not(.admin-page) :is(.guide-box,.detail-main,.detail-aside,.bd-main-panel,.bd-news-panel,.bd-home-path,.game-tile){
  min-width:0;
}
body:not(.admin-page) :is(.guide-box,.detail-main,.detail-aside) a:not(.btn):not(.reward-action):not(.bd-detail-link){
  text-underline-offset:3px;
}
body:not(.admin-page) :is(.btn,.bd-path-open,.bd-detail-link,.bd-visit-rewards,.bd-game-jump,.game-tile,.bd-path-game-chip){
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
body:not(.admin-page) :is(.nav-link,.filter-btn,.game-select,.bd-path-game-chip,.bd-farm-follow,.bd-visit-rewards,.bd-game-jump){
  font-size:clamp(13px,1.1vw,15px);
}
body:not(.admin-page) :is(.btn,.bd-game-jump,.bd-visit-rewards){
  min-height:46px;
  line-height:1.35;
}
body:not(.admin-page) :is(.bd-hero,.game-banner){
  scroll-margin-top:84px;
}
body:not(.admin-page) :is(#recompensas,#game-reward-links,#juegos,#novedades,.bd-game-rewards){
  scroll-margin-top:86px;
}
body:not(.admin-page) .bd-hero{
  border-radius:20px;
  box-shadow:var(--bd-ui-shadow);
}
body:not(.admin-page) .bd-hero h1{
  font-size:clamp(30px,3.5vw,47px);
  line-height:1.15;
  letter-spacing:-.035em;
}
body:not(.admin-page) .bd-hero-copy>p{max-width:670px;margin-bottom:12px}
body:not(.admin-page) .bd-home-paths{gap:14px}
body:not(.admin-page) .bd-home-path{
  border-radius:16px;
  border-width:1px;
}
body:not(.admin-page) .bd-home-path-games .bd-path-description{
  display:block;
  font-size:12px;
  line-height:1.5;
  margin-top:3px;
}
body:not(.admin-page) .bd-home-path-games .bd-path-game-list{
  margin:9px 0 8px;
  gap:7px;
}
body:not(.admin-page) .bd-home-path-games .bd-path-game-chip{
  display:inline-flex;
  align-items:center;
  min-height:37px;
  padding:7px 10px;
  border-radius:10px;
  font-weight:750;
}
body:not(.admin-page) .bd-path-game-chip small{
  font-size:11px;
  min-width:22px;
  min-height:22px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
}
body:not(.admin-page) .bd-home-paths :is(.bd-path-open,.bd-path-arrow){
  font-size:13px;
  font-weight:850;
}
body:not(.admin-page) .bd-home-paths .bd-path-open{
  min-height:40px;
  display:inline-flex;
  align-items:center;
}
body:not(.admin-page) .bd-panel-head{
  align-items:center;
  gap:12px;
  padding:21px 20px 16px;
}
body:not(.admin-page) .bd-panel-title{
  font-size:clamp(20px,2vw,26px);
  line-height:1.25;
  color:var(--bd-ui-ink);
}
body:not(.admin-page) .bd-panel-note{
  font-size:12px;
  line-height:1.45;
  font-weight:650;
}
body:not(.admin-page) .bd-main-panel .filterbar{
  gap:12px;
  margin:0 20px 16px;
}
body:not(.admin-page) .bd-main-panel .filter-btn{
  min-height:42px;
  font-size:13px;
  font-weight:800;
  padding:9px 13px;
  border:1px solid #d7dbe1;
  border-radius:11px;
  color:#344458;
  background:#f6f7fa;
}
body:not(.admin-page) .bd-main-panel .filter-btn.active,
body:not(.admin-page) .bd-main-panel .filter-btn[aria-pressed="true"]{
  border-color:var(--bd-ui-accent);
  background:var(--bd-ui-accent);
  color:#fff;
}
body:not(.admin-page) .bd-main-panel .game-select,
body:not(.admin-page) .bd-main-panel .search-wrap{
  min-height:45px;
  height:auto;
  border:1px solid #cdd5df;
  border-radius:11px;
  font-size:14px;
}
body:not(.admin-page) .bd-main-panel .search-wrap input{
  min-height:44px;
  font-size:16px;
  color:var(--bd-ui-ink);
}
body:not(.admin-page) .bd-main-panel .search-wrap input::placeholder{color:#5a6878;opacity:1}
body:not(.admin-page) .bd-list-head{
  color:#485568;
  font-size:11px;
  letter-spacing:.045em;
  background:#f8f6fb;
  border-color:#e7e0ed;
}
body:not(.admin-page) .bd-rewards .reward-card,
body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
  border-bottom:1px solid var(--bd-ui-line);
  min-height:110px;
  padding:15px 18px;
  column-gap:12px;
  background:#fff;
}
body:not(.admin-page) .bd-rewards .reward-card:nth-child(even),
body:not(.admin-page) .rewards-grid.bd-rewards .reward-card:nth-child(even){
  background:#fcfbff;
}
body:not(.admin-page) .bd-rewards .reward-card:hover,
body:not(.admin-page) .bd-rewards .reward-card:focus-within{
  background:#f6f1ff;
}
body:not(.admin-page) .bd-reward-main{gap:12px}
body:not(.admin-page) .bd-thumb{
  flex:0 0 68px;
  width:68px;
  height:68px;
  border-radius:14px;
  border-color:#dcd2ed;
}
body:not(.admin-page) .bd-thumb img.reward-type-cover{
  max-width:70%;
  width:46px;
  height:46px;
}
body:not(.admin-page) .bd-reward-text h3{
  font-size:clamp(15px,1.32vw,17px);
  line-height:1.35;
  font-weight:850;
  margin:0 0 5px;
  color:var(--bd-ui-ink);
}
body:not(.admin-page) .bd-reward-game{
  color:#37465c;
  font-size:12px;
  font-weight:800;
}
body:not(.admin-page) .bd-reward-subtext{
  font-size:12px;
  line-height:1.4;
}
body:not(.admin-page) .bd-time strong{
  font-size:12px;
  color:#354259;
  line-height:1.5;
}
body:not(.admin-page) .bd-time time{
  color:#30364a;
  font-weight:850;
}
body:not(.admin-page) .bd-time>span{
  font-size:11px;
  line-height:1.45;
}
body:not(.admin-page) :is(.bd-type,.bd-active,.bd-new){
  font-size:11px;
  line-height:1.25;
  min-height:27px;
  display:inline-flex;
  align-items:center;
  letter-spacing:0;
  text-overflow:clip;
  white-space:normal;
}
body:not(.admin-page) .bd-tags{align-items:center;gap:6px}
body:not(.admin-page) .bd-rewards .reward-action{
  width:100%;
  min-height:46px;
  max-width:188px;
  padding:11px 13px;
  border-radius:12px;
  font-size:13px;
  font-weight:850;
  line-height:1.3;
  white-space:normal;
  overflow-wrap:break-word;
  text-align:center;
  background:var(--bd-ui-green);
  border-color:var(--bd-ui-green);
  color:#fff;
}
body:not(.admin-page) .bd-rewards .reward-action:hover{
  background:#075e3a;
  border-color:#075e3a;
}
body:not(.admin-page) .bd-detail-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  font-size:12px;
  color:var(--bd-ui-accent);
  font-weight:800;
}
body:not(.admin-page) :is(.game-tile,.guide-card,.bd-home-path):focus-visible{
  outline:3px solid #7b48c9;
  outline-offset:3px;
}
body:not(.admin-page) :is(.guide-card,.game-tile,.bd-home-path) h3{
  overflow-wrap:break-word;
}
body:not(.admin-page) .game-banner{
  padding:clamp(17px,2.2vw,28px);
  border-color:var(--bd-ui-line);
}
body:not(.admin-page) .game-banner h1{
  font-size:clamp(28px,3vw,40px);
  line-height:1.2;
}
body:not(.admin-page) .bd-game-rewards .rewards-grid.bd-rewards{
  margin-bottom:16px;
}
body:not(.admin-page) .guide-box h2{
  font-size:clamp(20px,2.1vw,26px);
  line-height:1.27;
}
body:not(.admin-page) .game-tile-copy strong{
  color:var(--bd-ui-ink);
  font-size:clamp(13px,1.25vw,16px);
}
body:not(.admin-page) .game-tile-copy small{font-size:12px;color:#506176;line-height:1.45}
body:not(.admin-page) .game-tile{
  border-radius:16px;
  min-height:89px;
}
body:not(.admin-page) .bd-path-game-chip[data-has-gifts="false"] small{
  color:#606d7a;
}
/* Prevent desktop table rows from over-compressing at laptop/tablet widths. */
@media(max-width:1190px){
  body:not(.admin-page) .bd-content{
    grid-template-columns:minmax(0,1fr);
    gap:17px;
  }
  body:not(.admin-page) .bd-news-panel{
    display:block;
    width:100%;
    max-width:none;
  }
}
@media(max-width:960px){
  body:not(.admin-page) .bd-list-head{display:none}
  body:not(.admin-page) .bd-rewards .reward-card,
  body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
    grid-template-columns:minmax(0,1fr) minmax(120px,auto);
    gap:10px 16px;
  }
  body:not(.admin-page) .bd-reward-main{grid-column:1/-1}
  body:not(.admin-page) .bd-time{grid-column:1;grid-row:auto}
  body:not(.admin-page) .bd-tags{grid-column:1;grid-row:auto}
  body:not(.admin-page) .bd-action{
    grid-column:2;
    grid-row:2/span 2;
    justify-content:center;
    align-items:stretch;
    min-width:140px;
  }
  body:not(.admin-page) .bd-rewards .reward-action{max-width:none}
}
@media(max-width:760px){
  html{scroll-padding-top:78px}
  body:not(.admin-page) .container{
    width:min(var(--max),calc(100% - 28px));
  }
  body:not(.admin-page) .bd-hero{
    padding:20px 17px;
    margin-top:10px;
    border-radius:16px;
  }
  body:not(.admin-page) .bd-hero h1{font-size:clamp(29px,7.2vw,39px)}
  body:not(.admin-page) .bd-hero-copy>p{font-size:15px;line-height:1.6}
  body:not(.admin-page) .bd-home-paths{gap:10px}
  body:not(.admin-page) .bd-home-path{
    padding:15px 13px;
    border-radius:14px;
  }
  body:not(.admin-page) .bd-home-path-games .bd-path-description{
    display:block;
    font-size:13px;
  }
  body:not(.admin-page) .bd-path-game-chip{min-height:44px}
  body:not(.admin-page) .bd-farm-follow{min-height:46px;font-size:12px}
  body:not(.admin-page) .bd-panel-head{
    padding:18px 15px 12px;
    align-items:flex-start;
  }
  body:not(.admin-page) .bd-panel-title{font-size:21px}
  body:not(.admin-page) .bd-panel-note{font-size:12px}
  body:not(.admin-page) .bd-main-panel .filterbar{
    margin:0 15px 14px;
  }
  body:not(.admin-page) .bd-main-panel .filter-tabs{
    gap:7px;
    padding-bottom:8px;
    scroll-snap-type:x proximity;
  }
  body:not(.admin-page) .bd-main-panel .filter-btn{
    min-height:45px;
    font-size:13px;
    padding:10px 14px;
    flex:none;
    scroll-snap-align:start;
  }
  body:not(.admin-page) .bd-main-panel .filter-tools{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    width:100%;
  }
  body:not(.admin-page) .bd-main-panel .game-select,
  body:not(.admin-page) .bd-main-panel .search-wrap{
    width:100%;
    max-width:none;
    min-width:0;
    min-height:48px;
  }
  body:not(.admin-page) .bd-rewards .reward-card,
  body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
    grid-template-columns:minmax(0,1fr);
    row-gap:8px;
    padding:15px 15px 17px;
  }
  body:not(.admin-page) .bd-reward-main{
    grid-column:1;
    grid-row:auto;
    gap:11px;
  }
  body:not(.admin-page) .bd-thumb{width:64px;height:64px;flex-basis:64px}
  body:not(.admin-page) .bd-reward-text h3{font-size:16px;line-height:1.35}
  body:not(.admin-page) .bd-time{
    grid-column:1;
    grid-row:auto;
    gap:2px;
  }
  body:not(.admin-page) .bd-time strong{font-size:12px}
  body:not(.admin-page) .bd-time>span{font-size:12px}
  body:not(.admin-page) .bd-tags{
    grid-column:1;
    grid-row:auto;
    gap:6px;
  }
  body:not(.admin-page) .bd-action{
    grid-column:1;
    grid-row:auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(90px,auto);
    justify-content:stretch;
    align-items:stretch;
    gap:9px;
    min-width:0;
    margin-top:4px;
  }
  body:not(.admin-page) .bd-rewards .reward-action{
    min-height:49px;
    max-width:none;
    width:100%;
    padding:10px 12px;
    font-size:14px;
  }
  body:not(.admin-page) .bd-detail-link{
    min-height:49px;
    padding:8px 13px;
    border:1px solid #cfc1e4;
    border-radius:11px;
    color:#4f2e85;
    background:#fff;
    font-size:13px;
  }
  body:not(.admin-page) .game-banner{padding:17px 15px;gap:13px}
  body:not(.admin-page) .game-banner h1{font-size:clamp(27px,7vw,36px)}
  body:not(.admin-page) .game-banner .bd-game-jump{width:100%;max-width:none;text-align:center}
  body:not(.admin-page) .guide-box{border-radius:15px}
  body:not(.admin-page) .bd-news-panel .bd-news-copy{min-width:0}
  body:not(.admin-page) .bd-news-panel .bd-news-copy h3{font-size:15px;line-height:1.4}
  body:not(.admin-page) .game-tile{
    min-height:85px;
    gap:10px;
  }
  body.bd-quick-actions:not(.admin-page){
    padding-bottom:calc(78px + env(safe-area-inset-bottom));
  }
  .bd-ux-quickbar{
    position:fixed;
    z-index:28;
    inset:auto 13px calc(10px + env(safe-area-inset-bottom)) 13px;
    display:flex;
    align-items:center;
    gap:8px;
    max-width:520px;
    margin-inline:auto;
    padding:7px;
    border:1px solid #d9d1e6;
    border-radius:16px;
    background:rgba(255,255,255,.97);
    box-shadow:0 10px 34px rgba(39,23,71,.2);
  }
  .bd-ux-quickbar a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:46px;
    padding:9px 12px;
    border-radius:11px;
    font-size:14px;
    font-weight:850;
    line-height:1.25;
    text-decoration:none;
  }
  .bd-ux-quickbar .bd-ux-jump{
    flex:1;
    background:#087546;
    color:#fff;
  }
  .bd-ux-quickbar .bd-ux-top{
    flex:0 0 100px;
    background:#f3effa;
    color:#43246f;
  }
  .bd-ux-quickbar a:focus-visible{outline:3px solid #8b5bd0;outline-offset:2px}
}
@media(max-width:540px){
  body:not(.admin-page) .bd-main-panel .filter-tools{grid-template-columns:minmax(0,1fr)}
  body:not(.admin-page) .bd-hero h1{line-height:1.16}
  body:not(.admin-page) .bd-path-game-chip{font-size:12px}
  body:not(.admin-page) .bd-path-game-chip small{font-size:11px}
  body:not(.admin-page) .bd-reward-text h3{font-size:15px}
}
@media(min-width:761px){
  .bd-ux-quickbar{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .bd-ux-quickbar *,
  body:not(.admin-page) :is(.bd-home-path,.reward-action,.guide-card,.game-tile){transition:none!important}
}
@media(forced-colors:active){
  .bd-ux-quickbar{border:2px solid CanvasText}
  .bd-ux-quickbar a{border:1px solid LinkText}
}


/* BonoDrop phase 01: game AND prize are equally readable.
   Presentation-only: uses existing per-game/per-resource SVGs and never changes
   reward eligibility, redirects, analytics, cache, or D1 operations. */
:root{
  --bd-reward-head-size:18px;
}
body:not(.admin-page) .bd-rewards .reward-card[data-game="farmville-2"]{--bd-game-accent:#76530b;--bd-game-wash:#fff4d7}
body:not(.admin-page) .bd-rewards .reward-card[data-game="monopoly-go"]{--bd-game-accent:#5e31a0;--bd-game-wash:#f1eaff}
body:not(.admin-page) .bd-rewards .reward-card[data-game="coin-master"]{--bd-game-accent:#8c4c18;--bd-game-wash:#fff1df}
body:not(.admin-page) .bd-rewards .reward-card[data-game="travel-town"]{--bd-game-accent:#156f82;--bd-game-wash:#e8faff}
body:not(.admin-page) .bd-rewards .reward-card[data-game="family-island"]{--bd-game-accent:#996125;--bd-game-wash:#fff2dc}
body:not(.admin-page) .bd-rewards .reward-card[data-game="dice-dreams"]{--bd-game-accent:#654aa3;--bd-game-wash:#f2ebff}
body:not(.admin-page) .bd-rewards .reward-card[data-game="gossip-harbor"]{--bd-game-accent:#94506c;--bd-game-wash:#fff0f5}
body:not(.admin-page) .bd-rewards .reward-card[data-game="seaside-escape"]{--bd-game-accent:#126b87;--bd-game-wash:#e9f8ff}
body:not(.admin-page) .bd-rewards .reward-card[data-game="solitaire-grand-harvest"]{--bd-game-accent:#38734a;--bd-game-wash:#eaf8eb}
body:not(.admin-page) .bd-rewards .reward-card[data-game="match-masters"]{--bd-game-accent:#6944a2;--bd-game-wash:#f0eaff}
body:not(.admin-page) .bd-rewards .reward-card[data-game="animals-coins"]{--bd-game-accent:#88701c;--bd-game-wash:#fff8e0}
body:not(.admin-page) .bd-rewards .bd-reward-main{align-items:center;gap:15px}
body:not(.admin-page) .bd-rewards .bd-reward-text{display:flex;flex-direction:column;gap:3px;min-width:0}
body:not(.admin-page) .bd-rewards .bd-reward-text h3,
body:not(.admin-page) .bd-rewards .bd-reward-game{
  font-size:var(--bd-reward-head-size);
  line-height:1.31;
  font-weight:850;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
body:not(.admin-page) .bd-rewards .bd-reward-text h3{margin:0;color:#211b35}
body:not(.admin-page) .bd-rewards .bd-reward-text h3 a{color:inherit}
body:not(.admin-page) .bd-rewards .bd-reward-game{
  display:block;
  color:var(--bd-game-accent,#5e31a0);
}
body:not(.admin-page) .bd-rewards .bd-reward-subtext{
  color:#4d5969;font-size:13px;line-height:1.4;
}
body:not(.admin-page) .bd-rewards .bd-thumb{
  flex:0 0 88px;width:88px;height:88px;min-width:88px;
  background:var(--bd-game-wash,#f2edfb);
  border:1px solid #ded4ea;border-radius:17px;
  overflow:hidden;
}
body:not(.admin-page) .bd-rewards .bd-thumb img.reward-game-cover{
  display:block;width:100%;height:100%;object-fit:cover;opacity:.8;
}
body:not(.admin-page) .bd-rewards .bd-thumb img.reward-type-cover{
  position:absolute;inset:10px auto auto 10px;
  display:block;width:66px;height:66px;max-width:none;
  object-fit:contain;transform:none;
  filter:drop-shadow(0 3px 4px rgba(33,23,53,.2));
}
@media(max-width:760px){
  :root{--bd-reward-head-size:17px}
  body:not(.admin-page) .bd-rewards .bd-reward-main{gap:12px;align-items:center}
  body:not(.admin-page) .bd-rewards .bd-thumb{
    flex-basis:82px;width:82px;height:82px;min-width:82px;
  }
  body:not(.admin-page) .bd-rewards .bd-thumb img.reward-type-cover{
    inset:9px auto auto 9px;width:62px;height:62px;
  }
}
@media(max-width:360px){
  body:not(.admin-page) .bd-rewards .bd-thumb{
    flex-basis:72px;width:72px;height:72px;min-width:72px;
  }
  body:not(.admin-page) .bd-rewards .bd-thumb img.reward-type-cover{
    inset:7px auto auto 7px;width:56px;height:56px;
  }
}
@media(prefers-reduced-motion:reduce){
  body:not(.admin-page) .bd-rewards .bd-thumb,
  body:not(.admin-page) .bd-rewards .bd-reward-text{transition:none}
}


/* Phase 02 — reward-first homepage. No new requests or storage changes.
   All page-specific selectors are driven by existing homepage markup. */
body:not(.admin-page) .bd-hero{
  padding:clamp(18px,2vw,27px) clamp(17px,2.2vw,29px);
  grid-template-columns:minmax(0,1fr) minmax(130px,210px);
  align-items:center;
  gap:16px;
}
body:not(.admin-page) .bd-hero h1{font-size:clamp(28px,3.25vw,43px);line-height:1.13}
body:not(.admin-page) .bd-hero-copy>p{margin-bottom:10px;max-width:620px}
body:not(.admin-page) .bd-hero-features{gap:6px;row-gap:5px}
body:not(.admin-page) .bd-hero-features .bd-feature{font-size:11px;padding:4px 7px;line-height:1.3}
body:not(.admin-page) .bd-hero-art{height:180px;min-height:0}
body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:195px;height:185px;max-height:100%;object-fit:contain;
}
body:not(.admin-page) .bd-hero-actions{
  display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-top:15px;
}
body:not(.admin-page) .bd-hero-actions a{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;padding:10px 15px;border-radius:12px;
  font-size:14px;font-weight:850;line-height:1.3;text-decoration:none;
  transition:background-color .15s ease,border-color .15s ease;
}
body:not(.admin-page) .bd-hero-actions .bd-svg-icon{width:19px;height:19px;flex:none}
body:not(.admin-page) .bd-hero-rewards-link{background:#6031ad;color:#fff;border:1px solid #6031ad}
body:not(.admin-page) .bd-hero-rewards-link:hover{background:#4c238d;color:#fff}
body:not(.admin-page) .bd-hero-farm-link{background:#fffaf0;color:#6d5119;border:1px solid #dfbf74}
body:not(.admin-page) .bd-hero-farm-link:hover{background:#fff0c8;color:#513b11}
body:not(.admin-page) .bd-hero-actions a:focus-visible{outline:3px solid #9d75e4;outline-offset:3px}
body:not(.admin-page) .bd-home-paths{margin-top:12px;gap:13px;align-items:stretch}
body:not(.admin-page) .bd-home-paths>.bd-home-path{padding:15px 16px}
body:not(.admin-page) .bd-home-paths .bd-home-path-games .bd-path-description{
  display:block;font-size:13px;line-height:1.4;
}
body:not(.admin-page) .bd-home-path-games .bd-path-game-list{margin:9px 0 6px;gap:7px}
body:not(.admin-page) .bd-home-path-games .bd-path-game-chip{
  min-height:36px;padding:6px 9px;font-size:13px;line-height:1.3;
}
body:not(.admin-page) .bd-path-latest{
  margin:10px 0 12px;padding:11px;
  border:1px solid #dcd1f1;border-radius:14px;background:#fff;
}
body:not(.admin-page) .bd-path-latest-head{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  justify-content:space-between;margin-bottom:9px;
}
body:not(.admin-page) .bd-path-latest-head>strong{
  color:#452584;font-size:13px;line-height:1.3;font-weight:850;
}
body:not(.admin-page) .bd-path-latest-head>a{
  font-size:12px;color:#5b35a0;font-weight:800;text-underline-offset:3px;
}
body:not(.admin-page) .bd-path-latest-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
body:not(.admin-page) .bd-path-latest-card{
  display:flex;align-items:center;gap:8px;min-width:0;min-height:64px;
  padding:7px;border:1px solid #e8e2f0;border-radius:11px;
  background:#fcfbff;text-decoration:none;
}
body:not(.admin-page) .bd-path-latest-card:hover,
body:not(.admin-page) .bd-path-latest-card:focus-visible{
  border-color:#9d79d9;background:#f4edff;
}
body:not(.admin-page) .bd-path-latest-card:focus-visible{outline:2px solid #6c37cb;outline-offset:2px}
body:not(.admin-page) .bd-path-latest-art{
  display:grid;place-items:center;flex:0 0 49px;width:49px;height:49px;
  border:1px solid #e1d6f4;border-radius:11px;background:#f3edff;overflow:hidden;
}
body:not(.admin-page) .bd-path-latest-art[data-game="coin-master"],
body:not(.admin-page) .bd-path-latest-art[data-game="family-island"]{background:#fff0da}
body:not(.admin-page) .bd-path-latest-art[data-game="travel-town"],
body:not(.admin-page) .bd-path-latest-art[data-game="seaside-escape"]{background:#e8faff}
body:not(.admin-page) .bd-path-latest-art img{width:43px;height:43px;object-fit:contain}
body:not(.admin-page) .bd-path-latest-meta{display:flex;flex:1;flex-direction:column;min-width:0;gap:2px}
body:not(.admin-page) .bd-path-latest-meta strong{
  color:#51318b;font-size:15px;line-height:1.3;font-weight:850;overflow-wrap:anywhere;
}
body:not(.admin-page) .bd-path-latest-meta>span{
  color:#2c2b3a;font-size:15px;line-height:1.3;font-weight:750;overflow-wrap:anywhere;
}
body:not(.admin-page) .bd-path-latest-arrow{flex:none;color:#6940a7;font-weight:850;font-size:15px}
body:not(.admin-page) .bd-home-farm-art{
  display:block;flex:0 0 116px;width:116px;height:86px;max-width:25%;
  object-fit:cover;border-radius:13px;border:1px solid #efd69a;
  box-shadow:0 5px 12px rgba(100,70,16,.12);
}
body:not(.admin-page) .bd-home-path-farm .bd-path-text>strong{font-size:18px;line-height:1.3}
body:not(.admin-page) .bd-home-path-farm .bd-path-text>span{font-size:13px;line-height:1.4}
body:not(.admin-page) .bd-home-path-farm .bd-path-text>small{font-size:13px;font-weight:850}
body:not(.admin-page) .bd-home-paths+.bd-content{margin-top:12px}
@media(max-width:970px){
  body:not(.admin-page) .bd-hero{grid-template-columns:minmax(0,1fr) 160px}
  body:not(.admin-page) .bd-hero-art{height:155px}
  body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{height:155px;width:160px}
  body:not(.admin-page) .bd-home-paths{grid-template-columns:minmax(0,1fr)}
  body:not(.admin-page) .bd-path-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.admin-page) .bd-home-farm-art{max-width:23%}
}
@media(max-width:760px){
  body:not(.admin-page) .bd-hero{grid-template-columns:minmax(0,1fr);gap:3px}
  body:not(.admin-page) .bd-hero h1{font-size:clamp(27px,7vw,36px)}
  body:not(.admin-page) .bd-hero-features .bd-feature{font-size:11px}
  body:not(.admin-page) .bd-hero-actions{margin-top:12px;gap:8px}
  body:not(.admin-page) .bd-hero-actions a{min-height:46px;font-size:13px;padding:10px 12px}
  body:not(.admin-page) .bd-hero-art{height:110px;min-height:0;margin-top:0}
  body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{height:115px;width:120px}
  body:not(.admin-page) .bd-home-paths{gap:10px}
  body:not(.admin-page) .bd-home-paths>.bd-home-path{padding:14px}
  body:not(.admin-page) .bd-path-latest-grid{grid-template-columns:minmax(0,1fr)}
  body:not(.admin-page) .bd-home-farm-art{flex-basis:96px;width:96px;height:77px;max-width:27%}
}
@media(max-width:380px){
  body:not(.admin-page) .bd-hero-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  body:not(.admin-page) .bd-hero-actions a{font-size:12px;padding:9px 7px}
  body:not(.admin-page) .bd-hero-art{height:93px}
  body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{height:98px;width:105px}
  body:not(.admin-page) .bd-home-farm-art{width:79px;height:65px;flex-basis:79px;max-width:25%}
  body:not(.admin-page) .bd-home-path-farm .bd-path-arrow{display:none}
}
@media(prefers-reduced-motion:reduce){
  body:not(.admin-page) .bd-hero-actions a{transition:none}
}


/* Phase 02.1: balance homepage columns instead of cramming the game links
   into a flexible chip cloud and leaving the FarmVille column mostly empty. */
@media(min-width:971px){
 body:not(.admin-page) .bd-home-paths{
  display:grid;grid-template-columns:minmax(0,1.52fr) minmax(305px,.95fr);
  column-gap:16px;align-items:stretch;
 }
 body:not(.admin-page) .bd-home-paths>.bd-home-path,
 body:not(.admin-page) .bd-home-paths>.bd-farm-home-stack{min-width:0}
 body:not(.admin-page) .bd-home-paths>.bd-farm-home-stack{
  align-self:stretch;height:100%;
 }
}
body:not(.admin-page) .bd-home-paths>.bd-home-path-games{
 align-items:flex-start;min-width:0;
}
body:not(.admin-page) .bd-home-path-games .bd-path-text{min-width:0;width:100%}
body:not(.admin-page) .bd-home-path-games .bd-path-game-list{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 align-items:stretch;gap:9px;margin:13px 0;
}
body:not(.admin-page) .bd-home-path-games .bd-path-game-chip{
 display:flex;justify-content:space-between;align-items:center;
 gap:9px;width:100%;max-width:none;min-width:0;
 min-height:46px;padding:9px 11px;border-radius:12px;
 font-size:14px;line-height:1.35;
 border:1px solid #d9c9ef;background:#fff;color:#492678;
}
body:not(.admin-page) .bd-home-path-games .bd-path-game-chip span{
 min-width:0;overflow-wrap:break-word;word-break:normal;
}
body:not(.admin-page) .bd-home-path-games .bd-path-game-chip small{
 flex:none;min-width:27px;min-height:25px;padding:3px 6px;
 font-size:12px;line-height:1.3;
}
body:not(.admin-page) .bd-path-latest{margin:12px 0;padding:12px}
body:not(.admin-page) .bd-path-latest-card{min-height:72px;padding:10px;gap:11px}
body:not(.admin-page) .bd-home-path-games .bd-path-footer{
 display:flex;align-items:center;justify-content:space-between;
 flex-wrap:wrap;gap:8px;padding-top:2px;
}
body:not(.admin-page) .bd-farm-home-stack{display:flex;flex-direction:column;gap:12px;min-width:0}
body:not(.admin-page) .bd-farm-home-stack>.bd-home-path-farm{
 align-items:center;min-width:0;
}
body:not(.admin-page) .bd-farm-home-stack .bd-home-farm-art{
 width:80px;height:68px;flex-basis:80px;max-width:22%;object-fit:cover;
}
body:not(.admin-page) .bd-farm-home-stack .bd-home-path-farm .bd-path-arrow{display:none}
body:not(.admin-page) .bd-farm-quick-panel{
 flex:1;display:flex;flex-direction:column;gap:11px;
 padding:15px;border:1px solid #ebd7a4;border-radius:16px;
 background:linear-gradient(140deg,#fffaf0,#fffefb);
 min-width:0;
}
body:not(.admin-page) .bd-farm-quick-header{
 display:flex;align-items:start;justify-content:space-between;
 flex-wrap:wrap;gap:6px;
}
body:not(.admin-page) .bd-farm-quick-header strong{
 color:#5d451b;font-size:15px;line-height:1.35;font-weight:850;
}
body:not(.admin-page) .bd-farm-quick-header>a{
 color:#765313;font-size:12px;line-height:1.4;font-weight:800;
 text-underline-offset:3px;
}
body:not(.admin-page) .bd-farm-quick-list{display:grid;grid-template-columns:1fr;gap:9px}
body:not(.admin-page) .bd-farm-quick-item{
 display:flex;align-items:center;gap:11px;
 min-height:64px;min-width:0;padding:9px;
 border:1px solid #ebdfc1;background:#fff;border-radius:12px;
 text-decoration:none;
}
body:not(.admin-page) .bd-farm-quick-item:hover,
body:not(.admin-page) .bd-farm-quick-item:focus-visible{
 border-color:#d0a54f;background:#fff7e5;
}
body:not(.admin-page) .bd-farm-quick-item:focus-visible{outline:2px solid #966a18;outline-offset:2px}
body:not(.admin-page) .bd-farm-quick-icon{
 display:grid;place-items:center;flex:0 0 50px;
 width:50px;height:50px;border-radius:11px;
 border:1px solid #f0d7a1;background:#fff1d4;
}
body:not(.admin-page) .bd-farm-quick-icon img{width:44px;height:44px;object-fit:contain}
body:not(.admin-page) .bd-farm-quick-meta{
 display:flex;flex-direction:column;flex:1;min-width:0;gap:3px;
}
body:not(.admin-page) .bd-farm-quick-meta strong,
body:not(.admin-page) .bd-farm-quick-meta>span{
 font-size:14px;line-height:1.3;font-weight:800;overflow-wrap:anywhere;
}
body:not(.admin-page) .bd-farm-quick-meta strong{color:#483118}
body:not(.admin-page) .bd-farm-quick-meta>span{color:#8d681f}
body:not(.admin-page) .bd-farm-quick-arrow{flex:none;color:#8c641e;font-weight:900}
@media(min-width:701px) and (max-width:970px){
 body:not(.admin-page) .bd-farm-quick-list{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
 body:not(.admin-page) .bd-farm-quick-item{align-items:start;min-height:92px}
 body:not(.admin-page) .bd-farm-quick-icon{flex-basis:42px;width:42px;height:42px}
 body:not(.admin-page) .bd-farm-quick-icon img{width:38px;height:38px}
 body:not(.admin-page) .bd-farm-quick-arrow{display:none}
}
@media(max-width:700px){
 body:not(.admin-page) .bd-home-path-games .bd-path-game-list{gap:8px}
 body:not(.admin-page) .bd-home-path-games .bd-path-game-chip{
  font-size:13px;min-height:46px;padding:9px;
 }
 body:not(.admin-page) .bd-farm-quick-panel{padding:12px;gap:9px}
 body:not(.admin-page) .bd-farm-quick-item{min-height:58px;padding:8px}
}
@media(max-width:440px){
 body:not(.admin-page) .bd-home-path-games .bd-path-game-list{
  grid-template-columns:1fr;gap:7px;
 }
 body:not(.admin-page) .bd-home-path-games .bd-path-game-chip{
  min-height:44px;font-size:14px;padding:8px 11px;
 }
 body:not(.admin-page) .bd-path-latest-card{padding:9px}
 body:not(.admin-page) .bd-farm-home-stack .bd-home-farm-art{max-width:20%}
}
@media(prefers-reduced-motion:reduce){
 body:not(.admin-page) .bd-farm-quick-item{transition:none}
}


/* Phase 03 — Claim-first compact UX, 2026-10-31.
   Presentational only. Keep original text, claim destinations and metadata. */
body:not(.admin-page) .bd-hero{
 min-height:0;
 padding:16px clamp(16px,2.3vw,26px);
 gap:12px;
}
body:not(.admin-page) .bd-hero-copy{
 display:flex;flex-wrap:wrap;align-items:center;align-content:center;
 column-gap:12px;row-gap:0;min-width:0;
}
body:not(.admin-page) .bd-hero .bd-kicker,
body:not(.admin-page) .bd-hero h1,
body:not(.admin-page) .bd-hero-copy>p{flex:0 0 100%;min-width:0}
body:not(.admin-page) .bd-hero .bd-kicker{margin-bottom:6px}
body:not(.admin-page) .bd-hero h1{
 margin-bottom:6px;font-size:clamp(26px,3vw,39px);line-height:1.13;
}
body:not(.admin-page) .bd-hero-copy>p{
 font-size:clamp(13px,1.1vw,14px);line-height:1.45;
 margin-bottom:11px;
}
body:not(.admin-page) .bd-hero-features{
 flex:0 1 auto;display:flex;flex-wrap:wrap;
 gap:6px;align-items:center;margin:0;
}
body:not(.admin-page) .bd-hero-features .bd-feature{
 min-height:34px;padding:4px 7px;font-size:11px;
 white-space:nowrap;line-height:1.2;
}
body:not(.admin-page) .bd-hero-features .bd-feature-icon{
 flex:none;width:23px;height:23px;border-radius:8px;
}
body:not(.admin-page) .bd-hero-actions{
 flex:0 1 auto;display:flex;align-items:center;flex-wrap:nowrap;
 gap:8px;margin:0;
}
body:not(.admin-page) .bd-hero-actions a{
 min-height:40px;padding:8px 11px;
 border-radius:10px;font-size:12px;line-height:1.25;
 white-space:nowrap;
}
body:not(.admin-page) .bd-hero-actions .bd-svg-icon{
 width:17px;height:17px;
}
body:not(.admin-page) .bd-hero-art{height:134px}
body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
 width:148px;height:144px;max-height:100%;
}
/* Reward titles and game names keep their equal typographic priority.
   Reduce repetitive chrome first, then make redeeming unmistakable. */
body:not(.admin-page) .bd-rewards .reward-card,
body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
 min-height:0;padding:9px 13px;gap:7px 12px;
}
body:not(.admin-page) .bd-rewards .bd-reward-main{gap:10px;min-width:0}
body:not(.admin-page) .bd-rewards .bd-thumb{
 flex:0 0 70px;width:70px;height:70px;min-width:70px;
 border-radius:12px;
}
body:not(.admin-page) .bd-rewards .bd-thumb img.reward-type-cover{
 width:54px;height:54px;inset:7px auto auto 7px;
}
body:not(.admin-page) .bd-rewards .bd-reward-text{
 gap:2px;min-width:0;
}
body:not(.admin-page) .bd-rewards .bd-reward-text h3,
body:not(.admin-page) .bd-rewards .bd-reward-game{
 font-size:16px;line-height:1.29;font-weight:850;
}
body:not(.admin-page) .bd-rewards .bd-reward-subtext{
 display:none; /* Prize category remains in the accessible status chip. */
}
body:not(.admin-page) .bd-rewards .bd-tags{gap:5px}
body:not(.admin-page) .bd-rewards :is(.bd-type,.bd-active,.bd-new){
 min-height:23px;padding:3px 7px;
 font-size:10px;line-height:1.25;
}
body:not(.admin-page) .bd-rewards .bd-time{gap:0}
body:not(.admin-page) .bd-rewards .bd-time strong{
 font-size:11px;line-height:1.35;font-weight:650;
 color:#556171;
}
body:not(.admin-page) .bd-rewards .bd-time>span{
 display:none; /* Repeated caution also appears in the listing's page notice. */
}
body:not(.admin-page) .bd-rewards .bd-action{
 gap:2px;justify-content:center;min-width:0;
}
body:not(.admin-page) .bd-rewards .reward-action{
 min-height:46px;max-width:none;width:100%;padding:10px 12px;
 font-size:14px;line-height:1.28;font-weight:900;
 border-radius:11px;background:#067544;border-color:#067544;
 box-shadow:0 3px 7px rgba(6,100,58,.12);
}
body:not(.admin-page) .bd-rewards .reward-action:focus-visible{
 outline:3px solid #5126a4;outline-offset:2px;
}
body:not(.admin-page) .bd-rewards .bd-detail-link{
 min-height:24px;font-size:11px;line-height:1.3;
}
body:not(.admin-page) .bd-main-panel .bd-panel-note{
 font-size:11px;font-weight:650;color:#697486;
}
@media(min-width:1191px){
 body:not(.admin-page) .bd-rewards .reward-card,
 body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
  grid-template-columns:minmax(0,1.7fr) minmax(114px,.85fr) minmax(88px,.72fr) minmax(124px,.8fr);
 }
}
/* Laptop and compact-desktop mode: reward and claim side by side;
   don't squeeze four microscopic table columns onto a small screen. */
@media(max-width:1190px){
 body:not(.admin-page) .bd-list-head{display:none}
 body:not(.admin-page) .bd-rewards .reward-card,
 body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
  grid-template-columns:minmax(0,1fr) clamp(128px,26%,180px);
  grid-template-areas:"main action" "tags when";
  align-items:center;gap:5px 12px;
 }
 body:not(.admin-page) .bd-rewards .bd-reward-main{
  grid-area:main;min-width:0;
 }
 body:not(.admin-page) .bd-rewards .bd-tags{
  grid-area:tags;align-self:start;
 }
 body:not(.admin-page) .bd-rewards .bd-time{
  grid-area:when;align-self:center;min-width:0;
 }
 body:not(.admin-page) .bd-rewards .bd-action{
  grid-area:action;display:flex;flex-direction:column;
  justify-content:center;align-items:stretch;
  min-width:0;margin:0;
 }
}
@media(max-width:760px){
 body:not(.admin-page) .bd-hero{
  position:relative;display:block;padding:13px 13px 15px;
  margin-top:9px;
 }
 body:not(.admin-page) .bd-hero-copy{display:block}
 body:not(.admin-page) .bd-hero .bd-kicker{
  font-size:9px;letter-spacing:.08em;margin-bottom:6px;
 }
 body:not(.admin-page) .bd-hero h1{
  font-size:clamp(24px,6.3vw,30px);line-height:1.13;
  max-width:calc(100% - 72px);margin-bottom:7px;
 }
 body:not(.admin-page) .bd-hero-copy>p{
  font-size:12px;line-height:1.4;
  max-width:calc(100% - 73px);margin-bottom:11px;
 }
 body:not(.admin-page) .bd-hero-art{
  position:absolute;right:5px;top:18px;
  height:100px;width:104px;min-height:0;
  margin:0;pointer-events:none;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:99px;height:100px;max-height:100%;
 }
 body:not(.admin-page) .bd-hero-features{
  width:100%;max-width:100%;flex-wrap:nowrap;
  overflow-x:auto;overscroll-behavior-x:contain;
  gap:6px;padding:1px 1px 6px;scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature{
  flex:0 0 auto;font-size:10px;min-height:30px;padding:3px 6px;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature-icon{
  width:20px;height:20px;
 }
 body:not(.admin-page) .bd-hero-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  width:100%;max-width:100%;gap:8px;margin-top:3px;
 }
 body:not(.admin-page) .bd-hero-actions a{
  width:100%;min-width:0;min-height:44px;
  white-space:normal;overflow-wrap:break-word;
  padding:7px 8px;font-size:12px;text-align:center;
 }
 body:not(.admin-page) .bd-rewards .reward-card,
 body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
  grid-template-columns:minmax(0,1fr) minmax(112px,32%);
  grid-template-areas:"main action" "tags when";
  gap:5px 9px;padding:9px 11px;
 }
 body:not(.admin-page) .bd-rewards .bd-thumb{
  flex:0 0 62px;width:62px;height:62px;min-width:62px;
 }
 body:not(.admin-page) .bd-rewards .bd-thumb img.reward-type-cover{
  inset:6px auto auto 6px;width:48px;height:48px;
 }
 body:not(.admin-page) .bd-rewards .bd-reward-main{gap:9px}
 body:not(.admin-page) .bd-rewards .bd-reward-text h3,
 body:not(.admin-page) .bd-rewards .bd-reward-game{
  font-size:15px;line-height:1.3;
 }
 body:not(.admin-page) .bd-rewards .reward-action{
  min-height:46px;padding:8px 7px;font-size:13px;
 }
 body:not(.admin-page) .bd-rewards .bd-detail-link{
  min-height:23px;padding:2px 4px;border:0;
  background:transparent;font-size:11px;
 }
 body:not(.admin-page) .bd-rewards .bd-time strong{font-size:10px}
 body:not(.admin-page) .bd-rewards .bd-action{
  grid-area:action;display:flex;align-items:stretch;
  justify-content:center;min-width:0;margin:0;
 }
 body:not(.admin-page) .bd-rewards .bd-tags{
  grid-area:tags;align-items:center;
 }
 body:not(.admin-page) .bd-rewards .bd-time{grid-area:when}
}
@media(max-width:380px){
 body:not(.admin-page) .bd-hero h1{max-width:calc(100% - 65px)}
 body:not(.admin-page) .bd-hero-art{
  right:3px;top:26px;width:86px;height:89px;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:86px;height:89px;
 }
 body:not(.admin-page) .bd-hero-actions a{font-size:11px;padding:6px}
 body:not(.admin-page) .bd-rewards .reward-card,
 body:not(.admin-page) .rewards-grid.bd-rewards .reward-card{
  grid-template-columns:minmax(0,1fr) minmax(105px,35%);
  gap:4px 7px;padding:9px;
 }
 body:not(.admin-page) .bd-rewards .bd-thumb{
  flex-basis:55px;min-width:55px;width:55px;height:55px;
 }
 body:not(.admin-page) .bd-rewards .bd-thumb img.reward-type-cover{
  inset:5px auto auto 5px;width:43px;height:43px;
 }
 body:not(.admin-page) .bd-rewards .bd-reward-main{gap:7px}
 body:not(.admin-page) .bd-rewards .bd-reward-text h3,
 body:not(.admin-page) .bd-rewards .bd-reward-game{font-size:14px}
 body:not(.admin-page) .bd-rewards .bd-time strong{font-size:10px}
}


/* Phase 04 — Claim-first homepage: real reward actions before discovery.
   Source order is hero > claim catalog > related discovery. Only CSS/HTML order. */
body:not(.admin-page) .bd-content.bd-home-claim-first{
 display:grid;grid-template-columns:minmax(0,1fr);
 gap:12px;margin-top:10px;
}
body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-main-flow{
 display:flex;flex-direction:column;gap:14px;min-width:0;
}
body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-flow>.bd-home-paths{
 width:100%;max-width:none;margin:0;padding:0;
 box-sizing:border-box;
}
body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-panel{
 width:100%;max-width:none;min-width:0;
}
body:not(.admin-page) .bd-content.bd-home-claim-first .bd-panel-head{
 padding:13px 17px 8px;
}
body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-panel .filterbar{
 margin-bottom:9px;
}
body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel{
 width:100%;min-width:0;
}
body:not(.admin-page) .bd-hero{
 min-height:0;padding:12px 19px;gap:10px;
}
body:not(.admin-page) .bd-hero h1{
 font-size:clamp(25px,2.6vw,35px);
 line-height:1.11;margin-bottom:4px;
}
body:not(.admin-page) .bd-hero-copy>p{
 margin-bottom:7px;line-height:1.35;
}
body:not(.admin-page) .bd-hero-art{height:112px}
body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
 width:120px;height:118px;max-height:100%;
}
body:not(.admin-page) .bd-hero-features .bd-feature{
 min-height:30px;padding:3px 6px;
}
body:not(.admin-page) .bd-hero-actions a{
 min-height:38px;padding:7px 10px;
}
@media(min-width:761px){
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 18px;align-items:start;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel>*{
  min-width:0;
 }
}
/* Existing narrow-screen system uses display:contents/order.
   Override its order explicitly: the actual claim panel must always be first. */
@media(max-width:970px){
 body:not(.admin-page) .bd-content.bd-home-claim-first{
  display:flex;flex-direction:column;gap:12px;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-main-flow{
  display:contents;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-flow>.bd-main-panel{
  order:1;width:100%;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-flow>.bd-home-paths{
  order:2;width:100%;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel{
  order:3;display:block;width:100%;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-flow>:not(.bd-main-panel):not(.bd-home-paths){
  order:4;width:100%;
 }
}
@media(max-width:760px){
 body:not(.admin-page) .bd-hero{
  padding:10px 12px 12px;margin-top:7px;
 }
 body:not(.admin-page) .bd-hero h1{
  font-size:clamp(22px,5.8vw,27px);
  line-height:1.1;margin-bottom:5px;
 }
 body:not(.admin-page) .bd-hero .bd-kicker{margin-bottom:4px}
 body:not(.admin-page) .bd-hero-copy>p{
  font-size:12px;line-height:1.35;margin-bottom:7px;
 }
 body:not(.admin-page) .bd-hero-art{
  top:16px;right:5px;width:90px;height:89px;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:88px;height:89px;
 }
 body:not(.admin-page) .bd-hero-features{
  padding-bottom:3px;gap:5px;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature{min-height:27px}
 body:not(.admin-page) .bd-hero-actions{margin-top:1px}
 body:not(.admin-page) .bd-hero-actions a{
  min-height:44px;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first{
  margin-top:8px;gap:10px;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-panel-head{
  padding:11px 12px 7px;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-panel-title{
  font-size:19px;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-panel .filterbar{
  margin:0 12px 8px;
 }
}
@media(max-width:380px){
 body:not(.admin-page) .bd-hero h1{
  font-size:21px;max-width:calc(100% - 63px);
 }
 body:not(.admin-page) .bd-hero-art{
  top:24px;width:78px;height:78px;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:76px;height:77px;
 }
}


/* Phase 04.1 — claim columns: Other Games | FarmVille 2.
   The FarmVille list reuses the already fetched sidebar rewards, not D1. */
body:not(.admin-page) .bd-content.bd-home-claim-first .bd-home-claim-grid{
 display:grid;
 grid-template-columns:minmax(0,3fr) minmax(0,2fr);
 align-items:start;gap:16px;
 min-width:0;width:100%;
}
body:not(.admin-page) .bd-home-claim-grid>.bd-main-panel{
 width:100%;min-width:0;max-width:none;
 align-self:start;overflow:hidden;
}
body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel{
 border-color:#e9ce90;
 background:#fffdf8;
}
body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel>.bd-panel-head{
 background:linear-gradient(110deg,#fffbec,#fff3d1);
 border-bottom:1px solid #f2dcad;
}
body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel .bd-panel-title{
 color:#573d16;
}
body:not(.admin-page) .bd-home-claim-grid .bd-panel-head{
 display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-panel-title{
 font-size:clamp(17px,1.8vw,23px);
}
body:not(.admin-page) .bd-home-claim-grid .bd-panel-note{
 font-size:11px;line-height:1.3;
}
body:not(.admin-page) .bd-home-claim-grid .bd-list-head{display:none}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .reward-card,
body:not(.admin-page) .bd-home-claim-grid .rewards-grid.bd-rewards .reward-card{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(120px,29%);
 grid-template-areas:"main action" "tags when";
 gap:5px 9px;align-items:center;
 padding:10px 12px;min-height:0;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-main{
 grid-area:main;min-width:0;gap:9px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-action{
 grid-area:action;display:flex;flex-direction:column;
 align-items:stretch;justify-content:center;
 gap:3px;min-width:0;margin:0;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-tags{
 grid-area:tags;min-width:0;align-items:center;gap:4px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-time{
 grid-area:when;align-self:center;min-width:0;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-thumb{
 flex:0 0 62px;width:62px;height:62px;min-width:62px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-thumb img.reward-type-cover{
 inset:6px auto auto 6px;width:49px;height:49px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-text h3,
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-game{
 font-size:clamp(13px,1.2vw,16px);line-height:1.3;
 font-weight:850;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-type,
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-active,
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-new{
 font-size:10px;min-height:23px;padding:3px 6px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .reward-action{
 min-height:45px;padding:8px 7px;
 font-size:13px;max-width:none;width:100%;
}
body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-time strong{
 font-size:10px;line-height:1.3;
}
body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .filterbar{
 margin:0 12px 9px;
}
body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .filter-tabs{
 display:flex;flex-wrap:nowrap;gap:6px;max-width:100%;
 overflow-x:auto;overscroll-behavior-x:contain;
 scrollbar-width:thin;padding-bottom:6px;
 -webkit-overflow-scrolling:touch;
}
body:not(.admin-page) .bd-home-claim-grid .filter-btn{
 flex:0 0 auto;min-height:38px;
 font-size:12px;padding:7px 10px;
}
body:not(.admin-page) .bd-home-claim-grid .filter-tools{
 display:grid;
 grid-template-columns:max-content minmax(0,1fr) minmax(0,1fr);
 align-items:center;gap:8px;min-width:0;width:100%;
}
body:not(.admin-page) .bd-home-claim-grid :is(.game-select,.search-wrap){
 width:100%;max-width:100%;min-width:0;
}
body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .more-row{
 padding:11px 12px;
}
body:not(.admin-page) .bd-farm-claim-panel .more-row .btn{
 width:100%;min-height:44px;white-space:normal;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-rewards .reward-card{
 background:#fffefa;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-rewards .reward-card:nth-child(even){
 background:#fffaf0;
}
@media(max-width:1080px){
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-home-claim-grid{
  grid-template-columns:minmax(0,1fr);gap:12px;
 }
}
@media(max-width:760px){
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .reward-card,
 body:not(.admin-page) .bd-home-claim-grid .rewards-grid.bd-rewards .reward-card{
  grid-template-columns:minmax(0,1fr) minmax(110px,31%);
  padding:9px 10px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-text h3,
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-game{
  font-size:15px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-thumb{
  flex-basis:59px;width:59px;height:59px;min-width:59px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-thumb img.reward-type-cover{
  inset:5px auto auto 5px;width:46px;height:46px;
 }
}
@media(max-width:380px){
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .reward-card,
 body:not(.admin-page) .bd-home-claim-grid .rewards-grid.bd-rewards .reward-card{
  grid-template-columns:minmax(0,1fr) 106px;gap:4px 7px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-text h3,
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-reward-game{font-size:14px}
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-thumb{
  flex-basis:52px;min-width:52px;width:52px;height:52px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .bd-thumb img.reward-type-cover{
  inset:4px auto auto 4px;width:43px;height:43px;
 }
}


/* Phase 04.2: use 60% of the claim area for Other Games and 40% for
   FarmVille 2. Keep the filter label, game selector and search aligned. */
body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="game-filter"],
body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="native-game-filter"]{
 display:block;position:static;float:none;clip:auto;clip-path:none;
 width:auto;height:auto;margin:0;padding:0;overflow:visible;
 white-space:nowrap;align-self:center;
 font-size:13px;line-height:1.35;font-weight:650;color:#332846;
}
body:not(.admin-page) .bd-home-claim-grid .filter-tools>.game-select{
 grid-column:2;min-width:0;width:100%;max-width:none;
 height:44px;
}
body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap{
 grid-column:3;min-width:0;width:100%;max-width:none;
 height:44px;
}
body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap input{
 min-width:0;width:100%;
}
@media(max-width:760px){
 body:not(.admin-page) .bd-home-claim-grid .filter-tools{
  grid-template-columns:max-content minmax(0,1fr);
  gap:8px;align-items:center;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.game-select{
  grid-column:2;grid-row:1;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap{
  grid-column:1/-1;grid-row:2;
 }
}


/* Phase 05: desktop mascot, compact filter, discovery balance, real mobile-first claims.
   No change to data access, redirects, published rewards or SEO. */
@media(min-width:971px){
 body:not(.admin-page) .bd-hero{
  grid-template-columns:minmax(0,1fr) minmax(198px,240px);
  min-height:0;padding-block:13px;align-items:center;
 }
 body:not(.admin-page) .bd-hero-art{
  display:flex;align-items:center;justify-content:center;
  height:178px;min-height:0;width:100%;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:219px;height:210px;max-height:none;max-width:100%;
  object-fit:contain;filter:drop-shadow(0 10px 14px #6741af38);
 }
 body:not(.admin-page) .bd-hero-art .bd-art-halo{
  width:235px;height:200px;right:-2px;top:-10px;
 }
}
/* A real, compact toolbar instead of three full-stretch columns. */
@media(min-width:761px){
 body:not(.admin-page) .bd-home-claim-grid .filter-tools{
  display:grid;
  grid-template-columns:max-content minmax(130px,180px) minmax(155px,250px);
  justify-content:start;align-items:center;gap:8px;
  max-width:100%;width:100%;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.game-select,
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap{
  width:100%;height:40px;min-height:40px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap input{
  min-height:38px;height:38px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="game-filter"],
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="native-game-filter"]{
  font-size:12px;white-space:nowrap;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .filterbar{
  gap:5px;margin-bottom:7px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .filter-tabs{
  padding-bottom:3px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-btn{
  min-height:35px;padding:6px 9px;
 }
}
/* Give the lower FarmVille discovery stack a useful social-links end cap
   rather than a mostly empty stretched panel. */
@media(min-width:971px){
 body:not(.admin-page) .bd-home-paths{align-items:stretch}
 body:not(.admin-page) .bd-home-paths>.bd-home-path-games{align-self:stretch}
 body:not(.admin-page) .bd-home-paths>.bd-farm-home-stack{
  height:100%;align-self:stretch;
  display:flex;flex-direction:column;gap:11px;
 }
 body:not(.admin-page) .bd-farm-home-stack .bd-farm-quick-panel{flex:0 0 auto}
 body:not(.admin-page) .bd-farm-home-stack .bd-farm-socials{margin-top:auto}
}
/* CRITICAL mobile fix: old display:contents layout gave the claim grid
   order 4, behind the news sidebar (order 3). Reorder claims FIRST. */
@media(max-width:970px){
 body:not(.admin-page) .bd-content.bd-home-claim-first{
  display:flex;flex-direction:column;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-main-flow{
  display:contents;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first .bd-main-flow>.bd-home-claim-grid:not(.bd-main-panel):not(.bd-home-paths){
  order:0;display:grid;grid-template-columns:minmax(0,1fr);
  width:100%;min-width:0;align-self:stretch;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-main-flow>.bd-home-paths{
  order:2;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel{
  order:3;
 }
}
/* First reward and Claim button should appear within the first phone screen. */
@media(max-width:760px){
 body:not(.admin-page) .bd-hero{
  padding:10px 11px 11px;margin-top:5px;border-radius:14px;
 }
 body:not(.admin-page) .bd-hero-copy{display:block;min-width:0}
 body:not(.admin-page) .bd-hero .bd-kicker{
  font-size:9px;letter-spacing:.05em;margin-bottom:4px;
 }
 body:not(.admin-page) .bd-hero h1{
  font-size:clamp(19px,5.5vw,25px);line-height:1.12;
  letter-spacing:-.02em;
  max-width:calc(100% - 84px);
  margin:0 0 5px;
 }
 body:not(.admin-page) .bd-hero-copy>p{
  max-width:calc(100% - 84px);
  font-size:11px;line-height:1.35;margin:0 0 5px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
 }
 body:not(.admin-page) .bd-hero-art{
  position:absolute;top:14px;right:4px;
  width:91px;height:95px;min-height:0;
  margin:0;pointer-events:none;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:94px;height:95px;max-height:none;max-width:100%;object-fit:contain;
 }
 body:not(.admin-page) .bd-hero-features{display:none}
 body:not(.admin-page) .bd-hero-actions{
  margin:5px 0 0;gap:6px;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;
 }
 body:not(.admin-page) .bd-hero-actions a{
  min-height:40px;padding:5px 6px;
  font-size:12px;line-height:1.2;border-radius:10px;
 }
 body:not(.admin-page) .bd-content.bd-home-claim-first{
  margin-top:6px;gap:10px;
 }
 body:not(.admin-page) .bd-home-claim-grid>.bd-main-panel .bd-panel-head{
  padding:10px 11px 5px;gap:4px 8px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-panel-title{
  font-size:18px;line-height:1.2;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-panel-note{
  font-size:10px;line-height:1.25;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .filterbar{
  margin:0 10px 5px;gap:4px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-main-panel .filter-tabs{
  padding:0 0 3px;gap:5px;scroll-snap-type:x proximity;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-btn{
  min-height:34px;padding:6px 9px;font-size:12px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:6px;align-items:center;width:100%;
 }
 /* The native input labels stay screen-reader accessible on small devices. */
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="game-filter"],
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="native-game-filter"]{
  position:absolute!important;width:1px!important;height:1px!important;
  clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;
  overflow:hidden!important;white-space:nowrap!important;
  margin:-1px!important;padding:0!important;border:0!important;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.game-select{
  grid-column:1;grid-row:1;min-width:0;max-width:none;
  height:40px;min-height:40px;padding:6px 8px;font-size:13px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap{
  grid-column:2;grid-row:1;min-width:0;max-width:none;
  height:40px;min-height:40px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap input{
  height:38px;min-height:38px;font-size:16px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .reward-card,
 body:not(.admin-page) .bd-home-claim-grid .rewards-grid.bd-rewards .reward-card{
  padding:8px 9px;gap:4px 8px;
 }
 body:not(.admin-page) .bd-home-claim-grid .bd-rewards .reward-action{
  min-height:44px;
 }
}
@media(max-width:380px){
 body:not(.admin-page) .bd-hero h1{
  max-width:calc(100% - 70px);font-size:19px;
 }
 body:not(.admin-page) .bd-hero-copy>p{max-width:calc(100% - 72px)}
 body:not(.admin-page) .bd-hero-art{
  top:23px;right:2px;width:76px;height:78px;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:77px;height:79px;
 }
 body:not(.admin-page) .bd-hero-actions a{font-size:11px}
}


/* Phase 06 — smaller desktop filters and mascot + social-rail composition.
   Uses existing original icons and public profile links; no extra requests. */
body:not(.admin-page) .bd-hero-socials{display:none}
@media(min-width:971px){
 body:not(.admin-page) .bd-hero{
  grid-template-columns:minmax(0,1fr) minmax(190px,225px) 48px;
  column-gap:7px;align-items:center;
 }
 body:not(.admin-page) .bd-hero-art{
  justify-self:start;transform:translateX(-42px);
  width:100%;min-width:0;overflow:visible;
 }
 body:not(.admin-page) .bd-hero-art .bd-art-gift.bd-mascot-img{
  width:212px;height:203px;max-width:100%;
 }
 body:not(.admin-page) .bd-hero-socials{
  display:flex;flex-direction:column;align-items:center;
  justify-content:center;justify-self:end;align-self:center;
  width:48px;min-width:0;gap:9px;
  position:relative;z-index:2;
 }
 body:not(.admin-page) .bd-hero-social-link{
  display:grid;place-items:center;flex:none;
  width:44px;height:44px;padding:6px;
  background:rgba(255,255,255,.9);
  border:1px solid #d9caec;border-radius:14px;
  box-shadow:0 3px 9px rgba(44,19,84,.10);
  text-decoration:none;transition:background-color .15s,border-color .15s,transform .15s;
 }
 body:not(.admin-page) .bd-hero-social-link .bd-svg-icon{
  width:30px;height:30px;
 }
 body:not(.admin-page) .bd-hero-social-link:hover{
  background:#fff;border-color:#9e78d6;transform:translateX(-2px);
 }
 body:not(.admin-page) .bd-hero-social-link:focus-visible{
  outline:3px solid #5431a0;outline-offset:2px;
 }
}
@media(min-width:761px){
 body:not(.admin-page) .bd-home-claim-grid .filter-tools{
  grid-template-columns:max-content minmax(125px,156px) minmax(145px,195px);
  width:max-content;max-width:100%;gap:7px;
  justify-content:start;align-items:center;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="game-filter"],
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>label[for="native-game-filter"]{
  font-size:11px;line-height:1.25;font-weight:700;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.game-select,
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap{
  width:100%;min-height:36px;height:36px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.game-select{
  padding-top:6px;padding-bottom:6px;font-size:12px;
 }
 body:not(.admin-page) .bd-home-claim-grid .filter-tools>.search-wrap input{
  height:34px;min-height:34px;font-size:13px;
 }
}
/* Keep claims first and the social rail invisible on phones/tablets. */
@media(max-width:970px){
 body:not(.admin-page) .bd-hero-socials{display:none}
}
@media(prefers-reduced-motion:reduce){
 body:not(.admin-page) .bd-hero-social-link{transition:none}
 body:not(.admin-page) .bd-hero-social-link:hover{transform:none}
}


/* Phase 08 — five genuinely compact, uniform-height controls.
   Match the original "Acceso gratuito" pill height; preserve readable label widths.
   Fox placement and right-side social icons remain exactly as approved. */
@media(min-width:971px){
 body:not(.admin-page) .bd-hero-copy{
  display:flex;flex-wrap:wrap;align-items:center;align-content:center;
  column-gap:6px;row-gap:0;min-width:0;
 }
 body:not(.admin-page) .bd-hero-copy>.bd-kicker,
 body:not(.admin-page) .bd-hero-copy>h1,
 body:not(.admin-page) .bd-hero-copy>p{
  flex:0 0 100%;min-width:0;
 }
 body:not(.admin-page) .bd-hero-features{
  flex:0 1 auto;display:flex;flex-wrap:nowrap;
  width:auto;min-width:0;max-width:100%;
  gap:6px;align-items:center;margin:0;
 }
 body:not(.admin-page) .bd-hero-actions{
  flex:0 1 auto;display:flex;flex-wrap:nowrap;
  width:auto;min-width:0;max-width:100%;
  gap:6px;align-items:center;margin:0;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature,
 body:not(.admin-page) .bd-hero-actions a{
  box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;
  width:auto;min-width:0;flex:0 0 auto;
  height:34px;min-height:34px;max-height:34px;
  padding:4px 8px;border-radius:9px;
  font-size:11px;line-height:1.15;font-weight:800;
  text-align:center;white-space:nowrap;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature,
 body:not(.admin-page) .bd-hero-actions a{
  gap:4px;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature-icon,
 body:not(.admin-page) .bd-hero-actions .bd-svg-icon{
  flex:0 0 auto;width:17px;height:17px;
 }
}
/* Compact desktop widths: keep one row without increasing the height
   when the hero copy column is narrower than five 130px controls. */
@media(min-width:971px) and (max-width:1150px){
 body:not(.admin-page) .bd-hero-features .bd-feature,
 body:not(.admin-page) .bd-hero-actions a{
  font-size:10px;padding-inline:5px;
 }
}
@media(max-width:970px){
 body:not(.admin-page) .bd-hero-socials{display:none}
}


/* Phase 09 — restore correctly centered 18px icons and compact public nav.
   The SVG's own 32px dimensions must not overflow a 17px badge-icon box.
   Keep fox offset, reward priority, 60/40 columns and existing social rail. */
@media(min-width:971px){
 body:not(.admin-page) .bd-hero-features .bd-feature,
 body:not(.admin-page) .bd-hero-actions a{
  height:34px;min-height:34px;max-height:34px;
  padding-block:3px;align-items:center;line-height:1.15;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature-icon{
  box-sizing:border-box;display:grid;place-items:center;
  flex:0 0 24px;width:24px;height:24px;min-width:24px;
  border-radius:7px;line-height:1;overflow:hidden;
 }
 body:not(.admin-page) .bd-hero-features .bd-feature-icon>.bd-svg-icon{
  display:block;flex:none;width:18px;height:18px;
  min-width:18px;max-width:18px;
 }
 body:not(.admin-page) .bd-hero-actions a{
  flex:0 0 130px;width:130px;min-width:130px;max-width:130px;
  gap:5px;padding-inline:5px;font-size:10px;
 }
 body:not(.admin-page) .bd-hero-actions a>.bd-svg-icon{
  width:17px;height:17px;flex:none;
 }
}
/* Navigation height, independent of reward and claim logic.
   Desktop controls fit 36px inside a 58px header. */
@media(min-width:1051px){
 body:not(.admin-page) .header{height:58px}
 body:not(.admin-page) .header .nav-wrap{
  height:100%;align-items:center;gap:10px;
 }
 body:not(.admin-page) .header .brand{
  font-size:21px;gap:8px;
 }
 body:not(.admin-page) .header .brand-icon{
  display:grid;place-items:center;width:34px;height:34px;
  min-width:34px;
 }
 body:not(.admin-page) .header .nav-menu{
  align-items:center;gap:3px;
 }
 body:not(.admin-page) .header .nav-menu>.nav-link{
  box-sizing:border-box;min-height:36px;height:36px;
  padding:7px 10px;
  font-size:13px;line-height:1.15;
 }
 body:not(.admin-page) .header .bd-nav-dropdown>summary{
  box-sizing:border-box;min-height:36px;height:36px;
  padding:7px 10px;
  line-height:1.15;
 }
 body:not(.admin-page) .header .nav-actions{
  align-items:center;gap:7px;
 }
 body:not(.admin-page) .header .nav-search,
 body:not(.admin-page) .header .nav-cta{
  box-sizing:border-box;display:flex;align-items:center;
  height:36px;min-height:36px;padding:7px 10px;
  border-radius:10px;
 }
 body:not(.admin-page) .header .bd-nav-language>summary{
  min-height:36px;height:36px;
 }
}
@media(max-width:1050px){
 /* Reduce fixed masthead chrome while keeping 44px touch targets. */
 body:not(.admin-page) .header,
 body:not(.admin-page).native-locale .header{
  height:58px;
 }
 body:not(.admin-page) .header .nav-wrap{
  height:100%;align-items:center;
 }
 body:not(.admin-page) .header .mobile-toggle{
  min-height:44px;min-width:44px;
 }
}


/* Phase 10 — move existing shared FarmVille 2 gifts directly below the
   right-hand claim list. This is the same previously fetched gift list,
   not a duplicate sidebar request, and never hides redeem actions. */
body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel>.bd-farm-sidebar{
 box-sizing:border-box;width:calc(100% - 24px);
 margin:12px 12px 14px;
 padding:13px 12px 12px;
 box-shadow:none;
 border-color:#e5ce91;
 background:linear-gradient(140deg,#fff9e9,#fffdf5);
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-sidebar-head{
 gap:8px;align-items:center;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-sidebar h2{
 font-size:16px;line-height:1.25;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gift{
 padding-block:8px;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gift-actions .bd-farm-claim{
 min-height:40px;
}
@media(max-width:760px){
 body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel>.bd-farm-sidebar{
  width:calc(100% - 18px);margin:10px 9px 12px;padding:11px 10px;
 }
 body:not(.admin-page) .bd-farm-claim-panel .bd-farm-sidebar h2{
  font-size:15px;
 }
 body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gift-actions .bd-farm-claim{
  min-height:44px;
 }
}

/* Phase 12 — short reward preview, clean single-width game directory.
   Do not artificially stretch a reward column just to match the other one.
   Only actual published cards occupy space; users can load further results. */
body:not(.admin-page) .bd-content.bd-home-claim-first .bd-home-claim-grid{
 align-items:start;
}
body:not(.admin-page) .bd-home-claim-grid>.bd-main-panel{
 align-self:start;
}
body:not(.admin-page) .bd-home-paths.bd-home-paths-single{
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:0;
 align-items:start;
}
body:not(.admin-page) .bd-home-paths.bd-home-paths-single>.bd-home-path-games{
 width:100%;max-width:none;min-width:0;
 box-sizing:border-box;
 align-self:start;
}
body:not(.admin-page) .bd-home-paths.bd-home-paths-single .bd-path-game-list{
 grid-template-columns:repeat(2,minmax(0,1fr));
}
@media(max-width:500px){
 body:not(.admin-page) .bd-home-paths.bd-home-paths-single .bd-path-game-list{
  grid-template-columns:minmax(0,1fr);
 }
}


/* Phase 13 — compact discovery and readable news cards on the homepage.
   Telegram/favorites and games/calendar are two independent stacks:
   no stretched blank grid cells, and news no longer compete for grid slots.
   This is presentation-only and does not touch reward data or D1. */
body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel.bd-home-discovery{
 display:block;
 width:100%;
 max-width:none;
 min-height:0;
 box-sizing:border-box;
 padding:clamp(13px,1.7vw,22px);
 border-radius:18px;
 background:#fff;
 overflow:visible;
}
body:not(.admin-page) .bd-home-discovery .bd-discovery-tools{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:14px;
 align-items:start;
}
body:not(.admin-page) .bd-home-discovery .bd-discovery-col{
 display:flex;
 flex-direction:column;
 gap:12px;
 min-width:0;
 align-items:stretch;
}
body:not(.admin-page) .bd-home-discovery :is(.bd-side-social,.bd-side-games){
 width:100%;
 min-width:0;
 max-width:none;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery :is(.bd-side-social,.bd-side-games)>.container{
 width:100%;
 min-width:0;
 max-width:none;
 margin:0;
 box-sizing:border-box;
}
body:not(.admin-page) .bd-home-discovery .bd-telegram-join{
 box-sizing:border-box;
 margin:0;
 min-height:0;
 padding:14px;
 border-radius:13px;
 gap:8px;
 align-content:start;
}
body:not(.admin-page) .bd-home-discovery .bd-telegram-join>div{
 max-width:calc(100% - 78px);
}
body:not(.admin-page) .bd-home-discovery .bd-telegram-join h2{
 font-size:clamp(14px,1.25vw,17px);
 line-height:1.28;
 margin-bottom:4px;
}
body:not(.admin-page) .bd-home-discovery .bd-telegram-join p{
 font-size:12px;
 line-height:1.4;
}
body:not(.admin-page) .bd-home-discovery .bd-telegram-join .btn{
 min-height:42px;
 font-size:12px;
 line-height:1.25;
 padding:8px 9px;
}
body:not(.admin-page) .bd-home-discovery .bd-interest{
 box-sizing:border-box;
 margin:0;
 border:1px solid #dfd5ef;
 border-radius:13px;
 padding:13px 14px;
 background:#faf8ff;
}
body:not(.admin-page) .bd-home-discovery .bd-interest .section-head{
 display:flex;
 align-items:start;
 justify-content:space-between;
 gap:9px;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-interest .section-head h2{
 font-size:clamp(14px,1.2vw,17px);
 line-height:1.28;
}
body:not(.admin-page) .bd-home-discovery .bd-interest .section-head p{
 font-size:12px;
 line-height:1.4;
 margin:4px 0 0;
}
body:not(.admin-page) .bd-home-discovery .bd-interest .section-head .text-link{
 flex:none;
 font-size:11px;
 margin:0;
 align-self:center;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-grid{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;
 margin:10px 0 0;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-game{
 box-sizing:border-box;
 min-height:56px;
 padding:8px 9px;
 border-radius:10px;
 gap:8px;
 min-width:0;
 background:#fff;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-game img{
 width:38px;
 height:38px;
 flex:none;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-game-copy{
 display:block;
 flex:1;
 min-width:0;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-game strong{
 font-size:13px;
 line-height:1.25;
 overflow-wrap:anywhere;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-game small{
 font-size:11px;
 line-height:1.3;
}
body:not(.admin-page) .bd-home-discovery .bd-favorites-card{
 margin:0;
 min-height:0;
 border-radius:13px;
 padding:0;
}
body:not(.admin-page) .bd-home-discovery .bd-favorites-card summary{
 font-size:15px;
 padding:10px 13px;
}
body:not(.admin-page) .bd-home-discovery .bd-favorites-body{
 padding:0 13px 12px;
}
body:not(.admin-page) .bd-home-discovery .bd-favorites-body p{
 font-size:12px;
 margin-bottom:8px;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-controls{
 display:flex;
 flex-wrap:wrap;
 gap:8px;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-controls :is(select,button){
 min-height:42px;
}
body:not(.admin-page) .bd-home-discovery .bd-interest-controls select{
 flex:1 1 170px;
 font-size:13px;
}
body:not(.admin-page) .bd-home-discovery .bd-calendar-quicklink{
 box-sizing:border-box;
 display:flex;
 width:100%;
 min-height:68px;
 margin:0;
 padding:11px 13px;
 border-radius:13px;
}
body:not(.admin-page) .bd-home-discovery .bd-calendar-quicklink strong{
 font-size:14px;
}
body:not(.admin-page) .bd-home-discovery .bd-calendar-quicklink small{
 font-size:12px;
 line-height:1.4;
}
body:not(.admin-page) .bd-home-discovery .bd-news-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 padding:16px 0 10px;
 margin:16px 0 0;
 border-top:1px solid #e8e0f1;
}
body:not(.admin-page) .bd-home-discovery .bd-news-header .bd-panel-title{
 font-size:clamp(18px,1.7vw,23px);
 line-height:1.3;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-header .bd-panel-note{
 font-size:13px;
 white-space:nowrap;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:10px;
 width:100%;
 min-width:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed>.bd-news-item{
 box-sizing:border-box;
 display:grid;
 grid-template-columns:88px minmax(0,1fr);
 align-items:center;
 gap:12px;
 width:100%;
 min-width:0;
 min-height:112px;
 margin:0;
 padding:12px;
 border:1px solid #e5dfef;
 border-radius:13px;
 background:#fcfbff;
 box-shadow:none;
 overflow:hidden;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed>.bd-news-item:hover,
body:not(.admin-page) .bd-home-discovery .bd-news-feed>.bd-news-item:focus-within{
 border-color:#bea9e7;
 background:#f8f3ff;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-img{
 box-sizing:border-box;
 display:block;
 width:88px;
 min-width:0;
 height:88px;
 margin:0;
 border:1px solid #e5d8ef;
 border-radius:12px;
 overflow:hidden;
 background:#f3eaff;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-img img{
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-copy{
 box-sizing:border-box;
 display:flex;
 flex-direction:column;
 align-items:flex-start;
 justify-content:center;
 gap:4px;
 width:100%;
 min-width:0;
 margin:0;
 padding:0;
 overflow-wrap:anywhere;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-game{
 display:inline-block;
 font-size:10px;
 line-height:1.35;
 font-weight:850;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-copy h3{
 font-size:15px;
 line-height:1.28;
 font-weight:850;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-date{
 font-size:11px;
 line-height:1.3;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-copy p{
 display:-webkit-box;
 -webkit-box-orient:vertical;
 -webkit-line-clamp:2;
 overflow:hidden;
 font-size:11px;
 line-height:1.4;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-link{
 display:inline-flex;
 align-items:center;
 min-height:28px;
 padding:2px 0;
 font-size:12px;
 line-height:1.3;
 font-weight:800;
 margin:0;
}
body:not(.admin-page) .bd-home-discovery .bd-news-empty{
 grid-column:1/-1;
 padding:18px;
 margin:0;
 background:#f8f5fd;
 border-radius:12px;
 color:#526075;
}
@media(min-width:1280px){
 body:not(.admin-page) .bd-home-discovery .bd-interest-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
 }
}
@media(max-width:850px){
 body:not(.admin-page) .bd-home-discovery .bd-discovery-tools{
  grid-template-columns:minmax(0,1fr);
  gap:12px;
 }
 body:not(.admin-page) .bd-home-discovery .bd-news-feed{
  grid-template-columns:minmax(0,1fr);
 }
 body:not(.admin-page) .bd-home-discovery .bd-interest-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}
@media(max-width:480px){
 body:not(.admin-page) .bd-content.bd-home-claim-first>.bd-news-panel.bd-home-discovery{
  padding:10px;
  border-radius:14px;
 }
 body:not(.admin-page) .bd-home-discovery .bd-news-feed>.bd-news-item{
  grid-template-columns:72px minmax(0,1fr);
  gap:10px;
  padding:10px;
 }
 body:not(.admin-page) .bd-home-discovery .bd-news-feed .bd-news-img{
  width:72px;height:76px;
 }
 body:not(.admin-page) .bd-home-discovery .bd-interest .section-head{
  flex-direction:column;
 }
 body:not(.admin-page) .bd-home-discovery .bd-interest .section-head .text-link{
  align-self:flex-start;
 }
 body:not(.admin-page) .bd-home-discovery .bd-interest-grid{
  grid-template-columns:minmax(0,1fr);
 }
}
@media(forced-colors:active){
 body:not(.admin-page) .bd-home-discovery :is(.bd-news-item,.bd-interest,.bd-telegram-join,.bd-favorites-card,.bd-calendar-quicklink){
  border:1px solid CanvasText;
 }
}

/* Phase 14 — equal visibility for FarmVille shared and main reward cards.
   Same card anatomy and artwork, same width and primary claim target.
   Rendered from the already-fetched FarmVille gifts; no additional D1 reads. */
body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel>.bd-farm-sidebar{
 box-sizing:border-box;
 width:100%;
 max-width:none;
 margin:12px 0 0;
 padding:0 0 12px;
 border:0;
 border-top:1px solid #e6d2a4;
 border-radius:0;
 box-shadow:none;
 background:transparent;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-sidebar-head{
 padding:14px 15px 5px;
 align-items:center;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-sidebar h2{
 font-size:clamp(17px,1.8vw,23px);
 font-weight:900;
 line-height:1.3;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-summary{
 padding:0 15px;
 margin:5px 0 10px;
 font-size:12px;
 line-height:1.45;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts.bd-rewards{
 box-sizing:border-box;
 display:grid;
 grid-template-columns:minmax(0,1fr);
 gap:8px;
 width:100%;
 margin:0;
 padding:0 12px;
 list-style:none;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts>.bd-farm-gift{
 box-sizing:border-box;
 padding:0;
 margin:0;
 border:0;
 list-style:none;
 min-width:0;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-gift>.reward-card{
 box-sizing:border-box;
 width:100%;
 min-width:0;
 height:auto;
 margin:0;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts>.bd-farm-gift:nth-child(even)>.reward-card{
 background:#fffaf0;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-gift-info{
 display:flex;
 align-items:center;
 min-width:0;
 gap:9px;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-gift-title{
 display:inline;
 font-size:inherit;
 line-height:inherit;
 font-weight:inherit;
 color:inherit;
 text-decoration:none;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-gift-title:hover{
 text-decoration:underline;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-gift-type.bd-type{
 display:inline-flex;
 align-items:center;
 margin:0;
 color:#75521c;
 font-weight:800;
 line-height:1.25;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-gift-actions.bd-action{
 display:flex;
 flex-direction:column;
 align-items:stretch;
 justify-content:center;
 gap:3px;
 margin:0;
 min-width:0;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-claim.reward-action{
 box-sizing:border-box;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-width:0;
 width:100%;
 max-width:none;
 min-height:45px;
 padding:8px 7px;
 border-radius:11px;
 font-size:13px;
 line-height:1.28;
 font-weight:900;
 text-align:center;
 white-space:normal;
 overflow-wrap:anywhere;
 background:#067544;
 border:1px solid #067544;
 color:#fff;
 text-decoration:none;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-claim.reward-action:hover{
 background:#075e3a;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-caution{
 padding:0 15px;
 margin:12px 0 9px;
}
body:not(.admin-page) .bd-farm-claim-panel .bd-farm-view-all{
 margin:0 12px;
 min-height:44px;
}
@media(max-width:760px){
 body:not(.admin-page) .bd-home-claim-grid>.bd-farm-claim-panel>.bd-farm-sidebar{
  width:100%;margin:12px 0 0;padding:0 0 12px;
 }
 body:not(.admin-page) .bd-farm-claim-panel .bd-farm-gifts .bd-farm-claim.reward-action{
  min-height:45px;
 }
}
