fancy-ui-vue 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.md +12 -12
  2. package/dist/components/animated-testimonials/AnimatedTestimonials.vue.js +23 -12
  3. package/dist/components/bg-falling-stars/FallingStarsBg.vue.js +10 -1
  4. package/dist/components/bg-falling-stars/bg-falling-stars-core.d.ts +6 -0
  5. package/dist/components/bg-falling-stars/bg-falling-stars-core.js +24 -2
  6. package/dist/components/bg-stars/StarsBackground.vue.js +1 -1
  7. package/dist/components/bg-stars/StarsBackground.vue2.js +13 -1
  8. package/dist/components/bg-stars/bg-stars-core.d.ts +6 -0
  9. package/dist/components/bg-stars/bg-stars-core.js +21 -1
  10. package/dist/components/book/Book.vue.js +5 -83
  11. package/dist/components/book/Book.vue2.js +82 -1
  12. package/dist/components/box-reveal/BoxReveal.vue.js +5 -47
  13. package/dist/components/box-reveal/BoxReveal.vue2.js +48 -1
  14. package/dist/components/compare/StarField.vue.js +1 -1
  15. package/dist/components/container-text-flip/ContainerTextFlip.vue.js +1 -1
  16. package/dist/components/container-text-flip/ContainerTextFlip.vue2.js +14 -5
  17. package/dist/components/flickering-grid/FlickeringGrid.vue.js +19 -1
  18. package/dist/components/flickering-grid/flickering-grid-core.d.ts +6 -0
  19. package/dist/components/flickering-grid/flickering-grid-core.js +30 -1
  20. package/dist/components/flip-words/FlipWords.vue.js +1 -1
  21. package/dist/components/flip-words/FlipWords.vue2.js +14 -7
  22. package/dist/components/frost-glass/FrostGlass.vue.d.ts +31 -0
  23. package/dist/components/frost-glass/FrostGlass.vue.js +90 -0
  24. package/dist/components/frost-glass/FrostGlass.vue2.js +4 -0
  25. package/dist/components/frost-glass/frost-glass-core.d.ts +155 -0
  26. package/dist/components/frost-glass/frost-glass-core.js +820 -0
  27. package/dist/components/frost-glass/index.d.ts +2 -0
  28. package/dist/components/gift-reveal/GiftReveal.vue.d.ts +50 -0
  29. package/dist/components/gift-reveal/GiftReveal.vue.js +7 -0
  30. package/dist/components/gift-reveal/GiftReveal.vue2.js +177 -0
  31. package/dist/components/gift-reveal/gift-reveal-core.d.ts +109 -0
  32. package/dist/components/gift-reveal/gift-reveal-core.js +116 -0
  33. package/dist/components/gift-reveal/index.d.ts +2 -0
  34. package/dist/components/hyper-text/HyperText.vue.js +6 -97
  35. package/dist/components/hyper-text/HyperText.vue2.js +101 -0
  36. package/dist/components/letter-pullup/LetterPullup.vue.js +6 -38
  37. package/dist/components/letter-pullup/LetterPullup.vue2.js +40 -0
  38. package/dist/components/logo-cloud/AnimatedLogoCloud.vue.js +1 -1
  39. package/dist/components/matrix-rain/MatrixRain.vue.js +20 -1
  40. package/dist/components/matrix-rain/matrix-rain-core.d.ts +6 -0
  41. package/dist/components/matrix-rain/matrix-rain-core.js +28 -6
  42. package/dist/components/noise-reveal/NoiseReveal.vue.js +7 -0
  43. package/dist/components/noise-reveal/noise-reveal-core.js +23 -7
  44. package/dist/components/ornament/Ornament.vue.d.ts +29 -0
  45. package/dist/components/ornament/Ornament.vue.js +112 -0
  46. package/dist/components/ornament/Ornament.vue2.js +4 -0
  47. package/dist/components/ornament/index.d.ts +2 -0
  48. package/dist/components/ornament/ornament-core.d.ts +177 -0
  49. package/dist/components/ornament/ornament-core.js +861 -0
  50. package/dist/components/ripple/Ripple.vue.js +1 -1
  51. package/dist/components/ripple/Ripple.vue2.js +6 -1
  52. package/dist/components/snowfall/Snowfall.vue.d.ts +29 -0
  53. package/dist/components/snowfall/Snowfall.vue.js +81 -0
  54. package/dist/components/snowfall/Snowfall.vue2.js +4 -0
  55. package/dist/components/snowfall/index.d.ts +2 -0
  56. package/dist/components/snowfall/snowfall-core.d.ts +119 -0
  57. package/dist/components/snowfall/snowfall-core.js +483 -0
  58. package/dist/components/sparkles/Sparkles.vue.js +10 -1
  59. package/dist/components/sparkles/sparkles-core.d.ts +6 -0
  60. package/dist/components/sparkles/sparkles-core.js +26 -2
  61. package/dist/components/sparkles-text/SparklesText.vue.js +6 -88
  62. package/dist/components/sparkles-text/SparklesText.vue2.js +100 -0
  63. package/dist/components/string-lights/StringLights.vue.d.ts +35 -0
  64. package/dist/components/string-lights/StringLights.vue.js +7 -0
  65. package/dist/components/string-lights/StringLights.vue2.js +98 -0
  66. package/dist/components/string-lights/index.d.ts +2 -0
  67. package/dist/components/string-lights/string-lights-core.d.ts +157 -0
  68. package/dist/components/string-lights/string-lights-core.js +228 -0
  69. package/dist/components/terminal-text/TerminalText.vue.js +1 -1
  70. package/dist/components/terminal-text/TerminalText.vue2.js +36 -4
  71. package/dist/components/text-generate-effect/TextGenerateEffect.vue.js +5 -72
  72. package/dist/components/text-generate-effect/TextGenerateEffect.vue2.js +74 -1
  73. package/dist/components/text-reveal-card/TextRevealCard.vue.js +5 -101
  74. package/dist/components/text-reveal-card/TextRevealCard.vue2.js +98 -1
  75. package/dist/components/text-reveal-card/TextRevealStars.vue.js +1 -1
  76. package/dist/components/text-reveal-card/TextRevealStars.vue2.js +29 -12
  77. package/dist/index.d.ts +5 -0
  78. package/dist/index.js +393 -386
  79. package/dist/styles.css +1669 -185
  80. package/package.json +2 -2
  81. package/dist/components/hyper-text/HyperText.vue3.js +0 -5
  82. package/dist/components/letter-pullup/LetterPullup.vue3.js +0 -5
  83. package/dist/components/sparkles-text/SparklesText.vue3.js +0 -5
package/dist/styles.css CHANGED
@@ -432,28 +432,6 @@ to {
432
432
  }
433
433
  }
434
434
 
