:root {
  --home-2-ink: #08151d;
  --home-2-cream: #f5f0e6;
  --home-2-cream-muted: #d7cab2;
  --home-2-gold: #e2a93b;
  --home-2-gold-hi: #f1c45c;
  --home-2-line: rgba(226, 169, 59, .38);
  --home-2-display: "Fraunces", Georgia, "Times New Roman", serif;
  --home-2-interface: "DM Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

body:has(#screen-home.active) {
  background: radial-gradient(circle at 50% -10%, rgba(226,169,59,.09), transparent 32rem), linear-gradient(145deg, #030a0e, #0b1d26 52%, #061117);
}

body:has(#screen-home.active) .app-shell {
  width: min(100%, 1180px);
  padding: max(28px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
}

body:has(#screen-home.active) .topbar,
body:has(#screen-home.active) #burrAppVersion { display: none; }

#screen-home,
#screen-home * { box-sizing: border-box; }

#screen-home.active {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: min(720px, calc(100dvh - 56px));
  overflow: hidden;
  isolation: isolate;
  flex-direction: column;
  padding: 38px clamp(54px, 8vw, 110px) 22px;
  color: var(--home-2-cream);
  border: 1px solid rgba(245,240,230,.13);
  border-radius: 28px;
  background: var(--home-2-ink);
  box-shadow: 0 36px 90px rgba(0,0,0,.52), inset 0 0 0 7px rgba(0,0,0,.18);
  font-family: var(--home-2-interface);
}

.real-home__background,
.real-home__overlay { position: absolute; inset: 0; pointer-events: none; }

.real-home__background {
  z-index: -3;
  background-color: var(--home-2-ink);
  background-image: url("assets/home/burrquizzz-pub-background.png");
  background-position: center 64%;
  background-size: cover;
}

.real-home__overlay {
  z-index: -2;
  background: radial-gradient(ellipse at 50% 42%,rgba(4,15,21,.12),rgba(4,15,21,.48) 70%), linear-gradient(90deg,rgba(1,7,10,.34),transparent 22%,transparent 78%,rgba(1,7,10,.34)), linear-gradient(180deg,rgba(2,9,13,.24),transparent 40%,rgba(1,6,9,.58));
  box-shadow: inset 0 0 110px 18px rgba(0,0,0,.44);
}

.real-home__topline {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 920px;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-inline: auto;
}

.real-home__host { display: flex; min-width: 0; align-items: center; gap: 11px; }

.real-home__avatar {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--home-2-gold);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%,rgba(241,196,92,.26),transparent 28%), linear-gradient(145deg,#24434a,#0a181e);
  box-shadow: 0 5px 18px rgba(0,0,0,.34);
  font: 700 1.05rem Georgia,"Times New Roman",serif;
}

.real-home__greeting { display: grid; min-width: 0; gap: 2px; }
.real-home__greeting strong { overflow: hidden; font-size: .88rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.real-home__greeting small { color: var(--home-2-cream-muted); font-size: .72rem; }

.real-home__sound {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  place-items: center;
  color: var(--home-2-gold-hi);
  border: 1px solid var(--home-2-line);
  border-radius: 50%;
  background: rgba(8,21,29,.82);
  filter: none;
  opacity: 1;
}

.real-home__sound svg,
.real-home__cta svg,
.real-home__online svg { display: block; width: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.real-home__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%,720px);
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding-top: 34px;
  text-align: center;
}

.real-home__logo { position: relative; display: inline-grid; max-width: 100%; justify-items: center; filter: drop-shadow(0 16px 22px rgba(0,0,0,.7)); }

#screen-home .real-home__logo h1 {
  max-width: 100%;
  margin: 0;
  color: var(--home-2-cream);
  font: italic 900 6rem/.82 var(--home-2-display);
  font-variation-settings: "opsz" 96, "SOFT" 20, "WONK" 1;
  letter-spacing: -.04em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255,255,255,.18);
  text-shadow: 0 3px 0 #8c4b25,0 6px 0 #25130d,0 12px 28px rgba(0,0,0,.75);
  transform: skew(-7deg) rotate(-2deg);
}

#screen-home .real-home__logo h1::first-line { color: var(--home-2-cream); }

.real-home__star { position: absolute; top: -33px; right: 12%; color: var(--home-2-gold-hi); font-size: 1.22rem; filter: drop-shadow(0 3px 5px rgba(226,169,59,.48)); transform: rotate(8deg); }

.real-home__edition { margin-top: 18px; color: var(--home-2-cream-muted); font: 700 .7rem var(--home-2-interface); letter-spacing: .15em; text-shadow: 0 2px 8px #000; text-transform: uppercase; white-space: nowrap; }
.real-home__edition::before,
.real-home__edition::after { content: ""; display: inline-block; width: 26px; height: 1px; margin: 0 9px 4px; background: var(--home-2-line); }

#screen-home .real-home__tagline { margin: 29px 0 0; color: #efe8dc; font: 700 1.08rem/1.45 var(--home-2-display); text-shadow: 0 2px 8px #000; }

.real-home__actions { display: grid; width: min(100%,390px); min-width: 0; justify-items: stretch; gap: 8px; margin-top: auto; }

.real-home__cta-dock {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(226,169,59,.26);
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(15,27,31,.9),rgba(2,8,11,.96));
  box-shadow: 0 13px 35px rgba(0,0,0,.5), inset 0 1px rgba(255,255,255,.06);
}

.real-home__cta-dock::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(0,0,0,.55); border-radius: 12px; pointer-events: none; }

