/* OverLife home only. Existing controls, content, media and handlers are reused.
   Warm LIVE ring: ember #e23928 / flame #ff702d / gold #ffc443.
   Mascot dimensions are exactly1.3 times logo-hypnotic-v1.css, not a transform. */
body[data-page='home'] #home.chill-home {
  --home-mascot-size:clamp(107.744px,20.384dvh,183.456px);
  --home-live-size:128px;
  --home-warm-ink:#fff7ec;
  --home-warm-red:#e23928;
  --home-warm-orange:#ff702d;
  --home-warm-yellow:#ffc443;
  align-items:center;
  justify-content:center;
  width:100%;
  overflow-x:hidden;
  overflow-y:auto;
  padding-block:12px 24px;
}
body[data-page='home'] #home.chill-home .chill-mascot.overlive-logo-scene {
  flex:0 0 auto;
  width:var(--home-mascot-size);
  height:var(--home-mascot-size);
  min-width:var(--home-mascot-size);
  min-height:var(--home-mascot-size);
  margin:20px auto 30px;
  padding:0;
  overflow:visible!important;
  contain:none!important;
  isolation:auto!important;
  clip-path:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  border:0;
  border-radius:0;
  background:radial-gradient(ellipse at center,rgb(5 1 4 / .48),rgb(5 1 4 / .34) 45%,transparent 73%);
  box-shadow:none;
  transform:none;
}
body[data-page='home'] #home .overlive-logo-art {
  /* Blend the complete animated group, rather than the image inside that group. */
  mix-blend-mode:screen;
  z-index:3;
  overflow:visible;
  contain:none;
  border-radius:0;
  clip-path:none;
}
body[data-page='home'] #home .overlive-logo-art .app-icon {
  width:100%;height:100%;object-fit:contain;
  border-radius:0!important;
  clip-path:none!important;
  -webkit-mask:none!important;
  mask:none!important;
  /* Preserve the original screen blend; do not filter or recrop the raster. */
  mix-blend-mode:screen;
}
body[data-page='home'] #home .chill-mascot .mascot-orbit {
  z-index:2;
  overflow:visible;
  opacity:.54;
  contain:none;
  animation:none;
}
body[data-page='home'] #home .chill-mascot .overlive-logo-smoke {
  z-index:1;
  inset:-20%;
  opacity:.32;
  background:radial-gradient(ellipse at 21% 32%,#bd182c55,transparent 24%),
    radial-gradient(ellipse at 81% 35%,#ee293d55,transparent 25%),
    radial-gradient(ellipse at 79% 78%,#bd162d61,transparent 28%),
    radial-gradient(ellipse at 32% 84%,#e5334059,transparent 29%);
  -webkit-mask-image:radial-gradient(circle,transparent 35%,#0009 51%,#000 65%,transparent 88%);
  mask-image:radial-gradient(circle,transparent 35%,#0009 51%,#000 65%,transparent 88%);
}
body[data-page='home'] #home .chill-mascot .overlive-logo-smoke.crimson {
  inset:-24%;opacity:.24;
}
body[data-page='home'] #home .chill-mascot .overlive-logo-matrix {
  z-index:2;opacity:.20;
}
/* Left column: MESSAGE then COMPTE. LIVE has its own lower right anchor. */
body[data-page='home'] #home.chill-home .chill-actions {
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--home-live-size);
  grid-template-rows:56px 56px 14px;
  gap:12px 18px;
  align-items:center;
  width:min(100%,388px);
  max-width:100%;
  min-width:0;
  flex:0 0 auto;
  padding:0;
  margin:0;
}
body[data-page='home'] #home .chill-actions>.chill-action {
  position:relative;
  min-width:0;
  width:100%;
  min-height:48px;
  margin:0;
  padding:10px 12px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  grid-template-rows:auto;
  column-gap:8px;
  row-gap:0;
  border-radius:18px;
  color:var(--home-warm-ink)!important;
  background:hsl(calc(var(--rgb-base-hue,225deg) + var(--rgb-surface-turn,0deg)) 38% 12% / .75)!important;
  text-transform:uppercase;
  text-align:left;
  cursor:pointer;
  transition:transform 140ms ease-out;
}
body[data-page='home'] #home .chill-actions>.chill-action:is([data-home-message='true'],[data-jump='emojis']) {
  grid-column:1;grid-row:1;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-jump='space'] {
  grid-column:1;grid-row:2;
}
body[data-page='home'] #home .chill-actions>.chill-action>.action-icon {
  grid-column:1;grid-row:1;
  width:28px;height:28px;
  min-width:0;
  margin:0;
  border-radius:9px;
  font-size:20px;
  line-height:1;
}
body[data-page='home'] #home .chill-actions>.chill-action>span:not(.action-icon):not(.action-arrow):not(.social-nav-unread) {
  grid-column:2;grid-row:1;
  min-width:0;
  overflow-wrap:normal;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.02em;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice] {
  grid-column:2;grid-row:1 / 4;
  justify-self:end;
  align-self:end;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  width:var(--home-live-size);
  height:var(--home-live-size);
  min-width:var(--home-live-size);
  min-height:var(--home-live-size);
  max-width:none;
  padding:16px;
  overflow:visible;
  isolation:isolate;
  border:1px solid #ff9f697d!important;
  border-radius:49% 47% 48% 50%;
  background:linear-gradient(145deg,rgb(69 20 15 / .75),rgb(33 12 13 / .75))!important;
  color:var(--home-warm-ink)!important;
  text-shadow:0 1px 3px #150604!important;
  box-shadow:inset 0 1px 0 #ffc44322,0 0 0 4px #e2392810,0 0 24px #e2392842,0 8px 22px #09030470!important;
  animation:none!important;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]>.action-icon {
  width:32px;height:32px;
  position:relative;z-index:2;
  flex:0 0 auto;
  border:0;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--home-warm-ink)!important;
  font-size:26px;
  animation:none!important;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]>span:not(.action-icon):not(.action-arrow) {
  position:relative;z-index:2;
  font-size:20px;
  letter-spacing:.06em;
  line-height:1.1;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]::before {
  content:'';
  position:absolute;inset:-3px;
  pointer-events:none;
  border-radius:50%;
  padding:2px;
  background:conic-gradient(from 12deg,var(--home-warm-red),var(--home-warm-orange) 28%,var(--home-warm-yellow) 46%,var(--home-warm-orange) 66%,var(--home-warm-red) 87%,var(--home-warm-red));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  opacity:.86;
  animation:overlive-home-warm-orbit 6.8s linear infinite;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]::after {
  content:'';
  position:absolute;inset:-7px;
  pointer-events:none;
  border:1px solid #ff742849;
  border-radius:46% 51% 48% 52%;
  box-shadow:0 0 12px #ee3f2940;
  opacity:.42;
  animation:overlive-home-warm-echo 5.7s steps(1,end) infinite;
}
body[data-page='home'] #home .chill-actions>.chill-action:focus-visible {
  outline:2px solid #fff7ec!important;
  outline-offset:5px;
}
body[data-page='home'] #home .chill-actions>.chill-action:active {
  transform:translateY(1px);
}
body[data-page='home'] #home .chill-actions .social-nav-unread {
  z-index:4;right:7px;top:4px;
  text-transform:none;
}
body[data-page='home'] #home .overlive-download-home {
  flex:0 0 auto;
  margin-top:18px;
}
body[data-page='home'] #home .overlive-download-home :is(a,button) {
  min-height:44px;
}
@keyframes overlive-home-warm-orbit {to{transform:rotate(360deg);}}
@keyframes overlive-home-warm-echo {
  0%,86%,94%,100%{transform:translate3d(0,0,0);opacity:.30;}
  87%{transform:translate3d(1px,-.5px,0);opacity:.46;}
  89%{transform:translate3d(-1px,.5px,0);opacity:.37;}
  92%{transform:translate3d(.5px,0,0);opacity:.42;}
}
body.rgb-paused[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]::before,
body.rgb-paused[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]::after {
  animation-play-state:paused!important;
}
@media(max-height:680px) {
  body[data-page='home'] #home.chill-home {--home-mascot-size:99.008px;padding-block:8px 22px;}
  body[data-page='home'] #home.chill-home .chill-mascot.overlive-logo-scene {margin-block:18px 26px;}
  body[data-page='home'] #home .overlive-download-home {margin-top:12px;}
}
@media(max-width:360px) {
  body[data-page='home'] #home.chill-home {--home-live-size:120px;}
  body[data-page='home'] #home.chill-home .chill-actions {column-gap:12px;}
  body[data-page='home'] #home .chill-actions>.chill-action {padding-inline:10px;column-gap:6px;}
  body[data-page='home'] #home .chill-actions>.chill-action>span:not(.action-icon):not(.action-arrow):not(.social-nav-unread) {font-size:12px;}
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]>span:not(.action-icon):not(.action-arrow) {font-size:19px;}
}
@media(max-height:500px) and (min-width:550px) {
  /* The existing short-landscape logo visibility is preserved. */
  body[data-page='home'] #home.chill-home {
    --home-live-size:clamp(96px,16vw,112px);
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center;
    column-gap:24px;
    padding-block:12px 24px;
    overflow-y:auto;
  }
  body[data-page='home'] #home.chill-home .chill-actions {
    grid-column:1;
    grid-row:1;
    grid-template-rows:48px 48px 8px;
    gap:8px 12px;
  }
  body[data-page='home'] #home .chill-actions>.chill-action {min-height:48px;padding:8px;grid-template-columns:24px minmax(0,1fr);column-gap:6px;}
  body[data-page='home'] #home .chill-actions>.chill-action>.action-icon {width:24px;height:24px;font-size:18px;}
  body[data-page='home'] #home .chill-actions>.chill-action>span:not(.action-icon):not(.action-arrow):not(.social-nav-unread) {font-size:12px;}
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice] {padding:12px;}
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]>.action-icon {width:28px;height:28px;font-size:23px;}
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]>span:not(.action-icon):not(.action-arrow) {font-size:18px;}
  body[data-page='home'] #home .overlive-download-home {grid-column:2;grid-row:1;margin-top:0;}
}
@media(prefers-reduced-motion:reduce) {
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]::before,
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]::after {animation:none!important;}
  body[data-page='home'] #home .chill-actions>.chill-action {transition:none;}
}

