/* DIG — sistema "Colagem de Poste" aplicado ao app real */
@font-face { font-family: 'Anton'; src: url('/fonts/anton.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Caveat'; src: url('/fonts/caveat.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('/fonts/space-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('/fonts/space-mono-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --kraft: #EFE6D6; --asphalt: #100F0D; --ink: #16140F;
  --orange: #FF4A0F; --gold: #E3AE33; --blue: #1E3FD8; --mint: #39C777;
  --paper: #D9CDB6;
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --anton: 'Anton', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --hand: 'Caveat', 'Bradley Hand', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  background: #080807; color: var(--kraft);
  font-family: var(--mono); font-size: 13px; line-height: 1.5;
  display: flex; justify-content: center; align-items: stretch;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }
img { max-width: 100%; display: block; }

/* ---------- shell ---------- */
.app {
  position: relative; width: 100%; max-width: 460px; min-height: 100dvh;
  background: var(--asphalt); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
}
@media (min-width: 720px) {
  body { padding: 18px 0; align-items: center; }
  .app {
    height: min(100dvh - 36px, 920px); min-height: 0; border-radius: 30px;
    box-shadow: 0 0 0 8px #171717, 0 0 0 10px #2b2b2b, 0 40px 80px -24px rgba(0,0,0,.92);
  }
}

/* ---------- atmosfera ---------- */
.atmos { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.wall {
  position: absolute; inset: -6%; background: url('/img/parede.webp') center/cover no-repeat;
  filter: saturate(.62) contrast(1.06) brightness(.55); transform: scale(1.05);
}
.leak {
  position: absolute; inset: -20%; mix-blend-mode: screen; filter: blur(26px); opacity: .8;
  background:
    radial-gradient(40% 30% at 20% 10%, rgba(255,220,160,.26), transparent 70%),
    radial-gradient(50% 40% at 85% 30%, rgba(255,120,40,.15), transparent 70%);
  animation: leakPulse 7s ease-in-out infinite;
}
.grain {
  position: absolute; inset: -50%; opacity: .26; mix-blend-mode: overlay;
  animation: grainShift .6s steps(3) infinite;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.55'/></svg>");
}
.vig {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 42%, transparent 40%, rgba(0,0,0,.55) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.55), transparent 22%, transparent 72%, rgba(0,0,0,.8));
}
@keyframes grainShift { 0%{transform:translate(0,0)} 33%{transform:translate(-2%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }
@keyframes leakPulse { 0%,100%{opacity:.55} 50%{opacity:.95} }

/* ---------- tipografia ---------- */
.anton { font-family: var(--anton); font-weight: 400; }
.hand { font-family: var(--hand); font-weight: 600; }
.lab { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: rgba(239,230,214,.5); }
h1 { font-family: var(--anton); font-size: 34px; line-height: 1.14; letter-spacing: -.4px; color: var(--kraft); }
h1 i { color: var(--orange); font-style: normal; }
h1.big { font-size: 44px; }
h2 { font-family: var(--anton); font-size: 24px; line-height: 1.15; letter-spacing: -.2px; }
.sub { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(239,230,214,.5); line-height: 1.7; }
.muted { color: rgba(239,230,214,.45); }
.center { text-align: center; }

/* ---------- papéis ---------- */
.paper, .card, .sheet, .adcard {
  position: relative;
  background-image: linear-gradient(rgba(245,231,203,.62), rgba(240,224,194,.70)), url('/img/papel.webp');
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
  background-color: var(--paper); box-shadow: inset 0 0 0 1px rgba(0,0,0,.10);
}
.paper::after, .card::after, .sheet::after, .adcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: .18;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/><feColorMatrix type='saturate' values='0'/></filter><rect width='120' height='120' filter='url(%23m)' opacity='.5'/></svg>");
}
.ink { color: #201c15; }
.wrap {
  position: relative; filter: drop-shadow(0 14px 13px rgba(0,0,0,.5));
  animation: slap .8s cubic-bezier(.18,1.28,.36,1) both; animation-delay: var(--d, 0s);
  transform: rotate(var(--r, 0deg));
}
@keyframes slap { from { opacity: 0; transform: translateY(-40px) rotate(6deg) scale(1.04); } to { opacity: 1; transform: none; } }
.card { padding: 14px 14px 15px; color: #201c15; }
.card .k { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: rgba(32,28,21,.62); }
.card .v { font-family: var(--anton); font-size: 27px; line-height: 1.15; letter-spacing: -.4px; color: #1b1710; }
.card .v i { color: var(--orange); font-style: normal; }
.num { font-family: var(--anton); font-size: 52px; line-height: 1.1; letter-spacing: -1.5px; color: var(--kraft); }
.num i { color: var(--orange); font-style: normal; }

.stamp {
  position: absolute; top: -9px; font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; padding: 3px 6px; border: 1.5px solid currentColor; transform: rotate(-6deg);
  background: rgba(16,15,13,.9); white-space: nowrap; z-index: 3;
}
.stamp.left { left: -8px; }
.stamp.right { right: -8px; }
.stamp.comum { color: rgba(239,230,214,.8); }
.stamp.raro { color: var(--gold); }
.stamp.lendario { color: var(--orange); }
.stamp.pro { color: #141109; background: var(--gold); border-color: #141109; transform: rotate(-4deg); }
.stamp.ok { color: var(--mint); }

.tape {
  position: absolute; width: 54px; height: 16px; pointer-events: none; mix-blend-mode: screen; z-index: 2;
  background: linear-gradient(180deg, rgba(240,232,210,.7), rgba(214,204,180,.55));
  box-shadow: 0 1px 3px rgba(0,0,0,.35); transform: rotate(-8deg);
}
.tape.a { top: -7px; left: -10px; }
.tape.b { bottom: 12px; right: -12px; transform: rotate(6deg); width: 44px; }

/* ---------- chips, botões ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; padding: 4px 7px; border: 1.5px solid currentColor;
  color: rgba(239,230,214,.66); white-space: nowrap;
}
.chip.gold { color: var(--gold); } .chip.or { color: var(--orange); } .chip.ink { color: #201c15; }
.chip.ok { color: var(--mint); }
.chip.fill { background: rgba(239,230,214,.92); border-color: transparent; color: #141109; font-weight: 700; }
.seg { display: flex; gap: 6px; }
.seg a {
  flex: 1; text-align: center; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 0; border: 1.5px solid rgba(239,230,214,.22); color: rgba(239,230,214,.55);
}
.seg a.on { background: rgba(239,230,214,.94); border-color: transparent; color: #141109; font-weight: 700; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; width: 100%;
  background: var(--orange); color: #150f08; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; box-shadow: 0 14px 24px -14px rgba(255,74,15,.95); transform: rotate(-.5deg);
  padding: 0 16px;
}
.btn.gold { background: var(--gold); box-shadow: 0 14px 24px -14px rgba(227,174,51,.9); }
.btn.ghost { background: transparent; color: var(--kraft); border: 1.5px solid rgba(239,230,214,.32); box-shadow: none; }
.btn.sm { min-height: 40px; font-size: 11px; letter-spacing: .14em; }
.btn:active { transform: rotate(-.5deg) translateY(1px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.tiny { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,230,214,.6); text-align: center; line-height: 1.9; }

.bar { position: relative; height: 9px; background: rgba(20,17,12,.22); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--orange); width: var(--w, 40%); }
.bar.gold i { background: var(--gold); }

/* ---------- layout de página ---------- */
.page {
  position: absolute; inset: 0; z-index: 20; display: flex; flex-direction: column; gap: 12px;
  padding: 22px 16px 96px; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
}
.page.no-nav { padding-bottom: 28px; }
.page::-webkit-scrollbar { width: 0; }
.row { display: flex; align-items: center; gap: 9px; }
.row.sb { justify-content: space-between; }
.grow { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 12px; }

.hdr { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 6px; }
.wm2 .l1 { display: block; font-family: var(--anton); font-size: 50px; line-height: 1; letter-spacing: -1px; color: var(--kraft); }
.wm2 .dot { color: var(--orange); }
.wm2 .tg { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(239,230,214,.62); margin-top: 4px; }
.clk {
  transform: rotate(1.6deg); border: 1.5px dashed rgba(239,230,214,.4); padding: 6px 9px 5px;
  text-align: right; background: rgba(16,15,13,.4); backdrop-filter: blur(2px);
}
.clk .lab { font-size: 9px; letter-spacing: .2em; }
.clk .t { font-size: 17px; font-weight: 700; letter-spacing: .03em; font-variant-numeric: tabular-nums; color: var(--kraft); }
.clk .t b { color: var(--orange); }

/* ---------- nav ---------- */
.nav {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40; height: 76px;
  display: flex; align-items: flex-start; justify-content: space-between; padding: 9px 8px 0;
  background: linear-gradient(to top, rgba(8,8,7,.97) 52%, rgba(8,8,7,0));
}
.nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,230,214,.4);
  padding-top: 4px; min-height: 44px;
}
.nav a svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav a.on { color: var(--orange); }
.nav a.on svg { filter: drop-shadow(0 0 9px rgba(255,74,15,.85)); }

/* ---------- mural ---------- */
.mural-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 6px 0 4px; }
.scrap { position: relative; min-width: 0; filter: drop-shadow(0 12px 12px rgba(0,0,0,.55)); transform: rotate(var(--r, 0deg)); }
.scrap.wide { grid-column: span 2; }
.scrap .photo { position: relative; overflow: hidden; aspect-ratio: 4/5; background: #1b1712; }
.scrap.wide .photo { aspect-ratio: 16/10; }
.scrap .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(.86) sepia(.08); }
.scrap .body { padding: 9px 9px 10px; }
.scrap .nm { font-family: var(--hand); font-size: 18px; line-height: 1.1; color: #231f18; }
.scrap .meta { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(32,28,21,.62); margin-top: 4px; }
.scrap.done .photo::after {
  content: "achado"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--anton); font-size: 24px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange); background: rgba(8,8,7,.62); transform: rotate(-8deg);
}
.scrap.taken .photo::after {
  content: "levado"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--anton); font-size: 22px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(239,230,214,.72); background: rgba(8,8,7,.78);
}
.hunt {
  position: relative; z-index: 30; display: flex; align-items: center; gap: 11px; height: 58px; padding: 0 14px; margin-top: 2px;
  background: var(--orange); color: #150f08; transform: rotate(-.6deg);
  box-shadow: 0 16px 26px -14px rgba(255,74,15,.95), 0 0 0 1.5px rgba(0,0,0,.35);
  margin-top: auto;
}
.hunt .t { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hunt .t b { font-size: 14px; }
.hunt .pips { display: flex; gap: 4px; margin-left: auto; }
.hunt .pips i { width: 13px; height: 4px; background: rgba(21,15,8,.25); }
.hunt .pips i.on { background: #150f08; }
.ap { width: 30px; height: 30px; flex: 0 0 auto; overflow: visible; }
.ap .r1 { fill: none; stroke: currentColor; stroke-width: 3; }
.ap .r2 { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-dasharray: 2 6; opacity: .55; }
.ap .pup { fill: #150f08; stroke: currentColor; stroke-width: 2; }

/* ---------- câmera ---------- */
.cam-page .app { background: #0b0a08; }
.view {
  position: relative; width: 100%; aspect-ratio: 3/4; max-height: 56dvh; overflow: hidden;
  filter: drop-shadow(0 20px 18px rgba(0,0,0,.55)); background: #17130f;
}
.view img, .view video { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.82) brightness(.92); }
.view .vsh { position: absolute; inset: 0; box-shadow: inset 0 0 90px 30px rgba(0,0,0,.55); }
.vigncam { position: absolute; inset: 0; pointer-events: none; background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 4px); }
.ret { position: relative; flex: 1; display: grid; place-items: center; margin: 6px 0; }
.rethel { position: relative; width: 210px; height: 210px; max-width: 60vw; max-height: 60vw; }
.rethel::before, .rethel::after, .rethel span::before, .rethel span::after {
  content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid rgba(239,230,214,.75);
}
.rethel::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.rethel::after { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.rethel span::before { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.rethel span::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.rethel i {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%,-50%);
  border: 1.5px dashed rgba(239,230,214,.55); border-radius: 50%; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.shut {
  position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(12,11,9,.35); border: 2px solid rgba(239,230,214,.85);
  box-shadow: 0 0 0 7px rgba(12,11,9,.35), 0 16px 26px -12px rgba(0,0,0,.9); flex: 0 0 auto;
}
.shut .ap { width: 52px; height: 52px; color: var(--kraft); }
.shut .ap .pup { fill: rgba(12,11,9,.8); stroke: var(--kraft); }
.shut::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,74,15,.85); animation: shutPulse 2.6s ease-out infinite; }
@keyframes shutPulse { 0%{transform:scale(.96);opacity:.9} 70%{transform:scale(1.18);opacity:0} 100%{opacity:0} }
.crow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.thumb { width: 54px; height: 54px; border: 1.5px solid rgba(239,230,214,.5); overflow: hidden; transform: rotate(-4deg); background: #17130f; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pot { width: 56px; text-align: center; font-family: var(--anton); font-size: 20px; line-height: 1.1; color: var(--gold); }
.pot small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: rgba(239,230,214,.55); margin-top: 3px; }
.target { padding: 11px 12px; display: flex; align-items: center; gap: 10px; transform: rotate(-1deg); --r: -1deg; }
.target .pt { font-family: var(--hand); font-size: 19px; line-height: 1.1; color: #201c15; }
.target .pt small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; color: rgba(32,28,21,.62); margin-top: 4px; text-transform: uppercase; }

/* ---------- listas ---------- */
.led .r, .lb .r {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-bottom: 1px solid rgba(32,28,21,.16);
}
.led .r:last-child, .lb .r:last-child { border-bottom: 0; }
.led .d { width: 44px; font-size: 10px; letter-spacing: .04em; color: rgba(32,28,21,.55); }
.led .t { flex: 1; font-size: 12px; color: #201c15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.led .p { font-family: var(--anton); font-size: 15px; color: #201c15; }
.led .p.neg { color: #a3311a; }

.lb .r .n { width: 22px; font-size: 11px; color: rgba(32,28,21,.55); text-align: right; }
.lb .r .nm { flex: 1; font-size: 12px; color: #201c15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb .r .st { font-size: 9px; letter-spacing: .1em; color: rgba(32,28,21,.55); }
.lb .r .pt { font-family: var(--anton); font-size: 16px; color: #201c15; }
.lb .r.me { background: rgba(255,74,15,.92); box-shadow: inset 3px 0 0 #150f08; }
.lb .r.me .n, .lb .r.me .nm, .lb .r.me .st, .lb .r.me .pt { color: #150f08; }

/* pódio */
.pod { display: flex; align-items: flex-end; justify-content: center; gap: 9px; }
.pod .p { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pod .photo {
  position: relative; width: 82px; height: 100px; background: url('/img/papel.webp') center/cover #D9CDB6;
  padding: 6px 6px 18px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.5));
}
.pod .p1 .photo { width: 96px; height: 118px; }
.pod .av { width: 100%; height: 100%; display: grid; place-items: center; background: #1b1712; color: var(--kraft); font-family: var(--anton); font-size: 26px; }
.pod .p1 .av { color: var(--gold); }
.pod .nm { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,230,214,.8); max-width: 96px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod .pt { font-family: var(--anton); font-size: 15px; color: var(--kraft); }
.pod .pos { position: absolute; top: -9px; left: -9px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--orange); color: #150f08; font-family: var(--anton); font-size: 13px; transform: rotate(-8deg); }
.pod .p1 .pos { background: var(--gold); width: 30px; height: 30px; font-size: 15px; }

/* calendário */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal .wd { font-size: 8px; letter-spacing: .08em; text-align: center; color: rgba(32,28,21,.45); padding-bottom: 3px; }
.cal .d { position: relative; height: 38px; display: grid; place-items: center; font-size: 11px; color: rgba(32,28,21,.55); }
.cal .d.ok { background: rgba(255,74,15,.92); color: #150f08; font-weight: 700; transform: rotate(-2deg); }
.cal .d.gold { background: var(--gold); color: #1a1508; font-weight: 700; transform: rotate(2deg); }
.cal .d.today { outline: 1.5px dashed #FF4A0F; outline-offset: -3px; }
.cal .d.fut { color: rgba(32,28,21,.22); }
.cal .d.miss { color: rgba(32,28,21,.32); text-decoration: line-through; text-decoration-thickness: 1px; }
.cal .d.out { opacity: .25; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.stats .s { text-align: center; padding: 10px 4px; border: 1.5px solid rgba(239,230,214,.16); }
.stats .s b { display: block; font-family: var(--anton); font-size: 20px; line-height: 1.1; color: var(--kraft); }
.stats .s span { display: block; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: rgba(239,230,214,.45); margin-top: 4px; }

.who { display: flex; align-items: center; gap: 12px; }
.ava {
  width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-items: center; background: #1b1712;
  font-family: var(--anton); font-size: 26px; color: var(--gold); transform: rotate(-4deg);
  box-shadow: 0 10px 18px -8px rgba(0,0,0,.9), 0 0 0 3px rgba(239,230,214,.16);
}
.ava.sm { width: 40px; height: 40px; font-size: 17px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.9), 0 0 0 2px rgba(239,230,214,.14); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* pro */
.proline { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px dashed rgba(32,28,21,.25); }
.proline:last-child { border-bottom: 0; }
.proline .ck { width: 16px; height: 16px; flex: 0 0 auto; display: grid; place-items: center; background: var(--orange); color: #150f08; font-size: 10px; font-weight: 700; }
.proline .tx { font-size: 12px; line-height: 1.45; color: #201c15; }
.proline.free .ck { background: rgba(32,28,21,.28); color: #EFE6D6; }
.price { display: flex; gap: 8px; }
.price .p { flex: 1; border: 1.5px solid rgba(32,28,21,.28); padding: 10px; position: relative; }
.price .p.on { border-color: var(--orange); background: rgba(255,74,15,.1); box-shadow: inset 0 0 0 1px rgba(255,74,15,.5); }
.price .p .t { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; color: rgba(32,28,21,.55); }
.price .p .m { font-family: var(--anton); font-size: 22px; line-height: 1.1; color: #1b1710; margin-top: 2px; }
.price .p .s { font-size: 8px; letter-spacing: .1em; color: rgba(32,28,21,.55); margin-top: 3px; }
.price .p .tag { position: absolute; top: 6px; right: 6px; background: var(--orange); color: #150f08; font-size: 8px; font-weight: 700; padding: 2px 5px; transform: rotate(-2deg); }

/* anúncio */
.adcard { padding: 13px; color: #201c15; position: relative; }
.adcard .pat { position: absolute; top: -9px; left: -9px; background: #141109; color: var(--gold); font-size: 8px; letter-spacing: .16em; padding: 3px 6px; border: 1px solid var(--gold); transform: rotate(-6deg); z-index: 2; }
.adcard h3 { font-family: var(--anton); font-size: 20px; line-height: 1.15; }
.adcard .pat2 { position: absolute; top: -9px; left: -9px; background: #141109; color: var(--gold); font-size: 8px; letter-spacing: .16em; padding: 3px 6px; border: 1px solid var(--gold); transform: rotate(-6deg); z-index: 2; }

/* modal */
.dim { position: fixed; inset: 0; z-index: 60; background: rgba(6,6,5,.72); backdrop-filter: blur(5px); display: none; }
.dim.show { display: block; }
.modal { position: fixed; inset: 0; z-index: 61; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 30px 22px; }
.modal.show { display: flex; }
.sheet { padding: 20px 17px 22px; color: #201c15; width: 100%; max-width: 340px; filter: drop-shadow(0 26px 26px rgba(0,0,0,.7)); animation: popIn .5s cubic-bezier(.18,1.3,.4,1) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(26px) rotate(-2deg) scale(.94); } to { opacity: 1; transform: none; } }
.sheet h2 { font-family: var(--anton); font-size: 26px; line-height: 1.15; }
.sheet p { font-size: 11px; line-height: 1.7; color: rgba(32,28,21,.72); }
.x { position: absolute; top: 16px; right: 16px; z-index: 62; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(239,230,214,.4); background: rgba(10,9,8,.6); }
.x svg { width: 16px; height: 16px; stroke: rgba(239,230,214,.85); fill: none; stroke-width: 2; stroke-linecap: round; }

/* formulários */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,230,214,.6); }
.input {
  width: 100%; min-height: 48px; padding: 12px 13px; background: rgba(239,230,214,.06);
  border: 1.5px solid rgba(239,230,214,.22); color: var(--kraft); font-family: var(--mono); font-size: 14px;
  border-radius: 0; outline: none;
}
.input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,74,15,.18); }
.input::placeholder { color: rgba(239,230,214,.3); }
textarea.input { min-height: 88px; resize: vertical; }
select.input { appearance: none; background-image: none; }
.input.ink { background: rgba(255,255,255,.4); border-color: rgba(32,28,21,.28); color: #201c15; }
.hint { font-size: 10px; letter-spacing: .06em; color: rgba(239,230,214,.45); }

/* avisos */
.flash {
  position: relative; z-index: 45; margin: 0 0 2px; padding: 11px 13px; font-size: 12px; line-height: 1.5;
  border-left: 4px solid currentColor; background: rgba(16,15,13,.85);
}
.flash.ok { color: var(--mint); }
.flash.erro { color: #ff7a52; }
.flash.info { color: var(--kraft); }

/* datas/horas */
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; padding: 6px 0; border-bottom: 1px dashed rgba(32,28,21,.22); }
.kv:last-child { border-bottom: 0; }
.kv b { font-family: var(--anton); font-weight: 400; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