435
- @keyframes hyperFadeIn {
436
- 0% {
437
- opacity: 0;
438
- transform: translateY(-10px);
439
- }
440
- 100% {
441
- opacity: 1;
442
- transform: translateY(0);
443
- }
444
- }
445
-
446
- @keyframes letterPullUp {
447
- 0% {
448
- opacity: 0;
449
- transform: translateY(100px);
450
- }
451
- 100% {
452
- opacity: 1;
453
- transform: translateY(0);
454
- }
455
- }
456
-
457
435
  .ft-sources-trigger[data-v-28d2d62f] {
458
436
  border: 1px solid
459
437
  var(
@@ -626,45 +604,6 @@ to {
626
604
  }
627
605
  }
628
606
 
629
- /* The source's only rule is a global keyframe, referenced from the inline
630
- `style` above. It stays in an unscoped block so the compiler neither
631
- renames it nor stamps a scope id onto markup the source leaves bare. */
632
- @keyframes sparkleAnim {
633
- 0% {
634
- opacity: 0;
635
- transform: scale(0) rotate(75deg);
636
- }
637
- 50% {
638
- opacity: 1;
639
- transform: scale(var(--sparkle-scale, 1)) rotate(120deg);
640
- }
641
- 100% {
642
- opacity: 0;
643
- transform: scale(0) rotate(150deg);
644
- }
645
- }
646
-
647
- @keyframes star-drift {
648
- 0% {
649
- opacity: 0;
650
- transform: scale(1);
651
- }
652
- 50% {
653
- opacity: var(--star-opacity, 0.5);
654
- transform: scale(1.2);
655
- }
656
- 100% {
657
- opacity: 0;
658
- transform: scale(0);
659
- top: var(--target-top);
660
- left: var(--target-left);
661
- }
662
- }
663
-
664
- .star-animate[data-v-d9ef66bc] {
665
- animation: star-drift linear infinite;
666
- }
667
-
668
607
  /*
669
608
  * Declared locally, once, from the shared consumer-facing `--ft-accent` —
670
609
  * the same indirection `Button` (`--ft-btn-accent`) and `Popover`
@@ -1764,23 +1703,29 @@ to {
1764
1703
  }
1765
1704
  }
1766
1705
 
1767
- .stars-parallax[data-v-065f7ce0] {
1706
+ .stars-parallax[data-v-51fcced5] {
1768
1707
  will-change: transform;
1769
1708
  }
1770
- .star-layer[data-v-065f7ce0] {
1709
+ .star-layer[data-v-51fcced5] {
1771
1710
  position: absolute;
1772
1711
  top: 0;
1773
1712
  left: 0;
1774
1713
  width: 100%;
1775
1714
  height: 2000px;
1776
- animation: scroll-stars-065f7ce0 var(--duration, 50s) linear infinite;
1777
1715
  }
1778
- .star-field[data-v-065f7ce0] {
1716
+
1717
+ /* Ungated = resting state: a still star field. Only the drift is motion. */
1718
+ @media (prefers-reduced-motion: no-preference) {
1719
+ .star-layer[data-v-51fcced5] {
1720
+ animation: scroll-stars-51fcced5 var(--duration, 50s) linear infinite;
1721
+ }
1722
+ }
1723
+ .star-field[data-v-51fcced5] {
1779
1724
  position: absolute;
1780
1725
  background: transparent;
1781
1726
  border-radius: 50%;
1782
1727
  }
1783
- @keyframes scroll-stars-065f7ce0 {
1728
+ @keyframes scroll-stars-51fcced5 {
1784
1729
  from {
1785
1730
  transform: translateY(0);
1786
1731
  }
@@ -1855,6 +1800,14 @@ to {
1855
1800
  }
1856
1801
  }
1857
1802
 
1803
+ /* The hover angle is the state; only the tween that turns the cover is motion,
1804
+ so under reduced motion the cover lands on its angle at once. */
1805
+ @media (prefers-reduced-motion: no-preference) {
1806
+ .book-cover[data-v-05eed92f] {
1807
+ transition: transform var(--book-duration, 1000ms) ease;
1808
+ }
1809
+ }
1810
+
1858
1811
  .border-beam[data-v-f3456472] {
1859
1812
  /* private plumbing: every value reads a public var with a fallback */
1860
1813
  --_from: var(--border-beam-color-from, #8ec5ff);
@@ -2085,6 +2038,20 @@ from {
2085
2038
  }
2086
2039
  }
2087
2040
 
2041
+ /* The inline opacity / transform / left are the state; only the tween that
2042
+ animates them is motion, so under reduced motion the change lands
2043
+ instantly. */
2044
+ @media (prefers-reduced-motion: no-preference) {
2045
+ .box-reveal-content[data-v-e343dd7c] {
2046
+ transition:
2047
+ opacity var(--box-reveal-duration, 0.5s) ease var(--box-reveal-delay, 0.5s),
2048
+ transform var(--box-reveal-duration, 0.5s) ease var(--box-reveal-delay, 0.5s);
2049
+ }
2050
+ .box-reveal-overlay[data-v-e343dd7c] {
2051
+ transition: left var(--box-reveal-duration, 0.5s) ease-in var(--box-reveal-delay, 0.25s);
2052
+ }
2053
+ }
2054
+
2088
2055
  /*
2089
2056
  * `:deep()` reaches past this component's own scoping and into whatever
2090
2057
  * a caller renders inside the default slot — a Button, a plain <button>,
@@ -2847,12 +2814,17 @@ to {
2847
2814
  }
2848
2815
  }
2849
2816
 
2850
- .star[data-v-9fadc287] {
2817
+ /* Resting state: a faint fixed star; twinkle and drift only run without a reduce preference. */
2818
+ .star[data-v-06a2b4e6] {
2851
2819
  opacity: var(--fancy-ui-opacity-start);
2852
- animation:
2853
- twinkle-9fadc287 var(--fancy-ui-twinkle-duration) ease-in-out infinite alternate,drift-9fadc287 var(--fancy-ui-drift-duration) linear infinite;
2854
2820
  }
2855
- @keyframes twinkle-9fadc287 {
2821
+ @media (prefers-reduced-motion: no-preference) {
2822
+ .star[data-v-06a2b4e6] {
2823
+ animation:
2824
+ twinkle-06a2b4e6 var(--fancy-ui-twinkle-duration) ease-in-out infinite alternate,drift-06a2b4e6 var(--fancy-ui-drift-duration) linear infinite;
2825
+ }
2826
+ }
2827
+ @keyframes twinkle-06a2b4e6 {
2856
2828
  0% {
2857
2829
  opacity: var(--fancy-ui-opacity-start);
2858
2830
  }
@@ -2860,7 +2832,7 @@ to {
2860
2832
  opacity: var(--fancy-ui-opacity-end);
2861
2833
  }
2862
2834
  }
2863
- @keyframes drift-9fadc287 {
2835
+ @keyframes drift-06a2b4e6 {
2864
2836
  0% {
2865
2837
  transform: translate(0, 0);
2866
2838
  }
@@ -3326,10 +3298,13 @@ html:not(.dark) .cs-root[data-v-c3e79750] {
3326
3298
  }
3327
3299
  }
3328
3300
 
3329
- .text-flip-letter[data-v-58f10267] {
3330
- animation: text-flip-in ease-in-out forwards;
3331
- opacity: 0;
3332
- filter: blur(10px);
3301
+ /* Resting state is the ungated default: the letters are simply shown. */
3302
+ @media (prefers-reduced-motion: no-preference) {
3303
+ .text-flip-letter[data-v-ad8bc4bd] {
3304
+ animation: text-flip-in ease-in-out forwards;
3305
+ opacity: 0;
3306
+ filter: blur(10px);
3307
+ }
3333
3308
  }
3334
3309
 
3335
3310
  @keyframes text-flip-in {
@@ -4552,14 +4527,29 @@ from {
4552
4527
  }
4553
4528
  }
4554
4529
 
4555
- .flip-words[data-v-2d9070d7] {
4530
+ .flip-words[data-v-8436152b] {
4556
4531
  --flip-words-ms: 0.6s;
4557
4532
  }
4558
- .flip-words-enter[data-v-2d9070d7] {
4559
- animation: flipEnterWord var(--flip-words-ms) ease-in-out forwards;
4533
+
4534
+ /* Resting state is the ungated default: the current word is visible and in
4535
+ place. The hidden start and every fade/flip belong to this gate. */
4536
+ @media (prefers-reduced-motion: no-preference) {
4537
+ .flip-words-word[data-v-8436152b] {
4538
+ opacity: 0;
4539
+ animation: flipFadeInWord 0.3s ease forwards;
4540
+ animation-delay: var(--flip-words-word-delay, 0s);
4541
+ }
4542
+ .flip-words-letter[data-v-8436152b] {
4543
+ opacity: 0;
4544
+ animation: flipFadeInLetter 0.2s ease forwards;
4545
+ animation-delay: var(--flip-words-letter-delay, 0s);
4546
+ }
4547
+ .flip-words-enter[data-v-8436152b] {
4548
+ animation: flipEnterWord var(--flip-words-ms) ease-in-out forwards;
4549
+ }
4550
+ .flip-words-exit[data-v-8436152b] {
4551
+ animation: flipExitWord var(--flip-words-ms) ease-in-out forwards;
4560
4552
  }
4561
- .flip-words-exit[data-v-2d9070d7] {
4562
- animation: flipExitWord var(--flip-words-ms) ease-in-out forwards;
4563
4553
  }
4564
4554
 
4565
4555
  @keyframes flipFadeInWord {
@@ -5108,6 +5098,26 @@ to {
5108
5098
  }
5109
5099
  }
5110
5100
 
5101
+ @keyframes hyperFadeIn {
5102
+ 0% {
5103
+ opacity: 0;
5104
+ transform: translateY(-10px);
5105
+ }
5106
+ 100% {
5107
+ opacity: 1;
5108
+ transform: translateY(0);
5109
+ }
5110
+ }
5111
+
5112
+ /* Resting state is the ungated default: every character visible, in place. */
5113
+ @media (prefers-reduced-motion: no-preference) {
5114
+ .hyper-text-char[data-v-f520f7e3] {
5115
+ opacity: 0;
5116
+ animation: hyperFadeIn 0.3s ease forwards;
5117
+ animation-delay: var(--hyper-text-delay, 0s);
5118
+ }
5119
+ }
5120
+
5111
5121
  .ft-pixel[data-v-76201e18] {
5112
5122
  background-color: var(--ft-pixel-cell-color);
5113
5123
  border-radius: 1px;
@@ -5421,6 +5431,27 @@ to {
5421
5431
  }
5422
5432
  }
5423
5433
 
5434
+ @keyframes letterPullUp {
5435
+ 0% {
5436
+ opacity: 0;
5437
+ transform: translateY(100px);
5438
+ }
5439
+ 100% {
5440
+ opacity: 1;
5441
+ transform: translateY(0);
5442
+ }
5443
+ }
5444
+
5445
+ /* Resting state is the ungated default: visible, in place. */
5446
+ @media (prefers-reduced-motion: no-preference) {
5447
+ .letter-pullup-char[data-v-83f4fa7b] {
5448
+ opacity: 0;
5449
+ transform: translateY(100px);
5450
+ animation: letterPullUp 0.5s ease forwards;
5451
+ animation-delay: var(--letter-pullup-delay, 0s);
5452
+ }
5453
+ }
5454
+
5424
5455
  /*
5425
5456
  * One rule governs this whole sheet: every `transition` and `animation`
5426
5457
  * declaration lives inside `@media (prefers-reduced-motion: no-preference)`,
@@ -6016,13 +6047,39 @@ to {
6016
6047
  white-space: nowrap;
6017
6048
  }
6018
6049
 
6019
- .logo-cloud-mask[data-v-49a512a4] {
6050
+ .logo-cloud-mask[data-v-3366d174] {
6020
6051
  mask-image: linear-gradient(to left, transparent 0%, black 20%, black 80%, transparent 95%);
6021
6052
  }
6022
- .logo-cloud-scroll[data-v-49a512a4] {
6023
- animation: logo-cloud-scroll-49a512a4 30s linear infinite;
6053
+
6054
+ /* Resting state: the logos sit still; the scroll only runs without a reduce preference. */
6055
+ @media (prefers-reduced-motion: no-preference) {
6056
+ .logo-cloud-scroll[data-v-3366d174] {
6057
+ animation: logo-cloud-scroll-3366d174 30s linear infinite;
6058
+ }
6059
+ .logo-cloud-mask:focus-within .logo-cloud-scroll[data-v-3366d174] {
6060
+ animation-play-state: paused;
6061
+ }
6062
+ }
6063
+
6064
+ /* Reduced motion removes the travel, never the logos: drop the repeated tracks and the
6065
+ edge fade, and let the one real set wrap and centre so every logo is in view. */
6066
+ @media (prefers-reduced-motion: reduce) {
6067
+ .logo-cloud-mask[data-v-3366d174] {
6068
+ mask-image: none;
6069
+ flex-wrap: wrap;
6070
+ justify-content: center;
6071
+ }
6072
+ .logo-cloud-mask > .logo-cloud-scroll[data-v-3366d174] {
6073
+ flex-wrap: wrap;
6074
+ flex-shrink: 1;
6075
+ justify-content: center;
6076
+ width: 100%;
6077
+ }
6078
+ .logo-cloud-mask > .logo-cloud-scroll[data-v-3366d174]:not(:first-child) {
6079
+ display: none;
6080
+ }
6024
6081
  }
6025
- @keyframes logo-cloud-scroll-49a512a4 {
6082
+ @keyframes logo-cloud-scroll-3366d174 {
6026
6083
  0% {
6027
6084
  transform: translateX(0);
6028
6085
  }
@@ -6765,114 +6822,1455 @@ to {
6765
6822
  }
6766
6823
  }
6767
6824
 
6768
- .ft-number-input-field[data-v-fd3c567f]:focus-visible {
6769
- --ft-number-input-accent: var(
6770
- --ft-accent,
6771
- light-dark(oklch(0.5432 0.2528 300.22), oklch(0.604 0.2606 301.75))
6772
- );
6773
- box-shadow: inset 0 0 0 1px var(--ft-number-input-accent);
6774
- }
6775
- .ft-number-input-step[data-v-fd3c567f] {
6776
- /* One local alias so the token pair is typed once rather than seven times.
6777
- 150ms = tokens.DURATIONS.fast, cubic-bezier(0.4, 0, 0.2, 1) = tokens.EASINGS.inout */
6778
- --ft-number-input-motion: var(--ft-duration-fast, 150ms)
6779
- var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1));
6780
- /* Replaces the `transition-colors` utility removed from the class string
6781
- above. Colour is a state change, not motion, so it stays outside the
6782
- reduced-motion query. `text-decoration-color`, `fill` and `stroke`
6783
- never change on these two buttons, so the three that do are the
6784
- faithful subset of what the utility covered. */
6785
- transition:
6786
- color var(--ft-number-input-motion),
6787
- background-color var(--ft-number-input-motion),
6788
- border-color var(--ft-number-input-motion);
6789
- /* Kills the ~300ms tap delay without blocking scroll — the same rule,
6790
- for the same reason, as `.ft-pressable`. Stepping a value is exactly
6791
- the interaction a finger repeats, so the delay is felt here. */
6792
- touch-action: manipulation;
6825
+ .fancy-string-lights[data-v-12f37b6d] {
6826
+ --sl-size: 12px;
6827
+ --sl-glow: 0.7;
6828
+ position: relative;
6829
+ width: 100%;
6830
+ pointer-events: none;
6831
+ user-select: none;
6793
6832
  }
6794
-
6795
- /*
6796
- * Universal fallback — a press must be acknowledged under reduced motion
6797
- * too, and a UA that supports neither query still needs some affordance.
6798
- * `:not(:disabled)` is redundant against `disabled:pointer-events-none`
6799
- * and deliberately kept: a bound-reached stepper must read as inert, and
6800
- * that should not depend on a utility staying in the class string.
6801
- */
6802
- .ft-number-input-step[data-v-fd3c567f]:active:not(:disabled),
6803
- .ft-number-input-step[data-stepping="true"][data-v-fd3c567f]:not(:disabled) {
6804
- opacity: var(--ft-number-input-press-opacity, 0.85);
6833
+ .fancy-string-lights-wire[data-v-12f37b6d] {
6834
+ position: absolute;
6835
+ inset: 0;
6836
+ width: 100%;
6837
+ height: 100%;
6838
+ overflow: visible;
6805
6839
  }
6806
- @media (prefers-reduced-motion: no-preference) {
6807
- .ft-number-input-step[data-v-fd3c567f] {
6808
- /* The individual `scale` property, not `transform: scale()`: this
6809
- scoped rule is unlayered, so a `transform` here would beat any
6810
- transform utility a consumer passes through the public `class`
6811
- prop — a `rotate-45` would silently vanish, at rest AND under
6812
- the press. `scale` composes with the consumer's `transform`
6813
- instead of replacing it. */
6814
- scale: 1;
6815
- transition:
6816
- color var(--ft-number-input-motion),
6817
- background-color var(--ft-number-input-motion),
6818
- border-color var(--ft-number-input-motion),
6819
- scale var(--ft-number-input-motion);
6840
+ .fancy-string-lights-wire path[data-v-12f37b6d] {
6841
+ fill: none;
6842
+ stroke: var(--string-lights-wire, color-mix(in oklab, currentColor 42%, transparent));
6843
+ stroke-width: 1.25;
6844
+ stroke-linecap: round;
6845
+ vector-effect: non-scaling-stroke;
6820
6846
  }
6821
- .ft-number-input-step[data-v-fd3c567f]:active:not(:disabled),
6822
- .ft-number-input-step[data-stepping="true"][data-v-fd3c567f]:not(:disabled) {
6823
- scale: var(--ft-number-input-press-scale, 0.97);
6824
- /* Full motion = scale only; reduced motion = opacity only. Never both. */
6825
- opacity: 1;
6847
+
6848
+ /* Light around a bulb. The anchor itself paints nothing and creates no
6849
+ stacking context, so each pseudo-element blends with the page behind it:
6850
+ ::before screens light over the page (adds light on dark, almost nothing on
6851
+ white), ::after multiplies a tint (colours a white page, vanishes on black). Together they read as light on
6852
+ any background without knowing the theme. */
6853
+ .fancy-string-lights-halo[data-v-12f37b6d] {
6854
+ position: absolute;
6855
+ width: 0;
6856
+ height: 0;
6826
6857
  }
6858
+ .fancy-string-lights-halo[data-v-12f37b6d]::before,
6859
+ .fancy-string-lights-halo[data-v-12f37b6d]::after {
6860
+ content: "";
6861
+ position: absolute;
6862
+ --_d: calc(var(--sl-size) * (2.5 + 9 * var(--sl-glow)));
6863
+ left: calc(var(--_d) / -2);
6864
+ top: calc(var(--_d) / -2);
6865
+ width: var(--_d);
6866
+ height: var(--_d);
6867
+ border-radius: 50%;
6827
6868
  }
6828
-
6829
- /*
6830
- * The current-page pill reads the app's semantic `bg-accent` token (the
6831
- * mockup's neutral highlight, not the brand purple) — Pagination never
6832
- * needs the purple accent for its own surface. The focus ring is the one
6833
- * place this component reaches for the shared nav accent, matching
6834
- * ToggleGroupItem's identical `--ft-toggle-group-accent` pattern: no
6835
- * semantic token owns "focus ring purple", so it is declared locally
6836
- * with a light-dark() fallback, retintable from higher up the tree via
6837
- * `--ft-accent`.
6838
- */
6839
- .ft-pagination[data-v-517ddf35] {
6840
- --ft-nav-accent: var(
6841
- --ft-accent,
6842
- light-dark(oklch(0.5432 0.2528 300.22), oklch(0.604 0.2606 301.75))
6869
+ .fancy-string-lights-halo[data-v-12f37b6d]::before {
6870
+ background: radial-gradient(
6871
+ closest-side,
6872
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 80%), transparent) 0%,
6873
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 42%), transparent) 12%,
6874
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 20%), transparent) 26%,
6875
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 9%), transparent) 44%,
6876
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 3.5%), transparent) 66%,
6877
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 1%), transparent) 84%,
6878
+ transparent 100%
6843
6879
  );
6880
+ mix-blend-mode: screen;
6844
6881
  }
6845
- .ft-pagination button[data-v-517ddf35]:focus-visible {
6846
- box-shadow: 0 0 0 3px color-mix(in oklab, var(--ft-nav-accent) 35%, transparent);
6882
+ .fancy-string-lights-halo[data-v-12f37b6d]::after {
6883
+ --_d: calc(var(--sl-size) * (2 + 6 * var(--sl-glow)));
6884
+ background: radial-gradient(
6885
+ closest-side,
6886
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 70%), transparent) 0%,
6887
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 32%), transparent) 30%,
6888
+ color-mix(in oklab, var(--sl-color) calc(var(--sl-glow) * 10%), transparent) 62%,
6889
+ transparent 100%
6890
+ );
6891
+ mix-blend-mode: multiply;
6847
6892
  }
