:root {
  /* Key Visual Aura Studio: creme, verde floresta, dourado e vinho */
  --acc: #8c1d2f;
  --acc-soft: rgba(140, 29, 47, .10);
  --bg: #f2efe6;
  --card: #fbfaf6;
  --text: #15211f;
  --muted: #55635e;
  --line: #d9d1bf;
  --gold: #80561a;
  --forest: #15211f;
  --ok: #2e6a4e;
  --warn: #8a5a10;
  --bad: #a12a32;
  --serif: "Cormorant Garamond", Georgia, serif;
  --radius: 16px;
  --shadow: 0 4px 18px rgba(21, 33, 31, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 Jost, system-ui, -apple-system, "Segoe UI", sans-serif; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--gold); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main.wrap { flex: 1; padding-top: 18px; padding-bottom: 120px; }
.loading { text-align: center; color: var(--muted); padding: 60px 0; }

/* topo */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: .01em; color: var(--text); text-decoration: none; min-width: 0; }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-hex { height: 34px; width: auto; flex-shrink: 0; }
.top-nav { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.tbtn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; color: var(--text); white-space: nowrap; position: relative; }
.tbtn.on { border-color: var(--forest); color: var(--forest); font-weight: 500; }
.tbtn .dot { position: absolute; top: -4px; right: -4px; background: var(--acc); color: #fff; font-size: 10.5px; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* botões */
.btn { border: 1px solid var(--line); background: var(--card); color: var(--text); border-radius: 12px; padding: 11px 18px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-size: 14.5px; }
.btn:hover { border-color: #cfd0d8; }
.btn-acc { background: var(--acc); border-color: var(--acc); color: #fbfaf6; font-weight: 500; letter-spacing: .01em; }
.btn-acc:hover { filter: brightness(1.05); border-color: var(--acc); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-wa { background: #1fa855; border-color: #1fa855; color: #fff; font-weight: 600; }

/* cabeçalho do evento */
.ev { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; margin-bottom: 18px; }
.ev-cover { width: 132px; height: 132px; border-radius: 20px; background: var(--acc-soft) center/cover no-repeat; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 42px; }
.ev-kicker { font-size: 11px; font-weight: 500; letter-spacing: .22em; color: var(--gold); text-transform: uppercase; }
.ev h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; margin: 4px 0 10px; }
.pills { display: inline-flex; flex-wrap: wrap; background: var(--card); border-radius: 999px; padding: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.05); gap: 2px; }
.pill { padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.pill.acc { background: var(--acc); color: #fff; font-weight: 600; }
.price-line { margin-top: 10px; font-size: 14px; color: var(--muted); }
.price-line b { color: var(--text); }

/* degraus de preço (quanto mais fotos, menos cada uma custa) */
.ladder { margin: 0 0 18px; }
.ladder-t { font-family: var(--serif); font-size: 21px; line-height: 1.2; margin: 0 0 14px; }
.ladder-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; padding-top: 8px; }
@media (min-width: 640px) { .ladder-g { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.lad { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--card); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 8px 10px; box-shadow: var(--shadow); }
.lad small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.lad b { font-family: var(--serif); font-size: 27px; line-height: 1.1; font-weight: 600; }
.lad em { font-style: normal; font-size: 12px; color: var(--muted); }
.lad-save { margin-top: 7px; background: rgba(46, 106, 78, .12); color: var(--ok); font-size: 11.5px; font-weight: 600; border-radius: 999px; padding: 3px 9px; }
.lad i { font-style: normal; font-size: 11px; color: var(--muted); opacity: .75; margin-top: 7px; }
.lad.rec { border-color: var(--acc); box-shadow: 0 8px 22px var(--acc-soft); }
.lad-tag { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--acc); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.ladder-n { margin-top: 10px; font-size: 12px; color: var(--muted); opacity: .85; text-align: center; }
.ladder.compact { margin-bottom: 14px; }
.ladder.compact .ladder-g { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; padding-top: 0; }
.ladder.compact .lad { padding: 8px 4px; border-radius: 12px; box-shadow: none; border-color: var(--line); }
.ladder.compact .lad.rec { border-color: var(--acc); }
.ladder.compact .lad small { font-size: 11.5px; }
.ladder.compact .lad b { font-size: 18px; }
.ladder.compact .lad em { font-size: 11px; }
.ladder.compact .lad-tag, .ladder.compact .lad-save, .ladder.compact .lad i { display: none; }

/* cartões */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.card h2 { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.15; margin: 0 0 6px; }
.card .sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.face { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.face-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--acc-soft); display: grid; place-items: center; font-size: 30px; }
.face-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.face-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.face-status { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--acc-soft); font-size: 14px; }
.face-status.ok { background: rgba(31,157,85,.1); }
.bar { height: 6px; background: rgba(0,0,0,.08); border-radius: 3px; overflow: hidden; margin-top: 8px; }
.bar i { display: block; height: 100%; background: var(--acc); width: 0; transition: width .3s; }

/* formulário */
.tabs2 { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border-radius: 12px; padding: 4px; margin-bottom: 16px; }
.tabs2 button { border: none; background: none; padding: 9px; border-radius: 9px; font-weight: 500; color: var(--muted); }
.tabs2 button.on { background: var(--card); color: var(--text); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 5px; }
.field label i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; background: #fff; font-size: 15px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-soft); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pw { position: relative; }
.pw input { padding-right: 44px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: none; background: none; color: var(--muted); padding: 6px; display: flex; align-items: center; border-radius: 8px; }
.pw button:hover { color: var(--text); background: var(--bg); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 10px 0; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--acc); flex-shrink: 0; }
.err { color: var(--bad); font-size: 13.5px; margin: 6px 0 10px; }
.okmsg { color: var(--ok); font-size: 13.5px; margin: 6px 0 10px; }
/* verificador "sou humano" (human.js): a classe só existe quando ele está ligado */
.humano { min-height: 65px; margin: 4px 0 12px; }
.humano:empty::before { content: "Carregando verificação…"; display: block; padding: 22px 0; text-align: center; font-size: 13px; color: var(--muted); }
.humano-erro { color: var(--bad); font-size: 13.5px; line-height: 1.45; }
.humano-erro a { color: inherit; }
.link-btn { background: none; border: none; color: var(--gold); padding: 0; font-size: 13.5px; text-decoration: underline; }

/* barra de abas da galeria */
.gtabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.gtabs::-webkit-scrollbar { display: none; }
.gtab { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; white-space: nowrap; color: var(--text); }
.gtab.on { background: var(--forest); border-color: var(--forest); color: #f2efe6; font-weight: 500; }

/* grade de fotos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.tile { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e9e9ee; cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.tile .sel { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; background: rgba(0,0,0,.35); color: #fff; font-size: 18px; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tile.in .sel { background: var(--acc); border-color: var(--acc); }
.tile.in { outline: 3px solid var(--acc); outline-offset: -3px; }
.tile .num { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 6px; }
.tile .owned { position: absolute; left: 8px; top: 8px; background: var(--ok); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }

/* lista de eventos */
.evs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.evc { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--text); }
.evc-img { aspect-ratio: 16/10; background: var(--acc-soft) center/cover no-repeat; display: grid; place-items: center; font-size: 40px; }
.evc-b { padding: 12px 14px 14px; }
.evc-b small { color: var(--acc); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.evc-b h3 { margin: 2px 0 4px; font-size: 16px; line-height: 1.3; }
.evc-b p { margin: 0; color: var(--muted); font-size: 13px; }

/* barra do carrinho */
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0,0,0,.08); }
.cartbar-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.cartbar-txt { flex: 1; min-width: 0; }
.cartbar-txt b { font-size: 16px; }
.cartbar-txt small { display: block; color: var(--acc); font-weight: 500; font-size: 12.5px; }
.cb-prog { height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.cb-prog i { display: block; height: 100%; background: var(--acc); border-radius: 4px; transition: width .3s; }
.cb-steps { position: relative; height: 42px; margin: 8px 6px 0 0; }
.cb-track { position: absolute; left: 0; right: 0; top: 3px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.cb-fill { height: 100%; background: var(--acc); border-radius: 4px; transition: width .3s; }
.cb-steps .st { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; line-height: 1.15; padding: 0; font-weight: 400; } /* padding/peso: o .st das situações do pedido engordava as etiquetas e elas se encostavam */
.cb-steps .st.last { transform: translateX(-100%); align-items: flex-end; }
.cb-steps .st i { width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); }
.cb-steps .st.on i { background: var(--acc); border-color: var(--acc); }
.cb-steps .st b { font-size: 11.5px; margin-top: 3px; }
.cb-steps .st em { font-style: normal; font-size: 10px; letter-spacing: -.02em; white-space: nowrap; color: var(--muted); }
.cb-steps .st.on em { color: var(--acc); font-weight: 600; }

/* visualizador */
.lb { position: fixed; inset: 0; background: #0b0b10; z-index: 50; display: flex; flex-direction: column; color: #fff; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.lb-x { background: rgba(255,255,255,.12); border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 20px; }
.lb-main { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 8px; }
.lb-main img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 24px; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-bot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.lb-spin { position: absolute; color: rgba(255,255,255,.6); font-size: 14px; }

/* folha (carrinho / pagamento) */
.sheet-bg { position: fixed; inset: 0; background: rgba(10,10,20,.5); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--card); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 22px; } }
.sheet h2 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 28px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.sheet-x { background: var(--bg); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 18px; flex-shrink: 0; }
.mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin: 10px 0; }
.mini div { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #eee; }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 1; }
.mini a.dl { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 11.5px; text-align: center; padding: 4px 0; text-decoration: none; }
.sum { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 10px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin: 4px 0; }
.sum-row.total { color: var(--text); font-size: 18px; font-weight: 700; }
.sum-row.save { color: var(--ok); font-weight: 600; }
.sum-row.gift-row { color: var(--ok); font-weight: 600; }
.sum-row.gift-row s { color: var(--muted); font-weight: 400; margin-right: 8px; }

/* presente para cliente fiel */
.gift { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1.5px dashed var(--gold); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; }
.gift-ic { font-size: 26px; line-height: 1; }
.gift-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.gift-tx b { font-size: 14.5px; line-height: 1.3; }
.gift-tx span { font-size: 12.5px; color: var(--muted); }
.gift-val { text-align: right; display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.gift-val s { font-size: 12.5px; color: var(--muted); }
.gift-val b { font-family: var(--serif); font-size: 24px; color: var(--ok); }
/* prazo de compra: faixa dourada; no último dia fica na cor da galeria, e depois do fim vira cinza tracejada */
.deadline { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1.5px solid var(--gold); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; }
.dl-ic { font-size: 24px; line-height: 1; }
.dl-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-tx b { font-size: 14.5px; line-height: 1.3; }
.dl-tx span { font-size: 12.5px; color: var(--muted); }
.deadline.last { border-color: var(--acc); background: var(--acc-soft); }
.deadline.last .dl-tx span { color: var(--acc); font-weight: 500; }
.deadline.closed { border: 1.5px dashed var(--line); }
.deadline.closed .dl-ic { filter: grayscale(1); opacity: .7; }
.hint { background: var(--acc-soft); color: var(--text); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; margin: 10px 0; }
.steps { counter-reset: s; margin: 12px 0; }
.step { position: relative; padding-left: 38px; margin-bottom: 16px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.step b { display: block; margin-bottom: 6px; }
.qr { display: flex; justify-content: center; margin: 8px 0; }
.qr img { width: 210px; height: 210px; image-rendering: pixelated; border-radius: 10px; border: 1px solid var(--line); }
.code { width: 100%; font-size: 12px; font-family: ui-monospace, Menlo, Consolas, monospace; border: 1px solid var(--line); border-radius: 10px; padding: 9px; resize: none; background: var(--bg); word-break: break-all; }

/* minhas compras */
.order { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 12px; }
.order-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.order-h b { font-size: 15.5px; }
.order-h small { display: block; color: var(--muted); font-size: 13px; }
.st { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-aguardando { background: rgba(199,119,0,.12); color: var(--warn); }
.st-comprovante { background: rgba(40,110,220,.12); color: #2860c8; }
.st-pago { background: rgba(31,157,85,.12); color: var(--ok); }
.st-cancelado { background: rgba(0,0,0,.06); color: var(--muted); }
.order-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: #1c1d22; color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; z-index: 80; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.foot { position: relative; overflow: hidden; margin-top: 24px; color: #cfd6d2; font-size: 13px; text-align: left; padding: 40px 0 120px;
  background: radial-gradient(520px 380px at 96% 100%, rgba(31, 71, 80, .70), transparent 72%), linear-gradient(160deg, #0f1917 0%, #13221f 52%, #182e36 100%); }
.foot .wrap { position: relative; z-index: 1; }
.foot p { margin: 6px 0; max-width: 520px; }
.foot a { color: #e0ba73; }
.hex-deco { position: absolute; right: 0; bottom: 0; width: 380px; max-width: 70%; height: auto; pointer-events: none; z-index: 0; }
@media (max-width: 560px) { .hex-deco { width: 220px; } .foot p { max-width: 100%; } }
.terms p { font-size: 14px; color: var(--muted); }

@media (max-width: 560px) {
  .ev { grid-template-columns: 92px 1fr; gap: 14px; }
  .ev-cover { width: 92px; height: 92px; border-radius: 16px; font-size: 32px; }
  .ev h1 { font-size: 19px; margin-bottom: 8px; }
  .pill { font-size: 12px; padding: 3px 9px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
  .tile { border-radius: 8px; }
  .tile .sel { width: 30px; height: 30px; top: 5px; right: 5px; font-size: 16px; }
  .tile .num { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .lb-nav { display: none; }
  .tbtn { padding: 6px 11px; font-size: 13px; }
}

/* títulos elegantes nas outras telas */
main h1 { font-family: var(--serif); font-weight: 500; font-size: 32px !important; letter-spacing: .01em; }
.evc-b h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; }
.evc-b small { color: var(--gold); letter-spacing: .14em; }
.cartbar-txt small { color: var(--gold); }
.top { background: rgba(251, 250, 246, .92); backdrop-filter: blur(8px); }

/* entrar com Gmail */
.or-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-gmail { background: #fffefb; color: var(--text); }
.btn-gmail svg { flex-shrink: 0; }
.gmail-tip { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: left; }
.gmail-tip svg { width: 16px; height: 16px; flex-shrink: 0; }
/* ===== Visual editorial (12/10/2026): sóbrio, cantos retos, linhas finas e ícones de traço; só o relógio é escuro =====
   Fica no fim do arquivo de propósito: para voltar ao visual anterior, basta apagar este bloco. */
:root { --radius: 2px; --shadow: none; --gold-line: #b58f3e; }
.ic { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.tbtn { border-radius: 2px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; }
.tbtn .dot { border-radius: 2px; }
.btn { border-radius: 2px; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 13px 20px; }
.btn-sm { border-radius: 2px; padding: 8px 12px; font-size: 11px; }
.btn-wa { font-weight: 500; }
.ev-cover { border-radius: 0; box-shadow: none; color: var(--muted); background-color: #e6e0d0; }
.ev-cover .ic, .evc-img .ic { width: 38px; height: 38px; }
.evc-img { color: var(--muted); }
.pills { background: none; box-shadow: none; border-radius: 0; padding: 0; gap: 16px; }
.pill { padding: 0; border-radius: 0; font-size: 10.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pill.acc { background: none; color: var(--gold); font-weight: 600; }

/* relógio: a única faixa escura da tela (nas últimas 6 horas fica vinho; depois do fim, só linhas) */
.deadline { background: var(--forest); color: #f2efe6; border: 0; border-radius: 0; margin: 0 -16px 16px; padding: 12px 16px; }
.dl-ic { color: #e0ba73; font-size: 0; line-height: 0; display: grid; place-items: center; }
.dl-ic .ic { width: 22px; height: 22px; }
.dl-tx b { color: #f2efe6; font-weight: 500; font-size: 14px; }
.dl-tx span { color: #e0ba73; }
.deadline.last { background: #8c1d2f; }
.deadline.last .dl-tx span { color: #f2efe6; font-weight: 400; }
.deadline.closed { background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.deadline.closed .dl-ic, .deadline.closed .dl-tx span { color: var(--muted); }
.deadline.closed .dl-tx b { color: var(--text); }

/* presente */
.gift { background: transparent; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; margin: 0 0 8px; }
.gift-ic { color: var(--gold); font-size: 0; line-height: 0; }
.gift-ic .ic { width: 24px; height: 24px; }
.gift-val b { color: var(--forest); }

/* tabela de preços em lista */
.ladder-n { margin-top: 10px; }
.plist { margin: 0 0 18px; }
.pl-t { font-family: var(--serif); font-size: 22px; line-height: 1.2; margin: 14px 0 2px; }
.pl-row { display: flex; align-items: baseline; gap: 10px; padding: 12px 0 2px; }
.pl-n { font-family: var(--serif); font-size: 23px; font-weight: 500; }
.pl-d { flex: 1; border-bottom: 1px dotted #b9ae92; transform: translateY(-4px); }
.pl-p { font-size: 12px; color: var(--muted); }
.pl-p b { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--text); }
.pl-s { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; font-size: 11.5px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pl-s em { font-style: normal; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.pl-eco { color: var(--gold); font-weight: 600; }
.pl-row.rec .pl-n::before { content: "◆ "; color: var(--gold-line); font-size: 12px; }
.plist.compact { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; margin: 0 0 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.plist.compact span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.35; max-width: 120px; }
.plist.compact b { font-family: var(--serif); font-size: 16px; font-weight: 500; white-space: nowrap; }
.plist.compact b i { font-style: normal; color: var(--gold-line); margin: 0 5px; }
@media (max-width: 520px) { .plist.compact { display: block; } .plist.compact span { display: block; max-width: none; margin-bottom: 3px; } .plist.compact b { font-size: 15px; } }

/* abas, fotos e barra do carrinho */
.gtabs { gap: 18px; border-bottom: 1px solid var(--line); padding: 2px 0 0; }
.gtab { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 9px 0; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gtab.on { background: none; color: var(--forest); font-weight: 500; border-bottom-color: var(--gold-line); }
.grid { gap: 3px; }
.tile, .tile .num, .tile .owned { border-radius: 0; }
.tile .sel { border-radius: 0; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.9); background: rgba(21,33,31,.35); box-shadow: none; font-size: 16px; }
.tile.in { outline: 2px solid var(--gold-line); outline-offset: -2px; }
.tile.in .sel { background: var(--gold-line); border-color: var(--gold-line); color: var(--forest); }
.tile .owned { background: var(--forest); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.cartbar { box-shadow: none; border-top: 1px solid var(--forest); }
.cartbar-txt b { display: flex; flex-direction: column; font-weight: 400; }
.cb-n { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cb-n .ic { width: 16px; height: 16px; }
.cb-gift { display: inline-flex; color: var(--gold); }
.cb-total { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.15; }
.cb-prog, .cb-prog i, .cb-track, .cb-fill { border-radius: 0; }
.cb-prog { height: 2px; }
.cb-prog i, .cb-fill { background: var(--gold-line); }
.cb-track { height: 2px; }
.cb-steps .st i { border-radius: 0; width: 8px; height: 8px; border-width: 1px; margin: 1px 0; transform: rotate(45deg); }
.cb-steps .st.on i { background: var(--gold-line); border-color: var(--gold-line); }
.cb-steps .st.on em { color: var(--gold); }

/* cartões, formulários, janelas e pedidos */
.card, .order, .evc { border-radius: 0; box-shadow: none; border: 1px solid var(--line); }
.tabs2 { background: none; border-radius: 0; border-bottom: 1px solid var(--line); padding: 0; }
.tabs2 button { border-radius: 0; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 2px solid transparent; }
.tabs2 button.on { background: none; box-shadow: none; border-bottom-color: var(--gold-line); }
.field input, .field select, .code, .qr img { border-radius: 2px; }
.face-ic { border-radius: 0; background: none; color: var(--gold); }
.face-ic .ic { width: 34px; height: 34px; }
.face-status, .hint { border-radius: 0; background: #ece6d4; }
.sheet { border-radius: 4px 4px 0 0; }
@media (min-width: 700px) { .sheet { border-radius: 4px; } }
.sheet-x, .mini div, .mini button { border-radius: 0; }
.sum { border-top: 1px solid var(--line); }
.sum-row.gift-row .ic { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.step::before { border-radius: 0; background: var(--forest); }
.st { border-radius: 0; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.toast { border-radius: 2px; }
@media (max-width: 420px) { .brand { font-size: 19px; gap: 8px; } .brand-hex { height: 30px; } .tbtn { padding: 7px 9px; font-size: 10.5px; letter-spacing: .06em; } .top-nav { gap: 4px; } }
.hint b { display: inline; margin: 0; } /* o ".step b" tornava o negrito dentro do aviso do cartão uma linha à parte */

/* ===== Primeira tela (antes do login): a mesma "aura" da entrada do CRM =====
   gradiente floresta/petróleo, hexágonos dourados, título em creme e legenda dourada espaçada. Só emoção e um caminho: nenhum preço. */
body { overflow-x: clip; }
.hero { position: relative; isolation: isolate; margin: -18px calc(50% - 50vw) 22px; min-height: min(88vh, 700px); display: flex; align-items: flex-end; overflow: hidden; color: #f6f1e4;
  background: radial-gradient(560px 440px at 96% 100%, rgba(31, 71, 80, .70), transparent 72%), linear-gradient(160deg, #0f1a18 0%, #13221f 52%, #0c2228 100%); }
.hero-img { position: absolute; inset: 0 0 34% 0; z-index: -3; background: #13221f center 22% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 58%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(15, 26, 24, .94) 0%, rgba(15, 26, 24, .86) 42%, rgba(15, 26, 24, .35) 66%, rgba(15, 26, 24, 0) 82%); }
.hero-halo { position: absolute; right: -90px; bottom: -70px; width: 430px; height: auto; z-index: -1; pointer-events: none; }
.hero-in { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px 38px; }
.hero-in > * { max-width: 520px; animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero-in > :nth-child(2) { animation-delay: .08s; } .hero-in > :nth-child(3) { animation-delay: .16s; } .hero-in > :nth-child(4) { animation-delay: .24s; }
.hero-in > :nth-child(5) { animation-delay: .3s; } .hero-in > :nth-child(6) { animation-delay: .36s; }
.hero-kicker { font-weight: 300; font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: #e0ba73; }
main .hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(50px, 14vw, 84px) !important; line-height: .96; letter-spacing: .01em; color: #f6f1e4; margin: 12px 0 16px; }
.hero-frase { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(21px, 5.4vw, 27px); line-height: 1.3; color: #ebe3cf; margin: 0; max-width: 24ch; }
.hero-cta { display: block; width: 100%; max-width: 360px; margin-top: 26px; background: #e0ba73; color: #15211f; border: 0; border-radius: 2px; padding: 18px 22px; font-weight: 500; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; animation: heroIn .8s .3s cubic-bezier(.2, .8, .2, 1) both, heroRing 3.2s 1.6s ease-in-out infinite; }
.hero-cta:hover { filter: brightness(1.06); }
.hero-mini { margin-top: 10px; font-size: 12.5px; color: #b9c2bd; }
.hero-link { display: block; margin-top: 12px; padding: 6px 0; background: none; border: 0; color: #e0ba73; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
@keyframes heroIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes heroRing { 0%, 100% { box-shadow: 0 0 0 0 rgba(224, 186, 115, .45); } 55% { box-shadow: 0 0 0 10px rgba(224, 186, 115, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-in > *, .hero-cta { animation: none; } }
@media (max-width: 520px) { .hero { min-height: min(84vh, 640px); } .hero-halo { width: 330px; right: -80px; bottom: -50px; } }

/* tela "Valores e benefícios" */
.price-line.big { font-size: 17px; margin: 6px 0 14px; }
.bens { list-style: none; margin: 14px 0 0; padding: 0; }
.bens li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); }
.bens li::before { content: "◆"; position: absolute; left: 0; top: 14px; color: var(--gold-line); font-size: 11px; }
.bens b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.2; }
.bens span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ev-valores { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* segunda tela */
.wel h1 { font-family: var(--serif); font-weight: 500; font-size: 34px !important; line-height: 1.08; margin: 6px 0 14px; }
.wel-go { margin-top: 18px; padding: 16px 20px; }

/* valor dividido em destaque */
.pl-parc { font-family: var(--serif); font-size: 21px; line-height: 1.15; color: var(--text); padding: 0 0 4px; }
.pl-parc b { font-weight: 600; font-size: 25px; color: var(--gold); letter-spacing: .01em; }
.sum-row.parc { align-items: baseline; }
.sum-row.parc b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--gold); }
.parc-opts { font-size: 12.5px; color: var(--muted); text-align: right; margin: -2px 0 4px; }
/* linha pequena da tabela (preço por foto, total e economia): discreta, mas sempre legível */
.pl-s { font-size: 12.5px; }

/* ===== Evento aberto (19/10/2026): fotos antes do cadastro, preço no botão da foto e valores no fim da página =====
   Fica no fim do arquivo de propósito: para voltar ao visual anterior, basta apagar este bloco. */
.browse-cta h2 { font-size: 24px; }
.browse-more { display: block; margin: 14px auto 6px; min-width: 210px; }
.valores-fim { margin: 30px 0 8px; padding-top: 20px; border-top: 1px solid var(--line); }
.valores-fim h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0 0 8px; }
.valores-fim .plist.compact { margin-bottom: 8px; }
.valores-fim .ev-valores { margin-top: 10px; }
.btn-preco .pr { margin-left: 6px; padding-left: 14px; border-left: 1px solid currentColor; font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.btn-acc.btn-preco .pr { border-left-color: rgba(251, 250, 246, .5); }
.lb-note { width: 100%; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* ===== Segunda tela: a acolhida (19/10/2026; desenhada em 15/10) =====
   Faixa escura com o nome da pessoa, recado pessoal, "Como vai ser" em 3 passos e só então os valores. Para voltar à tela anterior, apague este bloco e o renderWelcome. */
.wel-band { position: relative; isolation: isolate; margin: -18px calc(50% - 50vw) 0; padding: 42px 0 36px; overflow: hidden; color: #f6f1e4;
  background: radial-gradient(560px 440px at 96% 100%, rgba(31, 71, 80, .70), transparent 72%), linear-gradient(160deg, #0f1a18 0%, #13221f 52%, #0c2228 100%); }
.wel-band-img { position: absolute; inset: 0; z-index: -3; background: #13221f center 22% / cover no-repeat; opacity: .55; }
.wel-band::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(to top, rgba(15, 26, 24, .96) 0%, rgba(15, 26, 24, .74) 55%, rgba(15, 26, 24, .5) 100%); }
.wel-band .hero-halo { z-index: -1; bottom: -90px; right: -90px; width: 400px; }
.wel-band-in { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wel-band-in > * { max-width: 560px; animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) both; }
.wel-band-in > :nth-child(2) { animation-delay: .1s; } .wel-band-in > :nth-child(3) { animation-delay: .2s; }
main .wel-band h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 9.5vw, 54px) !important; line-height: 1.05; color: #f6f1e4; margin: 10px 0 12px; }
.wel-lead { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(19px, 5vw, 23px); line-height: 1.35; color: #ebe3cf; }
.wel-note { margin: 24px 0 22px; padding-left: 16px; border-left: 2px solid var(--gold-line); max-width: 560px; }
.wel-note p { margin: 0 0 12px; font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.wel-note figcaption { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.wel-h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin: 28px 0 6px; }
.passos { list-style: none; counter-reset: passo; margin: 8px 0 0; padding: 0; }
.passos li { position: relative; counter-increment: passo; padding: 14px 0 14px 48px; border-top: 1px solid var(--line); }
.passos li::before { content: counter(passo); position: absolute; left: 0; top: 13px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--gold-line); color: var(--gold); font-family: var(--serif); font-size: 18px; }
.passos b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.2; }
.passos span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.garantias { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.garantias span::before { content: "◆"; margin-right: 7px; font-size: 9px; vertical-align: 1px; color: var(--gold-line); }
.wel-cta { position: sticky; bottom: 0; z-index: 5; margin: 22px -16px 0; padding: 22px 16px calc(14px + env(safe-area-inset-bottom)); text-align: center; background: linear-gradient(to top, var(--bg) 70%, rgba(242, 239, 230, 0)); }
.wel-cta .btn { width: 100%; max-width: 420px; padding: 17px 22px; }
.wel-wa { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ===== Lista de galerias (depois do login em "Minha Galeria"): para seleção e em entrega ===== */
.lobby-head { margin: 4px 0 6px; }
main .lobby-head h1 { font-family: var(--serif); font-weight: 500; font-size: 34px !important; line-height: 1.08; margin: 6px 0 6px; }
.lobby-head p { margin: 0; color: var(--muted); }
.lgrupo { margin: 28px 0 0; }
.lgrupo h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; margin: 0; }
.lgrupo > p { margin: 2px 0 10px; font-size: 13.5px; color: var(--muted); }
/* cartões da lista: uma foto só por galeria (a capa), com o nome, a data, o tipo e o local por cima */
.gcards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.lobby-head + .gcards { margin-top: 22px; }
@media (min-width: 720px) { .gcards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; } }
.gcard { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden; color: #f6f1e4; text-decoration: none;
  background: linear-gradient(160deg, #0f1a18 0%, #13221f 52%, #0c2228 100%); border: 1px solid #1d2d2a; }
.gcard-img { position: absolute; inset: 0; z-index: -2; background: #13221f center 25% / cover no-repeat; transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.gcard:hover .gcard-img { transform: scale(1.04); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15, 26, 24, .94) 0%, rgba(15, 26, 24, .66) 40%, rgba(15, 26, 24, 0) 74%); }
.gcard .hero-halo { right: -70px; bottom: -50px; width: 340px; z-index: -1; }
.gcard-in { width: 100%; padding: 22px 20px 20px; }
.gcard-k { font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #e0ba73; }
.gcard h3 { font-family: var(--serif); font-weight: 500; font-size: 31px; line-height: 1.05; margin: 8px 0 4px; color: #f6f1e4; }
.gcard p { margin: 0; font-size: 13.5px; color: #cfd6d2; }
.gcard-tag { position: absolute; top: 14px; left: 14px; padding: 6px 10px; background: #e0ba73; color: #15211f; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.gcard.meu { border-color: #e0ba73; }

/* ===== Ferramenta "Nova galeria" (só a dona vê) ===== */
.nova-galeria { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nova-galeria b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.nova-galeria span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.nova-galeria .btn { flex-shrink: 0; }
.nova-galeria + .gcards { margin-top: 18px; }
@media (max-width: 520px) { .nova-galeria { flex-direction: column; align-items: stretch; } }
.tipos { display: grid; gap: 8px; margin: 0 0 14px; }
.tipo { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); cursor: pointer; }
.tipo:has(input:checked) { border-color: var(--gold-line); background: rgba(224, 186, 115, .12); }
.tipo input { margin-top: 4px; accent-color: var(--acc); flex-shrink: 0; }
.tipo b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.2; }
.tipo small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.ng-dica { display: block; margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* ===== Galeria de entrega (prévia ou completa): faixa com "Baixar todas" ===== */
.entrega-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.entrega-card b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.entrega-card span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.entrega-card .entrega-erro { color: var(--bad); }
.entrega-card .btn { flex-shrink: 0; }
@media (max-width: 520px) { .entrega-card { flex-direction: column; align-items: stretch; } }

/* Curtir e comentar, estilo Instagram: o ♥ põe a foto no carrinho; a foto aberta vira um "post" com curtidas e comentários */
.tile .sel.heart, .tile.in .sel.heart { background: rgba(21,33,31,.35); border: 1px solid rgba(255,255,255,.9); color: #fff; padding: 0; }
.tile .sel.heart .ic { width: 16px; height: 16px; }
.tile .sel.heart.on, .tile.in .sel.heart.on { color: #ff5c73; border-color: #fff; }
.tile .sel.heart.on .ic, .lb-acts .act.on .ic { fill: currentColor; }
.tile .soc { position: absolute; right: 6px; bottom: 6px; display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 2px 7px; line-height: 1.3; }
.tile .soc .ic { width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; }
.lb-bot { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 8px; width: 100%; max-width: 680px; margin: 0 auto; }
.lb-acts { display: flex; align-items: center; gap: 14px; }
.lb-acts .act { background: none; border: none; color: #fff; padding: 2px; display: grid; place-items: center; cursor: pointer; }
.lb-acts .act .ic { width: 26px; height: 26px; stroke-width: 1.6; }
.lb-acts .act.on { color: #ff5c73; }
.lb-spacer { flex: 1; }
.lb-note { font-size: 12.5px; }
.lb-likes { font-size: 13.5px; color: #fff; }
.lb-likes b { font-weight: 600; }
.lb-cm { max-height: 22vh; overflow: auto; font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.92); }
.lb-cm.all { max-height: 30vh; }
.lb-cm .c { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.lb-cm b { font-weight: 600; }
.lb-cm .by { font-style: normal; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-line); margin-left: 6px; }
.lb-cm .t { flex-shrink: 0; font-size: 11px; color: rgba(255,255,255,.5); white-space: nowrap; }
.lb-cm .x { background: none; border: none; color: rgba(255,255,255,.55); padding: 0 0 0 4px; font-size: 11px; cursor: pointer; }
.lb-more { background: none; border: none; padding: 0; text-align: left; font-size: 13px; color: rgba(255,255,255,.6); cursor: pointer; }
.lb-comp { display: flex; align-items: center; gap: 6px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 8px; }
.lb-comp input { flex: 1; min-width: 0; background: transparent; border: none; color: #fff; font-size: 16px; padding: 6px 0; outline: none; font-family: inherit; }
.lb-comp input::placeholder { color: rgba(255,255,255,.5); }
.lb-comp button { background: none; border: none; color: #ffd98a; font-weight: 600; font-size: 14px; cursor: pointer; padding: 6px 2px; }
@media (max-width: 520px) { .lb-bot { padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); } .lb-cm { max-height: 18vh; } }

/* Modo Editar (só a dona) */
.editbar { margin: 0 0 14px; }
.editbar.on { border: 1px solid var(--gold-line); background: var(--acc-soft, rgba(181,143,62,.1)); padding: 12px 14px; }
.editbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.editbar-row b { margin-right: 4px; font-family: var(--serif); font-size: 17px; font-weight: 500; }
.editbar p { margin: 8px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.tile.edit { cursor: grab; }
.tile.edit.is-capa { outline: 2px solid var(--gold-line); outline-offset: -2px; }
.tile .e-btn, .gc-tools .e-btn { position: absolute; left: 6px; font-family: inherit; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border: none; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; text-decoration: none; }
.tile .e-btn:hover, .gc-tools .e-btn:hover { background: var(--gold-line); }
.tile .e-capa { top: 6px; } .tile .e-wm { top: 32px; }
.tile .e-tag { position: absolute; left: 6px; top: 6px; background: var(--gold-line); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 8px; }
.tile.edit .num { display: block; }
.tile .e-grip { position: absolute; right: 6px; top: 6px; color: #fff; font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,.6); line-height: 1; }
.e-ghost { opacity: .35; }
.gcard-edit { cursor: grab; }
.gcard-edit.oculta { opacity: .55; }
.gc-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; z-index: 2; }
.gc-tools .e-btn { position: static; padding: 6px 10px; font-size: 12px; }
.lc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 6px; max-height: 60vh; overflow: auto; }
.lc-ph { padding: 0; border: 2px solid transparent; background: none; aspect-ratio: 1; cursor: pointer; }
.lc-ph.on { border-color: var(--gold-line); }
.lc-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard-edit .gcard-in { padding-bottom: 66px; }
/* baixar: botão em cada foto da grade (abaixo do ♥) e na foto aberta (ao lado do ✕) */
.tile .sel.dl { top: 42px; padding: 0; }
.tile .sel.dl .ic { width: 16px; height: 16px; }
.lb-tools { display: flex; align-items: center; gap: 10px; }
.lb-x.dl { display: grid; place-items: center; padding: 0; cursor: pointer; }
.lb-x.dl .ic { width: 20px; height: 20px; }
.dl.busy { opacity: .5; pointer-events: none; }
@media (max-width: 560px) { .tile .sel.dl { top: 38px; } }
