:root {
  --v2-night: #081538;
  --v2-night-deep: #050d26;
  --v2-indigo: #17184d;
  --v2-gold: #e7c478;
  --v2-gold-soft: #f5dfa4;
  --v2-paper: #fbf4e8;
  --v2-paper-deep: #efe2cf;
  --v2-ink: #152650;
  --v2-muted: #66708b;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 92px; }
body.home-v2 {
  margin: 0;
  background-color: var(--v2-night);
  background-image:
    linear-gradient(rgba(4, 13, 39, .38), rgba(3, 10, 31, .58)),
    url('../images/page-background-original.jpg');
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff8e9;
  font-family: Montserrat, Arial, sans-serif;
}
body.home-v2::before { display: none; }
body.home-v2::selection { background: var(--v2-gold); color: var(--v2-night); }

.home-v2 .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  min-height: 82px;
  padding: 10px max(28px, calc((100% - 1420px) / 2));
  border-bottom: 1px solid rgba(231, 196, 120, .23);
  background: linear-gradient(135deg, rgba(7, 17, 48, .76), rgba(11, 24, 61, .68));
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  box-shadow: 0 10px 30px rgba(2, 8, 28, .16);
}
.home-v2 .brand img { width: 194px; height: 58px; }
.home-v2 .site-header nav { align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.home-v2 .site-header nav a {
  position: relative;
  isolation: isolate;
  padding: 12px 0;
  color: #f7edd7;
  font-family: 'Bona Nova', serif;
  font-size: 15px;
  font-weight: 400;
}
.home-v2 .site-header nav a::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: url('../images/animationstars.png') center/contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.76);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.home-v2 .site-header nav a.active::before {
  opacity: .9;
  transform: translate(-50%, -50%) scale(1);
  animation: header-active-circle 22s linear infinite;
}
.home-v2 .site-header nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--v2-gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.home-v2 .site-header nav a:hover::after,
.home-v2 .site-header nav a:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions > a:not(.previous-version) {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(245, 223, 164, .38);
  border-radius: 50%;
  color: var(--v2-gold-soft);
  font: 700 13px Montserrat, sans-serif;
  text-decoration: none;
}
.previous-version {
  margin-left: 6px;
  padding: 9px 13px;
  border: 1px solid rgba(245, 223, 164, .45);
  border-radius: 999px;
  color: var(--v2-gold-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.customizer-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 4.5vw, 64px) max(20px, calc((100% - 1240px) / 2)) 86px;
  background:
    radial-gradient(circle at 78% 82%, rgba(97, 82, 180, .26), transparent 34%),
    linear-gradient(145deg, rgba(7, 19, 47, .58), rgba(17, 23, 69, .62) 52%, rgba(8, 15, 45, .7));
  background-size: auto, auto;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 830px;
  margin: 0 auto 44px;
  text-align: center;
}
.hero-copy .eyebrow { color: var(--v2-gold); }
.hero-copy h1 {
  margin: 0;
  color: #fff4dc;
  font: 400 clamp(46px, 6.6vw, 86px)/.98 'Bona Nova', serif;
  letter-spacing: -.025em;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px auto 12px;
  color: #cdd3e5;
  font: 400 15px/1.8 Montserrat, sans-serif;
}
.hero-note { color: var(--v2-gold-soft); font: 400 italic 17px 'Bona Nova', serif; }

