/* apadrinhar.html: the campaign app. Kit tokens only (system.css); the logo's red is the one accent. */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.app { background: var(--bg); }
.app main { padding-top: var(--nav); }
.ic-16 { width: 16px; height: 16px; flex: none; }
.link-btn { background: none; border: 0; padding: 0 var(--s-2); min-height: 44px; font: 500 var(--t-body)/1 var(--font-text); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); cursor: pointer; }
.link-btn:hover { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- top */
.app-top { padding: var(--s-8) 0 var(--s-8); }
.app-top__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; }
.app-kicker { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--t-small); color: var(--muted); margin-bottom: var(--s-4); }
.app-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 4px color-mix(in oklab, var(--action) 18%, transparent); }
.app-top h1 { font: var(--display-weight) clamp(44px, 3.4vw + 22px, 84px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); margin-bottom: var(--s-5); max-width: 12ch; }
.app-top .t-lead { max-width: 46ch; margin-bottom: var(--s-6); }
.app-top .btn-row { margin-bottom: var(--s-7); }

/* share buttons: real marks in their own colours, 44px round targets */
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.share-row__label { width: 100%; font-size: var(--t-small); color: var(--muted); margin-bottom: var(--s-1); }
.share-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--ink); cursor: pointer; transition: transform 150ms var(--ease), border-color 150ms var(--ease), background 150ms var(--ease); }
.share-btn img, .share-btn svg { width: 20px; height: 20px; }
.share-btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.share-btn:active { transform: translateY(0) scale(.96); }
.share-row--small .share-btn { width: 44px; height: 44px; }