6848
6893
 
6849
- /*
6850
- * The nav is the page buttons' `offsetParent` (no `<ul>`/`<li>` in between
6851
- * is positioned), so `offsetLeft`/`offsetTop` and the pill's own
6852
- * `left: 0; top: 0` share one origin. `isolation` lets the pill sit at
6853
- * `z-index: -1` — above the nav's background, under the buttons.
6854
- */
6855
- .ft-pagination[data-v-517ddf35] {
6856
- position: relative;
6857
- isolation: isolate;
6894
+ /* The bulb hangs from its socket's top centre, which sits on the wire. */
6895
+ .fancy-string-lights-bulb[data-v-12f37b6d] {
6896
+ position: absolute;
6897
+ width: var(--sl-size);
6898
+ height: calc(var(--sl-size) * 1.63);
6899
+ margin-left: calc(var(--sl-size) / -2);
6900
+ transform: rotate(var(--sl-angle, 0deg));
6901
+ transform-origin: 50% 0;
6858
6902
  }
6859
- .ft-pagination-indicator[data-v-517ddf35] {
6903
+ .fancy-string-lights-socket[data-v-12f37b6d] {
6860
6904
  position: absolute;
6861
- left: 0;
6905
+ left: 25%;
6862
6906
  top: 0;
6863
- z-index: -1;
6864
- pointer-events: none;
6865
- border-radius: var(--radius-md, 0.375rem);
6866
- background: var(--ft-pagination-indicator-color, var(--color-accent));
6867
- opacity: 0;
6868
- }
6869
- .ft-pagination[data-indicator] .ft-pagination-indicator[data-v-517ddf35] {
6870
- opacity: 1;
6871
- }
6872
-
6873
- /* The pill has taken over: the current button's own fill steps aside. */
6874
- .ft-pagination[data-indicator] button[aria-current="page"][data-v-517ddf35] {
6875
- background: transparent;
6907
+ width: 50%;
6908
+ height: calc(var(--sl-size) * 0.75);
6909
+ border-radius: 1.5px 1.5px 2px 2px;
6910
+ background: linear-gradient(
6911
+ 90deg,
6912
+ color-mix(in oklab, currentColor 22%, #0b0b0c),
6913
+ color-mix(in oklab, currentColor 48%, #1a1a1c) 40%,
6914
+ color-mix(in oklab, currentColor 20%, #0b0b0c)
6915
+ );
6916
+ }
6917
+
6918
+ /* Unlit glass: a faint tint, a darker rim and a fixed highlight, so a dim
6919
+ bulb still reads as a bulb on any background. */
6920
+ .fancy-string-lights-glass[data-v-12f37b6d] {
6921
+ position: absolute;
6922
+ left: 0;
6923
+ top: calc(var(--sl-size) * 0.63);
6924
+ width: var(--sl-size);
6925
+ height: var(--sl-size);
6926
+ border-radius: 50%;
6927
+ background: radial-gradient(
6928
+ circle at 50% 58%,
6929
+ color-mix(in oklab, var(--sl-color) 30%, transparent),
6930
+ color-mix(in oklab, var(--sl-color) 16%, transparent) 62%,
6931
+ color-mix(in oklab, var(--sl-color) 34%, transparent) 100%
6932
+ );
6933
+ box-shadow: inset 0 0 0 0.75px color-mix(in oklab, var(--sl-color) 45%, rgb(0 0 0 / 0.35));
6934
+ }
6935
+ .fancy-string-lights-glass[data-v-12f37b6d]::after {
6936
+ content: "";
6937
+ position: absolute;
6938
+ left: 22%;
6939
+ top: 16%;
6940
+ width: 30%;
6941
+ height: 22%;
6942
+ border-radius: 50%;
6943
+ background: radial-gradient(closest-side, rgb(255 255 255 / 0.7), transparent);
6944
+ transform: rotate(-30deg);
6945
+ }
6946
+
6947
+ /* The filament's light: a white-hot centre fading to the bulb colour at the
6948
+ glass, plus a tight bloom just outside it. This is the layer that pulses. */
6949
+ .fancy-string-lights-lit[data-v-12f37b6d] {
6950
+ position: absolute;
6951
+ inset: 0;
6952
+ border-radius: 50%;
6953
+ background: radial-gradient(
6954
+ circle at 50% 56%,
6955
+ #fff 0%,
6956
+ color-mix(in oklab, var(--sl-color) 35%, #fff) 26%,
6957
+ var(--sl-color) 62%,
6958
+ color-mix(in oklab, var(--sl-color) 82%, #000) 100%
6959
+ );
6960
+ box-shadow: 0 0 calc(var(--sl-size) * 0.45) calc(var(--sl-size) * 0.05)
6961
+ color-mix(in oklab, var(--sl-color) 65%, transparent);
6962
+ }
6963
+ .fancy-string-lights-lit[data-v-12f37b6d],
6964
+ .fancy-string-lights-halo[data-v-12f37b6d]::before,
6965
+ .fancy-string-lights-halo[data-v-12f37b6d]::after {
6966
+ animation-duration: var(--sl-duration, 0s);
6967
+ animation-delay: var(--sl-delay, 0s);
6968
+ animation-timing-function: ease-in-out;
6969
+ animation-iteration-count: infinite;
6970
+ }
6971
+ .fancy-string-lights[data-pattern="wave"] .fancy-string-lights-lit[data-v-12f37b6d],
6972
+ .fancy-string-lights[data-pattern="wave"] .fancy-string-lights-halo[data-v-12f37b6d]::before,
6973
+ .fancy-string-lights[data-pattern="wave"] .fancy-string-lights-halo[data-v-12f37b6d]::after {
6974
+ animation-name: string-lights-wave-12f37b6d;
6975
+ }
6976
+ .fancy-string-lights[data-pattern="alternate"] .fancy-string-lights-lit[data-v-12f37b6d],
6977
+ .fancy-string-lights[data-pattern="alternate"] .fancy-string-lights-halo[data-v-12f37b6d]::before,
6978
+ .fancy-string-lights[data-pattern="alternate"] .fancy-string-lights-halo[data-v-12f37b6d]::after {
6979
+ animation-name: string-lights-alternate-12f37b6d;
6980
+ }
6981
+ .fancy-string-lights[data-pattern="breathe"] .fancy-string-lights-lit[data-v-12f37b6d],
6982
+ .fancy-string-lights[data-pattern="breathe"] .fancy-string-lights-halo[data-v-12f37b6d]::before,
6983
+ .fancy-string-lights[data-pattern="breathe"] .fancy-string-lights-halo[data-v-12f37b6d]::after {
6984
+ animation-name: string-lights-breathe-12f37b6d;
6985
+ }
6986
+ .fancy-string-lights[data-pattern="twinkle"] .fancy-string-lights-lit[data-v-12f37b6d],
6987
+ .fancy-string-lights[data-pattern="twinkle"] .fancy-string-lights-halo[data-v-12f37b6d]::before,
6988
+ .fancy-string-lights[data-pattern="twinkle"] .fancy-string-lights-halo[data-v-12f37b6d]::after {
6989
+ animation-name: string-lights-twinkle-12f37b6d;
6990
+ }
6991
+
6992
+ /* A pulse of full brightness over a string held at half. */
6993
+ @keyframes string-lights-wave-12f37b6d {
6994
+ 0%,
6995
+ 100% {
6996
+ opacity: 1;
6997
+ }
6998
+ 22%,
6999
+ 78% {
7000
+ opacity: 0.38;
7001
+ }
7002
+ }
7003
+ @keyframes string-lights-alternate-12f37b6d {
7004
+ 0%,
7005
+ 38% {
7006
+ opacity: 1;
7007
+ }
7008
+ 50%,
7009
+ 88% {
7010
+ opacity: 0.12;
7011
+ }
7012
+ 100% {
7013
+ opacity: 1;
7014
+ }
7015
+ }
7016
+ @keyframes string-lights-breathe-12f37b6d {
7017
+ 0%,
7018
+ 100% {
7019
+ opacity: 1;
7020
+ }
7021
+ 50% {
7022
+ opacity: 0.3;
7023
+ }
7024
+ }
7025
+
7026
+ /* Mostly lit, with a quick double flicker once per cycle. */
7027
+ @keyframes string-lights-twinkle-12f37b6d {
7028
+ 0%,
7029
+ 52% {
7030
+ opacity: 1;
7031
+ }
7032
+ 56% {
7033
+ opacity: 0.15;
7034
+ }
7035
+ 60% {
7036
+ opacity: 0.85;
7037
+ }
7038
+ 64% {
7039
+ opacity: 0.25;
7040
+ }
7041
+ 74%,
7042
+ 100% {
7043
+ opacity: 1;
7044
+ }
7045
+ }
7046
+ @media (prefers-reduced-motion: reduce) {
7047
+ .fancy-string-lights .fancy-string-lights-lit[data-v-12f37b6d],
7048
+ .fancy-string-lights .fancy-string-lights-halo[data-v-12f37b6d]::before,
7049
+ .fancy-string-lights .fancy-string-lights-halo[data-v-12f37b6d]::after {
7050
+ animation: none;
7051
+ }
7052
+ }
7053
+
7054
+ /*
7055
+ * GiftReveal: a wrapped box built from real 3D faces, opened by CSS alone.
7056
+ *
7057
+ * The root carries every number as a custom property (see gift-reveal-core):
7058
+ * colours, the box width (--gr-size) and the timing of each phase in both
7059
+ * directions (--gr-o-* when opening, --gr-c-* when closing). A transition
7060
+ * takes its timing from the state it is heading to, so the [data-open] rules
7061
+ * read the -o- set and the resting rules read the -c- set.
7062
+ *
7063
+ * Attributes on the root:
7064
+ * data-open the box is open (or opening)
7065
+ * data-animate the state has changed at least once since mount; the
7066
+ * one-shot keyframes (wiggle, flare, motes) only run under
7067
+ * it, so a box that mounts open does not replay its opening
7068
+ * data-motion "reduced": no travel, a cross-fade only
7069
+ *
7070
+ * Two kinds of layer:
7071
+ * - the box itself (walls, floor, lid, ribbon) is real 3D under one fixed
7072
+ * camera;
7073
+ * - the bow, the light and the content are flat layers placed over the
7074
+ * box at the points where the camera puts its lid and its mouth
7075
+ * (--gr-top-*, --gr-mouth-*). Flat layers keep crisp, smooth curves,
7076
+ * which a 3D scene does not give rounded shapes.
7077
+ *
7078
+ * Nothing that holds 3D children gets `opacity` or `filter`: either one
7079
+ * flattens the 3D context. Fades land on leaf faces or on the 2D wrapper.
7080
+ */
7081
+ .ft-gift-reveal[data-v-f28780c3] {
7082
+ --gr-s: var(--gr-size, 160px);
7083
+ /* body: width, height, depth; lid: overhang and height */
7084
+ --gr-w: var(--gr-s);
7085
+ --gr-h: calc(var(--gr-s) * 0.72);
7086
+ --gr-d: var(--gr-s);
7087
+ --gr-lw: calc(var(--gr-s) * 1.06);
7088
+ --gr-ld: calc(var(--gr-s) * 1.06);
7089
+ --gr-lh: calc(var(--gr-s) * 0.2);
7090
+ --gr-band: calc(var(--gr-s) * 0.14);
7091
+
7092
+ /* Where the camera puts the box, in box widths from the bottom centre of
7093
+ the root. Measured once for the fixed camera below; everything scales
7094
+ with --gr-s, so they hold at every size. */
7095
+ --gr-top-x: 0;
7096
+ --gr-top-y: 0.98;
7097
+ --gr-mouth-y: 0.945;
7098
+ --gr-mouth-open-y: 0.8;
7099
+ --gr-rim-open-y: 1.03;
7100
+ --gr-base-y: 0.29;
7101
+
7102
+ /* light from the upper left: the top is lightest, the front (left on
7103
+ screen) is mid, the right side darkest */
7104
+ --gr-paper-top: color-mix(in oklab, var(--gr-color) 68%, white);
7105
+ --gr-paper-hi: color-mix(in oklab, var(--gr-color) 90%, white);
7106
+ --gr-paper-lo: color-mix(in oklab, var(--gr-color) 80%, black);
7107
+ --gr-paper-deep: color-mix(in oklab, var(--gr-color) 32%, black);
7108
+ --gr-ribbon-hi: color-mix(in oklab, var(--gr-ribbon) 40%, white);
7109
+ --gr-ribbon-lo: color-mix(in oklab, var(--gr-ribbon) 64%, black);
7110
+ --gr-ribbon-fold: color-mix(in oklab, var(--gr-ribbon) 42%, black);
7111
+ --gr-glow-hot: color-mix(in oklab, var(--gr-glow) 40%, white);
7112
+ --gr-glow-soft: color-mix(in oklab, var(--gr-glow) 55%, transparent);
7113
+ --gr-glow-faint: color-mix(in oklab, var(--gr-glow) 18%, transparent);
7114
+
7115
+ position: relative;
7116
+ display: inline-block;
7117
+ width: calc(var(--gr-s) * 1.8);
7118
+ height: calc(var(--gr-s) * 2.1);
7119
+ vertical-align: middle;
7120
+ isolation: isolate;
7121
+ }
7122
+
7123
+ /* ---- stage layers ------------------------------------------------------------ */
7124
+
7125
+ /* The light the open box throws on whatever is around it. */
7126
+ .gr-spill[data-v-f28780c3] {
7127
+ position: absolute;
7128
+ left: 50%;
7129
+ bottom: calc(var(--gr-s) * 0.25);
7130
+ width: calc(var(--gr-s) * 2.6);
7131
+ height: calc(var(--gr-s) * 2.1);
7132
+ margin-left: calc(var(--gr-s) * -1.3);
7133
+ border-radius: 50%;
7134
+ background: radial-gradient(
7135
+ closest-side,
7136
+ var(--gr-glow-soft),
7137
+ var(--gr-glow-faint) 45%,
7138
+ transparent
7139
+ );
7140
+ opacity: 0;
7141
+ pointer-events: none;
7142
+ z-index: 0;
7143
+ }
7144
+ .gr-button[data-v-f28780c3] {
7145
+ all: unset;
7146
+ position: absolute;
7147
+ left: 50%;
7148
+ bottom: 0;
7149
+ width: calc(var(--gr-s) * 1.6);
7150
+ height: calc(var(--gr-s) * 1.45);
7151
+ margin-left: calc(var(--gr-s) * -0.8);
7152
+ border-radius: calc(var(--gr-s) * 0.12);
7153
+ cursor: pointer;
7154
+ z-index: 1;
7155
+ -webkit-tap-highlight-color: transparent;
7156
+ }
7157
+ .gr-button[data-v-f28780c3]:focus-visible {
7158
+ outline: 2px solid var(--color-ring, #888);
7159
+ outline-offset: 4px;
7160
+ }
7161
+ .ft-gift-reveal[data-open] .gr-button[aria-disabled="true"][data-v-f28780c3],
7162
+ .ft-gift-reveal[data-trigger="manual"] .gr-button[data-v-f28780c3] {
7163
+ cursor: default;
7164
+ }
7165
+
7166
+ /* Warm light pooled on the floor around an open box. */
7167
+ .gr-groundglow[data-v-f28780c3] {
7168
+ position: absolute;
7169
+ left: 50%;
7170
+ bottom: calc(var(--gr-s) * (var(--gr-base-y) - 0.2));
7171
+ width: calc(var(--gr-s) * 2);
7172
+ height: calc(var(--gr-s) * 0.6);
7173
+ margin-left: calc(var(--gr-s) * -1);
7174
+ border-radius: 50%;
7175
+ background: radial-gradient(
7176
+ closest-side,
7177
+ var(--gr-glow-soft),
7178
+ var(--gr-glow-faint) 55%,
7179
+ transparent
7180
+ );
7181
+ opacity: 0;
7182
+ pointer-events: none;
7183
+ }
7184
+
7185
+ /* The soft contact shadow on the table. */
7186
+ .gr-shadow[data-v-f28780c3] {
7187
+ position: absolute;
7188
+ left: 50%;
7189
+ bottom: calc(var(--gr-s) * (var(--gr-base-y) - 0.1));
7190
+ width: calc(var(--gr-s) * 1.5);
7191
+ height: calc(var(--gr-s) * 0.34);
7192
+ margin-left: calc(var(--gr-s) * -0.75);
7193
+ border-radius: 50%;
7194
+ background: radial-gradient(closest-side, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.2) 55%, transparent);
7195
+ pointer-events: none;
7196
+ }
7197
+
7198
+ /* The perspective holder: the one 2D element the whole box can fade on. */
7199
+ .gr-box[data-v-f28780c3] {
7200
+ position: absolute;
7201
+ inset: 0;
7202
+ perspective: calc(var(--gr-s) * 4.2);
7203
+ perspective-origin: 50% 40%;
7204
+ pointer-events: none;
7205
+ }
7206
+
7207
+ /* Every 3D container. */
7208
+ .gr-camera[data-v-f28780c3],
7209
+ .gr-sinker[data-v-f28780c3],
7210
+ .gr-wiggle[data-v-f28780c3],
7211
+ .gr-body[data-v-f28780c3],
7212
+ .gr-wall[data-v-f28780c3],
7213
+ .gr-lid-hint[data-v-f28780c3],
7214
+ .gr-lid-lift[data-v-f28780c3],
7215
+ .gr-lid[data-v-f28780c3] {
7216
+ position: absolute;
7217
+ left: 50%;
7218
+ top: 50%;
7219
+ width: 0;
7220
+ height: 0;
7221
+ transform-style: preserve-3d;
7222
+ }
7223
+
7224
+ /* One fixed camera: a little above the box, turned to show its right side. */
7225
+ .gr-camera[data-v-f28780c3] {
7226
+ top: 58%;
7227
+ transform: rotateX(-22deg) rotateY(-32deg);
7228
+ }
7229
+ .gr-wiggle[data-v-f28780c3] {
7230
+ /* squash from the table, not the middle */
7231
+ transform-origin: 0 calc(var(--gr-h) / 2);
7232
+ }
7233
+
7234
+ /* ---- faces -------------------------------------------------------------------- */
7235
+ .gr-face[data-v-f28780c3] {
7236
+ position: absolute;
7237
+ left: 0;
7238
+ top: 0;
7239
+ backface-visibility: hidden;
7240
+ overflow: hidden;
7241
+ }
7242
+
7243
+ /* the body's walls: front, right, back, left, each with an outer and an inner face */
7244
+ .gr-wall > .gr-face[data-v-f28780c3] {
7245
+ width: var(--gr-w);
7246
+ height: var(--gr-h);
7247
+ margin-left: calc(var(--gr-w) / -2);
7248
+ margin-top: calc(var(--gr-h) / -2);
7249
+ }
7250
+ .gr-wall--right > .gr-face[data-v-f28780c3],
7251
+ .gr-wall--left > .gr-face[data-v-f28780c3] {
7252
+ width: var(--gr-d);
7253
+ margin-left: calc(var(--gr-d) / -2);
7254
+ }
7255
+
7256
+ /* the paper's thickness: a thin lit edge along the top of each wall, seen once the lid is off */
7257
+ .gr-wall > .gr-face--out[data-v-f28780c3] {
7258
+ box-shadow: inset 0 calc(var(--gr-s) * 0.012) 0 var(--gr-paper-top);
7259
+ }
7260
+
7261
+ /* the two walls that meet at the front corner each reach a pixel into it,
7262
+ so no light from inside shows through the seam */
7263
+ .gr-wall--front > .gr-face--out[data-v-f28780c3] {
7264
+ width: calc(var(--gr-w) + 1px);
7265
+ }
7266
+ .gr-wall--right > .gr-face--out[data-v-f28780c3] {
7267
+ width: calc(var(--gr-d) + 1px);
7268
+ margin-left: calc(var(--gr-d) / -2 - 1px);
7269
+ }
7270
+ .gr-wall--front[data-v-f28780c3] {
7271
+ transform: translateZ(calc(var(--gr-d) / 2));
7272
+ }
7273
+ .gr-wall--back[data-v-f28780c3] {
7274
+ transform: rotateY(180deg) translateZ(calc(var(--gr-d) / 2));
7275
+ }
7276
+ .gr-wall--right[data-v-f28780c3] {
7277
+ transform: rotateY(90deg) translateZ(calc(var(--gr-w) / 2));
7278
+ }
7279
+ .gr-wall--left[data-v-f28780c3] {
7280
+ transform: rotateY(-90deg) translateZ(calc(var(--gr-w) / 2));
7281
+ }
7282
+ .gr-face--in[data-v-f28780c3] {
7283
+ /* a hair inside the wall, so its light never leaks through a corner seam */
7284
+ transform: rotateY(180deg) translateZ(1px);
7285
+ }
7286
+
7287
+ /* the paper: flat colour, a little brighter at the top of each face */
7288
+ .gr-face--out[data-v-f28780c3] {
7289
+ background: linear-gradient(180deg, var(--gr-paper-hi), var(--gr-color) 60%, var(--gr-paper-lo));
7290
+ }
7291
+ .gr-face--in[data-v-f28780c3] {
7292
+ background: linear-gradient(180deg, var(--gr-paper-deep), var(--gr-paper-lo));
7293
+ }
7294
+
7295
+ /* the shade each face takes from where it turns relative to the light */
7296
+ .gr-shade[data-v-f28780c3] {
7297
+ position: absolute;
7298
+ inset: 0;
7299
+ pointer-events: none;
7300
+ }
7301
+ .gr-wall--right .gr-shade[data-v-f28780c3],
7302
+ .gr-lid-side--right .gr-shade[data-v-f28780c3] {
7303
+ background: linear-gradient(180deg, rgb(0 0 0 / 0.3), rgb(0 0 0 / 0.42));
7304
+ }
7305
+ .gr-wall--front .gr-face--out .gr-shade[data-v-f28780c3] {
7306
+ /* the lid's overhang shades the top of the wall a touch */
7307
+ background: linear-gradient(180deg, rgb(0 0 0 / 0.22), rgb(0 0 0 / 0) 12%, rgb(0 0 0 / 0.1));
7308
+ }
7309
+ .gr-wall--right .gr-face--out .gr-shade[data-v-f28780c3] {
7310
+ background:
7311
+ linear-gradient(180deg, rgb(0 0 0 / 0.2), rgb(0 0 0 / 0) 12%),
7312
+ linear-gradient(180deg, rgb(0 0 0 / 0.32), rgb(0 0 0 / 0.44));
7313
+ }
7314
+ .gr-face--in .gr-shade[data-v-f28780c3] {
7315
+ background: linear-gradient(180deg, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0.15) 60%, rgb(0 0 0 / 0));
7316
+ }
7317
+ /* the two far walls seen from inside meet at a corner: one a step darker, so the corner reads */
7318
+ .gr-wall--back .gr-face--in .gr-shade[data-v-f28780c3] {
7319
+ background: linear-gradient(180deg, rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.3) 60%, rgb(0 0 0 / 0.12));
7320
+ }
7321
+
7322
+ /* A satin sheen that sweeps once across the paper on hover. */
7323
+ .gr-sheen[data-v-f28780c3] {
7324
+ position: absolute;
7325
+ inset: 0;
7326
+ pointer-events: none;
7327
+ background: linear-gradient(
7328
+ 105deg,
7329
+ transparent 42%,
7330
+ rgb(255 255 255 / 0.16) 50%,
7331
+ transparent 58%
7332
+ );
7333
+ background-size: 300% 100%;
7334
+ background-position: 0% 0;
7335
+ }
7336
+
7337
+ /* the inside of the box, lit from below by what is in it once the lid is off */
7338
+ .gr-inlight[data-v-f28780c3] {
7339
+ position: absolute;
7340
+ inset: 0;
7341
+ /* brightest at the floor, gone well before the rim */
7342
+ background: linear-gradient(
7343
+ 0deg,
7344
+ var(--gr-glow-hot),
7345
+ var(--gr-glow) 14%,
7346
+ var(--gr-glow-soft) 36%,
7347
+ transparent 72%
7348
+ );
7349
+ opacity: 0;
7350
+ pointer-events: none;
7351
+ }
7352
+ .gr-floor .gr-inlight[data-v-f28780c3] {
7353
+ background: radial-gradient(closest-side, white, var(--gr-glow-hot) 45%, var(--gr-glow));
7354
+ }
7355
+ .gr-floor[data-v-f28780c3] {
7356
+ width: var(--gr-w);
7357
+ height: var(--gr-d);
7358
+ margin-left: calc(var(--gr-w) / -2);
7359
+ margin-top: calc(var(--gr-d) / -2);
7360
+ transform: rotateX(90deg) translateZ(calc(var(--gr-h) / -2));
7361
+ background: var(--gr-paper-deep);
7362
+ }
7363
+
7364
+ /* ---- ribbon ---------------------------------------------------------------------- */
7365
+
7366
+ /* A satin band: rounded across its width, with one bright specular streak. */
7367
+ .gr-band[data-v-f28780c3] {
7368
+ position: absolute;
7369
+ background:
7370
+ linear-gradient(
7371
+ 90deg,
7372
+ transparent 36%,
7373
+ rgb(255 255 255 / 0.5) 45%,
7374
+ rgb(255 255 255 / 0.08) 52%,
7375
+ transparent 60%
7376
+ ),
7377
+ linear-gradient(
7378
+ 90deg,
7379
+ var(--gr-ribbon-lo),
7380
+ var(--gr-ribbon) 22%,
7381
+ var(--gr-ribbon-hi) 46%,
7382
+ var(--gr-ribbon) 70%,
7383
+ var(--gr-ribbon-lo)
7384
+ );
7385
+ }
7386
+
7387
+ /* the vertical band down the middle of each wall and lid side */
7388
+ .gr-band--v[data-v-f28780c3] {
7389
+ left: 50%;
7390
+ top: 0;
7391
+ width: var(--gr-band);
7392
+ height: 100%;
7393
+ margin-left: calc(var(--gr-band) / -2);
7394
+ box-shadow: 0 0 2px rgb(0 0 0 / 0.25);
7395
+ }
7396
+
7397
+ /* the cross on the lid top: four arms out from the knot, each anchored at its
7398
+ outer end so it can be pulled out from under the knot */
7399
+ .gr-band--n[data-v-f28780c3],
7400
+ .gr-band--s[data-v-f28780c3] {
7401
+ left: 50%;
7402
+ width: var(--gr-band);
7403
+ height: 50%;
7404
+ margin-left: calc(var(--gr-band) / -2);
7405
+ }
7406
+ .gr-band--n[data-v-f28780c3] {
7407
+ top: 0;
7408
+ transform-origin: 50% 0;
7409
+ }
7410
+ .gr-band--s[data-v-f28780c3] {
7411
+ top: 50%;
7412
+ transform-origin: 50% 100%;
7413
+ }
7414
+ .gr-band--w[data-v-f28780c3],
7415
+ .gr-band--e[data-v-f28780c3] {
7416
+ top: 50%;
7417
+ width: 50%;
7418
+ height: var(--gr-band);
7419
+ margin-top: calc(var(--gr-band) / -2);
7420
+ background:
7421
+ linear-gradient(
7422
+ 180deg,
7423
+ transparent 36%,
7424
+ rgb(255 255 255 / 0.5) 45%,
7425
+ rgb(255 255 255 / 0.08) 52%,
7426
+ transparent 60%
7427
+ ),
7428
+ linear-gradient(
7429
+ 180deg,
7430
+ var(--gr-ribbon-lo),
7431
+ var(--gr-ribbon) 22%,
7432
+ var(--gr-ribbon-hi) 46%,
7433
+ var(--gr-ribbon) 70%,
7434
+ var(--gr-ribbon-lo)
7435
+ );
7436
+ }
7437
+ .gr-band--w[data-v-f28780c3] {
7438
+ left: 0;
7439
+ transform-origin: 0 50%;
7440
+ }
7441
+ .gr-band--e[data-v-f28780c3] {
7442
+ left: 50%;
7443
+ transform-origin: 100% 50%;
7444
+ }
7445
+
7446
+ /* ---- lid ---------------------------------------------------------------------------- */
7447
+ .gr-lid-hint[data-v-f28780c3] {
7448
+ /* the lid sits over the top of the walls, overlapping them by most of its height */
7449
+ top: calc(50% - var(--gr-h) / 2 + var(--gr-lh) * 0.32);
7450
+ }
7451
+ .gr-lid-top[data-v-f28780c3] {
7452
+ width: var(--gr-lw);
7453
+ height: var(--gr-ld);
7454
+ margin-left: calc(var(--gr-lw) / -2);
7455
+ margin-top: calc(var(--gr-ld) / -2);
7456
+ transform: rotateX(90deg) translateZ(calc(var(--gr-lh) / 2));
7457
+ background:
7458
+ radial-gradient(130% 100% at 15% 10%, rgb(255 255 255 / 0.16), transparent 60%),
7459
+ linear-gradient(135deg, var(--gr-paper-top), color-mix(in oklab, var(--gr-color) 86%, white));
7460
+ /* a soft highlight along the rim */
7461
+ box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
7462
+ }
7463
+ .gr-lid-under[data-v-f28780c3] {
7464
+ width: var(--gr-lw);
7465
+ height: var(--gr-ld);
7466
+ margin-left: calc(var(--gr-lw) / -2);
7467
+ margin-top: calc(var(--gr-ld) / -2);
7468
+ transform: rotateX(-90deg) translateZ(calc(var(--gr-lh) / -2));
7469
+ background: var(--gr-paper-deep);
7470
+ }
7471
+ .gr-lid-side[data-v-f28780c3] {
7472
+ width: var(--gr-lw);
7473
+ height: var(--gr-lh);
7474
+ margin-left: calc(var(--gr-lw) / -2);
7475
+ margin-top: calc(var(--gr-lh) / -2);
7476
+ }
7477
+ .gr-lid-side--front[data-v-f28780c3] {
7478
+ transform: translateZ(calc(var(--gr-ld) / 2));
7479
+ }
7480
+ .gr-lid-side--back[data-v-f28780c3] {
7481
+ transform: rotateY(180deg) translateZ(calc(var(--gr-ld) / 2));
7482
+ }
7483
+ .gr-lid-side--right[data-v-f28780c3],
7484
+ .gr-lid-side--left[data-v-f28780c3] {
7485
+ width: var(--gr-ld);
7486
+ margin-left: calc(var(--gr-ld) / -2);
7487
+ }
7488
+ .gr-lid-side--right[data-v-f28780c3] {
7489
+ transform: rotateY(90deg) translateZ(calc(var(--gr-lw) / 2));
7490
+ }
7491
+ .gr-lid-side--left[data-v-f28780c3] {
7492
+ transform: rotateY(-90deg) translateZ(calc(var(--gr-lw) / 2));
7493
+ }
7494
+ /* the lip of the lid catches the light along its top edge and shades its own underside */
7495
+ .gr-lid-side.gr-face--out[data-v-f28780c3] {
7496
+ background: linear-gradient(180deg, var(--gr-paper-hi), var(--gr-color));
7497
+ box-shadow:
7498
+ inset 0 1px 0 rgb(255 255 255 / 0.35),
7499
+ inset 0 -1px 0 rgb(0 0 0 / 0.3);
7500
+ }
7501
+
7502
+ /* ---- bow (flat layer over the lid) ------------------------------------------------- */
7503
+ .gr-bow[data-v-f28780c3] {
7504
+ position: absolute;
7505
+ left: calc(50% + var(--gr-s) * var(--gr-top-x));
7506
+ bottom: calc(var(--gr-s) * (var(--gr-top-y) - 0.08));
7507
+ width: calc(var(--gr-s) * 0.56);
7508
+ height: calc(var(--gr-s) * 0.32);
7509
+ margin-left: calc(var(--gr-s) * -0.28);
7510
+ transform-origin: 50% 75%;
7511
+ pointer-events: none;
7512
+ }
7513
+ .gr-bow-hint > span[data-v-f28780c3] {
7514
+ position: absolute;
7515
+ display: block;
7516
+ }
7517
+
7518
+ /* the bow's soft shadow on the lid */
7519
+ .gr-bow-shadow[data-v-f28780c3] {
7520
+ left: 8%;
7521
+ right: 8%;
7522
+ bottom: 4%;
7523
+ height: 34%;
7524
+ border-radius: 50%;
7525
+ background: radial-gradient(closest-side, rgb(0 0 0 / 0.35), transparent);
7526
+ }
7527
+
7528
+ /* Each loop: a bright ridge along its top, darkening into the fold at the knot. */
7529
+ .gr-loop[data-v-f28780c3] {
7530
+ top: 4%;
7531
+ width: 48%;
7532
+ height: 64%;
7533
+ border-radius: 58% 42% 48% 52% / 62% 58% 42% 38%;
7534
+ box-shadow:
7535
+ inset 0 calc(var(--gr-s) * 0.012) calc(var(--gr-s) * 0.006) rgb(255 255 255 / 0.45),
7536
+ inset 0 calc(var(--gr-s) * -0.03) calc(var(--gr-s) * 0.04) rgb(0 0 0 / 0.25),
7537
+ 0 calc(var(--gr-s) * 0.008) calc(var(--gr-s) * 0.02) rgb(0 0 0 / 0.3);
7538
+ }
7539
+ .gr-loop--l[data-v-f28780c3] {
7540
+ left: 3%;
7541
+ transform-origin: 96% 70%;
7542
+ transform: rotate(-14deg);
7543
+ background:
7544
+ /* the fold: the loop turns under itself where it meets the knot */
7545
+ radial-gradient(70% 55% at 100% 62%, var(--gr-ribbon-fold), transparent 70%),
7546
+ /* the ridge: a bright line along the top of the loop */
7547
+ radial-gradient(80% 40% at 42% 18%, rgb(255 255 255 / 0.45), transparent 70%),
7548
+ linear-gradient(165deg, var(--gr-ribbon-hi), var(--gr-ribbon) 40%, var(--gr-ribbon-lo) 90%);
7549
+ }
7550
+ .gr-loop--r[data-v-f28780c3] {
7551
+ right: 3%;
7552
+ border-radius: 42% 58% 52% 48% / 58% 62% 38% 42%;
7553
+ transform-origin: 4% 70%;
7554
+ transform: rotate(14deg);
7555
+ /* the light comes from the left, so this loop sits a step darker */
7556
+ background:
7557
+ radial-gradient(70% 55% at 0% 62%, var(--gr-ribbon-fold), transparent 70%),
7558
+ radial-gradient(80% 40% at 58% 18%, rgb(255 255 255 / 0.3), transparent 70%),
7559
+ linear-gradient(
7560
+ 195deg,
7561
+ var(--gr-ribbon),
7562
+ color-mix(in oklab, var(--gr-ribbon) 84%, black) 40%,
7563
+ var(--gr-ribbon-lo) 90%
7564
+ );
7565
+ }
7566
+ .gr-knot[data-v-f28780c3] {
7567
+ left: 50%;
7568
+ top: 30%;
7569
+ width: 19%;
7570
+ height: 42%;
7571
+ margin-left: -9.5%;
7572
+ border-radius: 34%;
7573
+ background: linear-gradient(
7574
+ 95deg,
7575
+ var(--gr-ribbon-lo),
7576
+ var(--gr-ribbon-hi) 38%,
7577
+ var(--gr-ribbon) 62%,
7578
+ var(--gr-ribbon-lo)
7579
+ );
7580
+ box-shadow:
7581
+ 0 calc(var(--gr-s) * 0.006) calc(var(--gr-s) * 0.015) rgb(0 0 0 / 0.35),
7582
+ inset 0 calc(var(--gr-s) * 0.008) calc(var(--gr-s) * 0.004) rgb(255 255 255 / 0.35);
7583
+ }
7584
+ .gr-tail[data-v-f28780c3] {
7585
+ top: 56%;
7586
+ width: 13%;
7587
+ height: 52%;
7588
+ /* a notched end */
7589
+ clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
7590
+ transform-origin: 50% 0;
7591
+ }
7592
+ .gr-tail--l[data-v-f28780c3] {
7593
+ left: 38%;
7594
+ transform: rotate(28deg);
7595
+ background: linear-gradient(
7596
+ 90deg,
7597
+ var(--gr-ribbon-lo),
7598
+ var(--gr-ribbon-hi) 45%,
7599
+ var(--gr-ribbon-lo)
7600
+ );
7601
+ }
7602
+ .gr-tail--r[data-v-f28780c3] {
7603
+ left: 49%;
7604
+ transform: rotate(-24deg);
7605
+ background: linear-gradient(
7606
+ 90deg,
7607
+ var(--gr-ribbon-lo),
7608
+ var(--gr-ribbon) 45%,
7609
+ var(--gr-ribbon-fold)
7610
+ );
7611
+ }
7612
+
7613
+ /* ---- light (flat layers at the mouth of the box) ----------------------------------- */
7614
+ .gr-burst[data-v-f28780c3] {
7615
+ position: absolute;
7616
+ left: 50%;
7617
+ bottom: calc(var(--gr-s) * var(--gr-mouth-y));
7618
+ width: 0;
7619
+ height: 0;
7620
+ pointer-events: none;
7621
+ z-index: 2;
7622
+ }
7623
+ .gr-burst > span[data-v-f28780c3] {
7624
+ position: absolute;
7625
+ display: block;
7626
+ opacity: 0;
7627
+ }
7628
+
7629
+ /* a brief sliver of light at the seam the moment the lid cracks open */
7630
+ .gr-flash[data-v-f28780c3] {
7631
+ left: calc(var(--gr-s) * -0.55);
7632
+ top: calc(var(--gr-s) * -0.06);
7633
+ width: calc(var(--gr-s) * 1.1);
7634
+ height: calc(var(--gr-s) * 0.12);
7635
+ border-radius: 50%;
7636
+ /* light leaking out of the gap as the lid separates */
7637
+ background: radial-gradient(
7638
+ closest-side,
7639
+ var(--gr-glow-hot),
7640
+ var(--gr-glow-soft) 55%,
7641
+ transparent
7642
+ );
7643
+ filter: blur(calc(var(--gr-s) * 0.015));
7644
+ }
7645
+
7646
+ /* a column of light rising out of the box */
7647
+ .gr-column[data-v-f28780c3] {
7648
+ left: calc(var(--gr-s) * -0.34);
7649
+ bottom: 0;
7650
+ width: calc(var(--gr-s) * 0.68);
7651
+ height: calc(var(--gr-s) * 1.1);
7652
+ border-radius: 50% 50% 40% 40%;
7653
+ background: linear-gradient(0deg, var(--gr-glow-soft), var(--gr-glow-faint) 55%, transparent);
7654
+ filter: blur(calc(var(--gr-s) * 0.05));
7655
+ }
7656
+
7657
+ /* the wide, soft bloom around everything */
7658
+ .gr-bloom[data-v-f28780c3] {
7659
+ left: calc(var(--gr-s) * -0.85);
7660
+ bottom: calc(var(--gr-s) * -0.45);
7661
+ width: calc(var(--gr-s) * 1.7);
7662
+ height: calc(var(--gr-s) * 1.5);
7663
+ border-radius: 50%;
7664
+ background: radial-gradient(
7665
+ closest-side,
7666
+ var(--gr-glow-soft),
7667
+ var(--gr-glow-faint) 50%,
7668
+ transparent
7669
+ );
7670
+ }
7671
+
7672
+ /* a handful of specks riding the light up */
7673
+ .gr-burst > .gr-motes[data-v-f28780c3] {
7674
+ left: 0;
7675
+ bottom: 0;
7676
+ opacity: 1;
7677
+ }
7678
+ .gr-mote[data-v-f28780c3] {
7679
+ position: absolute;
7680
+ display: block;
7681
+ left: calc(var(--gr-s) * var(--gr-mx));
7682
+ bottom: 0;
7683
+ width: calc(var(--gr-s) * var(--gr-mr));
7684
+ height: calc(var(--gr-s) * var(--gr-mr));
7685
+ margin-left: calc(var(--gr-s) * var(--gr-mr) / -2);
7686
+ border-radius: 50%;
7687
+ background: radial-gradient(
7688
+ closest-side,
7689
+ white,
7690
+ var(--gr-glow-hot) 35%,
7691
+ var(--gr-glow-soft) 65%,
7692
+ transparent
7693
+ );
7694
+ opacity: 0;
7695
+ }
7696
+ .gr-mote[data-v-f28780c3]:nth-child(1) {
7697
+ --gr-mx: -0.22;
7698
+ --gr-mr: 0.07;
7699
+ --gr-md: 0;
7700
+ --gr-my: 0.95;
7701
+ --gr-mdx: -0.08;
7702
+ --gr-mo: 0.9;
7703
+ }
7704
+ .gr-mote[data-v-f28780c3]:nth-child(2) {
7705
+ --gr-mx: 0.12;
7706
+ --gr-mr: 0.045;
7707
+ --gr-md: 0.08;
7708
+ --gr-my: 1.2;
7709
+ --gr-mdx: 0.1;
7710
+ --gr-mo: 0.75;
7711
+ }
7712
+ .gr-mote[data-v-f28780c3]:nth-child(3) {
7713
+ --gr-mx: -0.04;
7714
+ --gr-mr: 0.085;
7715
+ --gr-md: 0.15;
7716
+ --gr-my: 0.8;
7717
+ --gr-mdx: 0.03;
7718
+ --gr-mo: 1;
7719
+ }
7720
+ .gr-mote[data-v-f28780c3]:nth-child(4) {
7721
+ --gr-mx: 0.26;
7722
+ --gr-mr: 0.055;
7723
+ --gr-md: 0.2;
7724
+ --gr-my: 1.05;
7725
+ --gr-mdx: 0.12;
7726
+ --gr-mo: 0.6;
7727
+ }
7728
+ .gr-mote[data-v-f28780c3]:nth-child(5) {
7729
+ --gr-mx: -0.3;
7730
+ --gr-mr: 0.035;
7731
+ --gr-md: 0.27;
7732
+ --gr-my: 1.3;
7733
+ --gr-mdx: -0.14;
7734
+ --gr-mo: 0.55;
7735
+ }
7736
+ .gr-mote[data-v-f28780c3]:nth-child(6) {
7737
+ --gr-mx: 0.06;
7738
+ --gr-mr: 0.04;
7739
+ --gr-md: 0.34;
7740
+ --gr-my: 1.4;
7741
+ --gr-mdx: -0.05;
7742
+ --gr-mo: 0.85;
7743
+ }
7744
+ .gr-mote[data-v-f28780c3]:nth-child(7) {
7745
+ --gr-mx: -0.14;
7746
+ --gr-mr: 0.042;
7747
+ --gr-md: 0.42;
7748
+ --gr-my: 1.1;
7749
+ --gr-mdx: -0.02;
7750
+ --gr-mo: 0.7;
7751
+ }
7752
+ .gr-mote[data-v-f28780c3]:nth-child(8) {
7753
+ --gr-mx: 0.2;
7754
+ --gr-mr: 0.06;
7755
+ --gr-md: 0.5;
7756
+ --gr-my: 0.9;
7757
+ --gr-mdx: 0.06;
7758
+ --gr-mo: 0.8;
7759
+ }
7760
+
7761
+ /* ---- content ------------------------------------------------------------------------ */
7762
+
7763
+ /* A line at the mouth of the open box: below it, the content is hidden, so
7764
+ it seems to rise from inside. clip-path does not change layout. */
7765
+ .gr-emerge[data-v-f28780c3] {
7766
+ position: absolute;
7767
+ left: 50%;
7768
+ bottom: calc(var(--gr-s) * var(--gr-mouth-open-y));
7769
+ width: 0;
7770
+ height: 0;
7771
+ z-index: 3;
7772
+ clip-path: inset(-100vh -100vw 0 -100vw);
7773
+ }
7774
+ .gr-content[data-v-f28780c3] {
7775
+ position: absolute;
7776
+ left: 0;
7777
+ /* settles with a small gap above the back of the rim */
7778
+ bottom: calc(var(--gr-s) * (var(--gr-rim-open-y) - var(--gr-mouth-open-y) + 0.08));
7779
+ opacity: 0;
7780
+ transform: translateX(-50%)
7781
+ translateY(calc(100% + var(--gr-s) * (var(--gr-rim-open-y) - var(--gr-mouth-open-y) + 0.1)))
7782
+ scale(0.82);
7783
+ transform-origin: 50% 100%;
7784
+ pointer-events: none;
7785
+ }
7786
+
7787
+ /* ---- open state ------------------------------------------------------------------- */
7788
+ .ft-gift-reveal[data-open] .gr-content[data-v-f28780c3] {
7789
+ opacity: 1;
7790
+ transform: translateX(-50%);
7791
+ pointer-events: auto;
7792
+ }
7793
+ .ft-gift-reveal[data-open] .gr-spill[data-v-f28780c3] {
7794
+ opacity: 0.7;
7795
+ }
7796
+ .ft-gift-reveal[data-open] .gr-groundglow[data-v-f28780c3] {
7797
+ opacity: 0.8;
7798
+ }
7799
+ .ft-gift-reveal[data-open] .gr-column[data-v-f28780c3] {
7800
+ opacity: 0.55;
7801
+ }
7802
+ .ft-gift-reveal[data-open] .gr-bloom[data-v-f28780c3] {
7803
+ opacity: 0.6;
7804
+ }
7805
+ .ft-gift-reveal[data-open] .gr-inlight[data-v-f28780c3] {
7806
+ opacity: 1;
7807
+ }
7808
+ .ft-gift-reveal[data-open] .gr-box[data-v-f28780c3] {
7809
+ opacity: 1;
7810
+ }
7811
+ .ft-gift-reveal[data-open] .gr-shadow[data-v-f28780c3] {
7812
+ opacity: 0.7;
7813
+ }
7814
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-burst[data-v-f28780c3] {
7815
+ transform: translateY(calc(var(--gr-s) * (var(--gr-mouth-y) - var(--gr-mouth-open-y))));
7816
+ }
7817
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-sinker[data-v-f28780c3] {
7818
+ transform: translateY(calc(var(--gr-s) * 0.1)) scale(0.86);
7819
+ }
7820
+ /* the ribbon peels away: the arms on the lid pull out from under the knot,
7821
+ then the bands down the sides drop off */
7822
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-band--n[data-v-f28780c3],
7823
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-band--s[data-v-f28780c3] {
7824
+ transform: scaleY(0);
7825
+ }
7826
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-band--w[data-v-f28780c3],
7827
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-band--e[data-v-f28780c3] {
7828
+ transform: scaleX(0);
7829
+ }
7830
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-band--v[data-v-f28780c3] {
7831
+ transform: translateY(105%);
7832
+ }
7833
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-bow[data-v-f28780c3] {
7834
+ transform: translateY(calc(var(--gr-s) * -0.1)) scale(0.8);
7835
+ opacity: 0;
7836
+ }
7837
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-loop--l[data-v-f28780c3] {
7838
+ transform: rotate(-58deg) scale(0.75, 0.6);
7839
+ }
7840
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-loop--r[data-v-f28780c3] {
7841
+ transform: rotate(58deg) scale(0.75, 0.6);
7842
+ }
7843
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-tail--l[data-v-f28780c3] {
7844
+ transform: rotate(6deg) scaleY(1.25);
7845
+ }
7846
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-tail--r[data-v-f28780c3] {
7847
+ transform: rotate(-4deg) scaleY(1.25);
7848
+ }
7849
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-knot[data-v-f28780c3] {
7850
+ transform: scale(0.6);
7851
+ }
7852
+ /* the lid comes straight up and tips back... */
7853
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-lid-lift[data-v-f28780c3] {
7854
+ transform: translateY(calc(var(--gr-s) * -0.32)) rotateX(22deg);
7855
+ }
7856
+ /* ...then sails off up and to the right along an arc, fading as it goes */
7857
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-lid[data-v-f28780c3] {
7858
+ transform: translate3d(
7859
+ calc(var(--gr-s) * 0.85),
7860
+ calc(var(--gr-s) * -0.55),
7861
+ calc(var(--gr-s) * -0.9)
7862
+ )
7863
+ rotateX(40deg) rotateZ(-16deg) scale(0.9);
7864
+ }
7865
+ .ft-gift-reveal[data-open]:not([data-motion="reduced"]) .gr-lid > .gr-face[data-v-f28780c3] {
7866
+ opacity: 0;
7867
+ }
7868
+
7869
+ /* ---- motion ------------------------------------------------------------------------- */
7870
+
7871
+ /* Every transition below reads its timing from the root (gift-reveal-core).
7872
+ Resting rules carry the closing timeline; [data-open] rules the opening one. */
7873
+ .gr-content[data-v-f28780c3] {
7874
+ transition:
7875
+ opacity var(--gr-c-reveal-dur) var(--ft-ease-in, cubic-bezier(0.7, 0, 0.84, 0))
7876
+ var(--gr-c-reveal-delay),
7877
+ transform var(--gr-c-reveal-dur) var(--ft-ease-in, cubic-bezier(0.7, 0, 0.84, 0))
7878
+ var(--gr-c-reveal-delay);
7879
+ }
7880
+ .gr-burst[data-v-f28780c3] {
7881
+ transition: transform var(--gr-c-reveal-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7882
+ var(--gr-c-reveal-delay);
7883
+ }
7884
+ .gr-spill[data-v-f28780c3],
7885
+ .gr-groundglow[data-v-f28780c3],
7886
+ .gr-column[data-v-f28780c3],
7887
+ .gr-bloom[data-v-f28780c3],
7888
+ .gr-inlight[data-v-f28780c3],
7889
+ .gr-box[data-v-f28780c3],
7890
+ .gr-shadow[data-v-f28780c3] {
7891
+ transition: opacity var(--gr-c-burst-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7892
+ var(--gr-c-burst-delay);
7893
+ }
7894
+ .gr-sinker[data-v-f28780c3] {
7895
+ transition: transform var(--gr-c-lid-dur) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7896
+ var(--gr-c-reveal-delay);
7897
+ }
7898
+ /* closing ties the ribbon back on: sides first, then the arms, then the bow */
7899
+ .gr-band--v[data-v-f28780c3] {
7900
+ transition: transform calc(var(--gr-c-untie-dur) * 0.5)
7901
+ var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) var(--gr-c-untie-delay);
7902
+ }
7903
+ .gr-band--n[data-v-f28780c3],
7904
+ .gr-band--s[data-v-f28780c3],
7905
+ .gr-band--w[data-v-f28780c3],
7906
+ .gr-band--e[data-v-f28780c3] {
7907
+ transition: transform calc(var(--gr-c-untie-dur) * 0.5)
7908
+ var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7909
+ calc(var(--gr-c-untie-delay) + var(--gr-c-untie-dur) * 0.25);
7910
+ }
7911
+ .gr-bow[data-v-f28780c3],
7912
+ .gr-loop[data-v-f28780c3],
7913
+ .gr-tail[data-v-f28780c3],
7914
+ .gr-knot[data-v-f28780c3] {
7915
+ transition:
7916
+ transform calc(var(--gr-c-untie-dur) * 0.5) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7917
+ calc(var(--gr-c-untie-delay) + var(--gr-c-untie-dur) * 0.5),
7918
+ opacity calc(var(--gr-c-untie-dur) * 0.5) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7919
+ calc(var(--gr-c-untie-delay) + var(--gr-c-untie-dur) * 0.5);
7920
+ }
7921
+ .gr-lid-lift[data-v-f28780c3],
7922
+ .gr-lid[data-v-f28780c3] {
7923
+ transition: transform var(--gr-c-lid-dur) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7924
+ var(--gr-c-lid-delay);
7925
+ }
7926
+ .gr-lid > .gr-face[data-v-f28780c3] {
7927
+ transition: opacity calc(var(--gr-c-lid-dur) * 0.5)
7928
+ var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) var(--gr-c-lid-delay);
7929
+ }
7930
+ .ft-gift-reveal[data-open] .gr-content[data-v-f28780c3] {
7931
+ transition:
7932
+ opacity calc(var(--gr-o-reveal-dur) * 0.3) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7933
+ var(--gr-o-reveal-delay),
7934
+ transform var(--gr-o-reveal-dur) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7935
+ var(--gr-o-reveal-delay);
7936
+ }
7937
+ .ft-gift-reveal[data-open] .gr-burst[data-v-f28780c3] {
7938
+ transition: transform var(--gr-o-reveal-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7939
+ var(--gr-o-reveal-delay);
7940
+ }
7941
+ .ft-gift-reveal[data-open] .gr-spill[data-v-f28780c3],
7942
+ .ft-gift-reveal[data-open] .gr-groundglow[data-v-f28780c3],
7943
+ .ft-gift-reveal[data-open] .gr-column[data-v-f28780c3],
7944
+ .ft-gift-reveal[data-open] .gr-bloom[data-v-f28780c3],
7945
+ .ft-gift-reveal[data-open] .gr-inlight[data-v-f28780c3] {
7946
+ transition: opacity calc(var(--gr-o-burst-dur) * 0.6)
7947
+ var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) var(--gr-o-burst-delay);
7948
+ }
7949
+ .ft-gift-reveal[data-open] .gr-box[data-v-f28780c3],
7950
+ .ft-gift-reveal[data-open] .gr-shadow[data-v-f28780c3] {
7951
+ transition: opacity var(--gr-o-reveal-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7952
+ var(--gr-o-reveal-delay);
7953
+ }
7954
+ .ft-gift-reveal[data-open] .gr-sinker[data-v-f28780c3] {
7955
+ transition: transform var(--gr-o-reveal-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7956
+ var(--gr-o-reveal-delay);
7957
+ }
7958
+ /* opening: the bow gives first, the arms pull out, the sides drop */
7959
+ .ft-gift-reveal[data-open] .gr-bow[data-v-f28780c3],
7960
+ .ft-gift-reveal[data-open] .gr-loop[data-v-f28780c3],
7961
+ .ft-gift-reveal[data-open] .gr-tail[data-v-f28780c3],
7962
+ .ft-gift-reveal[data-open] .gr-knot[data-v-f28780c3] {
7963
+ transition:
7964
+ transform calc(var(--gr-o-untie-dur) * 0.45) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
7965
+ var(--gr-o-untie-delay),
7966
+ opacity calc(var(--gr-o-untie-dur) * 0.45) var(--ft-ease-in, cubic-bezier(0.7, 0, 0.84, 0))
7967
+ var(--gr-o-untie-delay);
7968
+ }
7969
+ .ft-gift-reveal[data-open] .gr-band--n[data-v-f28780c3],
7970
+ .ft-gift-reveal[data-open] .gr-band--s[data-v-f28780c3],
7971
+ .ft-gift-reveal[data-open] .gr-band--w[data-v-f28780c3],
7972
+ .ft-gift-reveal[data-open] .gr-band--e[data-v-f28780c3] {
7973
+ transition: transform calc(var(--gr-o-untie-dur) * 0.45)
7974
+ var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7975
+ calc(var(--gr-o-untie-delay) + var(--gr-o-untie-dur) * 0.15);
7976
+ }
7977
+ .ft-gift-reveal[data-open] .gr-band--v[data-v-f28780c3] {
7978
+ transition: transform calc(var(--gr-o-untie-dur) * 0.55)
7979
+ var(--ft-ease-in, cubic-bezier(0.7, 0, 0.84, 0))
7980
+ calc(var(--gr-o-untie-delay) + var(--gr-o-untie-dur) * 0.4);
7981
+ }
7982
+ /* the lid comes straight up and tips back... */
7983
+ .ft-gift-reveal[data-open] .gr-lid-lift[data-v-f28780c3] {
7984
+ transition: transform calc(var(--gr-o-lid-dur) * 0.45)
7985
+ var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) var(--gr-o-lid-delay);
7986
+ }
7987
+ /* ...then sails off along an arc and fades out over the second half */
7988
+ .ft-gift-reveal[data-open] .gr-lid[data-v-f28780c3] {
7989
+ transition: transform calc(var(--gr-o-lid-dur) * 0.8)
7990
+ var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7991
+ calc(var(--gr-o-lid-delay) + var(--gr-o-lid-dur) * 0.2);
7992
+ }
7993
+ .ft-gift-reveal[data-open] .gr-lid > .gr-face[data-v-f28780c3] {
7994
+ transition: opacity calc(var(--gr-o-lid-dur) * 0.55)
7995
+ var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1))
7996
+ calc(var(--gr-o-lid-delay) + var(--gr-o-lid-dur) * 0.45);
7997
+ }
7998
+
7999
+ /* One-shot keyframes: only after a real change, never on mount. */
8000
+ .ft-gift-reveal[data-animate][data-open]:not([data-motion="reduced"]) .gr-wiggle[data-v-f28780c3] {
8001
+ animation: gr-anticipate-f28780c3 var(--gr-o-anticipate-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1)) var(--gr-o-anticipate-delay) both;
8002
+ }
8003
+ .ft-gift-reveal[data-animate][data-open]:not([data-motion="reduced"]) .gr-bow-wiggle[data-v-f28780c3] {
8004
+ animation: gr-anticipate-flat-f28780c3 var(--gr-o-anticipate-dur) var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1)) var(--gr-o-anticipate-delay) both;
8005
+ }
8006
+ .ft-gift-reveal[data-animate][data-open]:not([data-motion="reduced"]) .gr-flash[data-v-f28780c3] {
8007
+ animation: gr-flash-f28780c3 calc(var(--gr-o-lid-dur) * 0.35) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
8008
+ calc(var(--gr-o-lid-delay) + var(--gr-o-lid-dur) * 0.08) both;
8009
+ }
8010
+ .ft-gift-reveal[data-animate][data-open]:not([data-motion="reduced"]) .gr-bloom[data-v-f28780c3] {
8011
+ animation: gr-flare-f28780c3 var(--gr-o-burst-dur) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
8012
+ var(--gr-o-burst-delay) both;
8013
+ }
8014
+ .ft-gift-reveal[data-animate][data-open]:not([data-motion="reduced"]) .gr-mote[data-v-f28780c3] {
8015
+ animation: gr-rise-f28780c3 calc(var(--gr-o-burst-dur) * 0.9) var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1))
8016
+ calc(var(--gr-o-burst-delay) + var(--gr-o-burst-dur) * var(--gr-md)) both;
8017
+ }
8018
+
8019
+ /* Idle hint while closed: the lid gives a small hop and a sheen crosses the paper. */
8020
+ .ft-gift-reveal:not([data-open], [data-motion="reduced"]) .gr-button:hover .gr-lid-hint[data-v-f28780c3],
8021
+ .ft-gift-reveal:not([data-open], [data-motion="reduced"]) .gr-button:focus-visible .gr-lid-hint[data-v-f28780c3],
8022
+ .ft-gift-reveal:not([data-open], [data-motion="reduced"]) .gr-button:hover .gr-bow-hint[data-v-f28780c3],
8023
+ .ft-gift-reveal:not([data-open], [data-motion="reduced"]) .gr-button:focus-visible .gr-bow-hint[data-v-f28780c3] {
8024
+ animation: gr-hint-f28780c3 var(--ft-duration-entrance, 600ms)
8025
+ var(--ft-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
8026
+ }
8027
+ .ft-gift-reveal:not([data-open], [data-motion="reduced"]) .gr-button:hover .gr-sheen[data-v-f28780c3],
8028
+ .ft-gift-reveal:not([data-open], [data-motion="reduced"]) .gr-button:focus-visible .gr-sheen[data-v-f28780c3] {
8029
+ animation: gr-sweep-f28780c3 var(--ft-duration-entrance, 600ms)
8030
+ var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1)) both;
8031
+ }
8032
+
8033
+ /* the flat bow follows the box's squash and hop through its own wrappers */
8034
+ .gr-bow-wiggle[data-v-f28780c3],
8035
+ .gr-bow-hint[data-v-f28780c3] {
8036
+ position: absolute;
8037
+ inset: 0;
8038
+ pointer-events: none;
8039
+ }
8040
+ .gr-bow-wiggle[data-v-f28780c3] {
8041
+ /* pivots at the base of the box, like the box itself */
8042
+ transform-origin: 50% calc(100% - var(--gr-s) * var(--gr-base-y));
8043
+ }
8044
+ @keyframes gr-anticipate-f28780c3 {
8045
+ 0% {
8046
+ transform: none;
8047
+ }
8048
+ 25% {
8049
+ transform: scale(1.05, 0.9);
8050
+ }
8051
+ 45% {
8052
+ transform: scale(0.98, 1.04) rotateZ(-3deg);
8053
+ }
8054
+ 62% {
8055
+ transform: rotateZ(2.5deg);
8056
+ }
8057
+ 80% {
8058
+ transform: rotateZ(-1.2deg);
8059
+ }
8060
+ 100% {
8061
+ transform: none;
8062
+ }
8063
+ }
8064
+
8065
+ /* the same beat for the flat bow: squash reads as a drop, sway as a sway */
8066
+ @keyframes gr-anticipate-flat-f28780c3 {
8067
+ 0% {
8068
+ transform: none;
8069
+ }
8070
+ 25% {
8071
+ transform: translateY(calc(var(--gr-s) * 0.07)) scale(1.04, 0.96);
8072
+ }
8073
+ 45% {
8074
+ transform: translateY(calc(var(--gr-s) * -0.03)) rotate(-3deg);
8075
+ }
8076
+ 62% {
8077
+ transform: rotate(2.5deg);
8078
+ }
8079
+ 80% {
8080
+ transform: rotate(-1.2deg);
8081
+ }
8082
+ 100% {
8083
+ transform: none;
8084
+ }
8085
+ }
8086
+ @keyframes gr-flash-f28780c3 {
8087
+ 0% {
8088
+ opacity: 0;
8089
+ transform: scale(0.96);
8090
+ }
8091
+ 30% {
8092
+ opacity: 0.9;
8093
+ }
8094
+ 100% {
8095
+ opacity: 0;
8096
+ transform: scale(1.04);
8097
+ }
8098
+ }
8099
+ @keyframes gr-flare-f28780c3 {
8100
+ 0% {
8101
+ opacity: 0;
8102
+ transform: scale(0.6);
8103
+ }
8104
+ 30% {
8105
+ opacity: 1;
8106
+ transform: scale(1.12);
8107
+ }
8108
+ 100% {
8109
+ transform: scale(1);
8110
+ }
8111
+ }
8112
+ @keyframes gr-rise-f28780c3 {
8113
+ 0% {
8114
+ opacity: 0;
8115
+ transform: translate(0, 0) scale(0.5);
8116
+ }
8117
+ 18% {
8118
+ opacity: var(--gr-mo);
8119
+ }
8120
+ 70% {
8121
+ opacity: calc(var(--gr-mo) * 0.7);
8122
+ }
8123
+ 100% {
8124
+ opacity: 0;
8125
+ transform: translate(calc(var(--gr-s) * var(--gr-mdx)), calc(var(--gr-s) * var(--gr-my) * -1))
8126
+ scale(1);
8127
+ }
8128
+ }
8129
+ @keyframes gr-hint-f28780c3 {
8130
+ 0%,
8131
+ 100% {
8132
+ transform: none;
8133
+ }
8134
+ 30% {
8135
+ transform: translateY(calc(var(--gr-s) * -0.05)) rotateZ(-1.5deg);
8136
+ }
8137
+ 55% {
8138
+ transform: none;
8139
+ }
8140
+ 72% {
8141
+ transform: translateY(calc(var(--gr-s) * -0.015));
8142
+ }
8143
+ }
8144
+ @keyframes gr-sweep-f28780c3 {
8145
+ from {
8146
+ background-position: 0% 0;
8147
+ }
8148
+ to {
8149
+ background-position: 100% 0;
8150
+ }
8151
+ }
8152
+
8153
+ /* ---- reduced motion: nothing travels, the box and the content cross-fade ---------------- */
8154
+
8155
+ /* The travel rules and the one-shot keyframes above already skip this mode; what is
8156
+ left is opacity. */
8157
+ .ft-gift-reveal[data-motion="reduced"] .gr-content[data-v-f28780c3] {
8158
+ transform: translateX(-50%);
8159
+ }
8160
+ .ft-gift-reveal[data-motion="reduced"][data-open] .gr-box[data-v-f28780c3],
8161
+ .ft-gift-reveal[data-motion="reduced"][data-open] .gr-shadow[data-v-f28780c3],
8162
+ .ft-gift-reveal[data-motion="reduced"][data-open] .gr-bow[data-v-f28780c3] {
8163
+ opacity: 0;
8164
+ }
8165
+
8166
+ .ft-number-input-field[data-v-fd3c567f]:focus-visible {
8167
+ --ft-number-input-accent: var(
8168
+ --ft-accent,
8169
+ light-dark(oklch(0.5432 0.2528 300.22), oklch(0.604 0.2606 301.75))
8170
+ );
8171
+ box-shadow: inset 0 0 0 1px var(--ft-number-input-accent);
8172
+ }
8173
+ .ft-number-input-step[data-v-fd3c567f] {
8174
+ /* One local alias so the token pair is typed once rather than seven times.
8175
+ 150ms = tokens.DURATIONS.fast, cubic-bezier(0.4, 0, 0.2, 1) = tokens.EASINGS.inout */
8176
+ --ft-number-input-motion: var(--ft-duration-fast, 150ms)
8177
+ var(--ft-ease-inout, cubic-bezier(0.4, 0, 0.2, 1));
8178
+ /* Replaces the `transition-colors` utility removed from the class string
8179
+ above. Colour is a state change, not motion, so it stays outside the
8180
+ reduced-motion query. `text-decoration-color`, `fill` and `stroke`
8181
+ never change on these two buttons, so the three that do are the
8182
+ faithful subset of what the utility covered. */
8183
+ transition:
8184
+ color var(--ft-number-input-motion),
8185
+ background-color var(--ft-number-input-motion),
8186
+ border-color var(--ft-number-input-motion);
8187
+ /* Kills the ~300ms tap delay without blocking scroll — the same rule,
8188
+ for the same reason, as `.ft-pressable`. Stepping a value is exactly
8189
+ the interaction a finger repeats, so the delay is felt here. */
8190
+ touch-action: manipulation;
8191
+ }
8192
+
8193
+ /*
8194
+ * Universal fallback — a press must be acknowledged under reduced motion
8195
+ * too, and a UA that supports neither query still needs some affordance.
8196
+ * `:not(:disabled)` is redundant against `disabled:pointer-events-none`
8197
+ * and deliberately kept: a bound-reached stepper must read as inert, and
8198
+ * that should not depend on a utility staying in the class string.
8199
+ */
8200
+ .ft-number-input-step[data-v-fd3c567f]:active:not(:disabled),
8201
+ .ft-number-input-step[data-stepping="true"][data-v-fd3c567f]:not(:disabled) {
8202
+ opacity: var(--ft-number-input-press-opacity, 0.85);
8203
+ }
8204
+ @media (prefers-reduced-motion: no-preference) {
8205
+ .ft-number-input-step[data-v-fd3c567f] {
8206
+ /* The individual `scale` property, not `transform: scale()`: this
8207
+ scoped rule is unlayered, so a `transform` here would beat any
8208
+ transform utility a consumer passes through the public `class`
8209
+ prop — a `rotate-45` would silently vanish, at rest AND under
8210
+ the press. `scale` composes with the consumer's `transform`
8211
+ instead of replacing it. */
8212
+ scale: 1;
8213
+ transition:
8214
+ color var(--ft-number-input-motion),
8215
+ background-color var(--ft-number-input-motion),
8216
+ border-color var(--ft-number-input-motion),
8217
+ scale var(--ft-number-input-motion);
8218
+ }
8219
+ .ft-number-input-step[data-v-fd3c567f]:active:not(:disabled),
8220
+ .ft-number-input-step[data-stepping="true"][data-v-fd3c567f]:not(:disabled) {
8221
+ scale: var(--ft-number-input-press-scale, 0.97);
8222
+ /* Full motion = scale only; reduced motion = opacity only. Never both. */
8223
+ opacity: 1;
8224
+ }
8225
+ }
8226
+
8227
+ /*
8228
+ * The current-page pill reads the app's semantic `bg-accent` token (the
8229
+ * mockup's neutral highlight, not the brand purple) — Pagination never
8230
+ * needs the purple accent for its own surface. The focus ring is the one
8231
+ * place this component reaches for the shared nav accent, matching
8232
+ * ToggleGroupItem's identical `--ft-toggle-group-accent` pattern: no
8233
+ * semantic token owns "focus ring purple", so it is declared locally
8234
+ * with a light-dark() fallback, retintable from higher up the tree via
8235
+ * `--ft-accent`.
8236
+ */
8237
+ .ft-pagination[data-v-517ddf35] {
8238
+ --ft-nav-accent: var(
8239
+ --ft-accent,
8240
+ light-dark(oklch(0.5432 0.2528 300.22), oklch(0.604 0.2606 301.75))
8241
+ );
8242
+ }
8243
+ .ft-pagination button[data-v-517ddf35]:focus-visible {
8244
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ft-nav-accent) 35%, transparent);
8245
+ }
8246
+
8247
+ /*
8248
+ * The nav is the page buttons' `offsetParent` (no `<ul>`/`<li>` in between
8249
+ * is positioned), so `offsetLeft`/`offsetTop` and the pill's own
8250
+ * `left: 0; top: 0` share one origin. `isolation` lets the pill sit at
8251
+ * `z-index: -1` — above the nav's background, under the buttons.
8252
+ */
8253
+ .ft-pagination[data-v-517ddf35] {
8254
+ position: relative;
8255
+ isolation: isolate;
8256
+ }
8257
+ .ft-pagination-indicator[data-v-517ddf35] {
8258
+ position: absolute;
8259
+ left: 0;
8260
+ top: 0;
8261
+ z-index: -1;
8262
+ pointer-events: none;
8263
+ border-radius: var(--radius-md, 0.375rem);
8264
+ background: var(--ft-pagination-indicator-color, var(--color-accent));
8265
+ opacity: 0;
8266
+ }
8267
+ .ft-pagination[data-indicator] .ft-pagination-indicator[data-v-517ddf35] {
8268
+ opacity: 1;
8269
+ }
8270
+
8271
+ /* The pill has taken over: the current button's own fill steps aside. */
8272
+ .ft-pagination[data-indicator] button[aria-current="page"][data-v-517ddf35] {
8273
+ background: transparent;
6876
8274
  }
