/* Homepage layout and appearance from Home Customization (Ian #15 piece 4). */
.home-off { display: none !important; }
html[data-home-bg="color"] body:not(:has(.card.live-mode)) .stage {
  background: var(--home-bg-color, #a6f000);
}
html[data-home-bg="color"][data-admin-theme="dark"] body:not(:has(.card.live-mode)) .stage {
  background: var(--home-bg-color-dark, #142000);
}
.glass-blobs i { filter: blur(48px) saturate(var(--flare-vibrance, 1)); }
html[data-flare-tint] .glass-blobs i:nth-child(2),
html[data-flare-tint] .glass-blobs i:nth-child(4) {
  background: var(--flare-color, #ff2a2a);
}
.socials.home-recenter { margin-top: 6px; transform: translateY(-6px); }
.waitlist-button, .map-button, .business-btn, .share-button { right: auto; left: auto; }
.waitlist-button.home-chrome-left, .map-button.home-chrome-left,
.business-btn.home-chrome-left, .share-button.home-chrome-left { left: var(--home-chrome-x, 14px); }
.waitlist-button.home-chrome-right, .map-button.home-chrome-right,
.business-btn.home-chrome-right, .share-button.home-chrome-right { right: var(--home-chrome-x, 14px); left: auto; }
/* Rainbow flare (Ian #15 step 15): every blob takes a rainbow hue and the whole glow slowly cycles. */
html[data-flare-rainbow] .glass-blobs { animation: flare-rainbow-spin 10s linear infinite; }
html[data-flare-rainbow] .glass-blobs i:nth-child(1) { background: radial-gradient(circle at 40% 40%, #ff2b2b, #ff8c00 55%, transparent 72%); }
html[data-flare-rainbow] .glass-blobs i:nth-child(2) { background: radial-gradient(circle at 50% 50%, #ffe135, #8acd00 55%, transparent 72%); }
html[data-flare-rainbow] .glass-blobs i:nth-child(3) { background: radial-gradient(circle at 50% 50%, #00bfd8, #0000ff 55%, transparent 72%); }
html[data-flare-rainbow] .glass-blobs i:nth-child(4) { background: radial-gradient(circle at 50% 50%, #9146ff, #ff2bd6 55%, transparent 72%); }
html[data-flare-rainbow] .glass-blobs i:nth-child(5) { background: radial-gradient(circle at 50% 50%, #00a86b, #ffe135 55%, transparent 72%); }
@keyframes flare-rainbow-spin { from { filter: hue-rotate(0deg); } to { filter: hue-rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { html[data-flare-rainbow] .glass-blobs { animation: none; } }
/* Home: Admin bokeh strength (Ian #18): the one setting that applies in Admin mode. */
html[data-home-bg="admin"] .glass-blobs { opacity: var(--admin-bokeh-opacity, 1); }
html[data-home-bg="admin"] .glass-blobs i { filter: blur(48px) saturate(var(--admin-bokeh-sat, 1)); }

/* ── Ian #18 (Nov 12) ── */
/* Badges (Ian #18, Nov 12 1:19am): back on liquid glass rather than solid white/black,
   with legibility coming from a stronger blur/saturation and a soft halo on each icon. */
.socials .social {
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(20px) saturate(190%); backdrop-filter: blur(20px) saturate(190%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -1px 0 rgba(255, 255, 255, 0.18), 0 3px 12px rgba(0, 0, 0, 0.16);
}
html[data-admin-theme="dark"] .socials .social {
  background: rgba(20, 20, 26, 0.34);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 3px 12px rgba(0, 0, 0, 0.35);
}
.card.live-mode .socials .social {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 3px 12px rgba(0, 0, 0, 0.22);
}
.socials .social svg, .socials .social img {
  filter: drop-shadow(0 0 0.6px rgba(255, 255, 255, 0.9)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
html[data-admin-theme="dark"] .socials .social svg, html[data-admin-theme="dark"] .socials .social img,
.card.live-mode .socials .social svg, .card.live-mode .socials .social img {
  filter: drop-shadow(0 0 0.6px rgba(0, 0, 0, 0.9)) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}
html[data-admin-theme="dark"] .socials .social[aria-label="YouTube"] { color: #ff2b2b; }
/* Symbols geometrically centered in all four bubbles. */
.socials .social svg { display: block; margin: 0; }
.socials .social[aria-label="TikTok"] svg { width: 26px; height: 26px; transform: none; }
.socials .social[aria-label="YouTube"] svg { transform: none; }
/* Apple Music: slightly larger; white with a black note in light mode, black with a white note in dark mode. */
.am-dark { display: none !important; }
html[data-admin-theme="dark"] .am-light { display: none !important; }
html[data-admin-theme="dark"] .am-dark { display: block !important; }
.social[aria-label="Apple Music"] img { width: 32px; height: 32px; }
.link[data-home-id="AppleMusic"] .thumb img { transform: scale(1.12); }
/* @ianlrsn: the same stronger RGB split as the queue page and overlay. */
.handle { animation-name: handle-rgb-strong; }
@keyframes handle-rgb-strong {
  0%   { text-shadow: -2px -2px 0 #ff2222,  2px -2px 0 #22cc22, -2px  2px 0 #2255ff,  2px  2px 0 #ff2222,  0 0 14px rgba(255,255,255,0.3); }
  33%  { text-shadow:  2px  2px 0 #22cc22, -2px  2px 0 #2255ff,  2px -2px 0 #ff2222, -2px -2px 0 #22cc22,  0 0 14px rgba(255,255,255,0.3); }
  66%  { text-shadow:  2px -2px 0 #2255ff, -2px -2px 0 #ff2222,  2px  2px 0 #22cc22, -2px  2px 0 #2255ff,  0 0 14px rgba(255,255,255,0.3); }
  100% { text-shadow: -2px -2px 0 #ff2222,  2px -2px 0 #22cc22, -2px  2px 0 #2255ff,  2px  2px 0 #ff2222,  0 0 14px rgba(255,255,255,0.3); }
}
/* Top buttons (Ian #18, Nov 12 1:30am): one size for every round button, each symbol centered
   with a similar visual weight. Share is a <button>, so browser button padding/appearance is cleared. */
.waitlist-button, .business-btn, .share-button, .map-button {
  box-sizing: border-box; padding: 0; margin: 0; -webkit-appearance: none; appearance: none;
  display: grid; place-items: center; line-height: 0; font: inherit;
}
.waitlist-button svg { width: 24px; height: 24px; }
.business-btn svg { width: 22px; height: 22px; stroke-width: 1.9; }
.share-button svg { width: 25px; height: 25px; stroke-width: 1.75; }
.map-button svg { width: 24px; height: 24px; }
.waitlist-button svg, .business-btn svg, .share-button svg, .map-button svg { display: block; margin: 0; }
