:root {
  --ink: #fff9f1;
  --muted: #d8c2d8;
  --purple-950: #160424;
  --purple-900: #22072f;
  --purple-800: #39084a;
  --purple-700: #65105f;
  --pink: #f52665;
  --orange: #ff7942;
  --gold: #ffcc52;
  --paper: #fff9ef;
  --dark: #26152f;
}
* { box-sizing: border-box; }
html { height: 100%; overflow: hidden; background: #260457; overscroll-behavior: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { scroll-behavior: smooth; }
body { height: 100%; margin: 0; min-width: 320px; overflow: hidden; overscroll-behavior: none; background: #260457; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.app { position: relative; width: min(100%, 520px); height: 100dvh; margin: 0 auto; padding: 0 14px calc(94px + env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: none; -webkit-overflow-scrolling: touch; background: radial-gradient(circle at 88% 7%, rgba(255,112,61,.8), transparent 27%), radial-gradient(circle at -10% 28%, rgba(236,21,118,.7), transparent 38%), linear-gradient(168deg, #260457 0%, #710d64 43%, #270633 100%); box-shadow: 0 0 80px rgba(0,0,0,.66); }
.app::before { content:""; position: absolute; z-index: 0; inset: 0; pointer-events:none; opacity:.17; background: radial-gradient(circle at 20% 10%, #fff 0 1px, transparent 2px), radial-gradient(circle at 80% 35%, #fff 0 1px, transparent 2px); background-size: 41px 41px, 53px 53px; }
.topbar { position: sticky; z-index: 20; top: 0; width: calc(100% + 28px); height: calc(70px + env(safe-area-inset-top)); margin-left: -14px; padding: env(safe-area-inset-top) 14px 0; display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; background: linear-gradient(180deg, rgba(25,4,42,.98), rgba(25,4,42,.84) 76%, rgba(25,4,42,.35)); backdrop-filter: blur(16px); }
.app.is-home .topbar { position: absolute; top: 0; left: 0; right: 0; width: 100%; margin-left: 0; background: transparent; backdrop-filter: none; }
.app.is-home .topbar .brand { visibility: hidden; }
.icon-button { width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.17); border-radius: 15px; background: rgba(255,255,255,.08); color: #fff; font-size: 23px; box-shadow: inset 0 1px rgba(255,255,255,.08); }
.topbar-spacer { width:48px; height:48px; }
.brand { position:relative; width: 112px; justify-self: center; display: block; padding-bottom:6px; text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.brand i { position:absolute; right:2px; bottom:0; color:var(--gold); font-size:8px; font-style:normal; font-weight:950; letter-spacing:.22em; }
.hero { position: relative; z-index: 1; margin: 2px -14px 0; overflow: visible; background: transparent; }
.hero-art { position: relative; aspect-ratio: 1037 / 1516; overflow: hidden; background: #260457; }
.hero-art > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: absolute; z-index: 2; top: 3.5%; left: 4%; right: 4%; display: grid; justify-items: center; color: #fff; text-align: center; text-shadow: 0 3px 18px rgba(45,0,55,.4); }
.hero-copy span { font-size: clamp(21px,6.5vw,33px); font-weight: 950; line-height: .84; letter-spacing: -.045em; }
.hero-copy strong { margin: -1px 0 -2px; color: var(--gold); font-family: "SignPainter-HouseScript Semibold", "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive; font-size: clamp(50px,15vw,78px); font-weight: 600; line-height: .9; transform: rotate(-2deg); text-shadow: 0 4px 0 rgba(236,39,99,.35), 0 8px 24px rgba(45,0,55,.3); }
.hero-copy h1 { margin: 0; font-size: clamp(28px,8vw,42px); line-height: .9; letter-spacing: -.055em; }
.hero-label { position: absolute; z-index: 3; min-width: 54px; padding: 5px 8px 4px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.2); border-bottom: 2px solid rgba(255,204,82,.92); border-radius: 8px; background: linear-gradient(145deg,rgba(83,15,82,.78),rgba(39,5,66,.58)); color: #fff; box-shadow: 0 5px 13px rgba(35,0,48,.18); backdrop-filter: blur(5px); text-align: center; line-height: 1; }
.hero-label b { display: block; max-width: 66px; overflow: hidden; font-size: 7px; font-weight: 900; letter-spacing: .055em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.hero-label strong { display: block; margin-top: 2px; color: #fff9ed; font-family: Impact, "Arial Black", sans-serif; font-size: 16px; font-weight: 950; letter-spacing: -.025em; text-shadow: 0 1px 0 rgba(194,21,77,.8); }
.label-aurea { left: 11%; top: 51%; }
.label-rogerio { left: 30%; top: 48%; }
.label-bruno { left: 50%; top: 50%; }
.label-marilia { left: 70%; top: 49%; }
.label-beatriz { left: 89%; top: 53%; }
.label-patrus { left: 18%; top: 76%; }
.label-lula { left: 50%; top: 82%; min-width: 70px; border-bottom-color: var(--gold); }
.label-lula strong { color: var(--gold); font-size: 20px; }
.label-ana { left: 83%; top: 76%; }
.hero-caption { margin: 0; padding: 15px 20px 18px; color: #ead7e8; background: linear-gradient(180deg, rgba(17,2,35,.2), rgba(17,2,35,.92)); font-size: 14px; line-height: 1.45; text-align: center; }
.hero-caption strong { color: #fff; font-weight: 900; }
.hero-how { position: relative; z-index: 5; margin: -145px 14px 12px; padding: 12px 10px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: linear-gradient(145deg,rgba(45,8,65,.94),rgba(18,3,34,.98)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 18px 36px rgba(12,0,26,.24); backdrop-filter: blur(12px); }
.hero-how-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 0 2px 5px; }
.hero-how-heading h2 { max-width: 66%; margin: 0; color: #fff; font-size: 12px; font-weight: 900; line-height: 1.08; letter-spacing: .055em; text-transform: uppercase; }
.hero-how-heading h2:only-child { max-width:100%; }
.hero-how-heading h2 span { color: #ffd05a; font-family: inherit; font-size: 12px; font-style: italic; font-weight: 650; letter-spacing: .03em; line-height: 1; text-transform: none; }
.hero-how-heading small { color: #d8b9d7; font-size: 7px; font-weight: 800; letter-spacing: .14em; text-align: right; }
.hero-how-intro { max-width: 48ch; margin: 0 2px 9px; color: #eadcec; font-size: 9px; font-weight: 650; line-height: 1.35; }
.hero-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.hero-steps article { position: relative; min-height: 78px; padding: 8px 5px 7px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: linear-gradient(155deg,rgba(255,255,255,.1),rgba(255,255,255,.035)); text-align: center; }
.hero-steps i { display: block; width: 23px; height: 23px; margin: 0 auto 3px; color: #c957ff; font-style: normal; line-height: 1; filter: drop-shadow(0 0 8px rgba(208,68,255,.38)); }
.hero-steps i svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-steps article:nth-child(2) i { color: #ef4cd3; }
.hero-steps article:nth-child(3) i { color: var(--gold); }
.hero-steps b { position: absolute; top: 7px; right: 7px; display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#7939b9,var(--pink)); color: #fff; font-size: 8px; box-shadow: 0 5px 14px rgba(244,38,101,.25); }
.hero-steps strong { display: block; color: #fff; font-size: 8px; line-height: 1.15; }
.hero-steps span { display: block; margin-top: 3px; color: #d6c5d8; font-size: 6.5px; font-weight: 600; line-height: 1.25; }
.hero-buttons { display: grid; grid-template-columns: .82fr 1.18fr; gap: 8px; margin-top: 9px; }
.hero-buttons button { min-height: 42px; border-radius: 12px; color: #fff; font-size: 11px; font-weight: 900; }
.hero-share { border: 1px solid rgba(255,255,255,.23); background: rgba(255,255,255,.08); }
.hero-share { display:flex; align-items:center; justify-content:center; gap:6px; }
.hero-share svg { width:17px; height:17px; fill:none; stroke:var(--gold); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.hero-start { border: 0; background: linear-gradient(105deg,var(--pink),var(--orange) 68%,var(--gold)); box-shadow: 0 8px 22px rgba(255,51,104,.3); }
.cta { width: 100%; min-height: 58px; border: 0; border-radius: 999px; background: linear-gradient(105deg, var(--pink), var(--orange) 64%, var(--gold)); color: #fff; font-weight: 900; font-size: 17px; box-shadow: 0 13px 32px rgba(255,47,102,.27); }
.cta span { margin-left: 8px; }
.cta-glow { min-height: 66px; font-size: 21px; box-shadow: 0 0 28px rgba(255,51,104,.78), inset 0 0 0 2px rgba(255,255,255,.16); }
.hero-action .cta-glow { min-height: 46px; font-size: 16px; box-shadow: 0 10px 24px rgba(255,51,104,.3), inset 0 0 0 1px rgba(255,255,255,.16); }
.screen { position: relative; z-index: 2; min-height: 0; padding: 28px 2px 36px; }
.screen[hidden] { display: none; }
.screen-heading { margin: 0 4px 22px; }
.screen-heading small, dialog > small { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.screen-heading h1 { max-width: 360px; margin: 7px 0 8px; font-size: clamp(37px, 10vw, 51px); line-height: .95; letter-spacing: -.055em; }
.screen-heading p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.glass-card { padding: 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.045)); box-shadow: inset 0 1px rgba(255,255,255,.1), 0 20px 45px rgba(14,0,25,.25); backdrop-filter: blur(18px); }
.location-card { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #fff; font-size: 13px; font-weight: 800; }
input, select { width: 100%; min-height: 54px; padding: 0 15px; border: 1px solid rgba(52,24,57,.16); border-radius: 13px; outline: none; background: var(--paper); color: var(--dark); font-size: 16px; }
input:focus, select:focus { box-shadow: 0 0 0 3px rgba(255,204,82,.36); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 16px; }
.steps article { min-height: 82px; padding: 10px 9px; border: 1px solid rgba(255,255,255,.15); border-radius: 15px; background: rgba(26,6,47,.38); }
.steps b { display: grid; width: 25px; height: 25px; place-items: center; margin-bottom: 7px; border-radius: 50%; background: linear-gradient(135deg,var(--pink),var(--orange)); }
.steps span { display: block; font-size: 11px; font-weight: 750; line-height: 1.18; }
.sticky-heading { margin-bottom: 14px; }
.candidate-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.candidate-heading-row h1 { margin-bottom: 0; }
.candidate-heading-row h1 em { display: block; color: var(--gold); font-family: Georgia,serif; font-size: .55em; font-weight: 600; line-height: .9; }
.optional-label { margin-left: 5px; color: #d9c7dc; font-size: 10px; font-weight: 650; }
.selection-strip { position: sticky; z-index: 18; top: calc(69px + env(safe-area-inset-top)); display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 5px; margin: 0 -2px 14px; padding: 9px 6px 10px; overflow: visible; border-radius: 18px; background: linear-gradient(180deg,rgba(34,7,47,.97),rgba(34,7,47,.9)); box-shadow: 0 10px 24px rgba(15,0,25,.18); }
.selection-strip::-webkit-scrollbar, .office-tabs::-webkit-scrollbar { display: none; }
.selection-dot { min-width: 0; padding: 0; display: grid; justify-items: center; gap: 5px; border: 0; background: transparent; color: #dbc5da; font-size: 8px; font-weight: 800; text-align: center; }
.selection-dot:disabled { cursor: default; opacity: 1; }
.selection-dot i { position: relative; width: clamp(40px,11vw,48px); height: clamp(40px,11vw,48px); display: grid; place-items: center; overflow: visible; border: 2px solid rgba(255,255,255,.25); border-radius: 13px; background: rgba(255,255,255,.09); color: #fff; font-style: normal; font-weight: 900; transition: .22s ease; }
.selection-dot img { width: 100%; height: 100%; object-fit: cover; }
.selection-dot i img { overflow: hidden; border-radius: 10px; }
.slot-stars { position:absolute; inset:0; overflow:visible; pointer-events:none; }
.slot-stars b { position:absolute; left:50%; top:50%; color:var(--gold); font-size:13px; opacity:0; text-shadow:0 2px 6px rgba(28,0,36,.45); }
.slot-stars b:nth-child(1) { --tx:-34px; --ty:-33px; }
.slot-stars b:nth-child(2) { --tx:27px; --ty:-29px; animation-delay:.04s !important; }
.slot-stars b:nth-child(3) { --tx:-39px; --ty:7px; animation-delay:.08s !important; }
.slot-stars b:nth-child(4) { --tx:31px; --ty:12px; animation-delay:.12s !important; }
.slot-stars b:nth-child(5) { --tx:1px; --ty:-45px; animation-delay:.16s !important; }
.selection-dot.selection-celebrate .slot-stars b { animation:slot-star-burst .75s cubic-bezier(.15,.75,.25,1) forwards; }
.selection-dot.done i { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(255,204,82,.16); }
.selection-dot.active { color: #fff; }
.selection-dot.active i { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,204,82,.22), 0 8px 20px rgba(245,38,101,.28); transform: translateY(-2px); }
.selection-dot.selection-pop i { animation: selection-pop .82s cubic-bezier(.2,.9,.2,1); }
.office-tabs { display: none; }
.office-tabs button { flex: none; min-height: 42px; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(26,6,47,.48); color: #d8bfd7; font-size: 12px; font-weight: 800; }
.office-tabs button[aria-selected="true"] { border-color: transparent; background: var(--paper); color: #35123d; }
.candidate-search { display: grid; gap: 7px; margin: 0 0 13px; color: #fff; font-size: 12px; font-weight: 850; }
.search-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.search-heading b { padding:5px 8px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.08); color:var(--gold); font-size:9px; letter-spacing:.02em; white-space:nowrap; }
.candidate-search input { min-height: 46px; background: rgba(255,255,255,.96); }
.candidate-list { display: grid; gap: 12px; }
.candidate-empty { padding: 24px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(28,5,42,.42); color: #eadbea; text-align: center; }
.candidate-empty strong { display: block; margin-bottom: 6px; color: #fff; font-size: 16px; }
.candidate-empty p { margin: 0; font-size: 12px; line-height: 1.45; }
.candidate-empty a { display: inline-flex; margin-top: 13px; color: var(--gold); font-size: 12px; font-weight: 900; }
.skip-office { min-height:42px; margin:13px 0 0 10px; padding:0 14px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.09); color:#fff; font-size:11px; font-weight:900; }
.load-more { width: 100%; min-height: 48px; margin-top: 12px; border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(255,255,255,.08); color: #fff; font-size: 13px; font-weight: 850; }
.candidate-card { overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: var(--paper); color: var(--dark); box-shadow: 0 16px 36px rgba(17,0,29,.23); }
.candidate-main { display: grid; grid-template-columns: 112px 1fr; min-height: 152px; }
.candidate-photo { position: relative; overflow: hidden; background: linear-gradient(145deg,#f7286d,#ffaf43); }
.candidate-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.candidate-photo b { height: 100%; display: grid; place-items: center; color: #fff; font-size: 28px; }
.candidate-copy { padding: 15px 14px 12px; }
.candidate-copy small { color: #9c637a; font-size: 11px; font-weight: 900; letter-spacing: .09em; }
.candidate-endorsement { display: block; width: fit-content; margin: 6px 0 1px; padding: 5px 8px; border-radius: 999px; background: #fff0ba; color: #7c3216; font-size: 10px; font-style: normal; font-weight: 950; letter-spacing: .025em; }
.candidate-copy h2 { margin: 6px 0 3px; font-size: 24px; line-height: 1; letter-spacing: -.035em; }
.candidate-number { color: #d61d47; font-size: 32px; font-weight: 950; line-height: 1; }
.candidate-copy p { margin: 8px 0 0; color: #6b5c68; font-size: 13px; line-height: 1.4; }
.candidate-actions { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; padding: 0 12px 12px; }
.candidate-actions button { min-height: 50px; border: 1px solid #ded1dc; border-radius: 12px; background: #fff; color: #5b3d59; font-size: 13px; font-weight: 850; }
.candidate-actions .select { border: 0; background: #361043; color: #fff; }
.candidate-card.selected { box-shadow: 0 0 0 3px var(--gold), 0 16px 36px rgba(17,0,29,.23); }
.candidate-card.selected .select { background: linear-gradient(105deg,var(--pink),var(--orange)); }
.candidate-detail { display: none; padding: 2px 12px 14px; color: #5e4e5d; font-size: 12px; line-height: 1.5; }
.candidate-card.open .candidate-detail { display: block; }
.profile-sheet { display: grid; gap: 8px; padding-top: 7px; border-top: 1px solid #e4d8e1; }
.profile-section { padding: 12px; border-radius: 13px; background: #fff; box-shadow: 0 5px 15px rgba(46,16,45,.055); }
.profile-section h3 { margin: 0 0 7px; color: #42123f; font-size: 12px; letter-spacing: .02em; }
.profile-section p { margin: 0; color: #655563; font-size: 11px; line-height: 1.5; }
.profile-tag { display: inline-flex; margin-top: 8px; padding: 4px 7px; border-radius: 999px; background: #fff0ba; color: #7c3216; font-size: 9px; font-weight: 900; }
.profile-numbers > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.profile-numbers span { min-width: 0; padding: 9px 7px; border-radius: 10px; background: #f8f0f5; color: #806b7c; font-size: 8px; line-height: 1.25; }
.profile-numbers span b { display: block; overflow: hidden; margin-top: 5px; color: #65154f; font-size: 12px; text-overflow: ellipsis; }
.profile-numbers small { display: block; margin-top: 7px; color: #947f90; font-size: 8px; }
.profile-ranking, .plan-highlights { display: grid; gap: 6px; margin: 0; padding-left: 18px; }
.profile-ranking li { padding-left: 2px; color: #6b5868; font-size: 10px; }
.profile-ranking li span { display: block; }
.profile-ranking li b { display: block; color: #8c214e; font-size: 10px; }
.plan-highlights li { color: #5f4f5c; font-size: 11px; line-height: 1.35; }
.profile-empty { color: #94828f !important; font-style: italic; }
.profile-status { background: #f8f0f5; }
.transparency { margin: 18px 0 34px; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(22,4,36,.5); }
.transparency strong { color: var(--gold); font-size: 13px; }
.transparency p { margin: 8px 0; color: #dac7d8; font-size: 11px; line-height: 1.5; }
.transparency a { color: #fff; font-size: 11px; font-weight: 800; }
.review-hero { position:relative; min-height:1045px; height:auto; margin:-28px -16px 0; padding:468px 18px 30px; overflow:hidden; background-color:#160424; background-image:linear-gradient(180deg,transparent 0 41%,rgba(37,3,45,.12) 47%,rgba(37,3,45,.79) 60%,#160424 83%),url("./assets/revisao-lula-cidade-logo-v2.webp"); background-position:center top; background-size:100% auto; background-repeat:no-repeat; box-shadow:0 18px 40px rgba(18,0,29,.26); }
.review-hero::before { content:""; position:absolute; inset:0; opacity:.16; background:radial-gradient(circle at 18% 18%,#fff 0 1px,transparent 2px); background-size:31px 31px; pointer-events:none; }
.review-hero::after { content:""; position:absolute; left:-20%; right:-20%; top:455px; height:280px; background:radial-gradient(ellipse,rgba(228,29,123,.24),transparent 68%); pointer-events:none; }
.review-hero > div:first-child { position:relative; z-index:3; max-width:76%; }
.review-hero small { color:var(--gold); font-size:9px; font-weight:950; letter-spacing:.15em; }
.review-hero h1 { margin:0 0 8px; font-size:42px; line-height:.9; letter-spacing:-.055em; }
.review-hero p { margin:0; color:#f0e3ef; font-size:12px; line-height:1.4; }
.review-hero .review-list { position:relative; z-index:3; margin:22px 0 16px; }
.review-hero .review-item { border-color:rgba(255,255,255,.22); background:rgba(31,5,41,.82); box-shadow:0 12px 30px rgba(12,0,21,.24); backdrop-filter:blur(12px); }
.review-hero > .cta { position:relative; z-index:3; }
.review-list { display: grid; gap: 10px; margin-bottom: 18px; }
.review-item { min-height: 84px; padding: 10px 11px; display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.1); box-shadow: 0 12px 30px rgba(16,0,26,.14); }
.review-photo { width: 62px; height: 62px; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--gold); border-radius: 50%; background: #4a1458; font-weight: 900; }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-item small { display: block; color: #e1cbe1; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.review-item strong { display: block; margin: 3px 0 1px; color: #fff; font-size: 15px; line-height: 1.1; }
.review-item b { color: var(--gold); font-size: 22px; }
.review-item button, .review-fixed { min-height: 38px; padding: 0 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; font-size: 10px; font-weight: 850; }
.review-fixed { color: #ffe6a5; }
.identity-cover { position:relative; min-height:1000px; margin:-28px -16px 18px; padding:488px 18px 28px; overflow:hidden; background:#18052e url("./assets/apoio-identidade-logo-v4.webp") center top/100% auto no-repeat; }
.identity-cover::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 0 45%,rgba(67,3,63,.08) 51%,rgba(48,3,58,.56) 64%,rgba(22,4,36,.96) 84%,#160424 100%); pointer-events:none; }
.identity-cover-copy, .identity-cover .name-panel { position:relative; z-index:2; }
.identity-cover-copy { margin:0 3px 17px; }
.identity-cover-copy small { color:var(--gold); font-size:9px; font-weight:950; letter-spacing:.13em; }
.identity-cover-copy h1 { max-width:350px; margin:0 0 9px; font-size:40px; line-height:.9; letter-spacing:-.055em; }
.identity-cover-copy p { max-width:40ch; margin:0; color:#f0e2ed; font-size:13px; font-weight:650; line-height:1.45; }
.theme-picker { min-width:0; margin:15px 0; padding:0; border:0; }
.theme-picker legend { display:flex; width:100%; align-items:center; justify-content:space-between; gap:10px; margin-bottom:9px; color:#fff; font-size:13px; font-weight:900; }
.theme-picker legend small { color:#dcbdd8; font-size:9px; font-weight:700; }
.theme-track { display:flex; gap:10px; margin:0 -5px; padding:3px 5px 8px; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; }
.theme-track::-webkit-scrollbar { display:none; }
.theme-choice { position:relative; display:block; width:106px; flex:0 0 106px; padding:4px; overflow:hidden; border:2px solid transparent; border-radius:14px; background:rgba(255,255,255,.08); color:#fff; scroll-snap-align:start; text-align:left; }
.theme-choice img { display:block; width:100%; aspect-ratio:4/5; border-radius:10px; object-fit:cover; object-position:center top; }
.theme-choice span { display:block; padding:7px 4px 5px; font-size:10px; font-weight:850; line-height:1.15; }
.theme-choice.active { border-color:var(--gold); background:rgba(255,204,82,.14); box-shadow:0 0 0 2px rgba(255,204,82,.12),0 10px 22px rgba(10,0,20,.24); }
.theme-choice.active::after { content:"✓"; position:absolute; top:9px; right:9px; display:grid; width:24px; height:24px; place-items:center; border-radius:50%; background:var(--gold); color:#2a0b31; font-size:13px; font-weight:950; box-shadow:0 5px 14px rgba(0,0,0,.25); }
.identity-examples { position:relative; z-index:2; display:flex; flex-wrap:wrap; gap:6px; margin-top:13px; }
.identity-examples b { padding:6px 9px; border:1px solid rgba(255,255,255,.16); border-radius:8px; background:rgba(255,255,255,.07); color:#fff; font-size:9px; letter-spacing:.04em; }
.name-panel { display: grid; gap: 12px; margin-bottom: 0; padding: 17px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(42,5,51,.72); box-shadow:0 18px 40px rgba(13,0,24,.24); backdrop-filter:blur(12px); }
.identity-hint { margin:0; color:#dac6da; font-size:10px; line-height:1.4; }
.identity-generate { min-height:48px; border:0; border-radius:13px; background:linear-gradient(105deg,var(--pink),var(--orange) 68%,var(--gold)); color:#fff; font-size:13px; font-weight:950; box-shadow:0 9px 22px rgba(245,38,101,.25); }
.template-panel { display: grid; gap: 9px; margin-bottom: 14px; padding: 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(28,5,42,.34); }
.template-panel > strong { font-size: 12px; }
.template-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.template-switch button { min-height: 46px; padding: 0 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.06); color: #e5d6e7; font-size: 11px; font-weight: 900; }
.template-switch button.active { border-color: transparent; background: linear-gradient(110deg,var(--pink),var(--orange)); color: #fff; box-shadow: 0 8px 20px rgba(245,38,101,.23); }
.preview-shell { position: relative; overflow: hidden; border-radius: 18px; background: #5e0d1b; box-shadow: 0 22px 50px rgba(18,0,29,.34); }
#cardCanvas { display: block; width: 100%; height: auto; }
.rendering { position: absolute; inset: 0; display: none; place-items: center; background: rgba(31,5,38,.7); font-weight: 900; }
.actions { display: grid; gap: 10px; margin-top: 15px; }
.cta.secondary { border: 1px solid rgba(255,255,255,.27); background: rgba(255,255,255,.08); box-shadow: none; }
.story-button { width:100%; min-height:52px; border:1px solid rgba(255,255,255,.24); border-radius:999px; background:linear-gradient(105deg,#7437c7,#dc2b91,#ff7942); color:#fff; font-size:14px; font-weight:900; }
.new-version-button { width:100%; min-height:48px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:transparent; color:#fff; font-size:13px; font-weight:850; }
.share-note { margin: 13px 18px 0; padding-bottom: 112px; color: #d8c2d8; font-size: 11px; line-height: 1.5; text-align: center; }
.share-note strong { color:var(--gold); }
.bottom-nav { position: fixed; z-index: 30; left: 50%; bottom: 0; width: min(100%,520px); min-height: calc(66px + env(safe-area-inset-bottom)); padding: 6px 12px env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3,1fr); transform: translateX(-50%); border-top: 1px solid rgba(255,255,255,.14); background: #190620; box-shadow: 0 -12px 30px rgba(15,0,24,.28); }
.bottom-nav button, .bottom-nav a { position: relative; min-height: 53px; display: grid; place-items: center; align-content: center; gap: 3px; padding: 0 5px; border: 0; border-radius: 14px; background: transparent; color: #f0e7f2; text-decoration: none; }
.bottom-nav > * + *::before { content:""; position:absolute; left:-1px; top:11px; bottom:11px; width:1px; background:linear-gradient(180deg,transparent,rgba(255,255,255,.22),transparent); }
.bottom-nav span { font-size: 21px; line-height: 1; }
.bottom-nav small { font-size: 9px; font-weight: 850; line-height: 1.1; }
.bottom-nav .active { background: linear-gradient(145deg,#df2a88,#7731b9); color: #fff; box-shadow: 0 0 24px rgba(225,43,151,.38); }
.bottom-nav .voa-link { gap: 1px; }
.bottom-nav .voa-link small { color: #d9c6df; font-size: 8px; }
.bottom-nav .nav-logo { position:relative; display:block; width:76px; padding-bottom:4px; }
.bottom-nav .voa-link img { display:block; width:100%; height:auto; }
.bottom-nav .nav-logo i { position:absolute; right:0; bottom:0; color:var(--gold); font-size:6px; font-style:normal; font-weight:950; letter-spacing:.18em; }
.bottom-nav .support-nav { color:#ffe97d; }
.bottom-nav .support-nav span { color:#ff395f; font-size:24px; filter:drop-shadow(0 0 9px rgba(255,57,95,.5)); }
.bottom-nav .support-nav small { color:#ffe97d; }
.bottom-nav .support-nav.active { background:linear-gradient(145deg,#f52b70,#ff9a3d 72%,#ffd45d); color:#fff; }
.bottom-nav .support-nav.active span,.bottom-nav .support-nav.active small { color:#fff; }
.support-card { display:grid; gap:14px; border-color:rgba(255,215,83,.4); background:linear-gradient(155deg,rgba(115,17,89,.9),rgba(42,5,57,.94)); box-shadow:0 20px 55px rgba(21,0,29,.38),0 0 38px rgba(245,38,101,.12); }
.support-screen { position:relative; padding-bottom:116px; background:radial-gradient(circle at 92px 105px,rgba(255,205,75,.2),transparent 160px),radial-gradient(circle at 92% 320px,rgba(245,38,101,.22),transparent 210px); }
.support-heading small { color:#ffd34f; }
.support-heading h1 { max-width:410px; }
.support-hearts { display:flex; gap:8px; align-items:flex-end; padding:12px 4px 0; color:#ff365f; filter:drop-shadow(0 6px 13px rgba(255,35,88,.35)); }
.support-hearts span:nth-child(1) { font-size:25px; transform:rotate(-12deg); }
.support-hearts span:nth-child(2) { font-size:40px; }
.support-hearts span:nth-child(3) { font-size:20px; transform:rotate(14deg); }
.screen-close { position:absolute; z-index:3; top:20px; right:2px; width:44px; height:44px; border:1px solid rgba(255,255,255,.2); border-radius:50%; background:rgba(25,4,42,.55); color:#fff; font-size:28px; line-height:1; }
.support-card-title { display:flex; align-items:center; gap:10px; }
.support-card-title span { color:#ff395f; font-size:27px; }
.support-card-title strong { font-size:20px; line-height:1.1; }
.support-card p { margin: 0; color: #ddcce0; font-size: 14px; line-height: 1.5; }
.pix-box { display:grid; gap:10px; padding:15px; border:1px solid rgba(255,222,96,.6); border-radius:16px; background:linear-gradient(135deg,rgba(255,211,79,.15),rgba(245,38,101,.14)); }
.pix-label { color:#ffd95f; font-size:10px; font-weight:950; letter-spacing:.18em; }
.pix-box code { display:block; overflow-wrap:anywhere; color:#fff; font-family:inherit; font-size:14px; font-weight:850; line-height:1.35; }
.pix-box button { min-height:46px; border:0; border-radius:999px; background:linear-gradient(105deg,#ffd553,#ffad43 54%,#ff4b73); color:#2b092c; font-size:13px; font-weight:950; box-shadow:0 9px 22px rgba(255,171,59,.22); }
.support-card .pix-owner { color:#fff3c8; font-size:12px; }
.support-divider { display:flex; align-items:center; gap:10px; color:#dbbfdc; font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.support-divider::before,.support-divider::after { content:""; flex:1; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.28)); }
.support-divider::after { transform:scaleX(-1); }
.support-link { min-height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 850; text-align: center; text-decoration: none; }
dialog { width: min(calc(100% - 32px),440px); max-height: min(82dvh,680px); padding: 27px 24px; overflow-y: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: linear-gradient(150deg,#35104e,#20072e); color: #fff; box-shadow: 0 30px 80px #000; }
dialog::backdrop { background: rgba(8,2,12,.77); backdrop-filter: blur(7px); }
dialog h2 { margin: 8px 0; font-size: 30px; line-height: 1; }
dialog p, dialog li { color: #d9c6da; font-size: 13px; line-height: 1.5; }
.dialog-brand { position:relative; width:122px; margin:0 auto 22px; padding-bottom:6px; }
.dialog-brand img { display:block; width:100%; }
.dialog-brand i { position:absolute; right:0; bottom:0; color:var(--gold); font-size:8px; font-style:normal; font-weight:950; letter-spacing:.2em; }
.dialog-steps { display:grid; gap:8px; margin-top:17px; }
.dialog-steps span { min-height:44px; display:flex; align-items:center; gap:10px; padding:8px 11px; border:1px solid rgba(255,255,255,.13); border-radius:12px; background:rgba(255,255,255,.055); color:#f4eaf4; font-size:12px; font-weight:800; }
.dialog-steps b { flex:none; width:26px; height:26px; display:grid; place-items:center; border-radius:50%; background:linear-gradient(135deg,var(--pink),var(--orange)); color:#fff; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.dialog-actions button { min-height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.08); color: #fff; font-size: 14px; font-weight: 850; }
.dialog-actions #dialogStart { border: 0; background: linear-gradient(105deg,var(--pink),var(--orange)); }
.dialog-actions #dialogResume { grid-column:1/-1; border:0; background:linear-gradient(105deg,#ffcc52,#ff8b43); color:#2b0b32; }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 94px; max-width: calc(100% - 32px); padding: 12px 17px; transform: translate(-50%,20px); border-radius: 999px; background: #fff; color: #2b1730; box-shadow: 0 12px 40px rgba(0,0,0,.36); font-size: 12px; font-weight: 850; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%,0); opacity: 1; }
.vote-confirmation { position: fixed; z-index: 80; left: 50%; top: 46%; width:240px; padding:22px 20px 20px; display:grid; justify-items:center; gap:7px; transform:translate(-50%,-42%) scale(.72); overflow:visible; border:1px solid rgba(255,255,255,.32); border-radius:28px; background:radial-gradient(circle at 75% 5%,rgba(255,162,55,.8),transparent 35%),linear-gradient(145deg,#6f105f,#25052f 70%); color:#fff; box-shadow:0 30px 90px rgba(0,0,0,.58),0 0 0 999px rgba(16,1,22,.28); opacity:0; pointer-events:none; transition:.24s cubic-bezier(.2,.9,.2,1); }
.vote-photo { position:relative; z-index:2; width:112px; height:112px; display:grid; place-items:center; overflow:hidden; border:4px solid var(--gold); border-radius:50%; background:#45104f; box-shadow:0 0 0 8px rgba(255,204,82,.13),0 16px 35px rgba(17,0,26,.4); }
.vote-photo img { width:100%; height:100%; object-fit:cover; object-position:center 18%; }
.vote-photo b { font-size:38px; }
.vote-stars { position:absolute; z-index:3; top:57px; left:50%; width:190px; height:100px; transform:translateX(-50%); pointer-events:none; }
.vote-stars i { position:absolute; color:var(--gold); font-style:normal; text-shadow:0 3px 10px rgba(37,0,43,.45); }
.vote-confirmation.show .vote-stars i { animation:vote-star-pop .7s cubic-bezier(.2,.9,.2,1) both; }
.vote-confirmation.show .vote-stars i:nth-child(2){animation-delay:.05s}.vote-confirmation.show .vote-stars i:nth-child(3){animation-delay:.1s}.vote-confirmation.show .vote-stars i:nth-child(4){animation-delay:.15s}.vote-confirmation.show .vote-stars i:nth-child(5){animation-delay:.2s}
.vote-stars i:nth-child(1){left:4px;top:23px;font-size:21px;}.vote-stars i:nth-child(2){left:28px;top:-5px;font-size:13px}.vote-stars i:nth-child(3){right:19px;top:3px;font-size:17px}.vote-stars i:nth-child(4){right:0;top:36px;font-size:24px}.vote-stars i:nth-child(5){left:13px;bottom:0;font-size:12px}
.vote-confirmation small { margin-top:8px; color:var(--gold); font-size:9px; font-weight:950; letter-spacing:.15em; }
.vote-confirmation strong { max-width:195px; font-size:19px; line-height:1.05; text-align:center; }
.vote-confirmation.show { transform: translate(-50%,-50%) scale(1); opacity: 1; }
@media (min-width: 740px) { body { padding: 28px 0; } .app { height: calc(100dvh - 56px); border-radius: 28px; } .bottom-nav { bottom: 28px; border-radius: 0 0 28px 28px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@keyframes selection-pop {
  0% { transform: scale(.7) translateY(6px); filter: brightness(1); }
  42% { transform: scale(1.28) translateY(-8px); filter: brightness(1.2); box-shadow: 0 0 0 8px rgba(255,204,82,.18), 0 10px 24px rgba(255,204,82,.3); }
  68% { transform: scale(.94) translateY(1px); }
  100% { transform: scale(1) translateY(0); filter: brightness(1); }
}
@keyframes star-burst {
  0% { transform:translate(0,0) scale(.3) rotate(0); opacity:0; }
  35% { opacity:1; }
  100% { transform:translate(0,-24px) scale(1.25) rotate(35deg); opacity:0; }
}
@keyframes slot-star-burst {
  0% { transform:translate(-50%,-50%) scale(.25) rotate(-25deg); opacity:0; }
  24% { opacity:1; }
  100% { transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(1.2) rotate(24deg); opacity:0; }
}
@keyframes vote-star-pop {
  0% { transform:scale(.15) rotate(-25deg); opacity:0; }
  55% { transform:scale(1.45) rotate(12deg); opacity:1; }
  100% { transform:scale(1) rotate(0); opacity:1; }
}
