:root {
  --giro-width: 430px;
  --giro-height: 932px;
  --giro-bg: #090909;
  --giro-green: #206a2e;
  --giro-green-deep: color-mix(in srgb, var(--giro-green) 72%, #000);
  --giro-wheel-a: var(--giro-green);
  --giro-wheel-b: #101010;
  --giro-ink: #f7f1e6;
  --giro-cream: #f4efe4;
  --giro-muted: #b9b0a0;
  --giro-line: rgba(247, 241, 230, 0.12);
  --giro-panel: #151515;
  --giro-panel-2: #1b1b1b;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: Manrope, "Segoe UI", system-ui, sans-serif;
  --font-body: Manrope, "Segoe UI", system-ui, sans-serif;
  color: var(--giro-ink);
  background: #000;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #050505;
}

button, input, textarea, select { font: inherit; color: inherit; }

.giro-app {
  --giro-scale: min(
    calc(100vw / var(--giro-width)),
    calc(100dvh / var(--giro-height))
  );
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(31, 138, 76, 0.14), transparent 36%),
    #050505;
}

.giro-scale {
  width: calc(var(--giro-width) * var(--giro-scale));
  height: calc(var(--giro-height) * var(--giro-scale));
  overflow: hidden;
  border-radius: calc(28px * var(--giro-scale));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.55);
}

.giro-surface {
  width: var(--giro-width);
  height: var(--giro-height);
  transform: scale(var(--giro-scale));
  transform-origin: top left;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--giro-bg);
  color: var(--giro-ink);
}

.giro-surface.is-public {
  grid-template-rows: 1fr;
}

.home-shell,
.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--giro-green) 22%, transparent), transparent 40%),
    #050505;
}

.home-card,
.login-card {
  width: min(100%, 420px);
  padding: 28px;
  border-radius: 24px;
  background: #121212;
  border: 1px solid var(--giro-line);
  display: grid;
  gap: 14px;
}

.login-card label {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--giro-muted);
}

.login-card input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(247, 241, 230, 0.12);
  background: #101010;
}

.home-card h1,
.login-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
}

.home-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--giro-muted);
}

.home-note {
  margin: 0;
  color: var(--giro-muted);
  font-size: 14px;
  line-height: 1.45;
}

.home-links {
  display: grid;
  gap: 10px;
}

