:root {
  color-scheme: dark;
  --bg: #0c0612;
  --surface: #faf8fb;
  --ink: #241925;
  --muted: #796f7d;
  --accent: #d92579;
  --accent-2: #8c2de2;
  --soft: #f6f0fb;
  --radius: 22px;
  font-family: Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100dvh;
  color: #fff;
  background: radial-gradient(900px 500px at 50% 0%, #4c1d95 0%, transparent 50%), #0f0816;
}

body.guide-open, body.modal-open { overflow: hidden; }

button, a { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

.page-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 0 130px;
}

[hidden] { display: none !important; }

.timer-page {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  padding-bottom: 34px;
}

.topbar {
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 9px 20px rgba(217, 37, 121, .3);
}

.nearby-status {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #e6ddec;
  font-size: 11px;
  white-space: nowrap;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: #48dd9c;
  box-shadow: 0 0 0 4px rgba(72, 221, 156, .1);
}

html[dir="ltr"] .status-dot { margin-right: 6px; margin-left: 0; }

.hero {
  position: relative;
  overflow: hidden;
  height: 476px;
  min-height: 0;
  margin: 6px 14px 0;
  border-radius: 24px;
  background: #3a204f;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
  opacity: 1;
  transition: opacity .18s ease;
}

.hero img.is-changing { opacity: .2; }

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(12, 6, 18, .22) 57%, rgba(12, 6, 18, .96) 100%);
}

.hero-copy {
  position: absolute;
  inset: auto 16px 16px;
}

.hero-tags { display: flex; gap: 7px; margin-bottom: 8px; }

.hero-tags span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(32, 18, 38, .42);
  backdrop-filter: blur(10px);
}

.hero-tags .live-tag { border-color: transparent; background: var(--accent); }

h1, h2, h3, p { margin-top: 0; }

.hero h1 { margin-bottom: 0; font-size: 26px; line-height: 1.1; }

.hero p { max-width: 300px; margin: 8px 0 0; color: rgba(255, 255, 255, .86); font-size: 13px; line-height: 1.45; }

.hero strong { display: block; margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: 12px; }

.profiles { margin-top: 14px; padding: 0 14px; }

.profiles-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  height: 16px;
  margin-bottom: 10px;
  color: #ded5e4;
  font-size: 11px;
}

.profile-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 8px 4px;
  direction: rtl;
}

html[dir="ltr"] .profile-list { direction: ltr; }

.profile {
  display: grid;
  width: 64px;
  gap: 0;
  justify-items: center;
  padding: 0;
  border: 0;
  color: #e9e1ec;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.avatar {
  display: block;
  width: 64px;
  height: 64px;
  padding: 3px;
  border: 0;
  border-radius: 50%;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-size: cover;
  background-clip: content-box;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24);
  transition: transform .2s ease, border-color .2s ease;
}

.avatar-1 { background-image: url("assets/br1.webp"); }
.avatar-2 { background-image: url("assets/br2.webp"); }
.avatar-3 { background-image: url("assets/br3.webp"); }
.avatar-4 { background-image: url("assets/br4.webp"); }
.avatar-5 { background-image: url("assets/br5.webp"); }

.profile:hover .avatar, .profile:focus-visible .avatar { transform: translateY(-2px); }
.profile.is-active .avatar { background-color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent), 0 0 0 2px #9129d9, 0 8px 22px rgba(217, 37, 121, .24); }
.profile:focus-visible { outline: none; }
.profile:focus-visible .avatar { box-shadow: inset 0 0 0 3px var(--accent), 0 0 0 2px rgba(255, 255, 255, .82); }

.info-panel {
  overflow: hidden;
  min-height: 280px;
  margin: 16px 12px 0;
  padding: 18px 16px 20px;
  border-radius: 26px 26px 0 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, .18);
}

