/* ================= PromoPOP — site public ================= */
:root {
  --ink: #16131F;
  --paper: #FFF7EA;
  --card: #FFFFFF;
  --pop: #FF3D7F;
  --sun: #FFD23F;
  --mint: #22D69A;
  --sky: #4D7CFF;
  --grape: #8B5CF6;
  --muted: #6B6578;
  --line: 2.5px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
  --sh-lg: 7px 7px 0 var(--ink);
  --r: 18px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display: 'Bricolage Grotesque', var(--font);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); line-height: 1.5;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(22,19,31,.07) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  min-height: 100vh; -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,247,234,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: var(--line);
}
.topbar-in { display: flex; align-items: center; gap: 16px; height: 66px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1; }
.logo-b {
  background: var(--pop); color: #fff; padding: 4px 9px 6px; margin-left: 3px;
  border: var(--line); border-radius: 10px; box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-4deg); display: inline-block;
}
.logo.small { font-size: 1.3rem; }
.top-tabs { display: flex; gap: 6px; margin-left: auto; }
.top-tab {
  padding: 8px 16px; border-radius: 999px; font-weight: 700; border: 2.5px solid transparent;
  transition: background .15s, border-color .15s;
}
.top-tab:hover { border-color: var(--ink); }
.top-tab.active { background: var(--ink); color: var(--paper); }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border: var(--line);
  border-radius: 12px; background: var(--sun); box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.icon-btn:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; overflow: hidden; }
