/* PulseBoard V20 — responsive Family Farm portal. */
.theme-game{
  min-width:0;
  overflow-x:hidden;
  background:#06131d;
}
.theme-game *,
.theme-game *::before,
.theme-game *::after{box-sizing:border-box}

.farm-launch-v20{
  width:100%;
  min-height:100dvh;
  padding:
    calc(88px + env(safe-area-inset-top))
    max(18px,env(safe-area-inset-right))
    max(38px,env(safe-area-inset-bottom))
    max(18px,env(safe-area-inset-left));
  overflow:hidden;
}
.farm-launch-v20__card{
  width:min(1180px,100%);
  min-width:0;
  margin:auto;
  grid-template-columns:minmax(320px,.88fr) minmax(0,1.12fr);
  border-radius:30px;
  overflow:hidden;
  isolation:isolate;
}
.farm-launch-v20__preview{
  order:0;
  min-width:0;
  min-height:clamp(420px,62vh,680px);
  padding:32px;
  background:
    linear-gradient(180deg,rgba(3,12,19,.02),rgba(3,12,19,.74)),
    radial-gradient(circle at 50% 25%,rgba(158,228,118,.62),transparent 24%),
    linear-gradient(145deg,#377a4d,#174735 48%,#09242b);
}
.farm-launch-v20__preview::before{
  background:
    linear-gradient(180deg,transparent 50%,rgba(3,12,19,.62)),
    repeating-linear-gradient(115deg,transparent 0 46px,rgba(255,255,255,.038) 47px 48px),
    radial-gradient(ellipse at 50% 100%,rgba(245,199,105,.34),transparent 48%);
}
.farm-launch-v20__sky{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 24% 24%,rgba(255,255,255,.48) 0 2px,transparent 3px),
    radial-gradient(circle at 72% 18%,rgba(255,255,255,.34) 0 2px,transparent 3px),
    radial-gradient(circle at 82% 42%,rgba(255,255,255,.22) 0 1px,transparent 2px);
  opacity:.7;
}
.farm-launch-v20__badge{
  width:clamp(178px,23vw,260px);
  border:1px solid rgba(255,255,255,.42);
  background:rgba(5,24,24,.18);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.farm-launch-v20__status{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:42px;
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(3,18,20,.68);
  color:#e9f4e6;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-align:center;
  text-transform:uppercase;
}
.farm-launch-v20__status span{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#7ce5a1;
  box-shadow:0 0 14px #7ce5a1;
}
.farm-launch-v20__copy{
  order:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(34px,6vw,76px);
}
.farm-launch-v20__copy h1{
  max-width:11ch;
  margin:.25em 0 .22em;
  font-size:clamp(3rem,7.6vw,7rem);
  line-height:.87;
  overflow-wrap:anywhere;
}
.farm-launch-v20__copy p{
  max-width:56ch;
  margin:0;
  font-size:clamp(1rem,1.5vw,1.12rem);
}
.farm-launch-v20__device-note{
  margin-top:20px;
  padding:13px 15px;
  border-left:3px solid var(--accent,#ff8a67);
  background:rgba(var(--accent-rgb,255,138,103),.08);
  color:#c8d8dc;
  line-height:1.55;
}
.farm-launch-v20__actions{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:24px;
}
.farm-launch-v20__actions > *{
  width:100%;
  min-width:0;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:13px 15px;
  text-align:center;
  white-space:normal;
}
.farm-launch-v20__details{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-top:18px;
}
.farm-launch-v20__details span{
  min-width:0;
  padding:12px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
  color:#8da4ac;
  font-size:.78rem;
  line-height:1.4;
  overflow-wrap:anywhere;
}
.farm-launch-v20__details b{
  display:block;
  margin-bottom:3px;
  color:#eef5f3;
  font-size:.7rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.farm-launch-v20__url{
  max-width:100%;
  margin-top:12px!important;
  overflow-wrap:anywhere;
}

@media(max-width:900px){
  .farm-launch-v20__card{grid-template-columns:1fr}
  .farm-launch-v20__preview{min-height:320px}
  .farm-launch-v20__copy h1{max-width:13ch}
}

@media(max-width:680px){
  .theme-game .site-header{
    min-height:68px;
    padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right));
  }
  .theme-game .site-header .brand{min-width:0}
  .theme-game .site-header .header-tools > a,
  .theme-game .site-header .header-tools > .pb-live-badge,
  .theme-game .site-header .header-tools > .site-language-switcher{
    display:none!important;
  }
  .theme-game .site-header .menu-toggle{
    display:flex!important;
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
  }
  .farm-launch-v20{
    min-height:100dvh;
    place-items:start center;
    padding:
      calc(78px + env(safe-area-inset-top))
      max(10px,env(safe-area-inset-right))
      calc(132px + env(safe-area-inset-bottom))
      max(10px,env(safe-area-inset-left));
  }
  .farm-launch-v20__card{
    width:100%;
    border-radius:20px;
    box-shadow:0 22px 60px rgba(0,0,0,.42);
  }
  .farm-launch-v20__preview{
    min-height:clamp(230px,48vw,300px);
    padding:20px;
  }
  .farm-launch-v20__badge{
    width:clamp(132px,40vw,174px);
  }
  .farm-launch-v20__badge strong{font-size:clamp(1.6rem,8vw,2.05rem)}
  .farm-launch-v20__status{
    left:12px;
    right:12px;
    bottom:12px;
    min-height:38px;
    padding:8px 10px;
    font-size:.63rem;
    letter-spacing:.06em;
  }
  .farm-launch-v20__copy{
    padding:24px 16px 20px;
  }
  .farm-launch-v20__copy .eyebrow{font-size:.68rem}
  .farm-launch-v20__copy h1{
    max-width:12ch;
    margin:.32em 0 .24em;
    font-size:clamp(2.35rem,13vw,4.15rem);
    line-height:.9;
  }
  .farm-launch-v20__copy p{
    font-size:.96rem;
    line-height:1.68;
  }
  .farm-launch-v20__device-note{
    margin-top:16px;
    padding:11px 12px;
    font-size:.84rem;
  }
  .farm-launch-v20__actions{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:18px;
  }
  .farm-launch-v20__actions > *{
    min-height:50px;
    font-size:.84rem;
  }
  .farm-launch-v20__details{
    grid-template-columns:1fr;
    gap:6px;
    margin-top:14px;
  }
  .farm-launch-v20__details span{
    display:grid;
    grid-template-columns:96px minmax(0,1fr);
    align-items:center;
    gap:10px;
    padding:10px 11px;
  }
  .farm-launch-v20__details b{margin:0}
  .theme-game .pb-social-launcher{
    right:10px!important;
    bottom:76px!important;
    transform:scale(.88)!important;
    transform-origin:bottom right!important;
  }
  .theme-game .floating-wa{
    right:10px!important;
    bottom:12px!important;
    transform:scale(.88)!important;
    transform-origin:bottom right!important;
  }
}

@media(max-width:380px){
  .farm-launch-v20__copy{padding-inline:13px}
  .farm-launch-v20__copy h1{font-size:clamp(2.1rem,12.5vw,3.2rem)}
  .farm-launch-v20__details span{grid-template-columns:82px minmax(0,1fr)}
}

@media(max-height:520px) and (orientation:landscape) and (max-width:980px){
  .farm-launch-v20{padding-top:76px;padding-bottom:18px}
  .farm-launch-v20__card{grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}
  .farm-launch-v20__preview{min-height:calc(100dvh - 96px)}
  .farm-launch-v20__copy{padding:22px}
  .farm-launch-v20__copy h1{font-size:clamp(2.2rem,7vw,3.6rem)}
  .farm-launch-v20__copy p{font-size:.88rem;line-height:1.5}
  .farm-launch-v20__device-note{display:none}
  .farm-launch-v20__actions{grid-template-columns:1fr 1fr;margin-top:14px}
  .farm-launch-v20__actions>*:last-child{grid-column:1/-1}
  .farm-launch-v20__details{display:none}
}

@media(prefers-reduced-motion:reduce){
  .farm-launch-v20__badge,
  .farm-launch-v20__status span{animation:none!important;transition:none!important}
}