6877
8275
 
6878
8276
  /*
@@ -7580,8 +8978,11 @@ to {
7580
8978
  }
7581
8979
  }
7582
8980
 
7583
- .animate-ripple-circle[data-v-6d3675b5] {
7584
- animation: ripple-effect 2s ease-in-out infinite;
8981
+ /* Resting state: concentric rings stay at full size; only the pulse is gated. */
8982
+ @media (prefers-reduced-motion: no-preference) {
8983
+ .animate-ripple-circle[data-v-cf5b782d] {
8984
+ animation: ripple-effect 2s ease-in-out infinite;
8985
+ }
7585
8986
  }
7586
8987
 
7587
8988
  /* Hover: a fingertip over water. */
@@ -8424,6 +9825,38 @@ to {
8424
9825
  }
8425
9826
  }
8426
9827
 
9828
+ /* The source's only global rule is a keyframe, referenced from the gated rule
9829
+ in the scoped block below. It stays in an unscoped block so the compiler neither
9830
+ renames it nor stamps a scope id onto markup the source leaves bare. */
9831
+ @keyframes sparkleAnim {
9832
+ 0% {
9833
+ opacity: 0;
9834
+ transform: scale(0) rotate(75deg);
9835
+ }
9836
+ 50% {
9837
+ opacity: 1;
9838
+ transform: scale(var(--sparkle-scale, 1)) rotate(120deg);
9839
+ }
9840
+ 100% {
9841
+ opacity: 0;
9842
+ transform: scale(0) rotate(150deg);
9843
+ }
9844
+ }
9845
+
9846
+ /* The ungated pose is the resting state: a still, half-grown star (the 50 %
9847
+ keyframe), so reduced motion keeps the sparkles and drops the pulse. */
9848
+ .sparkles-star[data-v-f06a1c48] {
9849
+ opacity: 1;
9850
+ transform: scale(var(--sparkle-scale, 1)) rotate(120deg);
9851
+ }
9852
+ @media (prefers-reduced-motion: no-preference) {
9853
+ .sparkles-star[data-v-f06a1c48] {
9854
+ opacity: 0;
9855
+ transform: scale(0) rotate(75deg);
9856
+ animation: sparkleAnim 0.8s ease-in-out var(--sparkles-text-delay, 0s) infinite;
9857
+ }
9858
+ }
9859
+
8427
9860
  /*
8428
9861
  * The only place this component reaches for the brand purple — the
8429
9862
  * current bullet's fill/halo and a lit rail. No semantic token owns it,
@@ -9529,10 +10962,13 @@ to {
9529
10962
  }
9530
10963
  }
9531
10964
 
9532
- .cursor-blink[data-v-d4eb2937] {
9533
- animation: blink-d4eb2937 1s step-end infinite;
10965
+ /* The caret is a steady block first and a blinking one second. */
10966
+ @media (prefers-reduced-motion: no-preference) {
10967
+ .cursor-blink[data-v-4e11cdd8] {
10968
+ animation: blink-4e11cdd8 1s step-end infinite;
10969
+ }
9534
10970
  }