.hero-in { position: relative; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem;
  background: #fff; border: var(--line); border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(34,214,154,.25); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(34,214,154,0); } }
.hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(2.3rem, 7.2vw, 4.7rem); max-width: 900px; margin: 0 auto;
}
.hero h1 mark { background: var(--sun); color: inherit; padding: 0 .12em; border-radius: .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero h1 mark.m2 { background: var(--mint); }
.hero-sub { max-width: 560px; margin: 18px auto 26px; font-size: 1.08rem; color: #3b3648; }
.search {
  display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto;
  background: #fff; border: var(--line); border-radius: 16px; padding: 0 18px; box-shadow: var(--sh);
  transition: box-shadow .15s, transform .15s;
}
.search:focus-within { box-shadow: var(--sh-lg); transform: translate(-2px,-2px); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; height: 58px; font-size: 1.05rem; min-width: 0; }
.search.flash { animation: flash .6s; }
@keyframes flash { 30% { background: var(--sun); } }
.hero-stats { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hstat { background: #fff; border: var(--line); border-radius: 14px; padding: 8px 16px; display: flex; align-items: baseline; gap: 6px; }
.hstat b { font-family: var(--display); font-size: 1.35rem; }
.hstat span { font-size: .88rem; color: var(--muted); font-weight: 500; }

.sticker {
  position: absolute; font-family: var(--display); font-weight: 800; border: var(--line);
  box-shadow: var(--sh); pointer-events: none; user-select: none;
}
.s1 { top: 10px; left: 2%; background: var(--pop); color: #fff; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; transform: rotate(-14deg); animation: float 5s ease-in-out infinite; }
.s2 { top: 150px; right: 1%; background: var(--sky); color: #fff; padding: 8px 14px; border-radius: 12px; transform: rotate(9deg); animation: float 6s ease-in-out infinite reverse; }
.s3 { bottom: 10px; left: 7%; background: var(--sun); width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; transform: rotate(10deg); animation: float 4.5s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

/* ---------- Banner (pub) ---------- */
.banner {
  display: flex; align-items: center; gap: 16px; margin: 6px 0 10px; padding: 14px 18px;
  border: var(--line); border-radius: var(--r); box-shadow: var(--sh); text-decoration: none;
  background: repeating-linear-gradient(-45deg, #fff, #fff 12px, #FFF2C2 12px, #FFF2C2 24px);
  transition: transform .15s, box-shadow .15s;
}
.banner:hover { transform: translate(-2px,-2px); box-shadow: var(--sh-lg); }
.banner img { height: 56px; width: auto; border-radius: 10px; border: 2px solid var(--ink); }
.banner-tag { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--paper); padding: 2px 8px; border-radius: 6px; }
.banner-text { flex: 1; font-weight: 700; font-size: 1.02rem; }
.banner-cta { background: var(--pop); color: #fff; font-weight: 700; padding: 9px 16px; border-radius: 12px; border: var(--line); white-space: nowrap; }

/* ---------- Listing ---------- */
.listing { padding-top: 30px; padding-bottom: 30px; scroll-margin-top: 80px; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.list-head h2 { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.03em; }
#sort { border: var(--line); border-radius: 12px; padding: 9px 12px; background: #fff; font-weight: 700; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 8px 15px; border-radius: 999px; border: var(--line); background: #fff;
  font-weight: 700; font-size: .92rem; transition: transform .12s, background .12s;
}
.chip:hover { transform: translateY(-2px); }
.chip.active { background: var(--ink); color: var(--paper); }
.chip .n { opacity: .55; font-weight: 500; margin-left: 4px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--card); border: var(--line); border-radius: var(--r);
  box-shadow: var(--sh); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .15s, box-shadow .15s;
  animation: cardIn .35s both;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: var(--sh-lg); }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } }
.card-pad { padding: 18px 18px 0; }
.card-top { display: flex; align-items: center; gap: 12px; }
.logo-box {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; border: var(--line);
  background: var(--c, var(--sun)); display: grid; place-items: center; font-size: 1.7rem; overflow: hidden;
}
.logo-box img { width: 100%; height: 100%; object-fit: cover; }
.logo-box .initials { font-family: var(--display); font-weight: 800; color: #fff; font-size: 1.2rem; }
.brand-line { min-width: 0; flex: 1; }
.brand { font-weight: 700; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verified { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--sky); color: #fff; font-size: .7rem; flex: 0 0 18px; }
.cat { font-size: .82rem; color: var(--muted); }
.fav {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.15rem;
  border: 2px solid transparent; transition: transform .15s, border-color .15s; flex: 0 0 40px;
}
.fav:hover { border-color: var(--ink); }
.fav.on { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.35); } }
.badges { position: absolute; top: -2px; right: 58px; display: flex; gap: 6px; }
.hot { background: var(--pop); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px 4px; border: var(--line); border-top: 0; border-radius: 0 0 10px 10px; }
.deal {
  font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1;
  margin: 18px 0 6px;
}
.deal span { background: var(--c, var(--sun)); color: var(--ink); padding: 0 .14em; border-radius: .14em; box-shadow: inset 0 -.32em 0 rgba(255,255,255,.35); }
.card h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 700; }
.card p.desc { font-size: .92rem; color: #4a4558; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tear { position: relative; margin: 18px 0 0; border-top: 2.5px dashed var(--ink); }
.tear::before, .tear::after {
  content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: var(--line);
}
.tear::before { left: -14px; }
.tear::after { right: -14px; }
.card-bottom { padding: 14px 18px 18px; display: flex; align-items: center; gap: 12px; margin-top: auto; }
.meta { font-size: .8rem; color: var(--muted); line-height: 1.35; flex: 1; min-width: 0; }
.meta b { color: var(--ink); }
.meta .warn { color: #D4380D; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  font-weight: 700; padding: 11px 18px; border-radius: 13px; border: var(--line); background: var(--sun);
  box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap;
}
.btn:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(3px,3px); box-shadow: 0 0 0 var(--ink); }
.btn.pink { background: var(--pop); color: #fff; }
.btn.mint { background: var(--mint); }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.white { background: #fff; }
.btn.block { width: 100%; padding: 15px 18px; font-size: 1.05rem; }
.btn[disabled], .btn.wait { pointer-events: none; background: #EDE8DD; color: var(--muted); box-shadow: none; transform: translate(3px,3px); }
.peek { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 700; letter-spacing: .08em; }
.code-unlocked { background: var(--mint); }

/* Contest card */
.contest .visual {
  position: relative; height: 150px; background: var(--c, var(--grape)); border-bottom: var(--line);
  display: grid; place-items: center; font-size: 4.2rem; overflow: hidden;
}
.contest .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contest .visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 45%);
}
.contest .visual .em { position: relative; z-index: 1; filter: drop-shadow(3px 3px 0 rgba(22,19,31,.35)); animation: float 4s ease-in-out infinite; }
.value-tag {
  position: absolute; z-index: 2; left: 14px; bottom: 12px; background: #fff; border: var(--line);
  border-radius: 10px; padding: 3px 10px; font-weight: 700; font-size: .85rem;
}
.free-tag {
  position: absolute; z-index: 2; right: 14px; top: 12px; background: var(--mint); border: var(--line);
  border-radius: 10px; padding: 3px 10px; font-weight: 800; font-size: .8rem; transform: rotate(4deg);
}
.contest .brand-sm { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contest h3 { font-family: var(--display); font-size: 1.3rem; letter-spacing: -.02em; margin-top: 2px; }
.prize { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: .95rem; }
.countdown { display: flex; gap: 6px; margin-top: 14px; }
.cd-box { flex: 1; background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; text-align: center; padding: 5px 0 4px; }
.cd-box b { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cd-box small { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }

.empty { text-align: center; padding: 50px 20px; border: 2.5px dashed var(--ink); border-radius: var(--r); background: rgba(255,255,255,.6); }
.empty-emoji { font-size: 3rem; }
.empty p { font-weight: 700; margin-top: 6px; }

/* ---------- How ---------- */
.how { padding: 40px 20px 60px; }
.how h2 { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 18px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.how-step { background: #fff; border: var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.how-step:nth-child(2) { background: var(--sun); }
.how-step:nth-child(3) { background: var(--mint); }
.how-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.how-step h3 { font-family: var(--display); font-size: 1.25rem; }
.how-step p { color: #3b3648; margin-top: 4px; }

.footer { border-top: var(--line); background: var(--ink); color: var(--paper); padding: 34px 0 40px; }
.footer .logo-a { color: var(--paper); }
.footer .logo-b { box-shadow: 3px 3px 0 var(--sun); border-color: var(--paper); }
.footer p { max-width: 620px; margin-top: 14px; font-size: .9rem; opacity: .8; }
.footer .muted { color: inherit; opacity: .55; }

/* ---------- Bottom nav (mobile) ---------- */
.bottom-nav { display: none; }

/* ---------- Modal / gate ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(22,19,31,.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet {
  position: relative; width: 100%; max-width: 470px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--paper); border: var(--line); border-radius: 24px; box-shadow: var(--sh-lg);
  padding: 26px 22px 22px; animation: sheetIn .28s cubic-bezier(.2,1.3,.4,1);
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 12px; border: var(--line); background: #fff; font-weight: 700; z-index: 2; }
.g-head { display: flex; align-items: center; gap: 14px; padding-right: 44px; }
.g-head .logo-box { width: 58px; height: 58px; flex-basis: 58px; }
.g-head h2 { font-family: var(--display); font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; }
.g-head .cat { margin-top: 2px; }
.g-intro { margin: 18px 0 14px; font-size: .98rem; }
.g-intro b { background: var(--sun); padding: 0 4px; border-radius: 4px; }
.progress { height: 14px; border: var(--line); border-radius: 999px; background: #fff; overflow: hidden; margin-bottom: 16px; }
.progress i { display: block; height: 100%; background: repeating-linear-gradient(-45deg, var(--pop), var(--pop) 10px, #FF6A9C 10px, #FF6A9C 20px); width: 0; transition: width .5s cubic-bezier(.2,1,.3,1); border-right: 2.5px solid var(--ink); }
.progress i.zero { border-right: 0; }
.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px;
  border: var(--line); background: #fff; transition: background .2s;
}
.step.locked { opacity: .5; border-style: dashed; }
.step.done { background: #DFF9EE; }
.step.active { box-shadow: var(--sh); background: #fff; }
.step-n { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; border: var(--line); display: grid; place-items: center; font-weight: 800; font-family: var(--display); background: var(--paper); }
.step.done .step-n { background: var(--mint); }
.step.active .step-n { background: var(--sun); }
.step-txt { flex: 1; min-width: 0; }
.step-txt b { display: block; font-size: .98rem; }
.step-txt small { color: var(--muted); font-size: .8rem; }
.step .btn { padding: 9px 14px; font-size: .92rem; }
.ring { width: 44px; height: 44px; position: relative; flex: 0 0 44px; }
.ring svg { transform: rotate(-90deg); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.g-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* reveal */
.reveal { text-align: center; }
.reveal .g-head { text-align: left; }
.unlocked-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--mint); border: var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .85rem; margin: 20px 0 12px; }
.code-box {
  display: flex; align-items: center; gap: 10px; background: #fff; border: 2.5px dashed var(--ink);
  border-radius: 16px; padding: 10px 10px 10px 18px; margin-bottom: 12px;
}
.code-box code { flex: 1; text-align: left; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 1.45rem; font-weight: 800; letter-spacing: .06em; word-break: break-all; }
.reveal .desc-full { color: #4a4558; font-size: .93rem; margin: 6px 0 16px; text-align: left; }
.reveal .actions { display: flex; flex-direction: column; gap: 10px; }
.cond { text-align: left; background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-size: .85rem; color: #4a4558; margin: 12px 0 16px; }
.cond b { color: var(--ink); }
.share-row { display: flex; gap: 10px; }
.share-row .btn { flex: 1; }

/* confetti */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border: 1.5px solid var(--ink); animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%); z-index: 300;
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 14px; font-weight: 700;
  box-shadow: 4px 4px 0 var(--pop); transition: transform .3s cubic-bezier(.2,1.3,.4,1), opacity .2s, visibility .3s; max-width: calc(100% - 40px); text-align: center;
}
.toast { opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .top-tabs { display: none; }
  .icon-btn { margin-left: auto; }
  .sticker { display: none; }
  .hero { padding: 34px 0 26px; }
  .hero-sub { font-size: 1rem; }
  .how-grid { grid-template-columns: 1fr; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 50;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    background: #fff; border: var(--line); border-radius: 20px; box-shadow: var(--sh); padding: 6px;
  }
  .bn { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: .72rem; font-weight: 700; padding: 6px 0; border-radius: 14px; }
  .bn span { font-size: 1.25rem; line-height: 1.1; transition: transform .2s; }
  .bn.active { background: var(--sun); }
  .bn.active span { transform: scale(1.12); }
  .toast { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .modal { place-items: end center; padding: 0; }
  .sheet {
    max-width: 100%; border-radius: 26px 26px 0 0; border-bottom: 0; max-height: 92vh;
    padding-bottom: calc(22px + env(safe-area-inset-bottom)); animation: sheetUp .32s cubic-bezier(.2,1,.3,1);
  }
  .sheet::before { content: ''; display: block; width: 46px; height: 5px; border-radius: 9px; background: #CFC7B8; margin: -12px auto 14px; }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}
@media (max-width: 520px) {
  .wrap { padding: 0 14px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .banner { flex-wrap: wrap; gap: 10px; }
  .banner-text { flex-basis: 100%; order: 3; }
  .banner-cta { margin-left: auto; }
  .hero-stats { gap: 8px; }
  .hstat { padding: 6px 12px; }
  .hstat b { font-size: 1.15rem; }
  .hstat span { font-size: .8rem; }
  .list-head h2 { font-size: 1.5rem; }
  #sort { padding: 7px 8px; font-size: .88rem; }
  .code-box code { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Icônes SVG ---------- */
.ic { display: inline-block; flex: 0 0 auto; vertical-align: -0.18em; }
.btn .ic, .chip .ic { vertical-align: middle; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-box .ic { color: var(--ink); width: 58%; height: 58%; }
.logo-box .em-txt, .logo-box > span:not(.initials) { font-size: 1.5rem; }
.verified .ic { width: 11px; height: 11px; }
.hot { display: inline-flex; align-items: center; gap: 3px; }
.hot-inline { display: inline-flex; align-items: center; gap: 2px; color: var(--pop); }
.fav { color: var(--ink); }
.fav[aria-pressed="true"] { color: var(--pop); }
.meta .warn { display: inline-flex; align-items: center; gap: 3px; }
.meta-ic { display: flex; align-items: center; gap: 7px; }
.prize .ic { color: #E8A100; }
.hstat { align-items: center; }
.hstat .ic { color: var(--pop); align-self: center; }
.sticker.s3 .ic { color: var(--ink); }
.empty-emoji { display: flex; justify-content: center; color: var(--ink); }
.contest .visual .em-ic {
  position: relative; z-index: 1; width: 96px; height: 96px; display: grid; place-items: center;
  background: #fff; border: var(--line); border-radius: 26px; box-shadow: var(--sh); color: var(--ink);
  transform: rotate(-4deg); animation: float 4s ease-in-out infinite; filter: none;
}
.contest .visual .em-ic .em-txt { font-size: 3rem; }
.step-ok { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); border: 2px solid var(--ink); }
.step-lock { color: var(--muted); display: grid; place-items: center; width: 34px; }
.unlocked-pill .ic, .g-note .ic { vertical-align: -2px; }
.g-note .ic { color: var(--pop); }
.banner-tag { display: inline-flex; align-items: center; gap: 4px; }
.banner-cta { display: inline-flex; align-items: center; gap: 6px; }
.sheet-close { display: grid; place-items: center; }
.bn span { display: grid; place-items: center; height: 26px; }
.bn.active span { color: var(--ink); }
.bn[data-tab="favs"].active .ic { fill: var(--pop); color: var(--ink); }
.code-unlocked .ic { margin-right: -2px; }

/* ---------- Offres « lien promo » ---------- */
.kind-link { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: var(--sky); }
a.btn.code-unlocked { color: var(--ink); }
.link-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 700; font-size: .92rem; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 9px 12px; margin-bottom: 4px; }
.link-note .ic { color: #12A877; }

/* ---------- Accueil : barre d'onglets + sections ---------- */
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.seg-tabs { display: flex; gap: 4px; background: #fff; border: var(--line); border-radius: 16px; padding: 4px; box-shadow: var(--sh); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg-tabs::-webkit-scrollbar { display: none; }
.seg-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 11px; font-weight: 700; white-space: nowrap; transition: background .15s; }
.seg-tab:hover { background: var(--paper); }
.seg-tab.active { background: var(--ink); color: var(--paper); }
.sort-box { display: inline-flex; align-items: center; gap: 8px; border: var(--line); border-radius: 12px; padding: 0 4px 0 12px; background: #fff; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.sort-box #sort { border: 0; box-shadow: none; padding: 10px 6px; background: transparent; outline: none; }
.list-head h2 { display: flex; align-items: center; gap: 10px; }
.list-head .count:empty { display: none; }
.list-head .count {
  font-family: var(--font); font-size: .95rem; font-weight: 700; background: var(--sun); border: 2px solid var(--ink);
  border-radius: 999px; padding: 1px 10px; letter-spacing: 0;
}
.sec-promos { margin-top: 46px; padding-top: 30px; border-top: 2.5px dashed var(--ink); }
.sec-promos.alone { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 860px) {
  .top-tabs { display: none; }
  .bottom-nav { grid-template-columns: repeat(5, 1fr); }
  .bn { font-size: .66rem; }
}
@media (max-width: 520px) {
  .list-bar { gap: 10px; }
  .seg-tabs { width: 100%; }
  .seg-tab { padding: 8px 12px; font-size: .9rem; flex: 1 0 auto; justify-content: center; }
  .sort-box { margin-left: auto; }
}
@media (max-width: 520px) {
  .seg-tab .lg { display: none; }
  .seg-tab { padding: 8px 8px; gap: 5px; font-size: .86rem; }
  .seg-tabs { gap: 2px; }
}
@media (max-width: 420px) {
  .seg-tab .ic { display: none; }
  .seg-tab { padding: 8px 6px; }
}