.home-v2 .customizer {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(390px, .92fr) minmax(520px, 1.08fr);
  width: min(1240px, 100%);
  height: 760px;
  min-height: 0;
  margin-inline: auto;
  border: 1px solid rgba(231, 196, 120, .65);
  border-radius: 20px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .45), 0 0 0 8px rgba(255, 255, 255, .035);
}
.home-v2 .stage {
  width: 100%;
  height: 760px;
  min-height: 0;
  background: linear-gradient(155deg, #fffaf0, #eadcc8);
}
.home-v2 .controls {
  width: 100%;
  height: 760px;
  min-height: 0;
  overflow: hidden;
  background: #fffdf8;
}
.home-v2 .character {
  top: 25px;
  bottom: auto;
  width: 499px;
  height: 754px;
  transform: translateX(-50%) scale(.92);
  transform-origin: top center;
}
.home-v2 .character [data-layer="shadow"] { z-index: 0; mix-blend-mode: multiply; }
.home-v2 .character [data-layer="hairBack"] { z-index: 1; }
.home-v2 .character [data-layer="body"] { z-index: 2; }
.home-v2 .character [data-layer="vitiligoBody"] { z-index: 3; }
.home-v2 .character [data-layer="head"] { z-index: 4; }
.home-v2 .character [data-layer="vitiligoHead"] { z-index: 5; }
.home-v2 .character [data-layer="eyes"] { z-index: 6; }
.home-v2 .character [data-layer="heterochromiaEye"] { z-index: 7; clip-path: inset(0 0 0 50%); }
.home-v2 .character [data-layer="eyebrows"] { z-index: 8; }
.home-v2 .character [data-layer="eyelashes"] { z-index: 9; }
.home-v2 .character [data-layer="blink"] { z-index: 10; }
.home-v2 .character [data-layer="mouth"] { z-index: 11; mix-blend-mode: multiply; }
.home-v2 .character [data-layer="hairTop"] { z-index: 12; }
.home-v2 .character [data-layer="bang"] { z-index: 13; }
.home-v2 .character [data-layer="outfit"] { z-index: 14; }
.home-v2 .character img[hidden] { display: none !important; }
.main-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
  border-bottom: 1px solid #e9ddc8;
  background: #f8f1e6;
}
.main-tabs button {
  padding: 11px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #80745f;
  font: 700 13px 'Bona Nova', serif;
  cursor: pointer;
}
.main-tabs button.active { border-color: #d7b56f; background: #fff; color: #72521e; box-shadow: 0 3px 10px rgba(95, 68, 23, .09); }
.option .option-label {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 10px;
  place-items: center;
  color: #6e5a38;
  font: 700 10px/1.25 Montserrat, sans-serif;
  text-align: center;
}
.option-subgroup {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 128px);
  justify-content: start;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid #eadfcd;
}
.option-subgroup-title {
  grid-column: 1 / -1;
  margin: 0;
  color: #8b6527;
  font: 700 11px Montserrat, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.option-subgroup .option {
  width: 128px;
  max-width: 128px;
  height: 52px;
  aspect-ratio: auto;
  border-radius: 14px;
}
.option-subgroup-colors {
  grid-template-columns: repeat(auto-fill, 82px);
  justify-content: start;
  gap: 10px;
}
.option-subgroup-colors .option {
  width: 82px;
  max-width: 82px;
  height: 82px;
  justify-self: center;
  border-radius: 50%;
}
.option-subgroup-colors .option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(6);
  transform-origin: 50% 12%;
}
.option-subgroup-eye-colors .option img {
  transform-origin: 50% 18%;
}
@keyframes header-active-circle {
  to { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .home-v2 .site-header nav a.active::before { animation: none; }
}
.home-v2 .options-head h2 { margin: 4px 0 0; color: #8b6527; font: 700 28px 'Bona Nova', serif; }
.home-v2 .options {
  flex: 1 1 auto;
  grid-template-columns: repeat(auto-fill, 82px);
  align-content: start;
  justify-content: start;
  gap: 10px;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #b88935 #fffdf8;
  scrollbar-width: thin;
}
.home-v2 .options::-webkit-scrollbar { width: 11px; }
.home-v2 .options::-webkit-scrollbar-track { background: #fffdf8; }
.home-v2 .options::-webkit-scrollbar-thumb {
  border: 2px solid #fffdf8;
  border-radius: 999px;
  background: linear-gradient(180deg, #e0b85f, #a87522);
}
.home-v2 .options::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #eccb7b, #956317); }
.home-v2 .options > .option {
  width: 82px;
  max-width: 82px;
  height: 82px;
  aspect-ratio: auto;
  justify-self: start;
}
.home-v2 .option {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 0;
  background: transparent;
}
.home-v2 .option::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: -13px;
  left: -9px;
  width: 32px;
  height: 32px;
  background: url('../images/ui/flores-hover-opcoes.png') center / contain no-repeat;
  opacity: 0;
  transform: scale(.72) translate(4px, 4px);
  transform-origin: 50% 50%;
  transition: opacity .22s ease, transform .3s cubic-bezier(.2, .75, .25, 1);
  pointer-events: none;
}
.home-v2 .option:hover::before,
.home-v2 .option:focus-visible::before {
  opacity: 1;
  transform: scale(1) translate(0, 0);
}
.home-v2 .option-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid #ded4c0;
  border-radius: inherit;
  background-color: #fffaf0;
  background-image: url('../images/ui/xadrez-bg-icons.png');
  background-repeat: repeat;
}
.home-v2 .option img,
.home-v2 .option .option-label {
  position: relative;
  z-index: 1;
}
.control-buttons { display: flex; align-items: center; gap: 9px; }
.share {
  padding: 12px 18px;
  border: 1px solid #c6d0df;
  border-radius: 999px;
  background: var(--v2-night);
  color: #fff7df;
  font: 700 11px Montserrat, sans-serif;
  cursor: pointer;
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, .9fr) minmax(520px, 1.35fr) minmax(220px, .65fr);
  gap: clamp(26px, 4vw, 64px);
  align-items: center;
  padding: 82px max(24px, calc((100% - 1380px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 14%, rgba(177, 131, 59, .14) 0 1px, transparent 2px),
    linear-gradient(135deg, #fffaf1, #f3e7d7);
  background-size: 54px 54px, auto;
  color: var(--v2-ink);
}
.script-kicker { margin: 0 0 15px; color: #514275; font: italic 28px 'Bona Nova', serif; }
.about-intro h2,
.news-heading h2,
.signup-copy h2 {
  margin: 0;
  font: 400 clamp(38px, 4vw, 58px)/1.04 'Bona Nova', serif;
}
.about-intro > p:not(.script-kicker) { color: #445474; font: 14px/1.8 Montserrat, sans-serif; }
.about-links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 26px; }
.text-link { color: #514275; font-size: 12px; font-weight: 700; text-underline-offset: 5px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.feature-grid article { min-height: 210px; padding: 30px 24px; border-left: 1px solid rgba(36, 51, 92, .14); text-align: center; }
.feature-grid article:nth-child(n+3) { border-top: 1px solid rgba(36, 51, 92, .14); }
.feature-grid article > span {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid #d7b975;
  border-radius: 50%;
  color: #3a386c;
  font: 400 31px 'Bona Nova', serif;
}
.feature-grid h3 { margin: 0 0 10px; font: 700 18px/1.15 'Bona Nova', serif; }
.feature-grid p { margin: 0; color: #66708a; font-size: 11px; line-height: 1.65; }
.future-art-slot,
.news-art-slot {
  display: grid;
  place-content: center;
  border: 1px dashed rgba(60, 54, 101, .42);
  background:
    linear-gradient(135deg, rgba(255,255,255,.52), rgba(220,205,190,.45)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(49,42,86,.035) 12px 13px);
  color: #625d79;
  text-align: center;
}
.future-art-slot { min-height: 320px; padding: 28px; transform: rotate(2deg); box-shadow: 0 15px 35px rgba(43, 34, 60, .12); }
.future-art-slot span,
.news-art-slot span { font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.future-art-slot strong { margin: 10px 0; color: #29325a; font: 700 20px 'Bona Nova', serif; }
.future-art-slot small,
.news-art-slot small { font-size: 10px; }

.news-section {
  display: grid;
  grid-template-columns: minmax(0, 1120px);
  justify-content: center;
  align-items: center;
  padding: 82px max(24px, calc((100% - 1380px) / 2)) 94px;
  background:
    radial-gradient(circle at 14% 24%, rgba(215, 178, 105, .18), transparent 32%),
    linear-gradient(145deg, #fffaf0, #f2e7d6 72%, #f8f1e7);
  border-top: 1px solid rgba(120, 87, 38, .2);
  border-bottom: 1px solid rgba(120, 87, 38, .2);
}
.news-heading { align-self: center; max-width: 310px; }
.news-heading h2 { color: #172957; font-size: clamp(42px, 4vw, 58px); font-style: italic; }
.news-heading h2::before { content: '✦'; display: inline-block; margin-right: 12px; color: #b98530; font: normal 32px/1 Montserrat, sans-serif; transform: translateY(-3px); }
.news-heading > p { margin: 20px 0 28px; color: #596783; font-size: 13px; line-height: 1.75; }
.news-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 218px;
  padding: 13px 20px;
  border: 1px solid #9f742e;
  border-radius: 999px;
  color: #172957;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.news-all-link:hover { background: #172957; color: #fff7e5; transform: translateY(-2px); }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 24px; }
.news-card { overflow: hidden; border: 1px solid rgba(157, 112, 41, .35); border-radius: 11px; background: #fffdf8; box-shadow: 0 15px 34px rgba(70, 45, 20, .1); color: var(--v2-ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 24px 45px rgba(0, 0, 0, .28); }
.news-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.7;
  border-bottom: 1px solid rgba(157, 112, 41, .22);
  object-fit: cover;
  object-position: center;
}
.news-art-slot { aspect-ratio: 16/8.7; border-width: 0 0 1px; border-style: dashed; background-color: #ded4c9; }
.news-card-copy { position: relative; min-height: 165px; padding: 22px 58px 22px 22px; }
.news-card-copy > small { color: #5d4f88; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.news-card h3 { margin: 11px 0 12px; font: 700 21px/1.12 'Bona Nova', serif; }
.news-card .news-date { margin: 0; color: var(--v2-muted); font: 400 11px 'Bona Nova', serif; }
.card-arrow { position: absolute; right: 20px; bottom: 22px; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d5c4a8; border-radius: 50%; }

.signup-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(440px, 1.12fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  overflow: hidden;
  padding: 90px max(24px, calc((100% - 1160px) / 2));
  background:
    radial-gradient(circle at 13% 20%, rgba(93, 78, 174, .42), transparent 34%),
    radial-gradient(circle at 84% 78%, rgba(184, 128, 55, .18), transparent 30%),
    linear-gradient(135deg, #101744, #07122f 68%);
  color: #fff7e7;
}
.signup-section::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(231, 196, 120, .2);
  border-radius: 28px;
  pointer-events: none;
}
.signup-copy,
.signup-card { position: relative; z-index: 2; }
.signup-copy .eyebrow { color: var(--v2-gold); }
.signup-copy h2 { color: #fff3d8; font-size: clamp(46px, 5vw, 68px); }
.signup-copy > p:not(.eyebrow) { max-width: 520px; margin: 23px 0; color: #c7cfe1; font-size: 14px; line-height: 1.8; }
.signup-benefits { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.signup-benefits li { display: flex; align-items: center; gap: 11px; color: #f3e8cd; font: 400 13px 'Bona Nova', serif; }
.signup-benefits span { color: var(--v2-gold); font-size: 15px; }
.home-v2 .signup-benefits-detail {
  position: absolute;
  z-index: 1;
  left: -32px;
  bottom: -38px;
  width: min(285px, 70%);
  height: auto;
  pointer-events: none;
  user-select: none;
}
.signup-card {
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(231, 196, 120, .72);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 252, 245, .99), rgba(245, 235, 221, .98));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .36), inset 0 0 0 6px rgba(255, 255, 255, .36);
  color: var(--v2-ink);
}
.signup-card::before { content: '✦'; position: absolute; top: -22px; right: 34px; color: var(--v2-gold); font-size: 39px; text-shadow: 0 0 18px rgba(240, 207, 123, .55); }
.signup-card-kicker { margin: 0 0 7px; color: #8d672b; font-size: 9px; font-weight: 700; letter-spacing: .2em; }
.signup-card h3 { margin: 0; color: #192b57; font: 700 clamp(31px, 3vw, 42px)/1.05 'Bona Nova', serif; }
.signup-card-lead { margin: 10px 0 26px; color: #68738c; font-size: 12px; line-height: 1.6; }
.signup-section form { display: grid; gap: 15px; }
.signup-section label { color: #29395e; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.signup-section input:not([type=checkbox]) { width: 100%; margin-top: 7px; padding: 14px 15px; border: 1px solid #cfbea3; border-radius: 10px; outline: none; background: #fff; color: #1b2b50; font: 14px Montserrat, sans-serif; text-transform: none; }
.signup-section input:not([type=checkbox]):focus { border-color: #b88935; box-shadow: 0 0 0 3px rgba(205, 157, 66, .13); }
.signup-section input::placeholder { color: #a4a8b1; }
.signup-section .consent { display: flex; gap: 9px; align-items: flex-start; color: #687188; font-size: 10px; font-weight: 500; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.signup-section .button { justify-self: stretch; min-height: 49px; margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 18px; margin: 0; font-size: 12px; }

.home-v2 .funding { align-items: flex-start; border-top: 1px solid rgba(231, 196, 120, .18); background: #091431; }
.home-v2 .funding strong { font-size: 11px; }
.home-v2 .funding p { font-size: 13px; line-height: 1.7; }
.home-v2 .funding-copy { padding-top: 2px; }
.home-v2 .funding-agency { display: grid; gap: 10px; }
.home-v2 .funding-realization {
  display: block;
  color: var(--v2-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-v2 .funding-logos img:first-of-type { height: 84px; }
.home-v2 .funding-logos img:last-child { width: 270px; }
.home-v2 .project-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  align-items: center;
  padding: 32px max(24px, calc((100% - 1120px) / 2));
  border-top: 1px solid rgba(231, 196, 120, .16);
  background: #060f29;
  color: #bdc5d8;
}
.project-footer .footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 100%;
}
.project-footer .footer-logos img {
  display: block;
  width: auto;
  height: 60px;
  max-width: min(220px, 42vw);
  object-fit: contain;
}
.project-footer p { margin: 0; font: italic 16px 'Bona Nova', serif; text-align: center; }
.project-footer > div { display: flex; gap: 14px; }
.project-footer > div a { color: var(--v2-gold-soft); font-size: 11px; text-decoration: none; }
.project-footer small { display: block; width: 100%; text-align: center; font-size: 9px; letter-spacing: .08em; }
.project-footer .previous-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(245, 223, 164, .45);
  border-radius: 999px;
  color: var(--v2-gold-soft);
  font: 700 9px Montserrat, sans-serif;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.project-footer .previous-version:hover,
.project-footer .previous-version:focus-visible {
  border-color: var(--v2-gold-soft);
  background: rgba(245, 223, 164, .08);
}

.orientation-gate { display: none; }
@media (max-width: 900px) and (orientation: portrait) {
  html, body { overflow: hidden; }
  .orientation-gate {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 20% 18%, rgba(223,186,99,.18), transparent 28%), radial-gradient(circle at 82% 78%, rgba(122,99,205,.2), transparent 32%), #06132f;
    color: #fff9e8;
    text-align: center;
  }
  .orientation-gate-card { display: grid; justify-items: center; width: min(390px, 100%); padding: 36px 26px; border: 1px solid rgba(223,186,99,.5); border-radius: 26px; background: rgba(9,28,65,.92); box-shadow: 0 24px 70px rgba(0,0,0,.42); }
  .orientation-gate-card small { margin-top: 28px; color: #dfba63; font: 700 10px Montserrat, Arial, sans-serif; letter-spacing: .2em; }
  .orientation-gate-card strong { margin-top: 10px; color: #fff9e8; font: 700 clamp(30px,9vw,44px)/1.04 'Bona Nova SC','Bona Nova',serif; }
  .orientation-gate-card p { max-width: 290px; margin: 16px 0 0; color: #c7d2e5; font: 500 13px/1.7 Montserrat,Arial,sans-serif; }
  .orientation-phone { position: relative; display: block; width: 46px; height: 74px; border: 3px solid #dfba63; border-radius: 9px; animation: orientation-turn 2.6s ease-in-out infinite alternate; }
  .orientation-phone::before { content: ''; position: absolute; top: 5px; left: 50%; width: 13px; height: 2px; border-radius: 2px; background: #dfba63; transform: translateX(-50%); }
  .orientation-phone::after { content: '↺'; position: absolute; left: -34px; top: 22px; color: #fff; font: 700 25px/1 Arial,sans-serif; }
}
@keyframes orientation-turn { 0%, 25% { transform: rotate(0deg); } 75%, 100% { transform: rotate(-90deg); } }
@media (prefers-reduced-motion: reduce) { .orientation-phone { animation: none; transform: rotate(-90deg); } }

@media (max-width: 1120px) {
  .home-v2 .site-header nav { display: none; }
  .about-section { grid-template-columns: .8fr 1.2fr; }
  .future-art-slot { grid-column: 1 / -1; min-height: 230px; transform: none; }
  .news-section { grid-template-columns: 1fr; }
  .news-heading { max-width: 600px; }
}

@media (max-width: 900px) {
  .header-actions > a:not(.previous-version) { display: none; }
  .home-v2 .customizer {
    grid-template-columns: 1fr;
    height: auto;
  }
  .home-v2 .stage {
    height: 620px;
    min-height: 0;
  }
  .home-v2 .controls {
    height: 760px;
  }
  .home-v2 .character {
    top: 25px;
    bottom: auto;
    transform: translateX(-50%) scale(.76);
  }
  .about-section,
  .signup-section { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .home-v2 .project-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .project-footer small { grid-column: 1; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 72px; }
  .home-v2 .site-header { min-height: 70px; padding: 7px 16px; }
  .home-v2 .brand img { width: 140px; height: 50px; }
  .previous-version { padding: 8px 10px; font-size: 8px; }
  .customizer-hero { padding: 52px 0 60px; }
  .hero-copy { padding: 0 20px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .home-v2 .customizer { border-right: 0; border-left: 0; border-radius: 0; }
  .home-v2 .stage { height: 560px; min-height: 0; }
  .home-v2 .controls { height: 720px; }
  .home-v2 .character {
    top: 25px;
    bottom: auto;
    transform: translateX(-50%) scale(.70);
  }
  .main-tabs button { padding: 10px 4px; font-size: 11px; }
  .control-buttons { width: 100%; }
  .share,
  .download { width: 100%; }
  .about-section,
  .news-section,
  .signup-section { padding: 58px 20px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article { min-height: 190px; padding: 24px 12px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-copy { min-height: 184px; }
  .home-v2 .funding-agency { justify-items: center; }
  .funding-logos { flex-direction: column; }
}

@media (max-width: 440px) {
  .home-v2 .funding p { font-size: 12px; }
  .home-v2 .funding-logos img:first-of-type { height: 74px; }
  .home-v2 .funding-logos img:last-child { width: 230px; }
  .project-footer .footer-logos { gap: 18px; }
  .project-footer .footer-logos img { height: 48px; }
}

@media (max-width: 360px) {
  .home-v2 .stage { height: 500px; }
  .home-v2 .character { transform: translateX(-50%) scale(.62); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Personalizador 16:9 — composição horizontal inspirada em interfaces de vestir. */
.home-v2 .customizer-scroll {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-inline: auto;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-color: #bd8b35 rgba(255, 253, 248, .2);
  scrollbar-width: thin;
}
.home-v2 .customizer-scroll::-webkit-scrollbar { height: 9px; }
.home-v2 .customizer-scroll::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 253, 248, .18);
}
.home-v2 .customizer-scroll::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(90deg, #9e6b1d, #e3bd67);
  background-clip: padding-box;
}
.home-v2 .customizer {
  grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  width: min(1240px, max(720px, calc(100vw - 40px)));
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 22px;
  background: #f8f2e8;
}
.home-v2 .stage,
.home-v2 .controls {
  width: 100%;
  height: 100%;
  min-height: 0;
}
.home-v2 .stage {
  isolation: isolate;
  border-right: 1px solid rgba(191, 151, 77, .36);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .96) 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 100%, rgba(201, 166, 113, .28) 0 26%, transparent 27%),
    linear-gradient(90deg, rgba(255, 255, 255, .7), transparent 22% 78%, rgba(255, 255, 255, .7)),
    linear-gradient(160deg, #e9f2f5 0%, #f9f3e9 58%, #e6d7c2 100%);
}
.home-v2 .stage::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 16%, rgba(255, 255, 255, .68) 17% 18%, transparent 19% 72%, rgba(255, 255, 255, .48) 73% 74%, transparent 75%),
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, .72) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 19%, rgba(213, 176, 98, .42) 0 2px, transparent 3px);
  background-size: auto, 82px 82px, 112px 112px;
  pointer-events: none;
}
.home-v2 .random {
  top: 18px;
  left: 18px;
  padding: 9px 17px;
  border-color: rgba(180, 132, 52, .56);
  background: rgba(255, 253, 247, .82);
  box-shadow: 0 8px 24px rgba(86, 59, 20, .12);
  backdrop-filter: blur(8px);
}
.home-v2 .stage-note {
  right: auto;
  bottom: 0;
  left: 0;
  width: min(230px, 56%);
  margin: 0;
  padding: 5px 30px 5px 10px;
  background: linear-gradient(90deg, rgba(231, 196, 120, .96) 0 54%, rgba(231, 196, 120, .68) 72%, rgba(231, 196, 120, 0) 100%);
  color: #152951;
  letter-spacing: .03em;
  font-size: 8px;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .3);
}
.home-v2 .stage-note strong,
.home-v2 .stage-note span { display: block; }
.home-v2 .stage-note strong {
  margin-bottom: 1px;
  color: #fff;
  font-size: 1.08em;
  text-shadow: 0 1px 1px rgba(81, 53, 10, .72);
}
.home-v2 .stage-note span {
  color: #fff;
  text-shadow: 0 1px 1px rgba(81, 53, 10, .62);
}
.home-v2 .character {
  top: 24px;
  bottom: auto;
  left: 50%;
  width: 499px;
  height: 754px;
  transform: translateX(-50%) scale(.84);
  transform-origin: top center;
}
.home-v2 .customizer[data-focus="hair"] .character {
  transform: translateX(-50%) scale(.92);
}
.home-v2 .customizer[data-focus="face"] .character {
  transform: translateX(-50%) scale(1.02);
}
.home-v2 .controls {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: 58px 78px minmax(0, 1fr) 82px;
  color: #152951;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(248, 243, 234, .97)),
    #fffdf8;
}
.home-v2 .main-tabs {
  position: relative;
  z-index: 8;
  grid-area: 1 / 1 / 2 / 3;
  gap: 6px;
  padding: 18px 8px;
  overflow: visible;
  border-bottom: 1px solid #e2d5c1;
  background: rgba(235, 225, 210, .78);
}
.home-v2 .main-tabs button {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-width: 0;
  padding: 8px 5px;
  border-radius: 8px;
  font-size: 12px;
  transition: border-color .28s ease, background-color .28s ease, color .28s ease, box-shadow .28s ease;
}
.home-v2 .main-tabs button::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(199px, calc(100% + 28px));
  aspect-ratio: 199 / 68;
  pointer-events: none;
  background: url('../images/ui/bg-opcoes-cabecalho-arabescos.png') center / contain no-repeat;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.82);
  transform-origin: center;
  transition: opacity .30s ease, transform .42s cubic-bezier(.2, .75, .25, 1);
}
.home-v2 .main-tabs button::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(255, 255, 255, .97);
  opacity: 0;
  transition: opacity .28s ease;
}
.home-v2 .main-tabs button > span {
  position: relative;
  z-index: 2;
}
.home-v2 .main-tabs button:hover,
.home-v2 .main-tabs button:focus-visible {
  z-index: 2;
  border-color: rgba(215, 181, 111, .72);
  background: transparent;
  color: #72521e;
  box-shadow: 0 5px 14px rgba(95, 68, 23, .13);
}
.home-v2 .main-tabs button:hover::after,
.home-v2 .main-tabs button:focus-visible::after {
  opacity: 1;
}
.home-v2 .main-tabs button:hover::before,
.home-v2 .main-tabs button:focus-visible::before {
  opacity: .88;
  transform: translate(-50%, -50%) scale(1);
}
.home-v2 .tabs {
  grid-area: 2 / 1 / 5 / 2;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  border-right: 1px solid rgba(202, 184, 156, .62);
  border-bottom: 0;
  background: rgba(239, 231, 219, .76);
}
.home-v2 .tabs button {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  min-width: 0;
  min-height: 92px;
  padding: 12px 6px;
  place-items: center;
  border: 0;
  border-bottom: 1px solid rgba(202, 184, 156, .48);
  background: transparent;
  color: #7a6d59;
  font: 700 9px/1.25 Montserrat, sans-serif;
}
.home-v2 .tabs button img {
  width: 31px;
  height: 31px;
  margin: 0 auto 6px;
  object-fit: contain;
  opacity: .72;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 12px #fff) drop-shadow(0 0 18px rgba(255, 255, 255, .88));
}

.home-v2 .option[aria-label="Curto"] img {
  transform: translateY(3px) scale(6);
}
.home-v2 .tabs button span { display: block; }
.home-v2 .tabs button.active {
  border-bottom-color: rgba(202, 184, 156, .48);
  background: rgba(255, 253, 248, .95);
  color: #815c20;
  box-shadow: none;
}
.home-v2 .tabs button.active::after {
  content: '';
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -14px;
  width: 28px;
  height: 28px;
  background: url('../images/ui/meiaestrela-categoria-selecionada.png') center / contain no-repeat;
  pointer-events: none;
  transform: translateY(-50%);
}
.home-v2 .tabs button:not(.active)::after {
  content: '';
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -14px;
  width: 28px;
  height: 28px;
  background: url('../images/ui/estrela-quatropontas-hover.png') center / contain no-repeat;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.65);
  transition: opacity .2s ease, transform .28s cubic-bezier(.2, .75, .25, 1);
}
.home-v2 .tabs button:not(.active):hover::after,
.home-v2 .tabs button:not(.active):focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.home-v2 .tabs button.active img { opacity: 1; }
.home-v2 .options-head {
  grid-area: 2 / 2 / 3 / 3;
  align-items: center;
  padding: 14px 20px 10px;
}
.home-v2 .options-head h2 {
  margin-top: 2px;
  font-size: clamp(20px, 2vw, 27px);
}
.home-v2 .options {
  grid-area: 3 / 2 / 4 / 3;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(auto-fill, 72px);
  grid-auto-rows: max-content;
  gap: 10px;
  padding: 18px 18px;
}
.home-v2 .options > .option {
  width: 72px;
  max-width: 72px;
  height: 72px;
  border-radius: 12px;
  background: transparent;
}
.home-v2 .option.active {
  border-color: transparent;
  box-shadow: none;
}
.home-v2 .option.active .option-frame {
  border-color: #c58d2e;
  box-shadow: 0 0 0 3px rgba(233, 202, 135, .62), 0 8px 18px rgba(99, 69, 21, .12);
}
.home-v2 .option::before {
  width: 32px;
  height: 32px;
}
.home-v2 .option-subgroup {
  grid-template-columns: repeat(auto-fill, 112px);
  gap: 9px;
  padding-top: 12px;
}
.home-v2 .option-subgroup .option {
  width: 112px;
  max-width: 112px;
  height: 48px;
  border-radius: 11px;
}
.home-v2 .option-subgroup-colors {
  grid-template-columns: repeat(auto-fill, 64px);
}
.home-v2 .option-subgroup-colors .option {
  width: 64px;
  max-width: 64px;
  height: 64px;
  border-radius: 11px;
}
.home-v2 .control-foot {
  grid-area: 4 / 2 / 5 / 3;
  min-width: 0;
  margin: 0;
  padding: 12px 18px;
  border-top: 1px solid #e5dac8;
  background: rgba(255, 253, 248, .72);
}
.home-v2 .control-foot p {
  max-width: none;
  margin: 0;
  font-size: 10px;
  line-height: 1.35;
}
.home-v2 .control-foot .outfit-copy strong,
.home-v2 .control-foot .outfit-copy span {
  display: block;
}
.home-v2 .control-foot .outfit-copy strong {
  margin-bottom: 2px;
  color: #8f621f;
  font-family: 'Bona Nova', serif;
}
.home-v2 .control-buttons { flex: 0 0 auto; }
.home-v2 .share,
.home-v2 .download { padding: 10px 12px; font-size: 9px; }

@media (max-width: 900px) {
  .home-v2 .customizer-scroll { padding: 0 12px 10px; }
  .home-v2 .customizer {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    width: min(1240px, max(720px, calc(100vw - 24px)));
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 17px;
  }
  .home-v2 .stage,
  .home-v2 .controls { height: 100%; }
  .home-v2 .controls {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: 43px 57px minmax(0, 1fr) 61px;
  }
  .home-v2 .main-tabs { gap: 3px; padding: 5px; }
  .home-v2 .main-tabs button { padding: 5px 3px; font-size: 9px; }
  .home-v2 .tabs button { min-height: 66px; padding: 7px 3px; font-size: 7px; }
  .home-v2 .tabs button img { width: 23px; height: 23px; margin-bottom: 3px; }
  .home-v2 .options-head { padding: 7px 12px 5px; }
  .home-v2 .options-head small { font-size: 6px; }
  .home-v2 .options-head h2 { font-size: 17px; }
  .home-v2 .options-head > span { font-size: 8px; }
  .home-v2 .options {
    grid-template-columns: repeat(auto-fill, 52px);
    gap: 7px;
    padding: 5px 11px 10px;
  }
  .home-v2 .options > .option {
    width: 52px;
    max-width: 52px;
    height: 52px;
    border-radius: 9px;
  }
  .home-v2 .option::before { top: -9px; left: -6px; width: 24px; height: 24px; }
  .home-v2 .option-subgroup {
    grid-template-columns: repeat(auto-fill, 82px);
    gap: 6px;
    padding-top: 7px;
  }
  .home-v2 .option-subgroup .option {
    width: 82px;
    max-width: 82px;
    height: 35px;
  }
  .home-v2 .option-subgroup-colors { grid-template-columns: repeat(auto-fill, 46px); }
  .home-v2 .option-subgroup-colors .option {
    width: 46px;
    max-width: 46px;
    height: 46px;
  }
  .home-v2 .option-subgroup-title { font-size: 7px; }
  .home-v2 .control-foot { gap: 8px; padding: 7px 11px; }
  .home-v2 .control-foot p { max-width: none; font-size: 7px; }
  .home-v2 .share,
  .home-v2 .download { width: auto; padding: 7px 8px; font-size: 7px; }
  .home-v2 .random { top: 10px; left: 10px; padding: 6px 10px; font-size: 8px; }
  .home-v2 .stage-note {
    bottom: 0;
    left: 0;
    width: min(158px, 52%);
    padding: 4px 18px 4px 7px;
    font-size: 6px;
  }
  .home-v2 .character {
    top: 13px;
    transform: translateX(-50%) scale(.50);
  }
  .home-v2 .customizer[data-focus="hair"] .character {
    transform: translateX(-50%) scale(.57);
  }
  .home-v2 .customizer[data-focus="face"] .character {
    transform: translateX(-50%) scale(.64);
  }
}

@media (max-width: 620px) {
  .home-v2 .customizer {
    border-right: 1px solid rgba(231, 196, 120, .65);
    border-left: 1px solid rgba(231, 196, 120, .65);
    border-radius: 17px;
  }
  .home-v2 .stage,
  .home-v2 .controls { height: 100%; }
}

/* Refinamento da interface: seleção mais ampla, cinco itens e barra de ações. */
.home-v2 .customizer {
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
}
.home-v2 .stage {
  background: #fffaf1;
}
.home-v2 .stage::before { display: none; }
.home-v2 .character { left: 53%; }
.home-v2 .customizer[data-focus="hair"] .character,
.home-v2 .customizer[data-focus="face"] .character {
  transform: translateX(-50%) scale(.84);
}
.home-v2 .controls {
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: 78px minmax(0, 1fr) 74px;
}
.home-v2 .main-tabs { grid-area: 1 / 1 / 2 / 3; }
.home-v2 .tabs { grid-area: 2 / 1 / 4 / 2; }
.home-v2 .options-head { display: none; }
.home-v2 .options {
  grid-area: 2 / 2 / 3 / 3;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 18px;
}
.home-v2 .options > .option {
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1;
}
.home-v2 .option-subgroup,
.home-v2 .option-subgroup-colors {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.home-v2 .option-subgroup .option,
.home-v2 .option-subgroup-colors .option {
  width: 100%;
  max-width: none;
}
.home-v2 .option-subgroup-colors .option { height: auto; aspect-ratio: 1; }
.home-v2 .control-foot { grid-area: 3 / 2 / 4 / 3; }
.home-v2 .stage-tools {
  position: absolute;
  z-index: 24;
  top: 50%;
  left: 13px;
  display: grid;
  width: 78px;
  gap: 10px;
  transform: translateY(-50%);
}
.home-v2 .stage-tool,
.home-v2 .stage-tools .random,
.home-v2 .stage-tools .download {
  position: relative;
  inset: auto;
  display: grid;
  width: 78px;
  min-height: 70px;
  padding: 8px 5px;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(177, 132, 58, .42);
  border-radius: 13px;
  background: rgba(255, 253, 247, .88);
  box-shadow: 0 8px 20px rgba(77, 52, 18, .10);
  color: #73531f;
  font: 700 8px/1.25 Montserrat, sans-serif;
  text-align: center;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.home-v2 .stage-tool:hover,
.home-v2 .stage-tool:focus-visible {
  border-color: #b67e25;
  background: #fff;
  transform: translateY(-2px);
}
.home-v2 .stage-tool-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgba(177, 132, 58, .5);
  border-radius: 50%;
  background: #fbf2df;
  color: #a36f1f;
  font: 700 16px/1 serif;
}
.home-v2 .stage-tool-icon-image {
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.home-v2 .stage-tool-icon-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(94, 60, 13, .16));
}
.home-v2 .sound-settings {
  position: absolute;
  z-index: 30;
  top: 50%;
  left: 103px;
  width: 235px;
  padding: 17px;
  border: 1px solid rgba(181, 134, 52, .55);
  border-radius: 15px;
  background: rgba(255, 253, 247, .96);
  box-shadow: 0 18px 45px rgba(48, 32, 12, .22);
  color: #544329;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}
.home-v2 .sound-settings::after {
  position: absolute;
  z-index: 2;
  color: #c18a2e;
  text-shadow: 0 0 9px rgba(234, 194, 101, .72);
  pointer-events: none;
}
.home-v2 .sound-settings::after {
  content: '✧';
  right: 17px;
  bottom: -10px;
  font-size: 16px;
  letter-spacing: 5px;
}
.home-v2 .sound-settings[hidden] { display: none; }
.home-v2 .sound-settings > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.home-v2 .sound-settings strong {
  color: #805b20;
  font: 700 15px 'Bona Nova', serif;
}
.home-v2 .sound-settings button {
  border: 0;
  background: transparent;
  color: #8d6c37;
  font-size: 23px;
  cursor: pointer;
}
.home-v2 .sound-settings .parallax-setting {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 15px 0 2px;
  font-size: 11px;
  font-weight: 700;
}
.home-v2 .sound-settings small { color: #81745f; font-size: 9px; line-height: 1.45; }
.home-v2 .audio-slider {
  display: block;
  margin-top: 15px;
}
.home-v2 .audio-slider label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: #665033;
  font-size: 10px;
  font-weight: 700;
}
.home-v2 .audio-slider output {
  min-width: 34px;
  color: #a46f1e;
  font: 700 10px/1 Montserrat, sans-serif;
  text-align: right;
}
.home-v2 .audio-slider input[type='range'] {
  width: 100%;
  height: 15px;
  margin: 0 0 4px;
  accent-color: #b98028;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.home-v2 .audio-slider input[type='range']::-webkit-slider-runnable-track {
  height: 5px;
  border: 1px solid rgba(174, 125, 44, .36);
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #e5c578 0 calc(20% - 2px), #fff8e8 calc(20% - 2px) 20%);
}
.home-v2 .audio-slider input[type='range']::-webkit-slider-thumb {
  width: 19px;
  height: 19px;
  margin-top: -8px;
  border: 0;
  background: #c18828;
  filter: drop-shadow(0 1px 2px rgba(97, 60, 12, .4)) drop-shadow(0 0 3px rgba(236, 193, 91, .65));
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
  -webkit-appearance: none;
}
.home-v2 .audio-slider input[type='range']::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: 0;
  background: #c18828;
  filter: drop-shadow(0 1px 2px rgba(97, 60, 12, .4));
  clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
}

.home-v2 .music-now-playing {
  position: absolute;
  z-index: 23;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  width: min(300px, calc(100% - 32px));
  min-height: 50px;
  padding: 5px 34px 5px 7px;
  overflow: hidden;
  border: 1px solid rgba(181, 134, 52, .45);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(255, 253, 247, .94), rgba(255, 253, 247, .72));
  box-shadow: 0 8px 24px rgba(77, 52, 18, .12);
  color: #574326;
  backdrop-filter: blur(9px);
  pointer-events: auto;
  transition: filter .2s ease, opacity .2s ease;
}
.home-v2 .music-now-playing > img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border-radius: 50%;
  object-fit: cover;
}
.home-v2 .music-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.home-v2 .music-center {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.home-v2 .music-center .music-copy { flex: 1 1 auto; }
.home-v2 .music-copy small {
  color: #a06f23;
  font: 700 7px/1 Montserrat, sans-serif;
  letter-spacing: .13em;
}
.home-v2 .music-copy strong {
  color: #5b4320;
  font: 700 8px/1.2 Montserrat, sans-serif;
  letter-spacing: .04em;
}
.home-v2 .track-line {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 3px;
  white-space: nowrap;
}
.home-v2 .track-line > span:first-child { flex: 0 0 auto; }
.home-v2 .track-marquee {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.home-v2 .track-marquee [data-track-title] {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  animation: track-title-marquee 10s linear infinite;
  will-change: transform;
}
.home-v2 .music-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
}
.home-v2 .music-controls button {
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(177, 125, 39, .42);
  border-radius: 50%;
  background: rgba(255, 250, 237, .9);
  color: #9c681e;
  font: 700 7px/1 sans-serif;
  cursor: pointer;
}
.home-v2 .music-controls button:hover:not(:disabled),
.home-v2 .music-controls button:focus-visible:not(:disabled) {
  border-color: #ad7420;
  background: #fff;
  transform: translateY(-1px);
}
.home-v2 .music-controls button:disabled {
  cursor: default;
  opacity: .38;
}
.home-v2 .music-notes {
  position: absolute;
  inset: 0 5px 0 auto;
  width: 34px;
  pointer-events: none;
}
.home-v2 .music-notes i {
  position: absolute;
  bottom: 7px;
  color: #b17d28;
  font: 700 13px/1 serif;
  opacity: 0;
}
.home-v2 .music-notes i:nth-child(1) { left: 2px; --note-x: -3px; --note-rise: -34px; --note-turn: -10deg; }
.home-v2 .music-notes i:nth-child(2) { left: 13px; --note-x: 7px; --note-rise: -43px; --note-turn: 9deg; animation-delay: 1.2s; }
.home-v2 .music-notes i:nth-child(3) { left: 22px; --note-x: 2px; --note-rise: -38px; --note-turn: -3deg; animation-delay: 2.4s; }
.home-v2 .music-now-playing.is-playing .music-notes i {
  animation-name: music-note-float;
  animation-duration: 3.6s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.home-v2 .music-now-playing.is-playing > img {
  animation: music-disc-pulse 3.2s ease-in-out infinite;
}
.home-v2 .music-now-playing.is-muted {
  filter: grayscale(.72);
  opacity: .72;
}
.home-v2 .music-now-playing.is-muted .music-notes i {
  animation: none;
  opacity: 0;
}
@keyframes music-note-float {
  0% { transform: translate3d(0, 8px, 0) scale(.72) rotate(-8deg); opacity: 0; }
  7% { opacity: .9; }
  24% { opacity: .72; }
  33%, 100% { transform: translate3d(var(--note-x), var(--note-rise), 0) scale(1.16) rotate(var(--note-turn)); opacity: 0; }
}
@keyframes music-disc-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes track-title-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (max-width: 900px) {
  .home-v2 .customizer {
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  }
  .home-v2 .controls {
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: 43px minmax(0, 1fr) 70px;
  }
  .home-v2 .main-tabs { grid-area: 1 / 1 / 2 / 3; padding: 10px 5px; }
  .home-v2 .tabs { grid-area: 2 / 1 / 4 / 2; }
  .home-v2 .options {
    grid-area: 2 / 2 / 3 / 3;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    padding: 11px 10px;
  }
  .home-v2 .control-foot { grid-area: 3 / 2 / 4 / 3; }
  .home-v2 .option-subgroup,
  .home-v2 .option-subgroup-colors {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .home-v2 .character {
    left: 54%;
    top: 13px;
    transform: translateX(-50%) scale(.50);
  }
  .home-v2 .customizer[data-focus="hair"] .character,
  .home-v2 .customizer[data-focus="face"] .character {
    transform: translateX(-50%) scale(.50);
  }
  .home-v2 .stage-tools {
    left: 7px;
    width: 54px;
    gap: 6px;
  }
  .home-v2 .stage-tool,
  .home-v2 .stage-tools .random,
  .home-v2 .stage-tools .download {
    width: 54px;
    min-height: 53px;
    padding: 5px 3px;
    gap: 3px;
    border-radius: 9px;
    font-size: 6px;
  }
  .home-v2 .stage-tool-icon {
    width: 21px;
    height: 21px;
    font-size: 12px;
  }
  .home-v2 .stage-tool-icon-image {
    width: 31px;
    height: 31px;
  }
  .home-v2 .sound-settings {
    left: 69px;
    width: 190px;
    padding: 12px;
  }
  .home-v2 .sound-settings strong { font-size: 12px; }
  .home-v2 .sound-settings .parallax-setting { margin: 11px 0 2px; font-size: 9px; }
  .home-v2 .sound-settings small { font-size: 7px; }
  .home-v2 .audio-slider { margin-top: 11px; }
  .home-v2 .audio-slider label,
  .home-v2 .audio-slider output { font-size: 8px; }
  .home-v2 .music-now-playing {
    top: 9px;
    left: 9px;
    width: min(255px, calc(100% - 18px));
    min-height: 40px;
    padding: 5px 28px 5px 6px;
    border-radius: 10px;
  }
  .home-v2 .music-now-playing > img {
    width: 19px;
    height: 19px;
    margin-right: 6px;
  }
  .home-v2 .music-copy small { font-size: 5px; }
  .home-v2 .music-copy strong { font-size: 6px; }
  .home-v2 .music-center { gap: 5px; }
  .home-v2 .music-controls { gap: 2px; }
  .home-v2 .music-controls button { width: 17px; height: 17px; font-size: 6px; }
}

/* Cenário do personalizador e painel de opções em vidro. */
.home-v2 .customizer {
  --scene-x: 0px;
  --scene-y: 6px;
  --character-x: 0px;
  --character-y: 0px;
  background-color: #f7e6cb;
  background-image: url('../images/customizer/background-v4.png');
  background-position: calc(50% + var(--scene-x)) calc(100% + var(--scene-y));
  background-size: 108% auto;
  background-repeat: no-repeat;
  transition: background-position .24s ease-out;
}
.home-v2 .stage {
  border-right-color: rgba(142, 92, 34, .26);
  background: transparent;
}
.home-v2 .controls {
  border-left: 1px solid rgba(255, 255, 255, .48);
  background: rgba(255, 252, 246, .86);
  box-shadow: inset 16px 0 32px rgba(255, 255, 255, .18);
  backdrop-filter: blur(15px) saturate(112%);
  -webkit-backdrop-filter: blur(15px) saturate(112%);
}
.home-v2 .main-tabs {
  background: rgba(241, 231, 216, .83);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-v2 .tabs {
  background: rgba(239, 230, 216, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-v2 .tabs button.active,
.home-v2 .control-foot {
  background: rgba(255, 253, 248, .88);
}
.home-v2 .options {
  background: rgba(255, 253, 248, .12);
}

/* Parallax suave do cenário e da personagem. */
.home-v2 .character,
.home-v2 .customizer[data-focus="hair"] .character,
.home-v2 .customizer[data-focus="face"] .character {
  transform: translate3d(calc(-50% + var(--character-x)), var(--character-y), 0) scale(.84);
  transition: transform .20s ease-out;
  will-change: transform;
}

@media (max-width: 900px) {
  .home-v2 .character,
  .home-v2 .customizer[data-focus="hair"] .character,
  .home-v2 .customizer[data-focus="face"] .character {
    transform: translate3d(calc(-50% + var(--character-x)), var(--character-y), 0) scale(.50);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 .customizer { transition: none; }
  .home-v2 .character { transition: none; }
}

/* Miniaturas contextuais: a pose existente aparece em P&B sob olhos, bocas e cabelos. */
.home-v2 .option-with-pose .option-frame {
  background-color: #fffaf0;
  background-blend-mode: normal;
}
.home-v2 .option-pose-preview {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}
.home-v2 .option-pose-preview__layer {
  position: absolute !important;
  z-index: auto !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  transform-origin: center !important;
  transition: none !important;
  filter: grayscale(1) contrast(.88) brightness(1.12);
  opacity: 1;
}
.home-v2 .option-pose-preview__layer--accent {
  filter: drop-shadow(0 1px 2px rgba(75, 49, 21, .28));
  opacity: 1;
}
.home-v2 .options[data-category="eyeColor"] .option-pose-preview__layer {
  transform: scale(12) !important;
  transform-origin: 50% 16% !important;
}
.home-v2 .options[data-category="mouth"] .option-pose-preview__layer {
  transform: scale(14) !important;
  transform-origin: 50% 18% !important;
}
.home-v2 .options[data-category="hair"] .option-pose-preview__layer {
  transform: scale(5.2) !important;
  transform-origin: 50% 13.5% !important;
}
.home-v2 .options[data-category="bangType"] .option-pose-preview__layer {
  transform: scale(4.6) !important;
  transform-origin: 50% 13.5% !important;
}
.home-v2 .options[data-category="bodyType"] .option-pose-preview__layer {
  transform: scale(2.8) !important;
  transform-origin: 50% 40% !important;
  filter: none;
}
.home-v2 .options[data-category="bodyType"] .option-frame > img:not(.option-pose-preview__layer) {
  display: none;
}
.home-v2 .options[data-category="skin"] .option-pose-preview__layer {
  transform: translateY(-4%) scale(8) !important;
  transform-origin: 50% 14.5% !important;
  filter: none;
}
.home-v2 .options[data-category="skin"] .option-frame > img:not(.option-pose-preview__layer) {
  display: none;
}
.home-v2 .option-subgroup-visual .option {
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
}
.home-v2 .option-pose-preview--full-color .option-pose-preview__layer {
  filter: none;
  opacity: 1;
}
.home-v2 .options[data-category="mouth"] .option-pose-preview__layer {
  filter: none;
  opacity: 1;
}
.home-v2 .options[data-category="mouth"] .option-pose-preview__layer--accent {
  mix-blend-mode: multiply;
}
.home-v2 .options[data-category="mouth"] .option-frame > img:not(.option-pose-preview__layer) {
  display: none;
}
.home-v2 .option-no-bang-marker {
  position: absolute;
  z-index: 4;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: rgba(75, 38, 44, .86);
  box-shadow: 0 2px 7px rgba(56, 27, 31, .28);
  color: #fffaf0;
  font: 700 17px/1 Montserrat, sans-serif;
}
.home-v2 .option-with-pose .option-frame > img:not(.option-pose-preview__layer) {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(75, 49, 21, .28));
}
.home-v2 .option-with-pose:hover .option-pose-preview__layer:not(.option-pose-preview__layer--accent),
.home-v2 .option-with-pose:focus-visible .option-pose-preview__layer:not(.option-pose-preview__layer--accent),
.home-v2 .option-with-pose.active .option-pose-preview__layer:not(.option-pose-preview__layer--accent) {
  opacity: 1;
}

/* Títulos internos com ícone original e linha tracejada de costura. */
.home-v2 .option-subgroup {
  border-top: 0;
}
.home-v2 .option-subgroup-title {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 7px;
}
.home-v2 .option-subgroup-title::after {
  content: '';
  flex: 1 1 auto;
  min-width: 20px;
  border-top: 1px dashed rgba(164, 116, 37, .58);
}
.home-v2 .option-subgroup-title img {
  flex: 0 0 auto;
  width: 40px;
  height: 16px;
  object-fit: contain;
}
.home-v2 .option-subgroup-title span {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .home-v2 .option-subgroup-title { gap: 5px; }
  .home-v2 .option-subgroup-title img { width: 30px; height: 12px; }
  .home-v2 .option-subgroup-title::after { min-width: 12px; }
  .home-v2 .option-no-bang-marker {
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    font-size: 13px;
  }
}

/* Sobre o projeto: fundo com parallax, destaques e fotografia. */
.home-v2 .about-section {
  --about-bg-x: 0px;
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(320px, .95fr) minmax(480px, 1.35fr) minmax(260px, .8fr);
  gap: clamp(22px, 3vw, 48px);
  align-items: center;
  padding: 72px max(28px, calc((100% - 1380px) / 2));
  overflow: hidden;
  background: #fffaf1;
}
.home-v2 .about-section::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: -10px;
  background: url('../images/bg-infos.jpg') left center / auto 100% no-repeat;
  filter: blur(2px);
  transform: translate3d(var(--about-bg-x), 0, 0) scale(1.02);
  transition: transform .24s ease-out;
  pointer-events: none;
}
.home-v2 .about-section::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,250,241,.32), rgba(255,250,241,.12) 58%, rgba(255,250,241,.38));
  pointer-events: none;
}
.home-v2 .about-intro,
.home-v2 .about-section > .feature-grid,
.home-v2 .about-photo {
  position: relative;
  z-index: 1;
}
.home-v2 .about-intro { max-width: 470px; }
.home-v2 .about-intro h2 { color: #24335d; }
.home-v2 .about-copy { margin-top: 22px; }
.home-v2 .about-copy p {
  margin: 0 0 14px;
  color: #445474;
  font: 12px/1.72 Montserrat, sans-serif;
}
.home-v2 .about-copy p:first-child {
  color: #303e68;
  font-weight: 700;
}
.home-v2 .about-photo {
  margin: 0;
  align-self: center;
}
.home-v2 .about-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(68, 45, 18, .20));
}
.home-v2 .about-corner-detail {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 99px;
  height: auto;
  pointer-events: none;
}

@media (max-width: 1120px) {
  .home-v2 .about-section {
    grid-template-columns: minmax(280px, .9fr) minmax(430px, 1.1fr);
  }
  .home-v2 .about-photo {
    grid-column: 1 / -1;
    width: min(440px, 52vw);
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .home-v2 .about-section {
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 58px 24px 78px;
  }
  .home-v2 .about-section::before { background-position: left bottom; }
  .home-v2 .about-intro {
    max-width: 760px;
    padding: 30px;
    border: 1px solid rgba(205, 177, 124, .35);
    border-radius: 22px;
    background: rgba(255, 250, 241, .86);
    backdrop-filter: blur(3px);
  }
  .home-v2 .about-photo {
    grid-column: auto;
    width: min(520px, 88vw);
    justify-self: center;
  }
}

@media (max-width: 620px) {
  .home-v2 .about-section { padding: 42px 16px 70px; }
  .home-v2 .about-intro { padding: 24px 20px; }
  .home-v2 .about-copy p { font-size: 12px; line-height: 1.7; }
  .home-v2 .about-section > .feature-grid { grid-template-columns: 1fr 1fr; }
  .home-v2 .about-corner-detail { width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 .about-section::before { transition: none; }
}

/* Leitura, redes sociais e nova composição da seção Sobre. */
.home-v2 .text-size-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(245, 223, 164, .32);
  border-radius: 999px;
  background: rgba(5, 13, 38, .28);
}
.home-v2 .text-size-controls button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--v2-gold-soft);
  font: 700 12px Montserrat, sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.home-v2 .text-size-controls button:hover,
.home-v2 .text-size-controls button:focus-visible {
  background: var(--v2-gold);
  color: var(--v2-night);
  outline: none;
  transform: translateY(-1px);
}
.home-v2 .text-size-controls button:disabled { cursor: default; opacity: .35; transform: none; }
.home-v2 .text-size-controls output {
  min-width: 38px;
  color: #fff4d6;
  font: 700 9px Montserrat, sans-serif;
  text-align: center;
}

.home-v2 .social-rail {
  position: fixed;
  z-index: 70;
  top: 50%;
  left: 18px;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}
.home-v2 .social-rail a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--v2-gold);
  border-radius: 50%;
  background: var(--v2-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25), 0 0 18px rgba(231, 196, 120, .12);
  color: #fff;
  font: 700 15px Montserrat, sans-serif;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.home-v2 .social-rail a:hover,
.home-v2 .social-rail a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: var(--v2-gold);
  outline: none;
  transform: translateX(3px);
}
.home-v2 .social-rail .social-icon {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.home-v2 .social-rail .social-icon-instagram { width: 20px; height: 20px; }
.home-v2 .social-rail .social-icon-facebook { width: 23px; height: 23px; }

.home-v2 .about-section {
  min-height: 0;
  z-index: 2;
  grid-template-columns: minmax(520px, 1.05fr) minmax(620px, .95fr);
  grid-template-rows: auto;
  grid-template-areas: "intro features";
  gap: 20px clamp(38px, 4vw, 70px);
  align-items: start;
  padding-top: 25px;
  padding-bottom: 25px;
  overflow: visible;
}
.home-v2 .about-intro {
  grid-area: intro;
  width: 100%;
  max-width: 650px;
  align-self: start;
}
.home-v2 .about-copy p { font-size: 13.5px; line-height: 1.78; }
.home-v2 .about-section > .feature-grid {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-self: end;
  width: 100%;
  margin-top: 50px;
}
.home-v2 .about-section > .feature-grid article {
  min-height: 175px;
  padding: 18px 12px 22px;
  border-top: 0;
  border-left: 1px solid rgba(36, 51, 92, .14);
}
.home-v2 .about-section > .feature-grid article:first-child { border-left: 0; }
.home-v2 .about-section > .feature-grid article > span {
  color: #b98530;
  border-color: rgba(185, 133, 48, .58);
}
.home-v2 .about-section > .feature-grid h3 { font-size: 16px; }
.home-v2 .about-photo {
  position: absolute;
  right: max(28px, calc((100% - 1380px) / 2));
  bottom: -156px;
  z-index: 4;
  width: min(680px, 46vw);
  margin: 0;
  transform: rotate(.35deg);
}
.home-v2 .about-photo img { filter: drop-shadow(0 22px 34px rgba(68, 45, 18, .25)); }
.home-v2 .about-section::before,
.home-v2 .about-section::after {
  inset: 0;
  clip-path: inset(0);
}
.home-v2 .signup-section { position: relative; z-index: 1; padding-top: clamp(205px, 15vw, 260px); }

@media (max-width: 1280px) {
  .home-v2 .about-section {
    grid-template-columns: minmax(440px, 1fr) minmax(520px, 1fr);
    gap: 18px 34px;
  }
  .home-v2 .about-photo { right: 28px; width: min(610px, 47vw); }
  .home-v2 .about-section > .feature-grid article { padding-inline: 7px; }
  .home-v2 .about-section > .feature-grid h3 { font-size: 14px; }
}

@media (max-width: 1050px) {
  .home-v2 .about-section {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "intro" "features" "photo";
    padding-bottom: 25px;
  }
  .home-v2 .about-intro { max-width: 780px; justify-self: center; }
  .home-v2 .about-photo {
    position: relative;
    right: auto;
    bottom: auto;
    grid-area: photo;
    justify-self: center;
    width: min(660px, 78vw);
    transform: translateY(150px) rotate(.35deg);
  }
  .home-v2 .about-section > .feature-grid { margin-top: 26px; }
  .home-v2 .signup-section { padding-top: 190px; }
}

@media (max-width: 680px) {
  .home-v2 .text-size-controls { gap: 2px; }
  .home-v2 .text-size-controls button { width: 30px; height: 30px; font-size: 10px; }
  .home-v2 .text-size-controls output { display: none; }
  .home-v2 .social-rail {
    top: auto;
    bottom: 14px;
    left: 50%;
    grid-template-columns: repeat(3, 38px);
    transform: translateX(-50%);
  }
  .home-v2 .social-rail a { width: 38px; height: 38px; }
  .home-v2 .social-rail a:hover,
  .home-v2 .social-rail a:focus-visible { transform: translateY(-2px); }
  .home-v2 .about-section { padding: 25px 16px; }
  .home-v2 .about-section > .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2 .about-section > .feature-grid article { min-height: 160px; }
  .home-v2 .about-section > .feature-grid article:nth-child(3) { border-left: 0; }
  .home-v2 .about-section > .feature-grid article:nth-child(n+3) { border-top: 1px solid rgba(36, 51, 92, .14); }
  .home-v2 .about-section > .feature-grid { margin-top: 12px; }
  .home-v2 .about-photo { width: min(520px, 92vw); transform: translateY(105px) rotate(.35deg); }
  .home-v2 .signup-section { padding-top: 140px; }
}

/* Mobile horizontal: mantém o jogo inteiro visível sem sacrificar as áreas de toque. */
@media (orientation: landscape) and (max-height: 760px) {
  html { scroll-padding-top: 0; }

  .home-v2 .site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 56px;
    justify-content: center;
    padding: 4px max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left));
    border: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    pointer-events: none;
  }
  .home-v2 .site-header nav { display: none; }
  .home-v2 .site-header .brand {
    position: absolute;
    top: calc(100dvh - 58px);
    left: 7px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .home-v2 .brand img {
    width: 86px;
    height: 30px;
  }
  .home-v2 .text-size-controls { min-height: 44px; padding: 3px; }
  .home-v2 .text-size-controls button { width: 36px; height: 36px; }

  .home-v2 .social-rail {
    z-index: 110;
    top: 6px;
    bottom: auto;
    left: 50%;
    grid-template-columns: repeat(3, 40px);
    gap: 8px;
    transform: translateX(-50%);
  }
  .home-v2 .social-rail a {
    width: 40px;
    height: 40px;
  }
  .home-v2 .social-rail a:hover,
  .home-v2 .social-rail a:focus-visible { transform: translateY(-2px); }

  .home-v2 .customizer-hero {
    display: block;
    min-height: 100dvh;
    height: 100dvh;
    padding: 0;
  }
  .home-v2 .hero-copy { display: none; }
  .home-v2 .customizer-scroll {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
  }
  .home-v2 .customizer {
    width: 100%;
    max-width: none;
    height: 100%;
    min-width: 0;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 0;
  }

  .home-v2 .character,
  .home-v2 .customizer[data-focus="hair"] .character,
  .home-v2 .customizer[data-focus="face"] .character {
    top: 4px;
    left: 54%;
    width: auto;
    height: calc(100% - 8px);
    aspect-ratio: 499 / 754;
    transform: translate3d(calc(-50% + var(--character-x)), var(--character-y), 0);
  }

  .home-v2 .stage-tools {
    left: 7px;
    width: 54px;
    gap: 6px;
  }
  .home-v2 .stage-tool,
  .home-v2 .stage-tools .random,
  .home-v2 .stage-tools .download {
    width: 54px;
    min-height: 48px;
    padding: 4px 3px;
    gap: 2px;
    font-size: 6px;
  }
  .home-v2 .stage-tool-icon-image { width: 28px; height: 28px; }

  .home-v2 .music-now-playing {
    top: 8px;
    left: 8px;
    align-items: flex-start;
    width: 122px;
    min-height: 72px;
    padding: 6px 18px 6px 6px;
    border-radius: 11px;
  }
  .home-v2 .music-now-playing > img {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    margin-right: 5px;
  }
  .home-v2 .music-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 5px;
  }
  .home-v2 .music-copy small { font-size: 5.5px; }
  .home-v2 .music-copy strong { font-size: 6.5px; }
  .home-v2 .track-line { display: block; }
  .home-v2 .track-line > span:first-child { display: block; margin-bottom: 1px; }
  .home-v2 .music-controls {
    justify-content: center;
    gap: 3px;
    padding: 4px 0 0;
    border-top: 1px solid rgba(177, 125, 39, .35);
    border-left: 0;
  }
  .home-v2 .music-controls button {
    width: 18px;
    height: 18px;
  }

  .home-v2 .controls {
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: 43px minmax(0, 1fr) 58px;
  }
  .home-v2 .main-tabs { padding: 7px 5px; }
  .home-v2 .tabs button {
    min-height: 48px;
    padding: 5px 3px;
  }
  .home-v2 .options { padding: 9px 9px; }
  .home-v2 .options {
    grid-template-columns: repeat(auto-fill, 72px);
    gap: 9px;
  }
  .home-v2 .options > .option {
    width: 72px;
    max-width: 72px;
    height: 72px;
  }
  .home-v2 .option-subgroup {
    grid-template-columns: repeat(auto-fill, 72px);
    gap: 9px;
  }
  .home-v2 .option-subgroup .option {
    width: 72px;
    max-width: 72px;
    height: 72px;
  }
  .home-v2 .option-subgroup-colors {
    grid-template-columns: repeat(auto-fill, 72px);
  }
  .home-v2 .option-subgroup-colors .option {
    width: 72px;
    max-width: 72px;
    height: 72px;
  }
  .home-v2 .control-foot { min-height: 58px; padding: 6px 9px; }
  .home-v2 .share,
  .home-v2 .download { min-height: 40px; }

  /* No celular horizontal, o cabeçalho fica limpo e mostra apenas a marca. */
  .home-v2 .text-size-controls,
  .home-v2 .social-rail { display: none; }
}

/* No modo retrato, mantém os ícones compactos para aproveitar a altura da tela. */
@media (orientation: portrait) and (max-width: 900px) {
  .home-v2 .options,
  .home-v2 .option-subgroup,
  .home-v2 .option-subgroup-colors {
    grid-template-columns: repeat(auto-fill, 50px);
    gap: 7px;
  }
  .home-v2 .options > .option,
  .home-v2 .option-subgroup .option,
  .home-v2 .option-subgroup-colors .option {
    width: 50px;
    max-width: 50px;
    height: 50px;
  }
}

/* Sobre: composição final em duas colunas, sem destaques intermediários. */
.home-v2 .about-section {
  grid-template-columns: minmax(520px, 1.05fr) minmax(520px, .95fr);
  grid-template-areas: "intro photo";
  align-items: start;
  overflow: hidden;
}
.home-v2 .about-photo {
  position: relative;
  right: auto;
  bottom: auto;
  grid-area: photo;
  align-self: start;
  justify-self: center;
  width: min(680px, 46vw);
  transform: rotate(.35deg);
}
.home-v2 .signup-section { padding-top: clamp(82px, 7vw, 118px); }

@media (max-width: 1050px) {
  .home-v2 .about-section {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "photo";
    gap: 28px;
  }
  .home-v2 .about-photo {
    width: min(660px, 82vw);
    transform: rotate(.35deg);
  }
  .home-v2 .signup-section { padding-top: 82px; }
}

@media (max-width: 680px) {
  .home-v2 .about-photo { width: min(520px, 92vw); transform: rotate(.35deg); }
  .home-v2 .signup-section { padding-top: 64px; }
  .home-v2 .signup-benefits-detail {
    left: -14px;
    bottom: -34px;
    width: min(255px, 78%);
  }
}

/* Chamada única da pesquisa com brilho suave e glitter intermitente. */
.home-v2 .about-links {
  overflow: visible;
  justify-content: center;
  width: 100%;
  margin-top: 22px;
}
.home-v2 .research-glitter-button {
  position: relative;
  isolation: isolate;
  min-width: 286px;
  min-height: 54px;
  padding: 17px 34px;
  overflow: visible;
  border-color: #b7862a;
  background: linear-gradient(115deg, #bd8628 0%, #f5d985 42%, #c18b2e 68%, #f3d47c 100%);
  background-size: 220% 100%;
  box-shadow: 0 10px 26px rgba(146, 95, 18, .24), 0 0 0 1px rgba(255, 246, 200, .55) inset;
  color: #fff;
  font-size: 14px;
  letter-spacing: .025em;
  text-shadow: 0 1px 2px rgba(71, 38, 0, .52);
  animation: research-button-glow 3.8s ease-in-out infinite, research-button-shimmer 5.2s linear infinite;
}

.home-v2 .about-intro h2 {
  color: #ad7823;
  font-family: 'Bona Nova SC', 'Bona Nova', serif;
  font-size: clamp(36px, 2.75vw, 43px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.018em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .68);
  white-space: nowrap;
}
.home-v2 .research-glitter-button::before,
.home-v2 .research-glitter-button::after,
.home-v2 .research-glitter-button__sparkles::before,
.home-v2 .research-glitter-button__sparkles::after {
  content: "✦";
  position: absolute;
  z-index: 2;
  color: #fff9dc;
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 235, 153, .95));
  opacity: 0;
  transform: scale(.25) rotate(0deg);
}
.home-v2 .research-glitter-button::before {
  top: -7px;
  left: 18%;
  animation: research-glitter 2.7s ease-in-out infinite .15s;
}
.home-v2 .research-glitter-button::after {
  top: 6px;
  right: -5px;
  font-size: 13px;
  animation: research-glitter 3.1s ease-in-out infinite 1.2s;
}
.home-v2 .research-glitter-button__sparkles {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.home-v2 .research-glitter-button__sparkles::before {
  right: 23%;
  bottom: -6px;
  font-size: 8px;
  animation: research-glitter 2.9s ease-in-out infinite .65s;
}
.home-v2 .research-glitter-button__sparkles::after {
  bottom: 4px;
  left: -4px;
  font-size: 12px;
  animation: research-glitter 3.4s ease-in-out infinite 1.75s;
}
.home-v2 .research-glitter-button__label {
  position: relative;
  z-index: 1;
}
.home-v2 .research-glitter-button:hover,
.home-v2 .research-glitter-button:focus-visible {
  box-shadow: 0 12px 32px rgba(146, 95, 18, .34), 0 0 22px rgba(244, 204, 105, .62), 0 0 0 1px rgba(255, 250, 220, .72) inset;
  transform: translateY(-2px);
}

@keyframes research-button-glow {
  0%, 100% { box-shadow: 0 10px 26px rgba(146, 95, 18, .24), 0 0 0 1px rgba(255, 246, 200, .55) inset; }
  50% { box-shadow: 0 12px 32px rgba(146, 95, 18, .32), 0 0 18px rgba(244, 204, 105, .52), 0 0 0 1px rgba(255, 250, 220, .72) inset; }
}
@keyframes research-button-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: -120% 50%; }
}
@keyframes research-glitter {
  0%, 20%, 100% { opacity: 0; transform: scale(.25) rotate(0deg); }
  42% { opacity: 1; transform: scale(1) rotate(42deg); }
  62% { opacity: .9; transform: scale(.72) rotate(78deg); }
  78% { opacity: 0; transform: scale(.15) rotate(110deg); }
}

@media (prefers-reduced-motion: reduce) {
  .home-v2 .research-glitter-button,
  .home-v2 .research-glitter-button::before,
  .home-v2 .research-glitter-button::after,
  .home-v2 .research-glitter-button__sparkles::before,
  .home-v2 .research-glitter-button__sparkles::after { animation: none; }
}

@media (max-width: 680px) {
  .home-v2 .about-intro h2 {
    font-size: clamp(34px, 10vw, 43px);
    white-space: normal;
  }
  .home-v2 .research-glitter-button {
    width: min(100%, 286px);
    min-width: 0;
  }
}

/* Tipografia do Sobre e formulário no padrão visual da criação de conta. */
.home-v2 .script-kicker {
  margin: 4px 0 18px;
  color: #514275;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-align: center;
}
.home-v2 .about-intro h2 { text-align: center; }
.home-v2 .signup-copy h2 {
  color: #fff3d8;
  font-family: 'Bona Nova SC', 'Bona Nova', serif;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.home-v2 .about-copy p {
  text-shadow:
    0 0 3px rgba(255, 255, 255, 1),
    0 0 8px rgba(255, 255, 255, .94),
    0 0 15px rgba(255, 255, 255, .72);
}
.home-v2 .signup-card {
  isolation: isolate;
  padding: clamp(30px, 4vw, 42px);
  border: 1px solid rgba(223, 186, 99, .38);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(10, 40, 87, .94), rgba(5, 22, 57, .96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .035);
  color: #fff9e8;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.home-v2 .signup-card-wrap {
  position: relative;
  z-index: 2;
}
.home-v2 .signup-card {
  position: relative;
  z-index: 1;
}
.home-v2 .signup-card-orbit-decoration {
  position: absolute;
  z-index: 0;
  top: -58px;
  right: -62px;
  width: min(440px, 94%);
  max-width: none;
  height: auto;
  opacity: 1;
  transform-origin: 54% 52%;
  filter: drop-shadow(0 0 9px rgba(226, 185, 88, .13));
  animation: signup-orbit-spin 36s linear infinite;
  pointer-events: none;
  user-select: none;
}
.home-v2 .signup-card > .signup-card-detail { position: absolute; z-index: 3; }
@keyframes signup-orbit-spin {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1); }
}
.site-animations-off .home-v2 .signup-card-orbit-decoration { animation: none; transform: rotate(0deg) scale(1.02); }
@media (prefers-reduced-motion: reduce) {
  .home-v2 .signup-card-orbit-decoration { animation: none; transform: rotate(0deg) scale(1.02); }
}
.home-v2 .signup-card::before {
  content: none;
}
.home-v2 .signup-card-detail {
  position: absolute;
  z-index: 3;
  top: -58px;
  right: 11px;
  width: clamp(76px, 7vw, 100px);
  height: auto;
  transform: translate3d(var(--signup-detail-x, 0), var(--signup-detail-y, 0), 0);
  filter: drop-shadow(0 0 10px rgba(223, 186, 99, .2));
  transition: transform .24s ease-out;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 680px) {
  .home-v2 .signup-card-detail {
    top: -42px;
    right: 8px;
    width: 70px;
  }
}
.home-v2 .signup-card-kicker {
  margin-bottom: 7px;
  color: #f4d98e;
  font-size: 10px;
  letter-spacing: .22em;
}
.home-v2 .signup-card h3 {
  color: #fff9e9;
  font-family: 'Bona Nova SC', 'Bona Nova', serif;
  font-size: clamp(31px, 3vw, 42px);
  font-weight: 700;
}
.home-v2 .signup-card-lead {
  margin: 8px 0 25px;
  color: #b9c8de;
}
.home-v2 .signup-section .signup-card label {
  color: #f5e8c5;
  font-size: 10px;
  letter-spacing: .07em;
}
.home-v2 .signup-section .signup-card input:not([type=checkbox]) {
  height: 45px;
  margin-top: 7px;
  padding: 0 14px;
  border: 1px solid rgba(223, 186, 99, .48);
  border-radius: 11px;
  background: rgba(8, 42, 91, .92);
  color: #fff9e8;
  font: 500 12px Montserrat, Arial, sans-serif;
}
.home-v2 .signup-section .signup-card input:not([type=checkbox]):focus {
  border-color: #f4d98e;
  box-shadow: 0 0 0 3px rgba(223, 186, 99, .13);
}
.home-v2 .signup-section .signup-card input::placeholder { color: #92a6c4; }
.home-v2 .signup-section .signup-card .consent {
  color: #9fb0ca;
  font-size: 10px;
  line-height: 1.55;
}
.home-v2 .signup-section .signup-card .consent input { accent-color: #d1a94e; }
.home-v2 .signup-section .signup-card .button {
  min-height: 48px;
  border-color: #f3d98e;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.home-v2 .signup-card .form-status { color: #b9c8de; }

/* A faixa descritiva pertence apenas aos trajes. Nas demais categorias, o
   seletor ocupa toda a altura disponível. */
.home-v2 .control-foot[hidden] { display: none; }
.home-v2 .customizer:not([data-category="outfit"]) .controls {
  grid-template-rows: 78px minmax(0, 1fr);
}
.home-v2 .customizer:not([data-category="outfit"]) .tabs {
  grid-area: 2 / 1 / 3 / 2;
}
.home-v2 .customizer:not([data-category="outfit"]) .options {
  grid-area: 2 / 2 / 3 / 3;
}
.home-v2 .customizer[data-category="outfit"] .controls {
  grid-template-rows: 78px minmax(0, 1fr) 108px;
}
.home-v2 .control-foot {
  padding: 13px 20px 15px;
}
.home-v2 .control-foot .outfit-copy strong {
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.1;
}
.home-v2 .control-foot .outfit-copy span {
  font-size: 11.5px;
  line-height: 1.45;
}

/* Player compacto, seguindo a proporção da referência. */
.home-v2 .music-now-playing {
  width: min(258px, calc(100% - 32px));
  min-height: 42px;
  padding: 4px 28px 4px 6px;
  border-radius: 12px;
}
.home-v2 .music-now-playing > img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
.home-v2 .music-center { gap: 6px; }
.home-v2 .music-copy { gap: 1px; }
.home-v2 .music-copy small {
  font-size: 6.5px;
  letter-spacing: .11em;
}
.home-v2 .music-copy strong { font-size: 7.5px; }
.home-v2 .music-controls {
  gap: 2px;
  padding-left: 6px;
  border-left: 1px solid rgba(177, 125, 39, .35);
}
.home-v2 .music-controls button {
  width: 18px;
  height: 18px;
  font-size: 6px;
}
.home-v2 .music-notes {
  right: 3px;
  width: 25px;
}
.home-v2 .music-notes i { font-size: 11px; }
.home-v2 .music-notes i:nth-child(1) { left: 2px; }
.home-v2 .music-notes i:nth-child(2) { left: 9px; }
.home-v2 .music-notes i:nth-child(3) { left: 16px; }

@media (max-width: 900px) {
  .home-v2 .customizer:not([data-category="outfit"]) .controls {
    grid-template-rows: 43px minmax(0, 1fr);
  }
  .home-v2 .customizer:not([data-category="outfit"]) .tabs {
    grid-area: 2 / 1 / 3 / 2;
  }
  .home-v2 .customizer:not([data-category="outfit"]) .options {
    grid-area: 2 / 2 / 3 / 3;
  }
  .home-v2 .customizer[data-category="outfit"] .controls {
    grid-template-rows: 43px minmax(0, 1fr) 86px;
  }
  .home-v2 .control-foot {
    padding: 8px 11px 9px;
  }
  .home-v2 .control-foot .outfit-copy strong {
    margin-bottom: 3px;
    font-size: 11px;
  }
  .home-v2 .control-foot .outfit-copy span {
    font-size: 8px;
    line-height: 1.35;
  }
  .home-v2 .music-now-playing {
    width: min(228px, calc(100% - 24px));
    min-height: 38px;
    padding-right: 24px;
  }
  .home-v2 .music-now-playing > img {
    width: 18px;
    height: 18px;
  }
  .home-v2 .music-controls button {
    width: 16px;
    height: 16px;
  }
}

/* Detalhe ornamental no início da seção Sobre. */
.home-v2 .about-top-left-detail {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: clamp(145px, 15vw, 194px);
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Reflexos sobre a prévia: equivalente visual ao Escape de brilho. */
.home-v2 .stage-light-effects {
  position: absolute;
  z-index: 16;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.home-v2 .sun-rays {
  position: absolute;
  top: -18%;
  left: -24%;
  width: 105%;
  height: 112%;
  background: conic-gradient(
    from -28deg at 0% 38%,
    transparent 0deg 8deg,
    rgba(255, 245, 200, .12) 11deg 15deg,
    transparent 18deg 25deg,
    rgba(255, 252, 226, .18) 29deg 35deg,
    transparent 39deg 49deg,
    rgba(255, 224, 151, .11) 53deg 58deg,
    transparent 62deg 360deg
  );
  filter: blur(7px);
  mix-blend-mode: screen;
  opacity: .62;
  transform: rotate(3deg) scale(1.08);
  transform-origin: 0% 38%;
  animation: stage-rays-breathe 15s ease-in-out infinite alternate;
}
.home-v2 .rainbow-flare {
  position: absolute;
  width: clamp(150px, 27%, 235px);
  height: auto;
  mix-blend-mode: screen;
  filter: saturate(1.24) brightness(1.3) blur(.2px) drop-shadow(0 0 15px rgba(255, 239, 188, .3));
  opacity: 0;
  will-change: transform, opacity;
  animation: rainbow-light-drift var(--flare-duration) ease-in-out infinite;
}
.home-v2 .rainbow-flare-one {
  --flare-duration: 19s;
  --flare-start-x: -34px;
  --flare-start-y: -18px;
  --flare-end-x: 58px;
  --flare-end-y: 34px;
  top: 9%;
  left: -4%;
  transform: translate3d(var(--flare-start-x), var(--flare-start-y), 0) rotate(-13deg) scale(.82);
}
.home-v2 .rainbow-flare-two {
  --flare-duration: 24s;
  --flare-start-x: -54px;
  --flare-start-y: 24px;
  --flare-end-x: 72px;
  --flare-end-y: -12px;
  top: 38%;
  left: 2%;
  width: clamp(120px, 22%, 195px);
  transform: translate3d(var(--flare-start-x), var(--flare-start-y), 0) rotate(8deg) scale(.7);
  animation-delay: -8s;
}
.home-v2 .rainbow-flare-three {
  --flare-duration: 27s;
  --flare-start-x: -44px;
  --flare-start-y: 18px;
  --flare-end-x: 46px;
  --flare-end-y: -38px;
  left: 10%;
  bottom: 4%;
  width: clamp(105px, 19%, 170px);
  transform: translate3d(var(--flare-start-x), var(--flare-start-y), 0) rotate(-26deg) scale(.66);
  animation-delay: -17s;
}
.home-v2 .rainbow-flare-four {
  --flare-duration: 22s;
  --flare-start-x: -68px;
  --flare-start-y: 8px;
  --flare-end-x: 68px;
  --flare-end-y: 26px;
  top: 24%;
  left: 18%;
  width: clamp(112px, 20%, 178px);
  transform: translate3d(var(--flare-start-x), var(--flare-start-y), 0) rotate(18deg) scale(.68);
  animation-delay: -3s;
}
.home-v2 .rainbow-flare-five {
  --flare-duration: 30s;
  --flare-start-x: -58px;
  --flare-start-y: 30px;
  --flare-end-x: 82px;
  --flare-end-y: -28px;
  left: 24%;
  bottom: 18%;
  width: clamp(95px, 17%, 150px);
  transform: translate3d(var(--flare-start-x), var(--flare-start-y), 0) rotate(-33deg) scale(.62);
  animation-delay: -13s;
}
.home-v2 .stage-note { z-index: 22; }

@keyframes rainbow-light-drift {
  0%, 12%, 100% {
    opacity: 0;
    transform: translate3d(var(--flare-start-x), var(--flare-start-y), 0) rotate(-10deg) scale(.72);
  }
  28% { opacity: .18; }
  48% {
    opacity: .52;
    transform: translate3d(0, 0, 0) rotate(-5deg) scale(.92);
  }
  72% { opacity: .19; }
  88% {
    opacity: 0;
    transform: translate3d(var(--flare-end-x), var(--flare-end-y), 0) rotate(2deg) scale(1.04);
  }
}
@keyframes stage-rays-breathe {
  from { opacity: .34; transform: rotate(5deg) scale(1.04); }
  to { opacity: .7; transform: rotate(-1deg) scale(1.13); }
}

.home-v2 .customizer.animations-off .sun-rays,
.home-v2 .customizer.animations-off .rainbow-flare { animation: none; }
.home-v2 .customizer.animations-off .sun-rays { opacity: .32; }
.home-v2 .customizer.animations-off .rainbow-flare-one { opacity: .16; transform: translate3d(18px, 10px, 0) rotate(-8deg) scale(.82); }
.home-v2 .customizer.animations-off .rainbow-flare-two { opacity: .11; transform: translate3d(30px, 4px, 0) rotate(7deg) scale(.7); }
.home-v2 .customizer.animations-off .rainbow-flare-three { opacity: .09; transform: translate3d(12px, -10px, 0) rotate(-24deg) scale(.66); }
.home-v2 .customizer.animations-off .rainbow-flare-four,
.home-v2 .customizer.animations-off .rainbow-flare-five { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .home-v2 .sun-rays,
  .home-v2 .rainbow-flare { animation: none; }
  .home-v2 .sun-rays { opacity: .28; }
  .home-v2 .rainbow-flare-one { opacity: .16; }
  .home-v2 .rainbow-flare-two,
  .home-v2 .rainbow-flare-three,
  .home-v2 .rainbow-flare-four,
  .home-v2 .rainbow-flare-five { opacity: 0; }
}

/* Garante o player quadrado depois dos refinamentos gerais de áudio. */
@media (orientation: landscape) and (max-height: 760px) {
  .home-v2 .music-now-playing {
    top: 8px;
    left: 8px;
    align-items: flex-start;
    width: 122px;
    min-height: 72px;
    padding: 6px 18px 6px 6px;
    border-radius: 11px;
  }
  .home-v2 .music-now-playing > img {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    margin-right: 5px;
  }
  .home-v2 .music-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 5px;
  }
  .home-v2 .music-copy small { font-size: 5.5px; }
  .home-v2 .music-copy strong { font-size: 6.5px; }
  .home-v2 .track-line { display: block; }
  .home-v2 .track-line > span:first-child { display: block; margin-bottom: 1px; }
  .home-v2 .music-controls {
    justify-content: center;
    gap: 3px;
    padding: 4px 0 0;
    border-top: 1px solid rgba(177, 125, 39, .35);
    border-left: 0;
  }
  .home-v2 .music-controls button {
    width: 18px;
    height: 18px;
  }
}
