/* ADSTA PWA 0.7.2 — Home redesign styles (chip header, picture feed, centre AD, Ask AD overlay).
   Spiced Cherry & Cream tokens from styles.css. Prefix x- avoids clashes with 0.7.1 rules. */

/* ---------- header over the feed ---------- */
.topbar.x-over { position: absolute; inset: 0 0 auto 0; background: linear-gradient(180deg, rgba(14,4,5,.62), rgba(14,4,5,0)); backdrop-filter: none; padding-bottom: 26px; z-index: 25; flex-wrap: nowrap; }
.topbar.x-over .wordmark { color: #fff; }
.topbar.x-over .top-right { flex: 1; min-width: 0; }
.x-stats { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 6px; width: 100%; }
.x-stat { display: flex; flex-direction: column; gap: 1px; min-width: 0; text-align: left; padding: 5px 9px; border-radius: 12px; cursor: pointer; font: inherit; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .12s; }
.x-stat:active { transform: scale(.96); }
.x-stat-l { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-stat-v { font-size: 15.5px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; display: flex; align-items: baseline; gap: 4px; }
.x-delta { font-style: normal; font-size: 10px; font-weight: 700; color: #7CF0B0; animation: xpop .5s ease both; }
.x-stat.bump .x-stat-v { animation: xbump .6s ease; }
@keyframes xpop { from { transform: translateY(4px) scale(.6); opacity: 0; } }
@keyframes xbump { 40% { transform: scale(1.16); } }
.x-logout { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 12px; font-weight: 600; color: var(--cherry); cursor: pointer; box-shadow: var(--shadow); }
.x-logout:active { transform: scale(.97); }
@media (max-width: 360px) { .x-stat-l { font-size: 7px; } .x-stat-v { font-size: 14px; } .x-stat { padding: 4px 7px; } }

/* ---------- tab bar with raised centre AD ---------- */
.tabbar.x-dark { background: rgba(14,4,5,.88); border-top-color: rgba(255,255,255,.08); }
.tabbar.x-dark .tab { color: rgba(255,255,255,.55); }
.tabbar.x-dark .tab.on { color: #fff; }
.x-tab-ad { display: grid; justify-items: center; align-content: start; height: 100%; }
.x-ad-btn { position: relative; width: 60px; height: 60px; margin-top: -26px; border-radius: 50%; border: 4px solid var(--bg); padding: 0; cursor: pointer;
  background: linear-gradient(150deg, #D4161A, var(--inferno) 55%, var(--cherry)); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(170,0,3,.38); touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: transform .15s; }
.tabbar.x-dark .x-ad-btn { border-color: #140405; }
.x-ad-btn:active { transform: scale(.92); }
.x-ad-btn::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,107,107,.55); animation: xring 2.6s ease-out infinite; pointer-events: none; }
@keyframes xring { 0% { transform: scale(.95); opacity: .9; } 70%, 100% { transform: scale(1.35); opacity: 0; } }
.x-ad-core { font-size: 15px; font-weight: 700; letter-spacing: .05em; }
.x-ad-mic { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--inferno); display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.x-ad-lbl { font-size: 8.5px; letter-spacing: .05em; text-transform: uppercase; font-weight: 700; color: var(--inferno); margin-top: 3px; }
.tabbar.x-dark .x-ad-lbl { color: #fff; }

/* ---------- feed ---------- */
.x-loading { position: absolute; inset: 0; display: grid; place-items: center; background: #160506; }
.x-rail { background: #160506; }
.x-card { position: relative; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; background: #1a0b0c; color: #fff; -webkit-user-select: none; user-select: none; }
.x-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(10,0,1,.8) 100%); }
.x-scrim.deep { background: linear-gradient(180deg, rgba(20,0,2,.35), rgba(20,0,2,.85)); }
.x-kind { position: absolute; top: 92px; left: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; background: rgba(170,0,3,.9); color: #fff; z-index: 2; }
.x-kind i { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: block; }
.x-kind.dark { background: rgba(43,39,40,.75); }
.x-kind.light { background: rgba(255,237,213,.95); color: var(--cherry); }
.x-kind.light i { background: var(--inferno); }
.x-kind.static { position: static; align-self: flex-start; }
.x-side { position: absolute; right: 10px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom,0px) + 150px); display: grid; gap: 14px; justify-items: center; z-index: 3; }
.x-act { background: none; border: 0; display: grid; justify-items: center; gap: 3px; font: inherit; font-size: 10.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); padding: 0; min-width: 44px; cursor: pointer; }
.x-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .15s; }
.x-act:active .x-ic { transform: scale(.88); }
.x-ic svg { width: 21px; height: 21px; }
.x-act.on .x-ic { color: #FF6B6B; }
.x-act.on .x-ic svg { fill: currentColor; }
.x-meta { position: absolute; left: 16px; right: 74px; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom,0px) + 22px); display: grid; gap: 6px; z-index: 2; }
.x-meta.wide { right: 16px; }
.x-where { font-size: 11.5px; opacity: .9; display: flex; align-items: center; gap: 6px; }
.x-meta h2 { margin: 0; font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; text-wrap: pretty; text-shadow: 0 1px 14px rgba(0,0,0,.45); color: #fff; }
.x-social { font-size: 11.5px; opacity: .92; display: flex; align-items: center; gap: 7px; }
.x-faces { display: inline-flex; }
.x-faces b { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(20,4,6,.9); margin-left: -6px; background: #FFC9A8; }
.x-faces b:first-child { margin-left: 0; background: #D9B8B2; } .x-faces b:last-child { background: #9EC5E8; }
.x-nudge { justify-self: start; font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.x-nudge em { font-style: normal; color: #FFC9A8; }
.x-ci { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border: 0; border-radius: 14px; cursor: pointer; font: inherit;
  background: var(--inferno); color: #fff; font-weight: 700; font-size: 14.5px; box-shadow: 0 10px 26px rgba(170,0,3,.45); transition: transform .12s; }
.x-ci:active { transform: scale(.98); }
.x-ci:disabled { cursor: default; }
.x-ci.done, .x-ci.soft { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.x-cr { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.2); }
.x-link { background: none; border: 0; color: rgba(255,255,255,.85); font: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; justify-self: center; padding: 4px; }
.x-verif { justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.35); }
.x-verif.ok { background: rgba(31,138,91,.85); }
.x-verif.bad { background: rgba(170,0,3,.7); }
.x-spin { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: xrot .8s linear infinite; vertical-align: -2px; }
.x-spin.dark { border-color: var(--line); border-top-color: var(--inferno); }
@keyframes xrot { to { transform: rotate(360deg); } }
.x-chal { display: grid; gap: 8px; }
.x-steps { display: flex; gap: 6px; }
.x-steps span { flex: 1; height: 62px; border-radius: 10px; overflow: hidden; position: relative; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; font-size: 18px; }
.x-steps span img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-steps span small { position: absolute; left: 0; right: 0; bottom: 0; font-size: 9px; font-weight: 600; padding: 2px 4px; background: rgba(0,0,0,.45); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-steps span.todo { border-style: dashed; background: rgba(255,255,255,.08); }
.x-steps span.ok::after { content: "✓"; position: absolute; right: 4px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #1F8A5B; font-size: 10px; display: grid; place-items: center; font-weight: 700; }
.x-bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.x-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FFC9A8, #FF6B6B); border-radius: inherit; transition: width .4s; }
.x-ai-card .x-bar { background: var(--line); margin-top: 10px; }
.x-row { display: flex; justify-content: space-between; font-size: 11.5px; opacity: .92; }
.x-end { display: grid; place-items: center; text-align: center; background: linear-gradient(170deg, #2b0a0c, var(--cherry) 60%, var(--inferno)); }
.x-endin { display: grid; gap: 10px; justify-items: center; padding: 0 34px calc(var(--tab-h) + 10px); }
.x-endin h2 { margin: 0; font-size: 22px; color: #fff; }
.x-endin p { margin: 0; font-size: 13px; opacity: .85; max-width: 28ch; }
.x-ghost { background: rgba(255,255,255,.14) !important; border-color: rgba(255,255,255,.3) !important; color: #fff !important; }
.x-dots { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); display: grid; gap: 5px; z-index: 4; pointer-events: none; }
.x-dots i { width: 3px; height: 10px; border-radius: 3px; background: rgba(255,255,255,.35); transition: all .2s; }
.x-dots i.on { height: 22px; background: #fff; }
.x-heart { position: absolute; z-index: 6; width: 96px; height: 96px; margin: -48px 0 0 -48px; color: #FF6B6B; pointer-events: none; animation: xheart .8s ease forwards; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
@keyframes xheart { 0% { transform: scale(.3) rotate(-12deg); opacity: 0; } 25% { transform: scale(1.15) rotate(-6deg); opacity: 1; } 70% { transform: scale(1) rotate(-6deg); opacity: 1; } 100% { transform: scale(1.2) translateY(-60px); opacity: 0; } }
.x-reward { position: absolute; inset: 0; display: grid; place-items: center; z-index: 8; pointer-events: none; }
.x-rbox { display: grid; justify-items: center; gap: 4px; padding: 22px 26px; border-radius: 22px; color: #fff; background: rgba(20,4,6,.6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.18); animation: xrin .5s cubic-bezier(.2,1.4,.4,1) both, xrout .4s ease 1.9s forwards; }
.x-tick { width: 54px; height: 54px; border-radius: 50%; background: #1F8A5B; display: grid; place-items: center; font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.x-rbox strong { font-size: 30px; font-weight: 700; }
.x-rbox small { font-size: 12px; opacity: .88; }
.x-rows { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; justify-content: center; }
.x-rows span { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.14); }
@keyframes xrin { from { transform: scale(.6); opacity: 0; } }
@keyframes xrout { to { transform: scale(.94) translateY(-10px); opacity: 0; } }
.pulse { z-index: 70 !important; }

/* ---------- sheets ---------- */
.x-rank { display: grid; grid-template-columns: 20px 90px 1fr 28px; align-items: center; gap: 8px; padding: 8px 0; font-size: 12px; }
.x-rank + .x-rank { border-top: 1px solid var(--line); }
.x-rank .pos { font-weight: 700; color: var(--muted); }
.x-rank.mine { font-weight: 700; color: var(--cherry); }
.x-rank b { text-align: right; font-variant-numeric: tabular-nums; }
.x-gap { display: flex; align-items: center; padding: 11px 12px; border-radius: 14px; background: var(--papaya); color: var(--cherry); font-size: 12.5px; margin-bottom: 12px; }
.x-gap.ok { background: #E9F5EE; color: #1F8A5B; }
.x-big { font-size: 34px; font-weight: 700; color: var(--cherry); line-height: 1; font-variant-numeric: tabular-nums; }
.x-big small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.x-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.x-week span { display: grid; justify-items: center; gap: 4px; font-size: 10px; color: var(--muted); }
.x-week i { width: 26px; height: 26px; border-radius: 50%; background: #F3EBE7; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; font-weight: 700; }
.x-week .ok i { background: var(--inferno); }
.x-week .today i { background: #fff; border: 2px dashed var(--inferno); }
.x-week .frz i { background: #9EC5E8; }
.x-hist { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; font: inherit; cursor: pointer; }
.x-hist strong { display: block; font-size: 13px; }
.x-hist small { display: block; font-size: 11.5px; color: var(--muted); }
.x-chev { font-size: 20px; color: var(--muted); }

/* ---------- Ask AD overlay ---------- */
.x-ai { position: absolute; inset: 0; z-index: 60; color: #fff; display: flex; flex-direction: column; background: #120304; overflow: hidden; animation: xaiin .32s cubic-bezier(.2,.9,.3,1) both; }
@keyframes xaiin { from { clip-path: circle(0% at 50% 100%); } to { clip-path: circle(150% at 50% 100%); } }
.x-ai-cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.x-ai-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 55% at 50% 100%, rgba(170,0,3,.55), rgba(18,3,4,0) 70%), #160506; }
.x-ai.cam .x-ai-bg { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 22%, rgba(0,0,0,0) 55%, rgba(0,0,0,.75)); }
.x-ai-frame { position: absolute; left: 12%; right: 12%; top: 26%; height: 36%; pointer-events: none; }
.x-ai-frame i { position: absolute; width: 28px; height: 28px; border: 3px solid #fff; }
.x-ai-frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.x-ai-frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.x-ai-frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.x-ai-frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.x-ai-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top,0px) + 16px) 14px 8px; }
.x-ai-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 15px; cursor: pointer; }
.x-ai-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.x-ai-title b { width: 24px; height: 24px; border-radius: 50%; background: var(--inferno); display: grid; place-items: center; font-size: 9px; }
.x-ai-rec { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; background: rgba(170,0,3,.9); font-variant-numeric: tabular-nums; }
.x-ai-rec i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: xblink 1s infinite; }
@keyframes xblink { 50% { opacity: .2; } }
.x-ai-thread { position: relative; z-index: 2; flex: 1; overflow-y: auto; padding: 8px 16px 12px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: none; }
.x-ai-hello { margin-top: auto; }
.x-ai-hello h2 { margin: 0 0 8px; font-size: 25px; line-height: 1.18; font-weight: 700; color: #fff; }
.x-ai-hello p { margin: 0; font-size: 13px; opacity: .75; max-width: 32ch; color: #fff; }
.x-bub { max-width: 88%; font-size: 13.5px; line-height: 1.45; padding: 10px 13px; border-radius: 18px; }
.x-bub:first-child { margin-top: auto; }
.x-bub.me { align-self: flex-end; background: var(--inferno); border-bottom-right-radius: 6px; }
.x-bub.ai { align-self: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); border-bottom-left-radius: 6px; }
.x-dots3 { display: inline-flex; gap: 4px; }
.x-dots3 i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: xblink 1s infinite; }
.x-dots3 i:nth-child(2) { animation-delay: .2s; } .x-dots3 i:nth-child(3) { animation-delay: .4s; }
.x-slots { display: grid; gap: 6px; margin-top: 10px; }
.x-slot { display: flex; align-items: center; gap: 10px; background: #fff; color: var(--charcoal); border-radius: 14px; padding: 7px 8px 7px 7px; }
.x-slot img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.x-slot .t { flex: 1; min-width: 0; }
.x-slot strong { display: block; font-size: 12.5px; }
.x-slot small { display: block; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-ai-bottom { position: relative; z-index: 2; margin-top: auto; padding: 0 16px calc(env(safe-area-inset-bottom,0px) + 16px); display: grid; gap: 12px; }
.x-ai-heard { justify-self: center; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; padding: 10px 16px; border-radius: 16px; background: rgba(0,0,0,.35); }
.x-wave { display: inline-flex; gap: 3px; align-items: center; height: 16px; }
.x-wave i { width: 3px; height: 100%; border-radius: 3px; background: #FF6B6B; animation: xwave .9s ease-in-out infinite; }
.x-wave i:nth-child(2) { animation-delay: .1s; } .x-wave i:nth-child(3) { animation-delay: .2s; } .x-wave i:nth-child(4) { animation-delay: .3s; } .x-wave i:nth-child(5) { animation-delay: .4s; }
@keyframes xwave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.x-ai-sugg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.x-ai-sugg button { flex: none; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 12px; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.x-ai-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; }
.x-ai-side { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; display: grid; place-items: center; cursor: pointer; }
.x-ai-side.on { background: #fff; color: var(--inferno); }
.x-ai-mic { width: 80px; height: 80px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(150deg, #D4161A, var(--inferno) 55%, var(--cherry)); color: #fff; font: inherit; font-size: 20px; font-weight: 700; letter-spacing: .05em;
  box-shadow: 0 0 0 6px rgba(255,255,255,.1), 0 14px 30px rgba(170,0,3,.5); }
.x-ai-mic.on { animation: xmic 1.2s ease-in-out infinite; }
@keyframes xmic { 0%, 100% { box-shadow: 0 0 0 6px rgba(255,107,107,.25), 0 14px 30px rgba(170,0,3,.5); } 50% { box-shadow: 0 0 0 18px rgba(255,107,107,.12), 0 14px 30px rgba(170,0,3,.5); } }
.x-ai-shutter { width: 78px; height: 78px; border-radius: 50%; border: 5px solid #fff; background: transparent; padding: 5px; cursor: pointer; }
.x-ai-shutter i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: all .2s; }
.x-ai-shutter.vid i { background: var(--inferno); }
.x-ai-shutter.rec i { border-radius: 8px; transform: scale(.5); }
.x-ai-type input { width: 100%; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: #fff; padding: 0 14px; font: inherit; font-size: 13px; outline: none; }
.x-ai-type input::placeholder { color: rgba(255,255,255,.5); }
.x-ai-modes { display: flex; justify-content: center; gap: 22px; }
.x-ai-modes button { background: none; border: 0; color: rgba(255,255,255,.55); font: inherit; font-size: 13px; font-weight: 600; padding: 4px 2px; position: relative; cursor: pointer; }
.x-ai-modes button.on { color: #fff; }
.x-ai-modes button.on::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #FF6B6B; }
.x-ai-result { position: relative; z-index: 2; margin-top: auto; padding: 0 14px calc(env(safe-area-inset-bottom,0px) + 18px); }
.x-ai-card { background: #fff; color: var(--charcoal); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.x-ai-card strong { font-size: 16px; }

/* ---------- Engage: take a picture / video of what you use ---------- */
.screen-engage { padding-bottom: 24px; }
.eg-h { font-size: 24px; line-height: 1.15; margin: 2px 0 6px; }
.eg-lede { margin: 0 0 14px; }
.eg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eg-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 14px; border-radius: 18px; border: 0;
  background: linear-gradient(160deg, #AA0003, #6E0002); color: #fff; text-align: left; box-shadow: 0 8px 22px rgba(170,0,3,.28); }
.eg-cta.vid { background: linear-gradient(160deg, #6B4FB3, #3E2B78); box-shadow: 0 8px 22px rgba(107,79,179,.28); }
.eg-cta .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); margin-bottom: 6px; }
.eg-cta b { font-size: 15px; }
.eg-cta small { font-size: 11.5px; opacity: .85; }
.eg-cta:active { transform: scale(.97); }
.eg-earn { margin-top: 14px; border: 1px solid var(--line, #EDE6E2); border-radius: 16px; padding: 12px 14px; background: #fff; }
.eg-row { display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: baseline; padding: 6px 0; }
.eg-row span { grid-row: span 2; font-size: 18px; }
.eg-row small { color: #8A8384; font-size: 12px; }
.eg-recent { margin-top: 16px; }
.eg-rh { display: flex; align-items: center; justify-content: space-between; }
.eg-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.eg-post { position: relative; aspect-ratio: 3 / 4; border: 0; border-radius: 12px; overflow: hidden; padding: 0; background: #1a0b0c; color: #fff; text-align: left; }
.eg-post img, .eg-post video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eg-post i { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 11px; background: rgba(0,0,0,.5); border-radius: 999px; padding: 2px 6px; }
.eg-post span { position: absolute; left: 6px; right: 6px; bottom: 18px; font-size: 11px; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eg-post em { position: absolute; left: 6px; bottom: 5px; font-style: normal; font-size: 10px; background: rgba(0,0,0,.45); border-radius: 999px; padding: 1px 6px; }
.eg-post em.ok { background: rgba(30,138,62,.85); }