/* ---------------------------------------------------------------- the meter card */
.app-meter.card { padding: var(--s-6); gap: 0; background: var(--card); }
.meter__cells--big { grid-template-columns: repeat(10, minmax(0, 1fr)); height: auto; gap: 6px; margin: var(--s-2) 0 0; }
.meter__cells--big > li { aspect-ratio: 1; border-radius: 6px; overflow: visible; }
.meter__cells--big > li::after { border-radius: 6px; }
.meter__cells--big > li > button { inset: 0; border-radius: 6px; }
.meter__cells--big > li > button:hover { box-shadow: 0 0 0 2px var(--ink); }
.meter__cells--big > li > button::after { content: attr(aria-label); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); white-space: nowrap; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 500 13px/1.2 var(--font-text); opacity: 0; pointer-events: none; transition: opacity 120ms var(--ease), transform 120ms var(--ease); z-index: 3; }
.meter__cells--big > li > button:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0); }
.meter__cells--big > li.is-new::after { animation: pop 900ms cubic-bezier(.22,1,.36,1); }
.app-meter .meter__legend { margin-top: var(--s-2); }
.app-meter__money { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.app-meter__eur { font: var(--display-weight) var(--t-h3)/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.app-meter__bar { height: 8px; border-radius: 4px; background: color-mix(in oklab, var(--ink) 12%, transparent); overflow: hidden; margin-top: var(--s-3); }
.app-meter__bar > i { display: block; height: 100%; width: 100%; background: var(--action); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 900ms cubic-bezier(.22,1,.36,1); }
@keyframes pop { 0% { transform: scale(.2); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------------------------------------------------------------- list */
.app-list { padding: var(--s-8) 0 var(--s-9); background: var(--surface); }
.app-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-5); }
.app-list__head h2 { font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); align-items: center; margin-bottom: var(--s-6); }
.toolbar__search { position: relative; flex: 1 1 260px; max-width: 360px; }
.toolbar__search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.toolbar__search input { width: 100%; height: 48px; padding: 0 var(--s-4) 0 44px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); background: var(--bg); font: 400 16px/1 var(--font-text); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { height: 44px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); font: 500 var(--t-small)/1 var(--font-text); cursor: pointer; transition: background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tags--all { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tags--all > li[hidden] { display: none; }
.tags--all .tag.card { background: var(--bg); }
.tag.is-hit { outline: 3px solid var(--action); outline-offset: 3px; transform: translateY(-4px); transition: transform 90ms var(--ease); }
.tag.is-new { animation: tagnew 1200ms cubic-bezier(.22,1,.36,1); }
@keyframes tagnew { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--action) 60%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
.app-empty { padding: var(--s-7) 0; font-size: var(--t-lead); }
@media (max-width: 1279px) { .tags--all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .app-top__grid { grid-template-columns: 1fr; } .tags--all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .tags--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .app-top { padding: var(--s-6) 0; }
  .app-top .btn-row .btn { width: 100%; }
  .toolbar__search { max-width: none; flex-basis: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .chip { flex: none; }
}

/* ---------------------------------------------------------------- my sponsorships */
.app-mine { padding: var(--s-8) 0; }
.app-mine h2 { font: var(--display-weight) var(--t-h2)/1.1 var(--font-display); letter-spacing: var(--display-tracking); margin-bottom: var(--s-3); }
.mine { list-style: none; margin: var(--s-5) 0 0; padding: 0; display: grid; gap: 0; }
.mine > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3) var(--s-5); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.mine__what { display: grid; gap: 2px; }
.mine__name { font-weight: 500; }
.mine__meta { color: var(--muted); font-size: var(--t-small); }
.mine__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
@media (max-width: 639px) { .mine > li { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- footer */
.app-footer { padding: var(--s-7) 0 calc(var(--s-7) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.app-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); }
.app-footer nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-small); }
.app-footer nav a { min-height: 44px; display: inline-flex; align-items: center; }
.app-footer .t-small { flex-basis: 100%; }
.app .nav__logo img { height: 34px; width: auto; margin-right: 10px; }

/* ---------------------------------------------------------------- the flow dialog */
.flow { width: min(1040px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--bg); color: var(--ink); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .45); overflow: hidden; }
.flow::backdrop { background: color-mix(in oklab, var(--p-ink) 55%, transparent); }
.flow[open] { animation: flowin 380ms cubic-bezier(.22,1,.36,1); }
@keyframes flowin { from { opacity: 0; transform: translateY(16px) scale(.985); } }
.flow__in { position: relative; display: flex; flex-direction: column; max-height: calc(100svh - 32px); }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5) var(--s-4) var(--s-6); border-bottom: 1px solid var(--line); }
.flow__steps { display: flex; gap: var(--s-5); list-style: none; margin: 0; padding: 0; font-size: var(--t-small); color: var(--muted); }
.flow__steps li { display: inline-flex; align-items: center; gap: var(--s-2); }
.flow__steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 12px; font-weight: 500; transition: background 200ms var(--ease), color 200ms var(--ease); }
.flow__steps li.is-on { color: var(--ink); font-weight: 500; }
.flow__steps li.is-on span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.flow__steps li.is-done span { background: var(--action); color: var(--action-ink); border-color: var(--action); }
.flow__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.flow__close svg { width: 20px; height: 20px; }
.flow__close:hover { border-color: var(--ink); }
.flow__step { overflow-y: auto; padding: var(--s-7) var(--s-6); position: relative; }
.flow__step:not([hidden]) { animation: stepin 320ms cubic-bezier(.22,1,.36,1); }
@keyframes stepin { from { opacity: 0; transform: translateX(12px); } }
.flow__split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.flow__body { display: grid; gap: var(--s-5); align-content: start; }
.flow__title { font: var(--display-weight) clamp(30px, 1.6vw + 18px, 40px)/1.1 var(--font-display); letter-spacing: var(--display-tracking); }
.flow__note { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: color-mix(in oklab, var(--action) 10%, var(--bg)); color: var(--ink); font-size: var(--t-body); }
.flow__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
/* inside a block (the options, "already has a gift"): room above the button */
:is([data-opcoes], [data-garantida]) > .flow__actions { margin-top: var(--s-6); }
.field__hint { font-size: var(--t-small); color: var(--muted); margin-top: var(--s-1); }
.form-flow { display: grid; gap: var(--s-4); }
.form-flow textarea { min-height: 96px; }

/* the gift tag, big: hangs from its string and swings once when it opens */
.big-tag { position: relative; margin: 40px auto 0; width: min(100%, 340px); padding: var(--s-7) var(--s-6) var(--s-6); background: var(--card); border: 1px solid var(--line); border-radius: 22px 22px var(--r-lg) var(--r-lg); box-shadow: 0 24px 48px -28px rgb(0 0 0 / .35); transform-origin: 50% -40px; display: grid; gap: var(--s-2); }
.flow[open] .flow__step:not([hidden]) .big-tag { animation: swing 1400ms cubic-bezier(.22,1,.36,1); }
@keyframes swing { 0% { transform: rotate(7deg); } 35% { transform: rotate(-4deg); } 65% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
.big-tag__hole { position: absolute; top: 18px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong); }
.big-tag__string { position: absolute; top: -40px; left: 50%; width: 2px; height: 68px; margin-left: -1px; background: var(--action); border-radius: 1px; }
.big-tag__name { font: var(--display-weight) clamp(40px, 2vw + 24px, 56px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); margin-top: var(--s-3); }
.big-tag__age { color: var(--muted); }
.big-tag__wish { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px dashed var(--line-strong); display: grid; gap: 2px; font-size: var(--t-lead); }
.big-tag__msg { font: italic 400 20px/1.4 var(--font-display); color: var(--ink); margin-top: var(--s-3); }
.big-tag__msg.is-empty { color: var(--muted); }
.big-tag__from { font-size: var(--t-small); color: var(--muted); }
.big-tag--live .big-tag__wish { font-size: var(--t-body); color: var(--muted); }

