/* "שברת שיא". Only the app's own tokens, so it follows the stylesheet. */
.recordpop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:24px;
  background:#00000066;animation:rec-fade .2s ease-out}
.recordbox{position:relative;width:min(340px,100%);padding:26px 22px 20px;border-radius:24px;text-align:center;
  background:var(--surface);color:var(--ink);box-shadow:0 20px 50px #00000040;overflow:hidden;
  display:flex;flex-direction:column;gap:8px;animation:rec-pop .45s cubic-bezier(.2,1.4,.4,1)}
.recordbox h2{font-size:24px;font-weight:850;color:var(--pine)}
.recordline{font-size:17px;font-weight:700;color:var(--ink)}
.recordbefore,.recordmore{font-size:13px;color:var(--muted)}
.recordbox .btn{margin-top:10px;background:var(--pine);color:var(--on-accent)}
/* The second button, "שיתוף הרצף" (streakpop.js): an outline, so the way on stays the obvious one. */
.recordbox .btn.ghost{margin-top:0;background:transparent;color:var(--pine);border:1.5px solid var(--pine);box-shadow:none}

/* Twelve dots thrown out from the middle, once. */
.recordburst{position:absolute;left:50%;top:44px;width:0;height:0;pointer-events:none}
.recordburst i{position:absolute;width:8px;height:8px;border-radius:2px;opacity:0;
  background:var(--pine);animation:rec-burst .9s ease-out .15s forwards}
.recordburst i:nth-child(3n){background:var(--ember)}
.recordburst i:nth-child(3n+1){background:var(--ink)}
.recordburst i:nth-child(1){--a:0deg}.recordburst i:nth-child(2){--a:30deg}.recordburst i:nth-child(3){--a:60deg}
.recordburst i:nth-child(4){--a:90deg}.recordburst i:nth-child(5){--a:120deg}.recordburst i:nth-child(6){--a:150deg}
.recordburst i:nth-child(7){--a:180deg}.recordburst i:nth-child(8){--a:210deg}.recordburst i:nth-child(9){--a:240deg}
.recordburst i:nth-child(10){--a:270deg}.recordburst i:nth-child(11){--a:300deg}.recordburst i:nth-child(12){--a:330deg}

@keyframes rec-fade{from{opacity:0}to{opacity:1}}
@keyframes rec-pop{from{transform:scale(.7);opacity:0}to{transform:none;opacity:1}}
@keyframes rec-burst{
  0%{opacity:1;transform:rotate(var(--a)) translateY(0) rotate(0)}
  100%{opacity:0;transform:rotate(var(--a)) translateY(-130px) rotate(200deg)}}
@media (prefers-reduced-motion:reduce){.recordpop,.recordbox,.recordburst i{animation:none}.recordburst{display:none}}

/* A word for one person (celebrate.js): a birthday, over confetti. */
.celebratebox{padding-top:22px}
.celebrate-mark{font-size:64px;line-height:1;margin-bottom:8px;animation:celebrate-in .7s cubic-bezier(.2,1.6,.4,1) both}
@keyframes celebrate-in{from{transform:scale(.3) rotate(-20deg);opacity:0}}
@media (prefers-reduced-motion:reduce){.celebrate-mark{animation:none}}
.recordbox .btn + .btn.ghost{margin-top:8px}