.info-panel h2 { margin-bottom: 0; font-size: 17px; line-height: 22px; }
.info-panel .intro { margin: 6px 0 0; color: #7a6b8c; font-size: 12px; line-height: 1.55; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 0; }

.stats div {
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 12px 8px;
  border: 1px solid rgba(40, 20, 60, .08);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #faf6ff);
}

.stats strong { color: #b21765; font-size: 17px; }
.stats span { color: #655a68; font-size: 10px; }

.features { display: grid; gap: 8px; margin-top: 14px; }

.features article {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px;
  border: 1px solid rgba(40, 20, 60, .08);
  border-radius: 16px;
  background: #faf6ff;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #9d1d5f;
  background: linear-gradient(135deg, #f9d7ea, #eee0fb);
  font-size: 20px;
  font-weight: 900;
}

.features h3 { margin-bottom: 3px; font-size: 13px; }
.features p { margin-bottom: 0; color: #766c79; font-size: 10px; line-height: 1.5; }

.limited-note { height: 27px; margin: 0; padding: 12px 16px 0; color: rgba(255, 255, 255, .45); text-align: center; font-size: 10px; line-height: 15px; }

.cta-dock {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 2;
  width: min(100%, 430px);
  height: 105px;
  padding: 12px 16px 14px;
  background: linear-gradient(transparent, rgba(26, 16, 36, .92) 28%, #1a1024 100%);
  transform: translateX(50%);
}

.primary-cta {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e11d74 0%, #f43f8c 45%, #7c3aed 100%);
  box-shadow: 0 12px 28px rgba(225, 29, 116, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  transition: transform .2s ease, filter .2s ease;
}

.primary-cta:hover { filter: brightness(1.08); transform: translateY(-2px); }
.primary-cta:active { transform: scale(.98); }
.primary-cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

.hand {
  position: absolute;
  top: 17px;
  right: 25px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 226, 241, .82));
  box-shadow: 0 8px 18px rgba(66, 15, 72, .32), inset 0 1px 0 #fff;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", sans-serif;
  font-size: 25px;
  line-height: 1;
  transform: rotate(-10deg);
  pointer-events: none;
  animation: tap-float 1.8s ease-in-out infinite;
}

.hand::before {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 2px solid rgba(255, 255, 255, .68);
  border-radius: inherit;
  animation: tap-ring 1.8s ease-out infinite;
}

.hand::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 8px;
  width: 10px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .78);
  transform: rotate(-18deg);
}

@keyframes tap-float {
  0%, 100% { transform: translateY(0) rotate(-10deg) scale(1); }
  48% { transform: translateY(-4px) rotate(-7deg) scale(1.04); }
  64% { transform: translateY(-1px) rotate(-10deg) scale(.96); }
}

@keyframes tap-ring {
  0%, 42% { opacity: 0; transform: scale(.78); }
  58% { opacity: .72; }
  100% { opacity: 0; transform: scale(1.34); }
}

.cta-note { margin: 8px 0 0; color: rgba(255, 255, 255, .62); text-align: center; font-size: 11px; font-weight: 700; }

.toast {
  position: fixed;
  right: 50%;
  bottom: 22px;
  z-index: 2;
  width: min(340px, calc(100% - 32px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  color: #fff;
  background: #2a1731;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .42);
  text-align: center;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 12px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible { opacity: 1; transform: translate(50%, 0); }

.timer-profiles { padding-bottom: 0; }

.timer-panel {
  margin: 16px 12px 0;
  padding: 18px 16px 20px;
  border-radius: 26px;
  color: #1c1228;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .2);
}

.timer-badges {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.timer-badges span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #9b1a5b;
  background: #fde8f4;
  font-size: 10px;
  font-weight: 900;
}

.timer-badges span:first-child {
  color: #6c2ab1;
  background: #f2e7ff;
}

.timer-panel h2 { margin: 0; font-size: 19px; line-height: 1.3; }

.timer-intro {
  margin: 7px 0 0;
  color: #7a6b8c;
  font-size: 12px;
  line-height: 1.55;
}

.progress-track {
  overflow: hidden;
  height: 9px;
  margin-top: 14px;
  border-radius: 999px;
  background: #eee7f3;
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #dc1f75, #8b37eb);
  transition: width 10s linear;
}

.progress-fill.is-running { width: 100%; }

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #73667e;
  font-size: 10px;
  font-weight: 700;
}

.timer-steps {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.timer-steps article {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(40, 20, 60, .08);
  border-radius: 14px;
  background: #faf6ff;
}

.timer-steps article > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #a8195c;
  background: #fde6f2;
  font-size: 12px;
  font-weight: 900;
}

.timer-steps h3 { margin: 0 0 3px; font-size: 12px; }
.timer-steps p { margin: 0; color: #7b7081; font-size: 10px; line-height: 1.45; }

.ready-box {
  display: grid;
  gap: 4px;
  margin-top: 13px;
  padding: 13px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #25102f, #431567);
}

.ready-box strong { font-size: 12px; }
.ready-box span { color: rgba(255, 255, 255, .72); font-size: 10px; }

.timer-continue {
  width: 100%;
  min-height: 52px;
  margin-top: 13px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #e31d74, #8b35ec);
  box-shadow: 0 13px 28px rgba(225, 29, 116, .26);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.timer-continue:disabled {
  cursor: wait;
  filter: saturate(.45);
  opacity: .58;
  box-shadow: none;
}

.timer-continue:not(:disabled):active { transform: scale(.98); }
.timer-continue:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }

.timer-hint {
  margin: 8px 0 0;
  color: #8c8292;
  text-align: center;
  font-size: 10px;
}

.faq-panel {
  margin: 12px 12px 0;
  padding: 16px;
  border-radius: 20px;
  color: #1c1228;
  background: #fff;
}

.faq-panel h2 { margin: 0 0 10px; color: #8d8293; font-size: 12px; }

.faq-panel article {
  padding: 12px;
  border: 1px solid rgba(40, 20, 60, .08);
  border-radius: 14px;
  background: #faf7fc;
}

.faq-panel article + article { margin-top: 8px; }
.faq-panel h3 { margin: 0 0 4px; font-size: 12px; }
.faq-panel p { margin: 0; color: #7a7080; font-size: 10px; line-height: 1.55; }

.timer-footer {
  margin: 14px 12px 0;
  color: rgba(255, 255, 255, .42);
  text-align: center;
  font-size: 9px;
  line-height: 1.5;
}

.form-overlay {
  position: fixed;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 4, 18, .76);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.form-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.form-sheet {
  width: min(100%, 398px);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 26px;
  color: #211426;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .48), inset 0 1px 0 #fff;
  overscroll-behavior: contain;
  transform: translateY(18px) scale(.97);
  transition: transform .24s cubic-bezier(.16, 1, .3, 1);
}

.form-overlay.is-open .form-sheet { transform: translateY(0) scale(1); }

.form-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.form-eyebrow {
  display: inline-block;
  margin-bottom: 5px;
  color: #b21d68;
  font-size: 10px;
  font-weight: 900;
}

.form-sheet h2 { margin: 0; font-size: 22px; line-height: 1.25; }

.form-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #eadfea;
  border-radius: 12px;
  color: #6c5a70;
  background: #faf6fb;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.form-close:active { transform: scale(.96); }
.form-close:focus-visible, .profile-form input:focus-visible, .form-submit:focus-visible { outline: 3px solid rgba(124, 58, 237, .34); outline-offset: 2px; }

.form-description {
  margin: 9px 0 17px;
  color: #78697d;
  font-size: 12px;
  line-height: 1.55;
}

.profile-form { display: grid; gap: 8px; }

.profile-form label {
  color: #49384f;
  font-size: 11px;
  font-weight: 900;
}

.profile-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #e6dce8;
  border-radius: 14px;
  color: #241729;
  background: #fcf9fd;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.profile-form input::placeholder { color: #aa9bad; }

.profile-form input:focus {
  border-color: #a55be0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(140, 45, 226, .09);
}

.form-fields-row {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 10px;
  margin-top: 4px;
}

.form-fields-row > div { display: grid; gap: 8px; }

.form-privacy {
  margin: 7px 0 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #76677b;
  background: #f8f2fa;
  font-size: 10px;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 5px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(110deg, #e31d74, #8b35ec);
  box-shadow: 0 13px 28px rgba(225, 29, 116, .28);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.form-submit:active { transform: scale(.98); }

.guide-overlay {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(10, 4, 18, .68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.guide-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.guide-sheet {
  width: min(100%, 500px);
  max-height: 92dvh;
  overflow-y: auto;
  padding: 16px 16px 20px;
  border-radius: 28px 28px 0 0;
  color: #1c1228;
  background: rgba(255, 255, 255, .98);
  overscroll-behavior: contain;
  transform: translateY(28px);
  transition: transform .26s cubic-bezier(.16, 1, .3, 1);
}

.guide-overlay.is-open .guide-sheet { transform: translateY(0); }

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 2px;
  background: #e5e7eb;
}

.guide-sheet h2 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.guide-visual {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 453 / 380;
  margin-bottom: 10px;
  border: 1px solid rgba(40, 20, 60, .08);
  border-radius: 16px;
  background: #faf5ff;
}

.guide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-sub {
  margin: 6px 0 12px;
  color: #7a6b8c;
  font-size: 13px;
  line-height: 1.55;
}

.guide-steps {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.guide-step {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(40, 20, 60, .08);
  border-radius: 14px;
  background: #faf6ff;
}

.guide-step > span {
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: #c01d68;
  background: #fde6f2;
  font-size: 12px;
  font-weight: 900;
}

.guide-step p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.guide-button {
  width: 100%;
  min-height: 52px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e11d74, #7c3aed);
  box-shadow: 0 12px 26px rgba(225, 29, 116, .28);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.guide-button:active { transform: scale(.98); }
.guide-button:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }

.copy-confirmation {
  display: none;
  margin-top: 10px;
  color: #8d3f70;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.copy-confirmation.is-visible { display: block; }

.guide-note {
  margin: 10px 0 0;
  color: #9ca3af;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 370px) {
  .page-shell { width: 100%; }
  .nearby-status { padding-inline: 8px; font-size: 9px; }
  .profile-list { gap: 4px; }
  .profile, .avatar { width: 56px; }
  .avatar { height: 56px; }
  .hero { height: 456px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .hand, .hand::before { animation: none !important; }
}
/* Brazilian Portuguese copy and profile names at mobile widths. */
:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.brand { font-size: 13px; }
.nearby-status { white-space: normal; }
.profile-list { justify-content: space-between; gap: 8px; overflow-x: auto; padding: 4px 4px 8px; }
.profile { flex: 0 0 64px; min-width: 64px; }
.profile > span:last-child { width: 64px; margin-top: 6px; line-height: 1.35; overflow-wrap: normal; }
.profiles-heading { height: auto; align-items: baseline; }
.hero img { object-position: center 25%; }
.primary-cta { padding: 12px 50px 12px 16px; font-size: 15px; }
.cta-dock { height: auto; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.limited-note { height: auto; }
.profile-form input { font-size: 16px; color-scheme: light; }
button:focus-visible { outline: 2px solid #c084fc; outline-offset: 3px; }