/* the two ways to give */
.opts { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.opts legend { font-size: var(--t-small); color: var(--muted); margin-bottom: var(--s-2); padding: 0; }
.opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; padding: var(--s-4) var(--s-5); border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; background: var(--bg); transition: border-color 150ms var(--ease), background 150ms var(--ease), transform 150ms var(--ease); }
.opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.opt:has(input:checked) { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); background: color-mix(in oklab, var(--action) 5%, var(--bg)); }
.opt input { width: 20px; height: 20px; accent-color: var(--action); margin: 0; }
.opt__main { display: grid; gap: 2px; }
.opt__name { font-weight: 500; font-size: var(--t-lead); }
.opt__desc { color: var(--muted); font-size: var(--t-body); }
.opt__price { font: var(--display-weight) 28px/1 var(--font-display); font-variant-numeric: tabular-nums; }

/* MB WAY: the phone shows the "Enviar dinheiro" screen filling itself in */
.phone { width: 236px; margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 40px; background: #121110; padding: 10px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .55); }
.phone__screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #f4f6f5; color: #1c1f1d; }
.phone__bar { display: flex; justify-content: space-between; padding: 12px 22px 0; font: 600 12px/1 var(--font-text); }
.phone__icons { display: inline-flex; gap: 3px; align-items: end; }
.phone__icons i { width: 3px; background: currentColor; border-radius: 1px; }
.phone__icons i:nth-child(1) { height: 5px; } .phone__icons i:nth-child(2) { height: 8px; } .phone__icons i:nth-child(3) { height: 11px; }
.mbway-badge { display: inline-block; padding: 3px 6px; border-radius: 5px; background: #d6001c; color: #fff; font: 700 11px/1 var(--font-text); letter-spacing: .02em; }
.envio { display: grid; gap: 8px; padding: 18px 12px 12px; }
.envio__top { display: flex; align-items: center; gap: 8px; font: 600 14px/1.2 var(--font-text); margin-bottom: 6px; }
.envio__campo { display: grid; gap: 2px; padding: 9px 11px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgb(0 0 0 / .05); min-height: 50px; }
.envio__campo span { font-size: 11px; color: #6b716d; }
.envio__campo b { font: 600 14px/1.25 var(--font-text); min-height: 1.25em; overflow-wrap: anywhere; }
.envio__campo small { font-size: 11px; color: #6b716d; }
.envio__valor { font-size: 20px !important; font-variant-numeric: tabular-nums; }
.envio__campo b.is-escrever::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #d6001c; animation: cursor 900ms steps(1) infinite; }
.envio__btn { margin-top: 6px; display: grid; place-items: center; height: 40px; border-radius: 12px; background: #d6001c; color: #fff; font: 600 14px/1 var(--font-text); transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.phone.is-pronto .envio__btn { animation: carrega 1600ms ease-in-out 2 600ms; }
@keyframes cursor { 50% { opacity: 0; } }
@keyframes carrega { 50% { transform: scale(.95); box-shadow: 0 0 0 6px rgb(214 0 28 / .18); } }

.summary { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.summary > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; text-align: right; }

/* the three things to do in the app */
.guia { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.guia > li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--s-1) var(--s-3); align-items: center; }
.guia__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--p-inv-bg); color: var(--p-inv-accent); font: 600 15px/1 var(--font-text); }
.guia p { margin: 0; }
.copia { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); border-radius: var(--r-md); background: var(--surface); }
.copia__v { font: 600 clamp(18px, 1vw + 12px, 22px)/1.2 var(--font-text); letter-spacing: .01em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.copia .btn { flex: none; }
.copia.is-copiado { box-shadow: inset 0 0 0 2px var(--menta, #7fe3b7); }
.guia__nota { color: var(--muted); font-size: var(--t-small); }
.fail { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); border: 1px solid color-mix(in oklab, #d92d20 40%, transparent); background: color-mix(in oklab, #d92d20 6%, var(--bg)); display: grid; gap: var(--s-3); }
.fail__title { font-weight: 500; font-size: var(--t-lead); }
.demo-note { font-size: var(--t-small); color: var(--muted); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); border: 1px dashed var(--line-strong); }
.status:empty { display: none; }
.confirmar-nota { padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-small); }
.confirmar-nota .pinta { margin-right: var(--s-2); vertical-align: 0; }
.pinta { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #f2a516; box-shadow: 0 0 0 0 rgb(242 165 22 / .5); animation: pinta 2s ease-out infinite; }
@keyframes pinta { 70% { box-shadow: 0 0 0 8px rgb(242 165 22 / 0); } 100% { box-shadow: 0 0 0 0 rgb(242 165 22 / 0); } }

/* step 2: name and place side by side, and the anonymous choice */
.field-par { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.check { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--action); }
@media (max-width: 479px) { .field-par { grid-template-columns: 1fr; } }

/* thank you: the box opens and the card rises out of it */
.flow__step--thanks { overflow-x: hidden; }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.gift { position: relative; width: min(100%, 340px); margin: 0 auto; padding-top: 24px; }
.gift__card { position: relative; z-index: 1; width: 82%; margin: 0 auto; aspect-ratio: 1080 / 1350; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -24px rgb(0 0 0 / .45); background: var(--surface); transform: translateY(46%) scale(.9); transition: transform 1100ms cubic-bezier(.22,1,.36,1) 450ms; }
.gift__card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gift__box { position: relative; z-index: 2; display: block; height: 120px; margin-top: -70px; }
.gift__base { position: absolute; left: 4%; right: 4%; bottom: 0; height: 100px; border-radius: 6px; background: var(--action); background-image: linear-gradient(90deg, transparent 45%, #e8d060 45%, #e8d060 55%, transparent 55%); box-shadow: 0 24px 40px -24px rgb(0 0 0 / .6); transition: transform 900ms cubic-bezier(.22,1,.36,1) 650ms, opacity 500ms ease 900ms; }
.gift__lid { position: absolute; left: 0; right: 0; top: 0; height: 30px; border-radius: 6px; background: color-mix(in oklab, var(--action) 88%, #000); background-image: linear-gradient(90deg, transparent 45%, #e8d060 45%, #e8d060 55%, transparent 55%); transform-origin: 10% 100%; transition: transform 700ms cubic-bezier(.22,1,.36,1) 150ms, opacity 400ms ease 600ms; }
.gift__lid::before, .gift__lid::after { content: ""; position: absolute; top: -18px; left: 50%; width: 30px; height: 22px; border: 5px solid #e8d060; border-radius: 50% 50% 0 50%; }
.gift__lid::before { transform: translateX(-100%) rotate(-10deg); }
.gift__lid::after { border-radius: 50% 50% 50% 0; transform: rotate(10deg); }
.gift.is-open .gift__lid { transform: translate(-30px, -60px) rotate(-28deg); opacity: 0; }
.gift.is-open .gift__base { transform: translateY(40px); opacity: 0; }
.gift.is-open .gift__card { transform: none; }
.friend { padding: var(--s-5); border-radius: var(--r-md); background: color-mix(in oklab, var(--action) 8%, var(--bg)); border: 1px solid color-mix(in oklab, var(--action) 30%, transparent); display: grid; gap: var(--s-3); }
.friend__title { font: var(--display-weight) var(--t-h3)/1.2 var(--font-display); }
.copy-field { display: flex; gap: var(--s-2); }
.copy-field input { flex: 1; min-width: 0; height: 44px; padding: 0 var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--bg); font: 400 14px/1 var(--font-text); color: var(--ink); }
.copy-field .btn { height: 44px; }
/* after a sponsorship: follow the club on Instagram to see the presents delivered */
.segue { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform 150ms var(--ease, ease), border-color 150ms var(--ease, ease); }
.segue[hidden] { display: none; }
.segue:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.segue:focus-visible { outline: 3px solid var(--p-action, currentColor); outline-offset: 2px; }
.segue__ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.segue__ic svg { width: 24px; height: 24px; }
.segue__txt { display: grid; gap: 2px; min-width: 0; font-size: var(--t-small); line-height: 1.35; }
.segue__txt b { font-weight: 600; font-size: var(--t-body, 1rem); }
.segue__txt > span { color: var(--muted); }
.segue__seta { margin-left: auto; font-size: 20px; color: var(--muted); transition: transform 150ms ease; }
.segue:hover .segue__seta { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .segue, .segue__seta { transition: none; } .segue:hover, .segue:hover .segue__seta { transform: none; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 100; transform: translate(-50%, 20px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font: 500 15px/1.2 var(--font-text); opacity: 0; pointer-events: none; transition: opacity 200ms ease, transform 300ms cubic-bezier(.22,1,.36,1); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 767px) {
  .flow { width: 100%; max-width: none; max-height: 100svh; height: 100svh; margin: 0; border-radius: 0; }
  .flow__in { max-height: 100svh; height: 100%; }
  .flow__head { padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4); }
  .flow__steps { gap: var(--s-3); }
  .flow__steps li:not(.is-on) { font-size: 0; gap: 0; }
  .flow__step { padding: var(--s-5) var(--s-4) calc(var(--s-7) + env(safe-area-inset-bottom)); flex: 1; }
  .flow__split { grid-template-columns: 1fr; gap: var(--s-5); }
  .big-tag { width: min(100%, 300px); padding: var(--s-6) var(--s-5) var(--s-5); }
  [data-step="2"] .big-tag { display: none; }
  .phone { width: 200px; }
  [data-step="3"] .phone { display: none; }
  .gift { width: min(100%, 260px); }
  .flow__actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .flow[open], .flow__step:not([hidden]), .flow[open] .flow__step:not([hidden]) .big-tag, .phone.is-pronto .envio__btn, .pinta, .tag.is-new, .meter__cells--big > li.is-new::after { animation: none; }
  .gift__card, .gift__lid, .gift__base, .app-meter__bar > i { transition: none; }
}

/* ---------------------------------------------------------------- Christmas: the fir-green top band with snow */
.app-top.ground-inverse { position: relative; overflow: hidden; background: var(--fir); color: var(--p-inv-ink); padding: var(--s-9) 0; }
.app-top .wrap { position: relative; z-index: 1; }
.app-top .app-kicker { color: var(--gold); }
.app-top .app-kicker .dot { background: var(--gold); box-shadow: 0 0 0 4px color-mix(in oklab, var(--gold) 25%, transparent); }
.app-top .btn--primary { background: var(--p-action); color: var(--p-action-ink); }
.app-top .btn--primary:hover { background: color-mix(in oklab, var(--p-action) 86%, #000); }
.app-top .share-row__label { color: var(--p-inv-muted); }
.app-top .share-btn { background: var(--p-bg); border-color: transparent; color: var(--p-ink); }
.app-top .share-btn img { filter: none !important; }
.app-top .app-meter.card { --ink: var(--p-ink); --muted: var(--p-muted); --bg: var(--p-bg); --card: var(--p-bg); --surface: var(--p-surface); --line: color-mix(in oklab, var(--p-ink) 11%, transparent); --line-strong: color-mix(in oklab, var(--p-ink) 20%, transparent); --action: var(--p-action); background: var(--p-bg); color: var(--p-ink); border-color: transparent; box-shadow: 0 30px 60px -36px rgb(0 0 0 / .55); }
.app-top .app-meter .meter { --action: var(--p-action); }
.app-top .app-meter .meter__cells > li, .app-top .app-meter .meter__legend i:not(.is-half, .is-full) { background: color-mix(in oklab, var(--p-ink) 12%, transparent); }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.snow-toggle { position: absolute; right: var(--gut); bottom: var(--s-4); z-index: 2; min-height: 44px; padding: 0 var(--s-3); background: none; border: 0; color: var(--p-inv-muted); font: 500 var(--t-small)/1 var(--font-text); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.snow-toggle:hover { color: var(--p-inv-ink); }
@media (prefers-reduced-motion: reduce) { .snow, .snow-toggle { display: none; } }
@media (max-width: 639px) { .app-top.ground-inverse { padding: var(--s-7) 0 var(--s-9); } }

/* the big tag: a gold-ringed hole and a red-and-white string; the wish's icon */
.big-tag__string { background: repeating-linear-gradient(180deg, var(--action) 0 7px, #f6f1e7 7px 11px); width: 3px; margin-left: -1.5px; }
.big-tag__hole { box-shadow: inset 0 0 0 1px var(--line-strong), 0 0 0 4px var(--gold); }
.big-tag__icon { position: absolute; top: var(--s-6); right: var(--s-6); color: var(--action); }
.big-tag__icon .tag__icon { width: 36px; height: 36px; margin: 0; }
.tags--all .tag.card { padding-right: calc(var(--s-5) + 28px); }
