/* antireal.css · the Antireal demo (demos/antireal.js): the day's one dual-camera moment, posted to your ten.
   Colours, sizes and words from the app's source (Diem/Design/Theme.swift, CornerDock.swift, Capture/CaptureView.swift,
   CaptureReviewView.swift, Social/SocialFeedView.swift, ActionRail.swift): pure black, coral #ff7361, serif titles.
   Only transform and opacity move. */
.d-antireal { position: absolute; inset: 0; overflow: hidden; background: #000; color: #fff;
  font-family: -apple-system, "SF Pro Text", "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.d-antireal *, .d-antireal *::before, .d-antireal *::after { box-sizing: border-box; margin: 0; }
.d-antireal .ar-a { position: absolute; }
.d-antireal svg { display: block; fill: currentColor; }
.d-antireal .ar-serif { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.02em; }

/* ---------- the drawn cameras (no photos: soft gradients and shapes, like the app's own mocks) ---------- */
.d-antireal .ar-back { position: absolute; inset: 0; overflow: hidden;
  background: linear-gradient(180deg, #f39a63 0%, #ec7f5f 26%, #d4636a 46%, #a9527a 58%, #6f4677 66%); }
.d-antireal .ar-back > i { position: absolute; display: block; }
.d-antireal .ar-sun { left: 54%; top: 37%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%;
  background: radial-gradient(circle, #fff1c9 0 15%, rgba(255, 216, 160, .75) 17%, rgba(255, 190, 140, .25) 38%, rgba(255, 170, 130, 0) 70%); }
.d-antireal .ar-sea { left: -10%; right: -10%; top: 62%; bottom: 0;
  background: linear-gradient(180deg, #8c5a86 0%, #4c4b80 18%, #2c3466 55%, #1a1f42 100%); }
.d-antireal .ar-glint { left: 54%; top: 62%; width: 90px; height: 38%; margin-left: -45px; opacity: .7;
  background: repeating-linear-gradient(180deg, rgba(255, 220, 170, .7) 0 3px, transparent 3px 11px);
  -webkit-mask: linear-gradient(180deg, #000, transparent 85%); mask: linear-gradient(180deg, #000, transparent 85%); }
.d-antireal .ar-hill { left: -12%; top: 56.5%; width: 62%; height: 12%; border-radius: 50% 60% 0 0 / 100% 100% 0 0; background: #3b2a4e; }
.d-antireal .ar-front { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(170deg, #7a5566 0%, #48334a 55%, #2a1f30 100%); }
.d-antireal .ar-front > i { position: absolute; display: block; left: 50%; }
.d-antireal .ar-head { top: 26%; width: 46%; height: 34%; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #e8b39a, #c98a78 60%, #a86f68); }
.d-antireal .ar-body { top: 64%; width: 96%; height: 60%; transform: translateX(-50%); border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: linear-gradient(180deg, #2d3a5c, #1d2440); }

/* ---------- Today: the feed ---------- */
.d-antireal .ar-top { left: 18px; right: 16px; top: 60px; height: 52px; display: flex; align-items: center; gap: 10px; z-index: 6; }
.d-antireal .ar-date { flex: 1; font-size: 34px; line-height: 1; white-space: nowrap; }
.d-antireal .ar-pill { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 20px;
  background: #1f1f22; font: 700 15px/1 -apple-system, "SF Pro Text", "Geist", system-ui, sans-serif; }
.d-antireal .ar-pill svg { width: 19px; height: 19px; }
.d-antireal .ar-gear { width: 44px; height: 44px; border-radius: 50%; background: #1f1f22; display: grid; place-items: center; }
.d-antireal .ar-gear svg { width: 22px; height: 22px; fill: #b8b8bd; }

.d-antireal .ar-who { left: 22px; top: 122px; display: flex; align-items: baseline; gap: 8px; }
.d-antireal .ar-who b { font-size: 21px; font-weight: 800; }
.d-antireal .ar-who span { font-size: 15px; font-weight: 600; color: #a3a3a3; }
.d-antireal .ar-card { left: 22px; top: 156px; width: 349px; height: 566px; border-radius: 28px; overflow: hidden; background: #1c1c1e; }
.d-antireal .ar-card .ar-back { transform: scale(1.08); }
.d-antireal .ar-cpip { left: 12px; top: 12px; width: 108px; height: 144px; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.d-antireal .ar-shade { left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .45)); }
.d-antireal .ar-rail { right: 12px; bottom: 34px; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.d-antireal .ar-rb { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(40, 24, 36, .5); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22), 0 3px 10px rgba(0, 0, 0, .3); }
.d-antireal .ar-rb svg { width: 28px; height: 28px; }
.d-antireal .ar-rb.ar-coral { background: #ff7361; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); }
.d-antireal .ar-rb.ar-coral svg { width: 32px; height: 32px; }
.d-antireal .ar-emo { position: absolute; font-size: 26px; line-height: 1; top: 50%; left: 50%; margin: -14px 0 0 -14px; width: 28px; text-align: center; }
.d-antireal .ar-n { position: absolute; left: 0; right: 0; top: 62px; text-align: center; font-size: 16px; font-weight: 800; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.d-antireal .ar-n i { position: absolute; left: 0; right: 0; font-style: normal; }
.d-antireal .ar-reps { left: 16px; bottom: 20px; width: 200px; height: 92px; }
.d-antireal .ar-new { left: 0; top: 0; height: 28px; padding: 0 12px; border-radius: 14px; background: #ff7361;
  font: 800 15px/28px -apple-system, "SF Pro Text", "Geist", system-ui, sans-serif; white-space: nowrap; }
.d-antireal .ar-rep { top: 38px; width: 54px; height: 54px; border-radius: 50%; padding: 3px; background: #ff7361; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.d-antireal .ar-rep > i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #1b1117; }
.d-antireal .ar-rep > b { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: #111;
  display: grid; place-items: center; box-shadow: 0 0 0 2px #ff7361; }
.d-antireal .ar-rep > b svg { width: 11px; height: 11px; margin-left: 2px; }

/* the locked curtain: Post yours to see theirs */
.d-antireal .ar-lock { inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, .3), rgba(0, 0, 0, .74)), radial-gradient(120% 70% at 30% 30%, #e07f6c, rgba(224, 127, 108, 0) 70%),
    linear-gradient(160deg, #d7766c 0%, #a5566f 46%, #573062 100%); }
.d-antireal .ar-lock svg.ar-lk { width: 30px; height: 30px; margin-top: 286px; opacity: .92; }
.d-antireal .ar-lock h2 { margin-top: 18px; font-size: 44px; line-height: 1.04; padding: 0 30px; }
.d-antireal .ar-post { position: absolute; left: 50%; top: 652px; height: 60px; margin-left: -100px; width: 200px; border-radius: 30px; background: #fff; color: #000;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; font-weight: 800; }
.d-antireal .ar-post svg { width: 22px; height: 22px; }

/* the tab bar */
.d-antireal .ar-tabs { left: 18px; right: 18px; top: 766px; height: 66px; border-radius: 33px; z-index: 6; display: flex; padding: 5px;
  background: #151517; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.d-antireal .ar-tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 12px; font-weight: 600; color: #fff; border-radius: 28px; }
.d-antireal .ar-tab svg { width: 27px; height: 27px; position: relative; }
.d-antireal .ar-tab span { position: relative; }
.d-antireal .ar-tab .ar-hl { position: absolute; inset: 0; border-radius: 28px; background: #2a2a2d; }
.d-antireal .ar-tab.ar-on { color: #ff7361; }

/* ---------- Capture: the camera, then the review ---------- */
.d-antireal .ar-cap { inset: 0; z-index: 10; background: #000; }
.d-antireal .ar-cam { left: 0; top: 0; width: 393px; height: 852px; border-radius: 47px; overflow: hidden; transform-origin: 196.5px 426px; }
.d-antireal .ar-carve { right: 0; bottom: 0; width: 156px; height: 209px; background: #000; border-top-left-radius: 26px; }
.d-antireal .ar-fil { width: 16px; height: 16px; background: radial-gradient(circle at 0 0, transparent 15.5px, #000 16px); }
.d-antireal .ar-fil1 { right: 0; bottom: 209px; }
.d-antireal .ar-fil2 { right: 156px; bottom: 0; }
.d-antireal .ar-pip { right: 0; bottom: 0; width: 152px; height: 205px; overflow: hidden; border-radius: 22px 10px 42px 10px; }
.d-antireal .ar-ring { left: 50%; top: 58px; width: 104px; height: 38px; margin-left: -52px; border-radius: 19px; background: #ff7361;
  display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.d-antireal .ar-ring svg { width: 16px; height: 16px; }
.d-antireal .ar-x { right: 20px; top: 57px; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); display: grid; place-items: center; }
.d-antireal .ar-x svg { width: 16px; height: 16px; }
.d-antireal .ar-zoom { left: 50px; top: 600px; width: 293px; height: 22px;
  background: linear-gradient(90deg, #ff7361 0 3px, transparent 3px), repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 2px, transparent 2px 11.6px);
  -webkit-mask: linear-gradient(180deg, transparent 0 40%, #000 40%); mask: linear-gradient(180deg, transparent 0 40%, #000 40%); }
.d-antireal .ar-zoom::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .9) 0 2px, transparent 2px 58px); }
.d-antireal .ar-shut { left: 28px; top: 708px; width: 116px; height: 116px; border-radius: 50%; box-shadow: inset 0 0 0 6px #fff, 0 4px 18px rgba(0, 0, 0, .3); }
.d-antireal .ar-core { left: 11px; top: 11px; width: 94px; height: 94px; border-radius: 50%; background: #ff3b30; }
.d-antireal .ar-sq { left: 35px; top: 35px; width: 46px; height: 46px; border-radius: 10px; background: #ff3b30; }

.d-antireal .ar-dest { top: 290px; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 4px;
  font-size: 17px; font-weight: 800; line-height: 1.1; text-align: center; }
.d-antireal .ar-dest svg { width: 24px; height: 24px; }
.d-antireal .ar-dest small { font-size: 12px; font-weight: 500; color: #a3a3a3; line-height: 1.15; }
.d-antireal .ar-dest .ar-box { position: absolute; inset: 0; border-radius: 20px; background: rgba(20, 14, 20, .62); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .9); }
.d-antireal .ar-dl { left: 2px; transform-origin: 0 50%; } .d-antireal .ar-dr { right: 4px; transform-origin: 100% 50%; }
.d-antireal .ar-say { left: 20px; right: 20px; top: 702px; text-align: center; font-size: 18px; font-weight: 700; line-height: 1.3; text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.d-antireal .ar-again { left: 50%; top: 764px; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: #2a2a2d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); display: grid; place-items: center; }
.d-antireal .ar-again svg { width: 22px; height: 22px; }

/* ---------- the finger ---------- */
.d-antireal .ar-f { left: -32px; top: -32px; width: 64px; height: 64px; z-index: 40; pointer-events: none; }
.d-antireal .ar-f i { position: absolute; inset: 0; border-radius: 50%; }
.d-antireal .ar-f .ar-fd { background: rgba(255, 255, 255, .32); box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .85), 0 6px 18px rgba(0, 0, 0, .35); }
.d-antireal .ar-f .ar-fr { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .8); opacity: 0; }