9535
- @keyframes blink-d4eb2937 {
10971
+ @keyframes blink-4e11cdd8 {
9536
10972
  0%,
9537
10973
  100% {
9538
10974
  opacity: 1;
@@ -9542,6 +10978,54 @@ to {
9542
10978
  }
9543
10979
  }
9544
10980
 
10981
+ /* The resting state is the ungated default: every word visible and sharp.
10982
+ The hidden start and the fade belong to the no-preference gate; the
10983
+ reveal timers write opacity/filter inline, which wins inside the gate. */
10984
+ @media (prefers-reduced-motion: no-preference) {
10985
+ .tge-word[data-v-3e55378a] {
10986
+ opacity: 0;
10987
+ filter: var(--tge-blur, none);
10988
+ transition:
10989
+ opacity var(--tge-duration, 0.7s),
10990
+ filter var(--tge-duration, 0.7s);
10991
+ }
10992
+ }
10993
+
10994
+ @keyframes star-drift {
10995
+ 0% {
10996
+ opacity: 0;
10997
+ transform: translate(0, 0) scale(1);
10998
+ }
10999
+ 50% {
11000
+ opacity: var(--star-opacity, 0.5);
11001
+ transform: translate(calc(var(--drift-x) / 2), calc(var(--drift-y) / 2)) scale(1.2);
11002
+ }
11003
+ 100% {
11004
+ opacity: 0;
11005
+ transform: translate(var(--drift-x), var(--drift-y)) scale(0);
11006
+ }
11007
+ }
11008
+
11009
+ /* Resting state: a faint fixed star; the drift only runs without a reduce preference. */
11010
+ .star-animate[data-v-ce39bf0f] {
11011
+ opacity: var(--star-opacity, 0.5);
11012
+ }
11013
+ @media (prefers-reduced-motion: no-preference) {
11014
+ .star-animate[data-v-ce39bf0f] {
11015
+ opacity: 0;
11016
+ animation: star-drift linear infinite;
11017
+ }
11018
+ }
11019
+
11020
+ /* The 0.4s settle after the pointer leaves is travel (clip-path, left, rotate, opacity):
11021
+ it only runs without a reduce preference, otherwise the reveal snaps back.
11022
+ While hovering the class is off, so the layers follow the pointer without easing. */
11023
+ @media (prefers-reduced-motion: no-preference) {
11024
+ .text-reveal-settle[data-v-7675d2f2] {
11025
+ transition: all 0.4s ease-out;
11026
+ }
11027
+ }
11028
+
9545
11029
  /*
9546
11030
  * `inline-grid` stacks both layers on the SAME grid area, so the implicit
9547
11031
  * track sizes to `max-content` across both — the box is exactly as wide as