.home-card .giro-btn,
.home-links .giro-btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.giro-btn--outline {
  background: transparent;
  color: var(--giro-cream, #f7f1e6);
  border: 1.5px solid rgba(247, 241, 230, 0.35);
}

.share-box {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.share-box .qr {
  margin: 0 auto;
}

.status-ok { color: #8be0b0; }
.status-bad { color: #ffb4a8; }

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.theme-grid label { margin-top: 0; }

.auth-note {
  margin: 0;
  font-size: 13px;
  color: var(--giro-muted);
}

.giro-pane {
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 12px;
}

.giro-pane[hidden] { display: none; }

.giro-brand { text-align: center; }

.brand-logo {
  display: block;
  width: auto;
  max-width: 168px;
  max-height: 56px;
  margin: 0 auto 14px;
  object-fit: contain;
}

.giro-brand h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 42px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 0.92;
  width: 100%;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
}
.giro-brand h1 span { max-width: 100%; }
.giro-address { display: block; text-align: center; color: var(--giro-ink); font: 600 12px var(--font-body); margin-top: 10px; overflow-wrap: anywhere; }
.giro-address[hidden] { display: none; }

/* Cartão público: capa editorial em tela cheia, seguindo o estúdio original. */
.giro-app:has(.is-public) {
  display: block;
  min-height: 100dvh;
  overflow: visible;
  background: #0b0907;
}
.giro-scale:has(.is-public) {
  width: 100%;
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}
.giro-surface.is-public {
  width: 100%;
  height: auto;
  min-height: 100dvh;
  transform: none;
  display: block;
  position: relative;
  background: #0b0907;
}
.is-public .giro-pane {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
}
.is-public .giro-brand { position: relative; z-index: 2; }
.is-public .brand-logo { max-height: 46px; max-width: 120px; margin-bottom: 10px; }
.is-public .giro-brand h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: .13em; text-shadow: 0 2px 20px #000; }
.is-public .brand-role { color: #e1d7c6; font-size: 11px; text-shadow: 0 1px 8px #000; }
.is-public .giro-body { position: static; z-index: auto; }
.is-public .screen--cover .hero {
  position: absolute;
  inset: 0;
  z-index: -1;
  height: auto;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  background: var(--giro-bg);
}
.is-public .screen--cover .hero img { object-fit: cover; object-position: 62% 50%; filter: none; }
.is-public .screen--cover .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 75%), linear-gradient(0deg, rgba(0,0,0,.94), transparent 55%, rgba(0,0,0,.46));
}
/* Sem foto: o Fundo do tema deve aparecer de verdade */
.is-public .screen--cover .hero:not(:has(img[src]:not([src=""])))::after {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--giro-bg) 88%, #000) 0%, transparent 42%),
    linear-gradient(0deg, color-mix(in srgb, var(--giro-bg) 55%, #000) 0%, transparent 48%);
  opacity: 0.55;
}
.is-public .screen--cover h2 {
  margin: auto 0 28px;
  max-width: 15ch;
  font-size: clamp(42px, 5.7vw, 78px);
  line-height: .92;
  text-shadow: 0 2px 24px #000;
}
.is-public .headline-line em::after { height: .08em; bottom: -.08em; opacity: .85; }
.is-public .cover-actions { margin-top: 0; width: 100%; max-width: 760px; }
.is-public .giro-btn { border-radius: 16px; }
.is-public .cover-links .giro-btn { background: rgba(12,9,7,.38); backdrop-filter: blur(9px); border-color: rgba(255,255,255,.27); }
.is-public .giro-address { text-align: left; color: #eee2cf; background: rgba(12,9,7,.42); padding: 12px 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; text-decoration: none; }
.is-public .giro-foot { position: relative; z-index: 1; color: #b9aa96; border-color: rgba(255,255,255,.15); }
.is-public .screen--wheel #wheel-host { flex: 1; align-content: center; }
.is-public .screen--wheel .giro-btn { margin-top: 0; }
@media (max-width: 600px) {
  .is-public .giro-pane { min-height: 100dvh; padding: 24px 20px 20px; }
  .is-public .screen--cover .hero img { object-position: 65% center; }
  .is-public .screen--cover .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.95), rgba(0,0,0,.38) 38%, rgba(0,0,0,.20) 60%, rgba(0,0,0,.56)); }
  .is-public .screen--cover h2 { font-size: clamp(40px, 11vw, 56px); margin-bottom: 22px; }
  .is-public .giro-brand h1 { font-size: clamp(30px, 9vw, 42px); }
  .is-public .brand-role { font-size: 9px; }
}

/* Composições opcionais do cartão; roleta e cupom mantêm o fluxo comum. */
html[data-card-layout="editorial"] .is-public .giro-pane { padding-top: clamp(48px, 8vh, 90px); }
html[data-card-layout="editorial"] .is-public .giro-brand { text-align: center; }
html[data-card-layout="editorial"] .is-public .giro-brand h1 { font-family: var(--font-display); letter-spacing: .04em; font-weight: 500; }
html[data-card-layout="editorial"] .is-public .screen--cover .hero::after {
  background: linear-gradient(180deg, #0008 0%, #0000 30%, #0003 53%, #000c 100%);
}
html[data-card-layout="editorial"] .is-public .screen--cover h2 {
  margin: auto auto 28px;
  max-width: 17ch;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.035em;
}
html[data-card-layout="editorial"] .is-public .cover-actions { margin-inline: auto; max-width: 540px; }
html[data-card-layout="editorial"] .is-public .cover-actions .giro-btn { border-radius: 999px; }
html[data-card-layout="editorial"] .is-public .giro-address { text-align: center; border-radius: 999px; }

html[data-card-layout="bold"] .is-public .giro-pane { padding-top: clamp(38px, 7vh, 76px); }
html[data-card-layout="bold"] .is-public .giro-brand { text-align: left; }
html[data-card-layout="bold"] .is-public .giro-brand h1 {
  font-family: var(--font-body);
  font-size: clamp(38px, 7.5vw, 88px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .88;
  text-transform: uppercase;
}
html[data-card-layout="bold"] .is-public .brand-role { justify-content: flex-start; }
html[data-card-layout="bold"] .is-public .screen--cover .hero::after {
  background: linear-gradient(90deg, #000c 0%, #0004 76%), linear-gradient(0deg, #000e 0%, transparent 70%);
}
html[data-card-layout="bold"] .is-public .screen--cover h2 {
  max-width: 12ch;
  font-family: var(--font-body);
  font-size: clamp(43px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .88;
  text-transform: uppercase;
}
html[data-card-layout="bold"] .is-public .headline-line em::after { height: .13em; bottom: -.08em; }
html[data-card-layout="bold"] .is-public .cover-actions .giro-btn:not(.giro-btn--ghost) {
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 800;
}

@media (max-width: 600px) {
  html[data-card-layout="editorial"] .is-public .screen--cover h2 { font-size: clamp(38px, 11vw, 54px); }
  html[data-card-layout="bold"] .is-public .giro-brand h1 { font-size: clamp(36px, 11vw, 56px); }
  html[data-card-layout="bold"] .is-public .screen--cover h2 { font-size: clamp(42px, 12vw, 62px); }
}

.brand-role {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--giro-muted);
}

.brand-role__line {
  flex: 1;
  max-width: 52px;
}

.brand-role__line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 241, 230, 0.28), transparent);
}

.brand-role__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--giro-green);
}

.brand-role__icon svg { width: 16px; height: 16px; }