.real-home__cta {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  overflow: hidden;
  color: #171208;
  border: 1px solid #f7cf72;
  border-radius: 13px;
  background: linear-gradient(180deg,#f1c45c 0%,#e2a93b 58%,#d79a2d 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24),inset 0 -3px 0 rgba(89,51,7,.16),0 8px 18px rgba(0,0,0,.28);
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 180ms cubic-bezier(.2,.8,.2,1),filter 180ms ease,box-shadow 180ms ease;
}

.real-home__cta svg { fill: currentColor; stroke: none; }
.real-home__cta strong,.real-home__cta small { display: block; }
.real-home__cta strong { font: 800 1.12rem/1.1 var(--home-2-interface); letter-spacing: .02em; }
.real-home__cta small { margin-top: 3px; font-size: .75rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.real-home__cta:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.24),inset 0 -3px 0 rgba(89,51,7,.16),0 11px 28px rgba(226,169,59,.3); }
.real-home__cta:active { transform: translateY(1px); }

.real-home__online { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; gap: 10px; padding: 9px 16px; color: var(--home-2-cream); border: 1px solid rgba(226,169,59,.42); border-radius: 13px; background: linear-gradient(180deg,rgba(14,34,42,.9),rgba(5,18,24,.96)); box-shadow: inset 0 1px rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.28); cursor: pointer; transition: color 180ms ease,border-color 180ms ease,background 180ms ease,transform 180ms cubic-bezier(.2,.8,.2,1); }
.real-home__online strong,.real-home__online small { display: block; }
.real-home__online strong { font: 800 .86rem/1.1 var(--home-2-interface); letter-spacing: .02em; text-transform: uppercase; }
.real-home__online small { margin-top: 3px; color: var(--home-2-cream-muted); font: 500 .7rem/1.15 var(--home-2-interface); }
.real-home__online:hover { color: var(--home-2-gold-hi); border-color: rgba(241,196,92,.7); background: linear-gradient(180deg,rgba(19,44,53,.94),rgba(7,23,30,.98)); transform: translateY(-1px); }
.real-home__online:active { transform: translateY(1px); }
.real-home__cta:focus-visible,.real-home__online:focus-visible { outline: 3px solid var(--home-2-gold-hi); outline-offset: 4px; }

@media (min-width: 681px) and (min-height: 820px) {
  body:has(#screen-home.active) .app-shell {
    display: flex;
    min-height: 100dvh;
    align-items: center;
  }

  #screen-home.active { width: 100%; }
}

@media (max-width: 680px) {
  body:has(#screen-home.active) { width: 100vw; max-width: 100vw; height: auto; min-height: 100dvh; overflow-x: visible; overflow-y: auto; overscroll-behavior-y: auto; }
  body:has(#screen-home.active) .app-shell { display: block; width: 100%; height: auto; min-height: 100dvh; padding: max(28px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); overflow: visible; }
  #screen-home.active { width: 100%; max-width: 100%; min-width: 0; min-height: calc(100dvh - 46px); padding: 28px clamp(14px,4.5vw,20px) 18px; overflow: hidden; border-radius: clamp(24px,7vw,32px); }
  .real-home__background { background-position: 54% 60%; }
  .real-home__topline,.real-home__content,.real-home__logo,.real-home__actions,.real-home__cta-dock,.real-home__cta { min-width: 0; max-width: 100%; }
  .real-home__host { gap: 9px; }
  .real-home__greeting strong { font-size: clamp(.76rem,3.7vw,.88rem); }
  .real-home__content { width: 100%; padding-top: clamp(22px,6.5dvh,52px); }
  .real-home__logo { display: grid; width: 100%; }
  #screen-home .real-home__logo h1 { font-size: clamp(2.45rem,12.8vw,3.45rem); }
  .real-home__star { right: 9%; }
  .real-home__edition { width: 100%; margin-top: 16px; font-size: clamp(.58rem,2.7vw,.7rem); letter-spacing: clamp(.09em,.5vw,.15em); }
  .real-home__edition::before,.real-home__edition::after { width: clamp(12px,5vw,22px); margin-inline: clamp(5px,2vw,8px); }
  #screen-home .real-home__tagline { margin-top: clamp(22px,4dvh,32px); font-size: clamp(.98rem,4.5vw,1.08rem); }
  .real-home__actions { width: 100%; }
  .real-home__cta { min-height: 68px; padding-inline: clamp(12px,4vw,20px); }
  .real-home__cta strong { font-size: clamp(.96rem,4.4vw,1.12rem); }
}

@media (max-height: 650px) and (max-width: 680px) {
  #screen-home.active { min-height: 620px; }
  .real-home__content { padding-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  #screen-home *,#screen-home *::before,#screen-home *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
