/* Evie (evie.js): the robin's images, the shared empty state, her place in tips, the welcome and a new medal.
   Small, calm, never over controls. Matte: no glow on Evie herself; a soft gold bloom behind her only for a medal. */
img.evie{display:block;width:var(--evie-size,auto);height:auto;max-width:100%;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;pointer-events:none}

/* ---- Empty state: art + one line + one action ---- */
.zk-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:28px 24px 20px;margin:4px auto 12px;max-width:420px}
.zk-empty-art{display:block;width:132px;height:132px;margin-bottom:2px}
.zk-empty-art img.evie{width:100%;height:100%;object-fit:contain}
.zk-empty-title{margin:0;font-family:var(--serif,"Literata",Georgia,serif);font-weight:400;font-size:1.375rem;line-height:1.25;color:var(--label)}
.zk-empty-line{margin:0;max-width:34ch;color:var(--label-2);font-size:var(--t-subhead,.9375rem);line-height:1.5}
.zk-empty-go{margin-top:8px;min-height:44px;min-width:44px}
#main .cloud-page .zk-empty,#zkmAll .zk-empty{padding-top:16px}

/* ---- Tips (coach-marks.js): Evie on the card's edge, a ✕ that closes the tip for good ---- */
.coach-card.has-evie{overflow:visible;display:grid;grid-template-columns:76px 1fr;column-gap:10px;padding-inline-start:10px;padding-top:14px}
.coach-card.has-evie .coach-evie{grid-row:1 / span 2;align-self:end;width:84px;height:84px;margin:0 -6px -6px -8px}
.coach-card.has-evie .coach-evie img.evie{width:100%;height:100%;object-fit:contain}
.coach-card.has-evie .coach-copy{padding-inline-end:28px}
.coach-card.has-evie .coach-actions{grid-column:2}
/* Above the light, she hops onto the card's top edge (never into the lit control below the card). */
.coach-card.has-evie[data-side="above"] .coach-evie,.coach-card.has-evie[data-side="over"] .coach-evie{align-self:start;margin-top:-44px}
.coach-x{position:absolute;top:6px;inset-inline-end:6px;width:44px;height:44px;display:grid;place-items:center;border:0;background:none;color:var(--label-2);border-radius:50%;cursor:pointer}
.coach-x svg{width:14px;height:14px}
.coach-x:focus-visible{outline:2px solid var(--tint);outline-offset:-4px}
.coach-card:not(.has-evie) .coach-x{display:none}

/* ---- Welcome (first-run.js, Combined W): small idle Evie at the ring's edge; at the first 33 she moves to the centre ---- */
/* A box the ring's size, in the ring's grid cell: Evie and the crescent are placed against the ring itself. */
.fi-ring-wrap{--fi-ring:min(92vw,clamp(13rem,min(74vw,36vh),20rem))}
.fi-free .fi-ring-wrap{--fi-ring:min(88vw,clamp(14rem,min(80vw,46vh),26rem))}
.fi-ring-wrap>.fi-ring,.fi-ring-wrap>.fi-evie-box{grid-area:1/1}
.fi-evie-box{position:relative;width:var(--fi-ring);height:var(--fi-ring);pointer-events:none;z-index:3}
.fi-evie{position:absolute;inset-inline-end:-10px;bottom:-14px;width:92px;height:92px;z-index:3;pointer-events:none;opacity:0;transform:translateY(8px) scale(.9);
  transition:opacity .5s ease,transform .5s ease,inset-inline-end 1.1s cubic-bezier(.2,.8,.2,1),bottom 1.1s cubic-bezier(.2,.8,.2,1)}
.fi-evie img.evie{width:100%;height:100%;object-fit:contain}
.fi-evie.is-in{opacity:1;transform:none}
.fi-evie.arrive{inset-inline-end:calc(50% - 46px);bottom:calc(50% - 66px);transform:scale(1.45)}
.fi-ring-wrap.fi-moment .fi-ring-c{opacity:0;transition:opacity .4s ease}
.fi-crescent{position:absolute;left:50%;top:11%;width:58px;height:58px;margin-left:-29px;opacity:0;pointer-events:none;transition:opacity 1.2s ease;z-index:2}
.fi-crescent svg{width:100%;height:100%}
.fi-ring-wrap.fi-moment .fi-crescent{opacity:1}
.fi-greet{margin:10px 0 0;text-align:center;font-family:var(--serif,"Literata",Georgia,serif);font-weight:400;font-size:1.625rem;line-height:1.2;color:#F4F1EA}
.fi-never{margin:6px 0 0;text-align:center;font-size:.8125rem;line-height:1.4;color:rgba(244,241,234,.75)}
@media (prefers-reduced-motion:reduce){.fi-evie,.fi-crescent,.fi-ring-wrap.fi-moment .fi-ring-c{transition:none}.fi-evie.arrive{transform:scale(1.4)}}

/* ---- A new medal (gifts.js reveal): Evie beside the medal in its one gentle gold bloom (never over the counter) ---- */
.zkr-evie{position:absolute;inset-inline-end:-40%;bottom:-8%;width:54%;aspect-ratio:1;pointer-events:none;z-index:2}
.zkr-evie img.evie{width:100%;height:100%;object-fit:contain}
.zkr-mini .zkr-evie{inset-inline-end:-62%;bottom:-14%;width:78%}
.zkr-s1 .zkr-medal:has(.zkr-evie),.zkr-mini:has(.zkr-evie){translate:-16% 0}
[dir="rtl"] .zkr-s1 .zkr-medal:has(.zkr-evie),[dir="rtl"] .zkr-mini:has(.zkr-evie){translate:16% 0}

/* ---- Share sheet: the Add Evie switch and More styles ---- */
.share-evie{display:flex;align-items:center;gap:10px}
.share-evie-art{width:36px;height:36px;flex:none;margin:-4px 0}
.share-evie-art img.evie{width:100%;height:100%;object-fit:contain}
.share-more{align-self:center;min-height:44px}
.share-thumbs[data-more="0"] [data-share-extra]{display:none}