.giro-body { flex: 1; min-height: 0; display: flex; }

.screen {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.screen[hidden] { display: none; }

.hero {
  position: relative;
  flex: 0 0 auto;
  height: min(42vh, 340px);
  min-height: 200px;
  margin: 18px 0 14px;
  overflow: hidden;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 40%),
    var(--giro-bg);
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35) contrast(1.08);
}

.hero img[src=""],
.hero img:not([src]) { display: none; }

.hero:has(img[src]:not([src=""])) .hero-empty { display: none; }

.hero-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: #6f6a62;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen h2,
.spark-title strong {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 9.5vw, 44px);
  font-weight: 600;
  line-height: 0.98;
  white-space: pre-line;
}

.screen--cover h2 {
  display: grid;
  gap: 2px;
  text-align: left;
  margin: 0 0 18px;
  max-width: 13ch;
}

.headline-line { display: block; }

.headline-line em {
  position: relative;
  display: inline-block;
  font-style: normal;
}

.headline-line em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.22em;
  background: color-mix(in srgb, var(--giro-green) 78%, #fff 8%);
  border-radius: 999px;
  opacity: 0.9;
  z-index: -1;
  transform: skewX(-8deg);
}

.spark-title {
  display: grid;
  grid-template-columns: 22px 1fr 22px;
  align-items: start;
  gap: 8px;
  margin: 10px 0 0;
  text-align: center;
}

.spark-title .spark {
  width: 12px;
  height: 12px;
  margin-top: 14px;
  background: var(--giro-green);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--giro-green) 18%, transparent);
}

.spark-title strong {
  display: block;
  text-align: center;
}

.cover-actions { display: grid; gap: 10px; margin-top: auto; }

.cover-links { opacity: 0.92; }

.giro-shop {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(12, 9, 7, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.giro-shop[hidden] {
  display: none;
}

.giro-shop__title {
  margin: 0 0 8px;
  font: 700 13px var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--giro-cream, #f4e9d6) 88%, #fff);
}

.giro-shop__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.giro-shop__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.giro-shop__item:first-child {
  border-top: 0;
  padding-top: 2px;
}

.giro-shop__main {
  min-width: 0;
}

.giro-shop__name {
  font: 600 14px/1.35 var(--font-body);
  color: #fff;
}

.giro-shop__duration {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.62);
}

.giro-shop__detail {
  margin: 4px 0 0;
  font: 500 12px/1.35 var(--font-body);
  color: rgba(255, 255, 255, 0.58);
}

.giro-shop__aside {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.giro-shop__price {
  flex: 0 0 auto;
  font: 800 14px/1.2 var(--font-body);
  color: var(--giro-accent, #cda869);
  white-space: nowrap;
}

.giro-shop__stock {
  margin: 4px 0 0;
  font: 600 11px/1.3 var(--font-body);
  color: rgba(255, 255, 255, 0.55);
}

.giro-shop__buy {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--giro-accent, #cda869);
  color: #1a1410;
  font: 800 12px/1 var(--font-body);
  cursor: pointer;
}

.giro-shop__buy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.giro-shop--live .giro-shop__title {
  letter-spacing: 0.02em;
}

.giro-shop__more {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--giro-accent, #cda869);
  font: 700 13px var(--font-body);
  cursor: pointer;
  text-align: left;
}

.giro-shop__more:hover {
  text-decoration: underline;
}

html[data-card-layout="editorial"] .giro-shop {
  border-radius: 18px;
  text-align: left;
}

.giro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--giro-green) 82%, #fff), var(--giro-green-deep));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--giro-green) 28%, transparent);
}

.giro-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.giro-btn--ghost {
  background: transparent;
  color: var(--giro-ink);
  border: 1px solid rgba(247, 241, 230, 0.2);
  box-shadow: none;
  font-weight: 600;
  border-radius: 999px;
}

.giro-btn--soft {
  background: transparent;
  color: var(--giro-ink);
  border: 1px solid rgba(247, 241, 230, 0.18);
  box-shadow: none;
}

.giro-btn[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }

.giro-btn:disabled { opacity: 0.7; cursor: wait; }

.giro-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.screen--wheel { align-items: center; }

#wheel-host {
  width: 100%;
  display: grid;
  place-items: center;
}

.giro-wheel {
  position: relative;
  width: 292px;
  height: 292px;
  margin: 24px auto;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.giro-disk {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at center, transparent 27%, rgba(0,0,0,0.32) 28%, transparent 30%),
    repeating-conic-gradient(from -22.5deg, rgba(0, 0, 0, 0.22) 0 0.7deg, transparent 0.7deg 45deg),
    conic-gradient(from -22.5deg,
      var(--giro-wheel-a) 0deg 45deg, var(--giro-wheel-b) 45deg 90deg,
      var(--giro-wheel-a) 90deg 135deg, var(--giro-wheel-b) 135deg 180deg,
      var(--giro-wheel-a) 180deg 225deg, var(--giro-wheel-b) 225deg 270deg,
      var(--giro-wheel-a) 270deg 315deg, var(--giro-wheel-b) 315deg 360deg);
  box-shadow:
    inset 0 0 0 10px var(--giro-bg),
    0 0 0 1px rgba(255,255,255,0.06),
    0 18px 40px rgba(0,0,0,0.35);
}