/* Blend the original RGB mascot with the home backdrop, through its shell. */
body[data-page='home'] .shell{z-index:auto;}
body[data-page='home'] #home .chill-actions>.chill-action:not([data-live-choice]){width:max-content;max-width:100%;justify-self:start;}
body[data-page='home'] #home .chill-actions .social-nav-unread{top:-5px!important;right:-5px!important;}

/* Retain the full mascot in short landscape as well as portrait. */
@media(max-height:500px) and (min-width:550px){
 body[data-page='home'] #home.chill-home{row-gap:6px;padding-block:4px 8px;align-content:center;}
 body[data-page='home'] #home.chill-home .chill-mascot.overlive-logo-scene{display:block!important;grid-column:1;grid-row:1;margin:8px auto 10px;}
 body[data-page='home'] #home.chill-home .chill-actions{grid-row:2;}
 body[data-page='home'] #home .overlive-download-home{grid-column:2;grid-row:1 / 3;}
}

/* Home wordmark: +30% font size versus home-brand-v1, independent of the mascot. */
body[data-page='home'] .topbar #homeLink{font-size:34.32px;}
body[data-page='home'] #homeLink .home-brand-word::after{
 content:'0V3RL1V3';position:absolute;inset:0;pointer-events:none;white-space:nowrap;
 overflow:hidden;color:#91edaf;opacity:0;text-shadow:1px 0 #d6ffe8,-1px 0 #53866c;
 animation:overlive-title-matrix-transition 7.4s steps(1,end) infinite;
}
@keyframes overlive-title-matrix-transition{
 0%{content:'0V3RL1V3';opacity:.62;clip-path:inset(0 0 60%);transform:translate3d(1px,-1px,0);}
 3%{content:'OV3R1!V3';opacity:.55;clip-path:inset(28% 0 35%);transform:translate3d(-1px,0,0);}
 7%{content:'0VERL1VE';opacity:.52;clip-path:inset(52% 0 0);transform:translate3d(1px,1px,0);}
 11%{content:'OverLife';opacity:.38;clip-path:inset(0);transform:translate3d(0,0,0);}
 16%,100%{content:'OverLife';opacity:0;clip-path:inset(0);transform:translate3d(0,0,0);}
}
#homeLink[data-home-brand-motion='paused'] .home-brand-word::after{animation-play-state:paused!important;opacity:0!important;}
@media(max-width:760px){body[data-page='home'] .topbar #homeLink{font-size:clamp(25.74px,8.294vw,32.89px);}}
@media(max-width:360px){body[data-page='home'] .topbar #homeLink{font-size:25.74px;}}
@media(prefers-reduced-motion:reduce){body[data-page='home'] #homeLink .home-brand-word::after{animation:none!important;display:none;}}

/* Recenter only the existing home LIVE action. The source control remains in
   place; hidden account actions no longer reserve portrait grid tracks. */
body[data-page='home'] #home.chill-home .chill-actions{
  grid-template-rows:none;
  grid-auto-rows:auto;
}
body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]{
  grid-column:1 / -1;
  grid-row:auto;
  justify-self:center;
  align-self:center;
  left:-10px;
}
/* Short landscape retains the two compact account rows beside the action.
   Its local rightward offset centers LIVE in the whole application viewport,
   while the installation controls keep the separate right-hand column. */
@media(max-height:500px) and (min-width:550px){
  body[data-page='home'] #home.chill-home .chill-actions{
    grid-template-rows:48px 48px 8px;
    grid-auto-rows:auto;
  }
  body[data-page='home'] #home .chill-actions>.chill-action[data-live-choice]{
    grid-column:2;
    grid-row:1 / 4;
    justify-self:end;
    align-self:end;
    left:calc(var(--home-live-size) * .5 + 2px);
  }
}
