/* zikrist.com round 4: the "hive" group (hive, dua), both in Dark. The Hive page is round 2's (day/screens-hive.css):
   the Dark palette (palette.ts), #15171B surfaces with the bend's warm white on their top edge, the hopeful rose on
   a received dua. Every size is the app's, in its 402 x 874 points. */

/* ---- the Hive page in Dark (both chapters) --------------------------------------------------------------- */
.r3-hive-page { position: absolute; inset: 0; overflow: hidden; background: #0B0C0F; color: #F4F5F7; font-family: var(--zk-sans); }
.r3-hive-page * { box-sizing: border-box; }
.r3-hive-page svg { display: block; overflow: visible; }
.r3-hive-seat { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12); border-top-color: rgba(243, 227, 204, 0.22); background: #15171B; color: #F4F5F7; }
.r3-hive-seat svg { width: 20px; height: 20px; }
/* HeaderBeam: a 1 pt line of the beam's light, 0.5 at its centre, and a 12 pt halo. */
.r3-hive-beam { position: absolute; left: 0; right: 0; top: 134px; height: 1px; pointer-events: none;
  background: linear-gradient(to right, rgba(255, 247, 234, 0), rgba(255, 247, 234, 0.5) 50%, rgba(255, 247, 234, 0)); }
.r3-hive-beam::before { content: ""; position: absolute; left: 30%; right: 30%; top: -5.5px; height: 12px;
  background: radial-gradient(ellipse closest-side, rgba(255, 247, 234, 0.28), rgba(255, 247, 234, 0)); }

.r3-hive-body { position: absolute; left: 24px; right: 24px; top: 151px; }
.r3-hive-place { position: relative; height: 180px; }
.r3-hive-dots { position: absolute; left: 0; right: 0; top: 192px; display: flex; justify-content: center; gap: 4px; height: 14px; align-items: center; }
.r3-hive-dot { width: 6px; height: 6px; margin: 4px; border-radius: 3px; background: #8E939C; flex: none; }
.r3-hive-dot.r3-hive-on { width: 16px; background: #F4F5F7; }
.r3-hive-dot.r3-hive-game { background: transparent; border: 1px solid #8E939C; }
.r3-hive-head { position: absolute; left: 0; right: 0; top: 230px; min-height: 40px; display: flex; align-items: center;
  font: 400 20px/26px Georgia, "Times New Roman", serif; color: #F4F5F7; }
.r3-hive-rows { position: absolute; left: 0; right: 0; top: 270px; }

/* A dua card (DuaCardView.tsx): 180 tall, 24 corners, #15171B, its light in the top-left, two answers.
   --lit (0..1) is the card's moment in front: its edge and light swell. */
.r3-hive-card { position: absolute; left: 0; right: 0; top: 0; height: 180px; overflow: hidden; border-radius: 24px; --lit: 0;
  border: 0.5px solid var(--edge);
  background: radial-gradient(ellipse 90% 110% at 0% 0%, var(--glow) 0%, rgba(0, 0, 0, 0) 65%), #15171B;
  box-shadow: inset 0 1px 0 rgba(243, 227, 204, calc(0.14 + var(--lit) * 0.3)),
    0 0 calc(var(--lit) * 34px) calc(var(--lit) * 2px) rgba(239, 183, 201, calc(var(--lit) * 0.32)); }
.r3-hive-card.r3-hive-rose { --shade: #EFB7C9; --ink: #F8B9D3; --edge: rgba(239, 183, 201, 0.42); --glow: rgba(239, 183, 201, 0.13); --line: rgba(239, 183, 201, 0.4); }
.r3-hive-card.r3-hive-cream { --shade: #F3E3CC; --ink: #F3E3CC; --edge: rgba(243, 227, 204, 0.35); --glow: rgba(243, 227, 204, 0.13); --line: rgba(243, 227, 204, 0.4); }
.r3-hive-in { position: absolute; left: 0; right: 0; top: 0; min-height: 180px; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.r3-hive-chead { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.r3-hive-lead { flex: 1; min-width: 0; font-size: 14px; line-height: 20px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r3-hive-lead b { font-weight: 600; color: #F4F5F7; }
.r3-hive-when { font-size: 12px; line-height: 16px; color: #8E939C; flex: none; }
.r3-hive-close { width: 28px; height: 28px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(236, 238, 242, 0.08); color: #C9CDD3; }
.r3-hive-close svg { width: 12px; height: 12px; }
.r3-hive-text { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.r3-hive-ar { font: 22px/40px var(--zk-arabic); direction: rtl; text-align: right; color: #F4F5F7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r3-hive-tr { font: italic 400 16px/22px Georgia, "Times New Roman", serif; color: #C9CDD3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r3-hive-acts { display: flex; justify-content: center; gap: 8px; }
.r3-hive-btn { position: relative; height: 40px; border-radius: 14px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; flex: none; color: #F4F5F7;
  border: 1px solid var(--line); background: rgba(236, 238, 242, 0.08);
  box-shadow: 0 0 calc(var(--glow, 0) * 24px) calc(var(--glow, 0) * 3px) rgba(239, 183, 201, calc(var(--glow, 0) * 0.75)),
    inset 0 0 0 calc(var(--glow, 0) * 1px) rgba(248, 185, 211, calc(var(--glow, 0) * 0.9)); }
.r3-hive-btn.r3-hive-fill { border: 0; background: var(--shade); color: #0B0C0F; }
.r3-hive-btn svg { width: 14px; height: 14px; }

/* Your people: one 64 pt row each, a hairline from the words. */
.r3-hive-row { position: relative; height: 64px; display: flex; align-items: center; gap: 16px; }
.r3-hive-row + .r3-hive-row::before { content: ""; position: absolute; left: 64px; right: 0; top: 0; height: 0.5px; background: rgba(255, 255, 255, 0.08); }
.r3-hive-glyph { position: relative; width: 48px; height: 48px; flex: none; display: grid; place-items: center; }
.r3-hive-glyph > svg { position: absolute; inset: 0; width: 48px; height: 48px; }
.r3-hive-face { position: relative; width: 32px; height: 32px; border-radius: 8px; background: #15171B; border: 0.5px solid rgba(255, 255, 255, 0.12);
  display: grid; place-items: center; font-size: 15px; line-height: 18px; font-weight: 600; color: #C9CDD3; }
.r3-hive-words { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.r3-hive-name { font-size: 15px; line-height: 20px; font-weight: 600; color: #F4F5F7; white-space: nowrap; }
.r3-hive-line { font-size: 12px; line-height: 16px; font-weight: 500; color: #8E939C; font-variant-numeric: tabular-nums; }
.r3-hive-end { position: relative; flex: none; max-width: 46%; text-align: right; font-size: 12px; line-height: 16px; font-weight: 500;
  color: #8E939C; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r3-hive-end.r3-hive-cue { color: #ECEEF2; }
.r3-hive-after { position: absolute; right: 0; top: 24px; opacity: 0; color: #ECEEF2; }
/* Remind: an outlined 32 pt control, a bell and the prayer that's on. */
.r3-hive-pill { position: relative; flex: none; height: 32px; padding: 0 13px; border-radius: 14px; border: 1px solid rgba(236, 238, 242, 0.38);
  background: rgba(236, 238, 242, 0.08); color: #ECEEF2; display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; font-weight: 600; }
.r3-hive-pill svg { width: 14px; height: 14px; }
.r3-hive-pglow { position: absolute; inset: -6px; border-radius: 18px; opacity: 0; pointer-events: none;
  box-shadow: 0 0 20px 3px rgba(243, 227, 204, 0.55), inset 0 0 0 1px rgba(255, 247, 234, 0.6); }

/* The veil the page recedes under while the hexagon lifts out of it: the canvas, strongest at the top. */
.r3-hive-veil { position: absolute; inset: 0; z-index: 11; opacity: 0; pointer-events: none; }
.r3-hive-scr .r3-hive-veil { background: linear-gradient(180deg, rgba(11, 12, 15, 0.94) 0%, rgba(11, 12, 15, 0.9) 52.5%, rgba(11, 12, 15, 0) 55.8%); }
.r3-dua-scr .r3-hive-veil { display: none; }
.r3-hive-bar { position: absolute; left: 0; top: 760px; width: 402px; height: 114px; z-index: 12; }

/* ---- 6 · hive: the six corners in front of the phone --------------------------------------------------------- */
.r3-hive-hex { position: absolute; inset: 0; }
.r3-hive-core { opacity: 0; }
.r3-hive-plate { opacity: 0; stroke: rgba(243, 227, 204, 0.1); stroke-width: 1; }
/* (in the screen, over the rows and under the bar: a darker pool for the toast) */
.r3-hive-tglow { position: absolute; left: -40px; top: 634px; width: 482px; height: 150px; z-index: 11; opacity: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 12, 15, 0.97), rgba(11, 12, 15, 0.92) 62%, rgba(11, 12, 15, 0.5) 84%, rgba(11, 12, 15, 0) 100%); }
.r3-hive-net, .r3-hive-ringsvg { position: absolute; left: 0; top: 0; width: 402px; height: 874px; overflow: visible; }
.r3-hive-edge { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.r3-hive-edge.r3-hive-soft { stroke: #F3E3CC; stroke-width: 6; stroke-opacity: 0.1; }
.r3-hive-trailw { fill: none; stroke: #F3E3CC; stroke-width: 9; stroke-opacity: 0.28; stroke-linecap: round; }
.r3-hive-trail { fill: none; stroke: #FFF7EA; stroke-width: 2.2; stroke-linecap: round; }
.r3-hive-dot { fill: #FFFFFF; }
.r3-hive-ring { fill: none; stroke: #F3E3CC; stroke-width: 1.6; opacity: 0; }

/* A person: a rounded hexagon of the surface with the star's edge, their letter, their name under it. */
.r3-hive-av { position: absolute; width: 80px; height: 80px; opacity: 0; }
.r3-hive-avi { position: absolute; inset: 0; }
.r3-hive-avi svg { position: absolute; inset: 0; width: 80px; height: 80px; overflow: visible;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.55)) drop-shadow(0 1.5px 2px rgba(0, 0, 0, 0.4)); }
.r3-hive-avf { fill: #15171B; stroke: rgba(243, 227, 204, 0.38); stroke-width: 1; }
.r3-hive-av.r3-hive-you .r3-hive-avf { stroke: rgba(255, 247, 234, 0.9); stroke-width: 1.2; }
.r3-hive-avlit { fill: rgba(243, 227, 204, 0.2); stroke: #F3E3CC; stroke-width: 1.4; opacity: 0; }
.r3-hive-avi b { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 1px;
  font: 600 25px/1 var(--zk-display); letter-spacing: -0.2px; color: #F4F5F7; }
.r3-hive-av > i { position: absolute; left: 50%; top: 76px; transform: translateX(-50%); font: 600 14px/18px var(--zk-text); font-style: normal;
  letter-spacing: -0.1px; color: #C9CDD3; white-space: nowrap; }
.r3-hive-av.r3-hive-you > i { color: #F4F5F7; }
.r3-hive-youglow { position: absolute; left: -40px; top: -40px; width: 160px; height: 160px; opacity: 0; }
/* Mama's bell, answering at her corner. */
.r3-hive-bell { position: absolute; left: 54px; top: -2px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: #1D2025; color: #FFF7EA; opacity: 0;
  box-shadow: inset 0 1px 0 rgba(243, 227, 204, 0.35), 0 0 0 0.5px rgba(243, 227, 204, 0.4), 0 8px 18px -4px rgba(0, 0, 0, 0.6); }
.r3-hive-bell span { display: block; width: 17px; height: 17px; transform-origin: 50% 12%; }
.r3-hive-bell svg { width: 17px; height: 17px; display: block; }
/* The page's note, lifted: the engine's dark glass, where the app's Toast sits just above the bar's blob. */
.r3-hive-toast.r3-card { left: 50%; top: 714px; width: 230px; margin-left: -115px; min-height: 44px; padding: 12px 16px; border-radius: 24px;
  text-align: center; font: 500 15px/20px var(--zk-text); color: #F4F5F7; white-space: nowrap; opacity: 0; }

/* ---- 7 · dua: Mama's card arrives, her name sweeps across it ------------------------------------------------- */
/* Her name, lifted out of the card's lead: drawn at 104 pt, starting at the lead's 14 pt (scale 14/104) in its place. */
.r3-dua-name { position: absolute; width: 0; transform-origin: 0 50%; opacity: 0; pointer-events: none; }
.r3-dua-word { position: absolute; left: 0; top: 0; height: 100%; display: flex; align-items: center; white-space: nowrap;
  font: italic 400 84px/1 Georgia, "Times New Roman", serif; letter-spacing: -1px; color: #FCE3EC;
  text-shadow: 0 0 18px rgba(248, 185, 211, 0.75), 0 0 46px rgba(239, 183, 201, 0.45), 0 6px 30px rgba(0, 0, 0, 0.6); }
.r3-dua-ch { display: inline-block; }
.r3-glow.r3-dua-nglow { left: -70px; top: -60px; width: 300px; height: 224px; opacity: 0;
  background: radial-gradient(closest-side, rgba(239, 183, 201, 0.5), rgba(239, 183, 201, 0.16) 55%, rgba(239, 183, 201, 0)); }
/* The line of her light the name draws as it passes. */
.r3-dua-streak { position: absolute; left: 42px; top: 290px; width: 390px; height: 2px; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(to right, rgba(248, 185, 211, 0), rgba(252, 227, 236, 0.95) 30%, rgba(248, 185, 211, 0.85) 75%, rgba(248, 185, 211, 0)); }
.r3-dua-streak i { position: absolute; left: 0; right: 0; top: -14px; height: 30px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(239, 183, 201, 0.35), rgba(239, 183, 201, 0)); }
/* ✓ Ameen, where the answers were. */
.r3-dua-said { position: absolute; left: 112px; top: 126px; width: 130px; height: 40px; border-radius: 14px; opacity: 0;
  display: flex; align-items: center; justify-content: center; gap: 6px; background: #EFB7C9; color: #0B0C0F;
  font: 600 15px/20px var(--zk-text); }
.r3-dua-said > span:last-child { position: relative; }
.r3-dua-check { position: relative; width: 16px; height: 16px; display: block; overflow: visible; }
.r3-dua-sglow { position: absolute; left: -40px; top: -34px; width: 210px; height: 108px; border-radius: 50%; z-index: -1; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(239, 183, 201, 0.55), rgba(239, 183, 201, 0.16) 55%, rgba(239, 183, 201, 0)); }
.r3-glow.r3-dua-bloom { left: -59px; top: 41px; width: 520px; height: 400px; opacity: 0;
  background: radial-gradient(closest-side, rgba(239, 183, 201, 0.42), rgba(243, 227, 204, 0.16) 48%, rgba(243, 227, 204, 0.05) 72%, rgba(243, 227, 204, 0) 100%); }
/* (in the screen, behind the card: the answer's light on the page) */
.r3-dua-wash { position: absolute; left: -80px; top: 60px; width: 562px; height: 380px; opacity: 0; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(239, 183, 201, 0.3), rgba(239, 183, 201, 0.12) 50%, rgba(239, 183, 201, 0) 100%); }