.giro-slice {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--i) * 45deg));
}

.giro-slice svg {
  position: absolute;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -92px);
}

.giro-slice:nth-child(odd) svg { color: #f4fff8; }
.giro-slice:nth-child(even) svg { color: color-mix(in srgb, var(--giro-green) 55%, #fff); }

.giro-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8ea, #b9a48a);
  box-shadow: 0 0 0 4px var(--giro-bg);
}

.giro-pointer {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 1%;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--giro-green);
  transform: translateX(-50%) rotate(-45deg);
  box-shadow: 0 0 0 5px var(--giro-bg);
}

.screen--wheel .giro-btn { width: min(100%, 320px); margin-top: auto; }

/* Roleta em modal: a capa continua visível atrás da experiência. */
body.wheel-open { overflow: hidden; }
.is-public .screen--wheel {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(5, 4, 3, .72);
  backdrop-filter: blur(12px);
}
.is-public .screen--wheel[hidden] { display: none; }
.wheel-backdrop { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.wheel-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 30px 22px 22px;
  border: 1px solid rgba(219, 177, 105, .5);
  border-radius: 26px;
  background: radial-gradient(circle at 50% 35%, rgba(172, 126, 65, .18), transparent 48%), linear-gradient(155deg, #22211e, #0b0b0b 70%);
  box-shadow: 0 28px 90px rgba(0,0,0,.75), inset 0 1px rgba(255,255,255,.08);
  color: #f6ecdc;
}
.wheel-dialog::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(219, 177, 105, .12);
  border-radius: 20px;
  pointer-events: none;
}
.wheel-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  color: #eee3d0;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.wheel-sound {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(0,0,0,.25);
  color: #eee3d0;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.wheel-sound[aria-pressed="false"] { color: #8d8579; }
.wheel-logo {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 58px;
  margin: 0 auto 0;
  object-fit: contain;
}
.wheel-logo[hidden] { display: none; }
.wheel-brand { display: grid; justify-items: center; width: 100%; gap: 0; }
.wheel-business-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6px 0 0;
  width: 100%;
  color: #f2e7d1;
  font: 600 clamp(26px, 7vw, 38px)/.93 var(--font-display);
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  max-width: 22ch;
}
.wheel-business-name.is-long {
  font-size: clamp(20px, 5.6vw, 28px);
  letter-spacing: .08em;
  line-height: .95;
  max-width: 18ch;
}
.wheel-business-name span { max-width: 100%; }
.wheel-dialog .wheel-brand-role { margin: 11px 0 12px; color: #e1d7c6; font-size: 9px; letter-spacing: .13em; }
.wheel-dialog .wheel-brand-role .brand-role__line { max-width: 30px; }
.wheel-eyebrow, .wheel-footnote { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-align: center; color: #b6a58e; }
.wheel-dialog .spark-title { margin: 0; width: 100%; }
.wheel-dialog .spark-title strong { font-size: clamp(36px, 9vw, 45px); }
.wheel-instruction { margin: 0 0 4px; color: #d5c8b7; font-size: 12px; text-align: center; }
.wheel-dialog #wheel-host { width: 100%; flex: 0; }
.wheel-dialog .giro-wheel {
  width: 318px;
  height: 318px;
  margin: 6px auto 14px;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.55));
}
.wheel-dialog .giro-disk {
  width: 296px;
  height: 296px;
  background: radial-gradient(circle at center, transparent 28%, rgba(0,0,0,.25) 29%, transparent 31%),
    repeating-conic-gradient(from -22.5deg, rgba(0,0,0,.16) 0 .8deg, transparent .8deg 45deg),
    conic-gradient(from -22.5deg, color-mix(in srgb, var(--giro-green) 75%, #f3d19a) 0 45deg, #16252a 45deg 90deg,
      color-mix(in srgb, var(--giro-green) 75%, #f3d19a) 90deg 135deg, #16252a 135deg 180deg,
      color-mix(in srgb, var(--giro-green) 75%, #f3d19a) 180deg 225deg, #16252a 225deg 270deg,
      color-mix(in srgb, var(--giro-green) 75%, #f3d19a) 270deg 315deg, #16252a 315deg 360deg);
  box-shadow: inset 0 0 0 8px #1d1a16, 0 0 0 2px #d1b77f, 0 0 0 9px #11191b, 0 0 0 11px rgba(205,168,105,.45), 0 22px 40px #0009;
}
.wheel-dialog .giro-disk::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, #f0d4a1 0deg 1.2deg, transparent 1.2deg 22.5deg);
  -webkit-mask: radial-gradient(circle, transparent 0 94%, #000 95%);
  mask: radial-gradient(circle, transparent 0 94%, #000 95%);
  pointer-events: none;
}
.wheel-dialog .giro-slice svg { display: none; }
.wheel-dialog .giro-slice-label {
  position: absolute;
  display: -webkit-box;
  width: 92px;
  max-height: 40px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #fff8ec;
  font: 800 11.5px/1.1 var(--font-ui);
  letter-spacing: .02em;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -100px) rotate(calc(var(--i) * -45deg));
  text-shadow: 0 1px 2px #000d, 0 0 8px #0008;
  hyphens: auto;
  word-break: break-word;
}
.wheel-dialog .giro-slice:nth-child(odd) .giro-slice-label {
  color: #0c1215;
  text-shadow: 0 0 1px rgba(255,255,255,.7), 0 1px 0 rgba(255,255,255,.35);
}
.wheel-dialog .giro-hub {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  background: radial-gradient(circle at 35% 25%, #fff5d8, #b99352);
  box-shadow: 0 0 0 5px #11191b, 0 0 0 8px #cda869;
}
.wheel-dialog .giro-pointer {
  top: -6px;
  width: 26px;
  height: 26px;
  background: linear-gradient(145deg, #fff1c8, #e7bf77 55%, #c79a45);
  box-shadow:
    0 0 0 4px #11191b,
    0 0 0 7px rgba(231, 191, 119, .45),
    0 0 22px #e7bf77,
    0 6px 14px rgba(0,0,0,.45);
}
.wheel-dialog .giro-pointer::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 78%;
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: inherit;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 2px #11191b;
}
.wheel-dialog .giro-wheel.is-spinning { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--giro-green) 45%, transparent)); }
.wheel-dialog .giro-wheel.is-landed {
  filter: drop-shadow(0 0 32px color-mix(in srgb, var(--giro-green) 70%, transparent));
}
.wheel-dialog .giro-wheel.is-landed .giro-pointer {
  box-shadow:
    0 0 0 4px #11191b,
    0 0 0 8px rgba(231, 191, 119, .7),
    0 0 34px #f0d48a,
    0 6px 14px rgba(0,0,0,.45);
}
.wheel-dialog .giro-wheel { transition: filter .3s ease; }
.wheel-dialog .giro-btn { width: 100%; max-width: none; margin: 0; }
.one-card .wheel-dialog, html[data-one-card="true"] .wheel-dialog { border-color: #ff9a61; background: radial-gradient(circle at 50% 25%, #ff681f55, transparent 50%), linear-gradient(155deg, #352015, #140e0b 75%); }
html[data-one-card="true"] .wheel-dialog::before { border-color: #ff681f44; }
html[data-one-card="true"] .wheel-dialog .giro-disk { background: repeating-conic-gradient(from -22.5deg, #0002 0 .8deg, transparent .8deg 45deg), conic-gradient(from -22.5deg, #ffac72 0 45deg, #87310f 45deg 90deg, #ffac72 90deg 135deg, #87310f 135deg 180deg, #ffac72 180deg 225deg, #87310f 225deg 270deg, #ffac72 270deg 315deg, #87310f 315deg 360deg); box-shadow: inset 0 0 0 8px #2b180f, 0 0 0 2px #ff9a61, 0 0 0 9px #1b100d, 0 0 0 11px #ff681f88, 0 22px 40px #0009; }
html[data-one-card="true"] .wheel-dialog .giro-pointer {
  background: linear-gradient(145deg, #ffc39a, #ff681f 55%, #d14a0f);
  box-shadow: 0 0 0 4px #211915, 0 0 0 7px rgba(255,104,31,.45), 0 0 22px #ff681f, 0 6px 14px rgba(0,0,0,.45);
}
html[data-one-card="true"] .wheel-dialog .giro-wheel.is-landed .giro-pointer {
  box-shadow: 0 0 0 4px #211915, 0 0 0 8px rgba(255,104,31,.7), 0 0 34px #ff9a61, 0 6px 14px rgba(0,0,0,.45);
}
html[data-one-card="true"] .wheel-dialog .giro-hub { background: radial-gradient(circle at 35% 25%, #fff1df, #ff681f); box-shadow: 0 0 0 5px #211915, 0 0 0 7px #ff9a61; }
html[data-one-card="true"] .wheel-dialog .giro-slice:nth-child(odd) .giro-slice-label { color: #2d160b; }
.wheel-footnote { max-width: 30ch; line-height: 1.4; letter-spacing: .08em; font-weight: 600; }
@media (max-width: 380px) {
  .wheel-dialog { padding: 25px 14px 16px; }
  .wheel-dialog .giro-wheel { transform: scale(.86); margin: -8px auto -10px; }
}

.screen--prize { align-items: stretch; }
.screen--prize:not([hidden]) .spark-title {
  animation: prizeTitleIn .45s cubic-bezier(.2,.85,.2,1) both;
}
.screen--prize:not([hidden]) .ticket {
  animation: prizeTicketIn .58s cubic-bezier(.18,.86,.22,1) .06s both;
}
.screen--prize:not([hidden]) .code-panel,
.screen--prize:not([hidden]) #ticket-whatsapp,
.screen--prize:not([hidden]) .prize-links,
.screen--prize:not([hidden]) .prize-share,
.screen--prize:not([hidden]) .prize-address {
  animation: prizeActionsIn .5s ease .18s both;
}
@keyframes prizeTitleIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
@keyframes prizeTicketIn {
  from { opacity: 0; transform: translateY(22px) scale(.94); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes prizeActionsIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen--prize:not([hidden]) .spark-title,
  .screen--prize:not([hidden]) .ticket,
  .screen--prize:not([hidden]) .code-panel,
  .screen--prize:not([hidden]) #ticket-whatsapp,
  .screen--prize:not([hidden]) .prize-links,
  .screen--prize:not([hidden]) .prize-share,
  .screen--prize:not([hidden]) .prize-address {
    animation: none;
  }
}

.ticket {
  position: relative;
  margin: 28px 8px 0;
  padding: 34px 22px 28px;
  background: var(--giro-cream);
  color: #171411;
  text-align: center;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--giro-green) 22%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 48px color-mix(in srgb, var(--giro-green) 18%, transparent);
  isolation: isolate;
}

.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 14px;
  background:
    radial-gradient(circle at 8px 0, transparent 7px, var(--giro-cream) 8px) repeat-x;
  background-size: 16px 14px;
  z-index: 1;
}

.ticket::before {
  top: -7px;
  transform: rotate(180deg);
}

.ticket::after {
  bottom: -7px;
}

.ticket h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 9.5vw, 50px);
  font-weight: 700;
  line-height: 0.92;
  color: color-mix(in srgb, var(--giro-green) 72%, #111);
  text-wrap: balance;
}

.ticket-terms {
  margin: 10px 0 0;
  color: #5a5348;
  font: 500 13px/1.45 var(--font-ui);
  font-style: normal;
}
.ticket p {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: #4d463d;
}
.ticket p.ticket-terms {
  font-family: var(--font-ui);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  color: #5a5348;
}
.ticket-countdown.is-days-only span:not(:first-child) {
  display: none;
}
.ticket-countdown.is-days-only {
  grid-template-columns: 1fr;
  max-width: 160px;
  margin-inline: auto;
}
.ticket-wa-hint {
  margin: 8px 0 0;
  text-align: center;
  color: var(--giro-muted);
  font: 500 13px/1.4 var(--font-ui);
}
.ticket-wa-hint[hidden] { display: none; }

.code-panel {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

.code-kicker {
  margin: 4px 0 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--giro-muted);
}

.ticket-code {
  margin: 0;
  width: 100%;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1.5px dashed color-mix(in srgb, var(--giro-green) 70%, #fff);
  border-radius: 14px;
  background: color-mix(in srgb, var(--giro-green) 12%, transparent);
  color: color-mix(in srgb, var(--giro-ink) 88%, #fff);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}
.ticket-copy-hint {
  margin: -4px 0 0;
  font-size: 12px;
  color: var(--giro-green);
  font-weight: 700;
}
.prize-links {
  width: 100%;
  margin-top: 4px;
}
.prize-links .giro-btn { flex: 1 1 auto; min-width: 0; }
.prize-share { width: 100%; margin-top: 2px; }
.prize-address { margin-top: 8px; text-align: center; }

.ticket-valid {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--giro-muted);
}

.ticket-valid svg {
  width: 16px;
  height: 16px;
  color: var(--giro-green);
}

.ticket-countdown {
  display: flex;
  justify-content: center;
  gap: 7px;
  width: 100%;
}
.ticket-countdown span {
  display: grid;
  min-width: 62px;
  padding: 7px 5px;
  border: 1px solid color-mix(in srgb, var(--giro-green) 32%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--giro-green) 10%, transparent);
}
.ticket-countdown strong { color: var(--giro-ink); font: 700 19px/1.1 var(--font-ui); }
.ticket-countdown small { color: var(--giro-muted); font: 700 9px/1.2 var(--font-ui); text-transform: uppercase; letter-spacing: .1em; }
.ticket-countdown.is-expired { opacity: .45; }
.ticket-schedule { margin-top: 10px !important; }

.schedule-modal[hidden] { display: none !important; }
.schedule-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #080705c9;
  backdrop-filter: blur(10px);
}
.schedule-backdrop,
.cal-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}
.schedule-panel,
.cal-modal__panel {
  position: relative;
  width: min(100%, 410px);
  display: grid;
  gap: 10px;
  padding: 20px 16px 16px;
  box-sizing: border-box;
  border: 1px solid #ae8e57;
  border-radius: 22px;
  background: linear-gradient(150deg, #27241f, #0d0c0b);
  color: #f5ead9;
  box-shadow: 0 28px 80px #000b;
}
.cal-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.schedule-panel h2,
.cal-modal__head h2 {
  margin: 4px 0 0;
  font: 600 30px/1 var(--font-display);
}
.schedule-panel p { margin: 0; color: #c8bbaa; font-size: 12px; }
.schedule-panel .schedule-kicker,
.cal-modal__eyebrow {
  color: #d5b779;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.schedule-panel .schedule-prize { color: #f4e2bd; font-size: 15px; }
.schedule-panel .schedule-charge {
  margin: 0.35rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(205, 168, 105, 0.16);
  border: 1px solid rgba(205, 168, 105, 0.35);
  color: #f4e2bd;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.schedule-panel .schedule-charge[hidden] { display: none; }
.schedule-panel .schedule-pay-fields {
  display: grid;
  gap: 0.55rem;
  margin: 0.35rem 0 0.25rem;
}
.schedule-panel .schedule-pay-fields[hidden] { display: none; }
.schedule-panel .schedule-hint { color: #d7c39a; font-size: 13px; line-height: 1.4; }
.schedule-panel .schedule-hint[hidden] { display: none; }
.schedule-panel .schedule-note { color: #b8aa97; font-size: 11px; line-height: 1.35; }
.schedule-phone-field {
  display: grid;
  gap: 6px;
  margin: 4px 0 2px;
  color: #c8bbaa;
  font-size: 12px;
  font-weight: 600;
}
.schedule-phone-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 200, 140, 0.28);
  border-radius: 12px;
  background: rgba(20, 14, 12, 0.55);
  color: #f4e2bd;
  font: inherit;
}
.schedule-phone-field input::placeholder { color: rgba(200, 187, 170, 0.55); }
.schedule-panel .giro-btn,
.cal-confirm { width: 100%; margin: 4px 0 0; }
.schedule-panel .giro-btn[hidden] { display: none; }
.schedule-panel .schedule-message { min-height: 20px; color: #e2c891; }
.schedule-followups {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.schedule-followup {
  display: block;
  color: #e9ca8b;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.schedule-followup[hidden] { display: none; }
.schedule-demo-cta {
  margin-top: 14px;
  padding: 14px 12px;
  border: 1px solid rgba(226, 200, 145, 0.35);
  border-radius: 14px;
  background: rgba(33, 25, 21, 0.55);
  text-align: center;
}
.schedule-demo-cta[hidden] { display: none; }
.schedule-demo-cta__lead {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #fff8ee;
}
.schedule-demo-cta__sub {
  margin: 0 0 12px;
  color: #e2c891;
  font-size: 0.92rem;
}
.schedule-demo-cta__hint {
  margin: 10px 0 8px;
  color: rgba(255, 248, 238, 0.72);
  font-size: 0.82rem;
}
.schedule-demo-cta #schedule-demo-support {
  display: inline-block;
  margin-top: 4px;
}
.schedule-whatsapp { display: block; color: #e9ca8b; font-size: 13px; font-weight: 700; text-align: center; }
.schedule-whatsapp[hidden] { display: none; }
.schedule-close,
.cal-modal__close {
  position: static;
  width: 34px;
  height: 34px;
  border: 1px solid #8b7a60;
  border-radius: 50%;
  background: #171512;
  color: #eee;
  font-size: 24px;
  cursor: pointer;
  flex: 0 0 auto;
}
.cal-nav {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
}
.cal-nav button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: color-mix(in srgb, #cda869 22%, transparent);
  color: #f5ead9;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cal-nav p {
  margin: 0;
  text-align: center;
  color: #f5ead9 !important;
  font-size: 15px;
  font-weight: 800;
}
.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-weekdays span {
  text-align: center;
  color: #9f917e;
  font-size: 11px;
  font-weight: 800;
}
.cal-grid button {
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #f5ead9;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.cal-grid button:disabled {
  opacity: 0.28;
  cursor: default;
}
.cal-grid button.is-today {
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #cda869 70%, transparent);
}
.cal-grid button.is-selected {
  background: linear-gradient(180deg, #cda869, #9a7340);
  color: #14110d;
}
.cal-period-label {
  margin: 2px 0 0 !important;
  color: #b8aa97 !important;
  font-size: 12px !important;
  font-weight: 700;
}
.cal-hours {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 22vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
}
.cal-hours button {
  min-height: 40px;
  border: 1.5px solid rgba(245, 234, 217, 0.18);
  border-radius: 14px;
  background: #1a1713;
  color: #f5ead9;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}
.cal-hours button small {
  display: block;
  margin-top: 1px;
  font-size: 0.78em;
  font-weight: 600;
  opacity: 0.72;
}
.cal-hours button.is-selected {
  border-color: #cda869;
  background: color-mix(in srgb, #cda869 22%, transparent);
}
.cal-hours button:disabled {
  opacity: 0.35;
  cursor: default;
}
.cal-selected {
  margin: 0 !important;
  min-height: 1.2em;
  text-align: center;
  color: #f5ead9 !important;
  font-size: 13px !important;
  font-weight: 700;
}
.cal-grid button.is-booked {
  position: relative;
  color: #ffd28a;
}
.cal-grid button.is-booked::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb020;
  transform: translateX(-50%);
}
.cal-grid button.is-partial {
  position: relative;
  color: #f0e0c4;
}
.cal-grid button.is-partial::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 176, 32, 0.45);
  transform: translateX(-50%);
}
.cal-grid button.is-confirmed {
  color: #d7efc2;
}
.cal-grid button.is-confirmed::after {
  background: #7cbc4a;
}
.cal-hours button.is-reserved {
  border-color: rgba(255, 170, 120, 0.55);
}
.cal-hours button.is-confirmed-slot {
  border-color: rgba(124, 188, 74, 0.7);
}
.cal-hours button.is-full {
  opacity: 0.72;
  border-color: rgba(255, 120, 90, 0.75);
}
.cal-busy {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 176, 32, 0.12);
  border: 1px solid rgba(255, 176, 32, 0.35);
}
.cal-busy[hidden] { display: none !important; }
.cal-busy p {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 650;
  color: #ffe2a8 !important;
}
.cal-busy__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cal-busy__actions button {
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
#cal-busy-cancel {
  background: rgba(255, 255, 255, 0.08);
  color: #f5ead9;
}
#cal-busy-ok {
  background: linear-gradient(180deg, #cda869, #9a7340);
  color: #14110d;
}

.coupon-qr {
  width: 156px;
  height: 156px;
  margin: 0;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}

.screen--prize .giro-btn { margin-top: auto; }

.giro-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--giro-line);
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7d776d;
}

@media (max-width: 430px) {
  .giro-app {
    --giro-scale: 1;
    align-items: stretch;
    justify-content: stretch;
    overflow: auto;
  }

  .giro-scale {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .giro-surface {
    width: 100%;
    height: auto;
    min-height: 100dvh;
    transform: none;
  }

  .giro-pane {
    min-height: 100dvh;
  }
}

.studio-scroll {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px 0 12px;
  display: grid;
  gap: 14px;
}

.studio-hero {
  padding: 8px 2px 4px;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6fd39a;
}

.studio-hero h2,
.studio-card h3 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
}

.studio-hero h2 { font-size: 40px; }

.studio-card {
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%),
    var(--giro-panel);
  border: 1px solid var(--giro-line);
}

.studio-card h3 {
  margin: 0 0 4px;
  font-size: 28px;
}

.studio-card label {
  display: block;
  margin: 14px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--giro-muted);
}

.studio-card input,
.studio-card textarea,
.studio-card select,
.validate-row input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(247, 241, 230, 0.12);
  background: #101010;
}

.studio-card textarea { min-height: 84px; resize: vertical; }

.studio-card input:focus-visible,
.studio-card textarea:focus-visible,
.studio-card select:focus-visible,
.giro-btn:focus-visible,
.nav-btn:focus-visible,
.file-pill:focus-within {
  outline: 3px solid rgba(111, 211, 154, 0.55);
  outline-offset: 2px;
}

.hint, .status-line {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--giro-muted);
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px !important;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed rgba(111, 211, 154, 0.45);
  background: rgba(31, 138, 76, 0.08);
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--giro-ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.file-pill span { color: #8be0b0; }

.file-pill strong {
  font-size: 13px;
  font-weight: 500;
  color: var(--giro-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.prizes { display: grid; gap: 10px; margin-top: 8px; }

.prize-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.studio-card .giro-btn { width: 100%; margin-top: 16px; }

.validate-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.validate-row .giro-btn { min-width: 104px; }

.qr {
  width: 168px;
  height: 168px;
  margin: 18px auto 0;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
}

.qr svg { width: 100%; height: 100%; display: block; }

.ledger {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ledger li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: #101010;
  border: 1px solid var(--giro-line);
}

.ledger strong {
  display: block;
  letter-spacing: 0.06em;
}

.ledger span {
  font-size: 13px;
  color: var(--giro-muted);
}

.ledger .giro-btn {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 14px;
  box-shadow: none;
}

.giro-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--giro-line);
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(10px);
}

.nav-btn {
  display: grid;
  gap: 2px;
  justify-items: center;
  min-height: 56px;
  padding: 8px 6px;
  border: 1px solid rgba(247, 241, 230, 0.1);
  border-radius: 16px;
  background: transparent;
  color: var(--giro-ink);
  font-weight: 700;
  cursor: pointer;
}

.nav-btn small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--giro-muted);
}

.nav-btn.is-active {
  background: linear-gradient(180deg, #2aa35d, var(--giro-green-deep));
  border-color: transparent;
  color: #fff;
}

.nav-btn.is-active small { color: rgba(255, 255, 255, 0.78); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
