*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  background-color: #05050B;
  background-image: url('/images/Background.png');
  background-repeat: repeat;
  background-position: top center;
}

body {
  min-height: 100dvh;
  overflow: hidden;
  background-color: transparent;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-feature-settings: 'cv01' on, 'cv02' on;
}

.cosmic-bg {
  background-color: transparent;
}

/* ─── App shell — mobile frame; wider on tablet/desktop ───────────────── */

.app-shell {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  height: 100dvh;
  width: 100%;
  max-width: 430px;
  overflow: hidden;
  background-color: transparent;
}

@media (min-width: 768px) {
  .app-shell {
    max-width: 920px;
  }
}

.app-main {
  height: 100%;
  width: 100%;
  background-color: transparent;
}

/* ─── Header overlay — transparent, content scrolls behind ─────────────── */

#app-header {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 30;
  border-width: 0px;
  background-color: transparent;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  outline: 2px solid transparent;
  outline-offset: 2px;
  padding-top: max(0.625rem, env(safe-area-inset-top));
}

.app-header {
  pointer-events: none;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: center;
  gap: 0.375rem;
  background-color: transparent;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (min-width: 768px) {
  .app-header {
    gap: 1rem;
    padding-bottom: 0.75rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .app-header {
    gap: 1.25rem;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .app-header {
    gap: 1.5rem;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (min-width: 1536px) {
  .app-header {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

.header-pill {
  pointer-events: auto;
  position: relative;
  isolation: isolate;
  display: flex;
  height: auto;
  min-height: 50px;
  width: 100%;
  max-width: 220px;
  align-items: center;
  overflow: visible;
  border-radius: 9999px;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(12 10 37 / var(--tw-bg-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.header-pill:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media (min-width: 768px) {
  .header-pill {
    max-width: 260px;
  }
}

@media (min-width: 1024px) {
  .header-pill {
    max-width: 280px;
  }
}

@media (min-width: 1280px) {
  .header-pill {
    max-width: 300px;
  }
}

.header-pill {
  border-color: rgb(168 85 247 / 0.32);
  box-shadow:
      0 4px 24px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(216, 180, 254, 0.1);
}

.header-pill > :not(.header-pill__beam) {
  position: relative;
  z-index: 1;
}

.header-pill__beam {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  overflow: hidden;
  border-radius: 9999px;
  padding: 1px;
  z-index: 2;
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
          mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.header-pill__beam::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  height: 220%;
  transform: translate(-50%, -50%);
  animation: day-card-beam-spin 3.2s linear infinite;
  background: conic-gradient(
      from 0deg,
      transparent 0deg 286deg,
      rgba(168, 85, 247, 0.16) 304deg,
      #6d28d9 322deg,
      #a855f7 338deg,
      #e9d5ff 346deg,
      #ffffff 352deg,
      #c084fc 360deg
    );
}

.header-pill--month {
  min-width: 0px;
  gap: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.625rem;
}

@media (min-width: 768px) {
  .header-pill--month {
    gap: 0.625rem;
    padding-left: 0.625rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .header-pill--month {
    padding-left: 0.75rem;
    padding-right: 0.875rem;
  }
}

.header-pill--user {
  min-width: 0px;
  gap: 0.5rem;
  padding-left: 0.25rem;
  padding-right: 0.625rem;
}

@media (min-width: 768px) {
  .header-pill--user {
    gap: 0.625rem;
    padding-left: 0.375rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .header-pill--user {
    padding-left: 0.5rem;
    padding-right: 0.875rem;
  }
}

.header-pill__primary--user {
  font-size: 0.75rem;
  line-height: 1rem;
}

@media (min-width: 768px) {
  .header-pill__primary--user {
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .header-pill__primary--user {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

.header-pill__icon-slot {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.header-pill__crystal {
  height: 1.75rem;
  width: 1.75rem;
}

@media (min-width: 768px) {
  .header-pill__crystal {
    height: 2rem;
    width: 2rem;
  }
}

@media (min-width: 1024px) {
  .header-pill__crystal {
    height: 2.25rem;
    width: 2.25rem;
  }
}

.header-pill__crystal {
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
}

.header-pill__content {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.header-pill__labels {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.header-pill__primary {
  font-size: 13px;
  font-weight: 700;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  line-height: 1.25;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .header-pill__primary {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .header-pill__primary {
    font-size: 15px;
  }
}

.header-pill__secondary {
  margin-top: 0.125rem;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(148 148 184 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .header-pill__secondary {
    font-size: 11px;
  }
}

.header-pill__stats {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.25rem;
}

.header-pill__stat-text {
  margin: 0px;
  white-space: nowrap;
  font-size: 9px;
  line-height: 1;
}

@media (min-width: 768px) {
  .header-pill__stat-text {
    font-size: 10px;
  }
}

.header-pill__stat-current {
  font-weight: 600;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.header-pill__stat-total {
  font-weight: 500;
  --tw-numeric-spacing: tabular-nums;
  font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction);
  --tw-text-opacity: 1;
  color: rgb(148 148 184 / var(--tw-text-opacity, 1));
}

.header-pill__bar {
  height: 3px;
  width: 100%;
  max-width: 5.5rem;
  overflow: hidden;
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .header-pill__bar {
    height: 0.25rem;
    max-width: 6.75rem;
  }
}

@media (min-width: 1024px) {
  .header-pill__bar {
    max-width: 7.5rem;
  }
}

.header-pill__bar {
  background-color: rgb(255 255 255 / 0.08);
}

.header-pill__bar-fill {
  height: 100%;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(157 112 255 / var(--tw-bg-opacity, 1));
  box-shadow: 0 0 8px rgba(157, 112, 255, 0.55);
}

.header-pill__avatar {
  display: flex;
  height: 2.6rem;
  width: 2.6rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  border-width: 1px;
  border-color: rgb(168 85 247 / 0.8);
  --tw-bg-opacity: 1;
  background-color: rgb(26 26 46 / var(--tw-bg-opacity, 1));
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.header-pill__avatar-initial {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

/* ─── Journey scroll container ─────────────────────────────────────────── */

.journey {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: transparent;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.journey::-webkit-scrollbar {
  display: none;
}

.journey__inner {
  --journey-edge-pad: 0.75rem;
  position: relative;
  min-height: 100%;
  background-color: transparent;
  padding-bottom: 4rem;
  padding-left: 0px;
  padding-right: 0.75rem;
}

@media (min-width: 768px) {
  .journey__inner {
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .journey__inner {
    padding-right: 3rem;
  }
}

@media (min-width: 1280px) {
  .journey__inner {
    padding-right: 4rem;
  }
}

@media (min-width: 1536px) {
  .journey__inner {
    padding-right: 5rem;
  }
}

.journey__inner {
  padding-top: calc(3.75rem + env(safe-area-inset-top));
}

@media (min-width: 768px) {
  .journey__inner {
    --journey-edge-pad: 2rem;
  }
}

@media (min-width: 1024px) {
  .journey__inner {
    --journey-edge-pad: 3rem;
  }
}

@media (min-width: 1280px) {
  .journey__inner {
    --journey-edge-pad: 4rem;
  }
}

@media (min-width: 1536px) {
  .journey__inner {
    --journey-edge-pad: 5rem;
  }
}

.journey__list {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding-bottom: 0.5rem;
}

.journey__connector {
  pointer-events: none;
  position: absolute;
  inset: 0px;
  z-index: 0;
  overflow: visible;
}

.journey-connector__ribbon,
  .journey-connector__sparkles,
  .journey-connector__flares {
  pointer-events: none;
}

/* ─── Day row — organic offsets (dayRowPadding.js) ─────────────────────── */

.journey-row {
  --journey-node-col: 144px;
  --journey-day-size: 78px;
  --journey-card-min: 180px;
  --journey-planet-visual: 140px;
  --journey-planet-size: 140px;
  --journey-card-inset: calc(var(--journey-node-col) * 0.22 + 0.25rem);
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  min-width: 0px;
  max-width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0px;
  padding-left: var(--row-pad-left, 0px);
  padding-bottom: var(--row-gap-after, 3rem);
  transform: translateY(var(--row-offset-y, 0px));
}

.journey-row--today {
  --journey-node-col: 188px;
  --journey-planet-size: 178px;
  --journey-planet-visual: 178px;
  --journey-day-size: 158px;
  --journey-card-inset: calc(var(--journey-node-col) * 0.2 + 0.375rem);
}

.journey-row__node-col {
  position: relative;
  z-index: 3;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--journey-node-col);
  min-width: var(--journey-node-col);
}

.journey-row__card-col {
  position: relative;
  z-index: 5;
  display: flex;
  width: 100%;
  min-width: 0px;
  align-items: stretch;
  margin-top: 0.5rem;
  margin-left: var(--journey-card-inset);
  width: calc(100% - var(--journey-card-inset));
  max-width: calc(100% - var(--journey-card-inset));
}

/* ─── Nodes (images) ───────────────────────────────────────────────────── */

.journey-node {
  position: relative;
  display: grid;
  width: 100%;
  place-items: center;
}

.journey-node__backdrop,
  .journey-node__day {
  position: relative;
  display: grid;
  width: 100%;
  place-items: center;
  grid-area: 1 / 1;
}

.journey-node__backdrop {
  z-index: 0;
}

.journey-node__day {
  z-index: 2;
  overflow: visible;
}

.journey-node__planet,
  .journey-node__smoke {
  grid-area: 1 / 1;
}

.journey-node__planet {
  pointer-events: none;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  width: var(--journey-planet-size);
  animation: journey-float-planet 5.8s ease-in-out infinite;
  animation-delay: calc(var(--row-index, 0) * -0.55s);
}

.journey-node__smoke {
  pointer-events: none;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0.24;
  width: var(--journey-planet-size);
  animation: journey-float-smoke 7.2s ease-in-out infinite;
  animation-delay: calc(var(--row-index, 0) * -0.65s);
}

.journey-node__day-marker {
  position: relative;
  display: block;
  transform: translate(-4px, -18px);
  animation: journey-float-day 3.6s ease-in-out infinite;
  animation-delay: calc(var(--row-index, 0) * -0.45s);
}

.journey-row--today .journey-node__day-marker {
  transform: translate(-6px, -16px);
}

.journey-node__pulse {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  border-radius: 9999px;
  width: var(--journey-day-size);
  height: var(--journey-day-size);
  transform: translate(-50%, -50%);
  animation: journey-node-pulse 2.8s ease-out infinite;
}

.journey-node__pulse--delayed {
  animation-delay: 1.4s;
}

.journey-node__day-marker--today .journey-node__pulse {
  border: 1.5px solid rgba(255, 213, 79, 0.72);
  box-shadow: 0 0 12px rgba(255, 179, 71, 0.5);
}

.journey-node__day-marker--future .journey-node__pulse {
  border: 1.5px solid rgba(125, 211, 252, 0.7);
  box-shadow: 0 0 12px rgba(61, 142, 245, 0.48);
}

.journey-node__day-marker--locked .journey-node__pulse {
  border: 1.5px solid rgba(188, 170, 164, 0.55);
  box-shadow: 0 0 10px rgba(141, 110, 99, 0.35);
  animation-duration: 3.4s;
}

.journey-node__img {
  position: relative;
  z-index: 1;
  display: block;
  height: auto;
  flex-shrink: 0;
  -o-object-fit: contain;
     object-fit: contain;
  width: var(--journey-day-size);
}

.journey-node__day-marker--today .journey-node__img {
  filter: drop-shadow(0 0 10px rgba(255, 179, 71, 0.45));
}

.journey-node__day-marker--future .journey-node__img {
  filter: drop-shadow(0 0 10px rgba(61, 142, 245, 0.42));
}

.journey-node__day-marker--locked .journey-node__img {
  filter: drop-shadow(0 0 8px rgba(141, 110, 99, 0.28));
}

@media (prefers-reduced-motion: reduce) {
  .journey-node__day-marker,
    .journey-node__planet,
    .journey-node__smoke {
    animation: none;
  }

  .journey-node__pulse {
    animation: none;
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* ─── Day cards ────────────────────────────────────────────────────────── */

.day-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 180px;
  width: 100%;
  min-width: 180px;
  flex-direction: column;
  border-radius: 20px;
  padding: 0.875rem;
  background: #3a2ca526;
  border: none;
  box-shadow: none;
}

.day-card--interactive {
  cursor: pointer;
}

.day-card--past {
  position: relative;
  isolation: isolate;
  opacity: 0.95;
  border: none;
  box-shadow: none;
}

.day-card--today {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid #fccb5b;
  box-shadow: none;
}

.day-card--future {
  position: relative;
  isolation: isolate;
  overflow: visible;
  border: 1px solid #0732a6;
  box-shadow: none;
}

.day-card__beam-glow {
  pointer-events: none;
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  opacity: 0.7;
  z-index: 0;
}

.day-card__beam-glow--today {
  box-shadow:
      0 0 8px rgba(255, 193, 79, 0.42),
      0 0 14px rgba(255, 149, 0, 0.14);
}

.day-card__beam {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  overflow: hidden;
  border-radius: 21px;
  padding: 1.5px;
  z-index: 2;
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
          mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.day-card__beam::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220%;
  height: 220%;
  transform: translate(-50%, -50%);
  animation: day-card-beam-spin 3.4s linear infinite;
}

.day-card__beam--today::before {
  background: conic-gradient(
      from 0deg,
      transparent 0deg 286deg,
      rgba(255, 179, 71, 0.12) 304deg,
      #c8862a 322deg,
      #ffb347 338deg,
      #fff8e1 346deg,
      #ffffff 352deg,
      #ffd54f 360deg
    );
}

.day-card__beam--future::before {
  background: conic-gradient(
      from 0deg,
      transparent 0deg 286deg,
      rgba(61, 142, 245, 0.14) 304deg,
      #0d3cb1 322deg,
      #3d8ef5 338deg,
      #e8f6ff 346deg,
      #ffffff 352deg,
      #7dd3fc 360deg
    );
}

.day-card--today > :not(.day-card__beam):not(.day-card__beam-glow),
  .day-card--future > :not(.day-card__beam) {
  position: relative;
  z-index: 1;
}

.day-card--today .day-card__date--today {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.day-card__date-label {
  position: relative;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffc86a;
  text-shadow:
      0 0 6px rgba(255, 191, 88, 0.95),
      0 0 14px rgba(255, 160, 60, 0.72),
      0 0 22px rgba(255, 130, 40, 0.42);
}

.day-card__date-label::before {
  content: '';
  position: absolute;
  inset: -5px -10px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 160, 60, 0.28), transparent 72%);
  filter: blur(3px);
  pointer-events: none;
}

.day-card__date-rest {
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(210, 186, 150, 0.72);
}

.day-card--future .day-card__date {
  color: rgb(186 230 253 / 0.7);
}

.day-card--past .day-card__date {
  color: rgb(188 170 164 / 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .header-pill__beam::before {
    animation: none;
    background: conic-gradient(
        from 0deg,
        rgba(168, 85, 247, 0.35) 0deg,
        rgba(192, 132, 252, 0.68) 90deg,
        rgba(168, 85, 247, 0.35) 180deg,
        rgba(192, 132, 252, 0.68) 270deg,
        rgba(168, 85, 247, 0.35) 360deg
      );
  }

  .day-card__beam--today::before {
    animation: none;
    background: conic-gradient(
        from 0deg,
        rgba(255, 179, 71, 0.35) 0deg,
        rgba(255, 213, 79, 0.65) 90deg,
        rgba(255, 179, 71, 0.35) 180deg,
        rgba(255, 213, 79, 0.65) 270deg,
        rgba(255, 179, 71, 0.35) 360deg
      );
  }

  .day-card__beam--future::before {
    animation: none;
    background: conic-gradient(
        from 0deg,
        rgba(61, 142, 245, 0.35) 0deg,
        rgba(125, 211, 252, 0.65) 90deg,
        rgba(61, 142, 245, 0.35) 180deg,
        rgba(125, 211, 252, 0.65) 270deg,
        rgba(61, 142, 245, 0.35) 360deg
      );
  }
}

.day-card__header {
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: flex-end;
}

.day-card__date {
  text-align: right;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 0.45);
}

.day-card__tasks {
  margin: 0px;
  min-height: 0px;
  flex: 1 1 0%;
  list-style-type: none;
}

.day-card__tasks > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.day-card__tasks {
  padding: 0px;
}

.day-card__empty {
  margin: 0px;
  display: flex;
  min-height: 0px;
  flex: 1 1 0%;
  flex-direction: column;
}

.day-card__empty-text {
  margin: 0px;
  display: flex;
  flex: 1 1 0%;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgb(255 255 255 / 0.3);
}

.day-card--today .day-card__empty-text {
  color: rgba(255, 200, 106, 0.38);
  text-shadow: 0 0 12px rgba(255, 160, 60, 0.15);
}

.day-card--future .day-card__empty-text {
  color: rgba(125, 211, 252, 0.38);
  text-shadow: 0 0 12px rgba(61, 142, 245, 0.12);
}

.day-card--past .day-card__empty-text {
  color: rgb(255 255 255 / 0.25);
}

.day-card__add-target {
  margin-top: auto;
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  flex-shrink: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  border-radius: 9999px;
  border-width: 1px;
  padding: 0px;
  --tw-text-opacity: 1;
  color: rgb(196 181 253 / var(--tw-text-opacity, 1));
  background: rgb(168 85 247 / 0.14);
  border-color: rgb(168 85 247 / 0.34);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.22);
}

.day-card--today .day-card__add-target {
  --tw-text-opacity: 1;
  color: rgb(255 224 130 / var(--tw-text-opacity, 1));
  background: rgb(252 204 91 / 0.12);
  border-color: rgb(252 204 91 / 0.42);
  box-shadow: 0 0 14px rgba(252, 204, 91, 0.2);
}

.day-card--future .day-card__add-target {
  --tw-text-opacity: 1;
  color: rgb(125 211 252 / var(--tw-text-opacity, 1));
  background: rgb(7 50 166 / 0.22);
  border-color: rgb(7 50 166 / 0.55);
  box-shadow: 0 0 14px rgba(61, 142, 245, 0.18);
}

.day-card--past .day-card__add-target {
  color: rgb(255 255 255 / 0.45);
  background: rgb(255 255 255 / 0.06);
  border-color: rgb(255 255 255 / 0.14);
  box-shadow: none;
}

.day-card__add-target-icon {
  height: 18px;
  width: 18px;
}

.day-card__task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.day-card__task-main {
  display: flex;
  min-width: 0px;
  align-items: center;
  gap: 0.5rem;
}

.day-card__task-text {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(255 255 255 / 0.55);
}

.day-card__task-text.is-done {
  color: rgb(255 255 255 / 0.45);
  text-decoration-line: line-through;
  text-decoration-color: rgb(255 255 255 / 0.25);
}

.day-card__check {
  position: relative;
  box-sizing: border-box;
  display: flex;
  height: 1.25rem;
  width: 1.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.3);
}

.day-card__check.is-checked {
  border-color: transparent;
}

.day-card__check-icon {
  display: block;
  height: 0.75rem;
  width: 0.75rem;
  --tw-text-opacity: 1;
  color: rgb(10 10 15 / var(--tw-text-opacity, 1));
}

.day-card__check--blue.is-checked {
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(124 142 248 / var(--tw-bg-opacity, 1));
  border-color: #12131F;
  box-shadow:
      0 0 7px rgba(124, 142, 248, 0.55),
      0 1px 2px rgba(0, 0, 0, 0.45);
}

.day-card__check--gold.is-checked {
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 184 77 / var(--tw-bg-opacity, 1));
  border-color: #12131F;
  box-shadow:
      0 0 7px rgba(255, 184, 77, 0.58),
      0 1px 2px rgba(0, 0, 0, 0.45);
}

.day-card__check--purple.is-checked {
  --tw-bg-opacity: 1;
  background-color: rgb(168 85 247 / var(--tw-bg-opacity, 1));
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.55);
}

/* ─── Month picker (fullscreen viewport) ──────────────────────────────── */

#month-picker-root,
  #user-picker-root,
  #target-editor-root {
  pointer-events: none;
  position: fixed;
  inset: 0px;
  z-index: 50;
  height: 100dvh;
  width: 100vw;
  max-width: none;
}

.login-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.login-page {
  display: flex;
  width: 100%;
  max-width: 430px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .login-page {
    max-width: 920px;
  }
}

.login-page {
  min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}

.login-version {
  margin: 0px;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.025em;
  color: rgb(255 255 255 / 0.3);
}

.login-card {
  width: 100%;
  max-width: 24rem;
  border-radius: 24px;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(11 13 21 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
  border-color: rgb(168 85 247 / 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.login-title {
  margin: 0px;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.login-subtitle {
  margin: 0px;
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  line-height: 1.625;
  color: rgb(255 255 255 / 0.55);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.login-field__label {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 0.45);
}

.login-field__input {
  width: 100%;
  border-radius: 1rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(18 19 31 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  border-color: rgb(168 85 247 / 0.28);
}

.login-field__input:focus {
  border-color: rgb(168 85 247 / 0.55);
  box-shadow: 0 0 0 1px rgb(168 85 247 / 0.18);
}

.login-field__input--code {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: 0.35em;
}

.login-phone-summary {
  margin: 0px;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.7);
}

.login-submit {
  position: relative;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(157 112 255 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.login-submit:active {
  --tw-scale-x: 0.98;
  --tw-scale-y: 0.98;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.login-submit {
  box-shadow: 0 0 16px rgba(157, 112, 255, 0.45);
  min-height: 3rem;
}

.login-submit.is-loading .login-submit__label {
  opacity: 0;
}

.login-spinner {
  position: absolute;
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 9999px;
  border-width: 2px;
  border-color: rgb(255 255 255 / 0.25);
  --tw-border-opacity: 1;
  border-top-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
  animation: login-spin 0.7s linear infinite;
}

.login-submit:hover:not(:disabled) {
  background-color: #b08cff;
}

.login-link {
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(255 255 255 / 0.45);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.login-link:hover {
  color: rgb(255 255 255 / 0.7);
}

.login-link:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.login-error {
  margin: 0px;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.25rem;
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}

.login-recaptcha {
  pointer-events: none;
  position: absolute;
  left: 0px;
  top: 0px;
  height: 1px;
  width: 1px;
  overflow: hidden;
  opacity: 0;
}

#month-picker-root.is-open,
  #user-picker-root.is-open,
  #target-editor-root.is-open {
  pointer-events: auto;
}

.month-picker {
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.month-picker__backdrop {
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  border-width: 0px;
  background-color: rgb(0 0 0 / 0.5);
  padding: 0px;
  opacity: 0;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.month-picker.is-open .month-picker__backdrop {
  opacity: 1;
}

.month-picker__panel {
  position: absolute;
  inset: 0px;
  display: flex;
  height: 100%;
  width: 100%;
  --tw-bg-opacity: 1;
  background-color: rgb(11 13 21 / var(--tw-bg-opacity, 1));
  transform: translateY(-100%);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  padding-top: max(2.75rem, env(safe-area-inset-top));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.month-picker.is-open .month-picker__panel {
  transform: translateY(0);
}

.month-picker__close {
  pointer-events: auto;
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  color: rgb(255 255 255 / 0.9);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.month-picker__close:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.month-picker__close:active {
  opacity: 0.7;
}

.month-picker__close {
  top: max(0.625rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
}

.month-picker__close-icon {
  height: 2.25rem;
  width: 2.25rem;
}

@media (min-width: 768px) {
  .month-picker__close {
    right: max(1.5rem, env(safe-area-inset-right));
  }
}

.month-picker__list {
  display: flex;
  height: 100%;
  width: 100%;
  max-width: none;
  flex-direction: column-reverse;
  align-items: stretch;
  justify-content: flex-start;
  gap: 1.75rem;
  overflow-y: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .month-picker__list {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .month-picker__list {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.month-picker__list {
  -webkit-overflow-scrolling: touch;
}

.month-picker__item {
  display: flex;
  width: 100%;
  max-width: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  text-align: center;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: rgb(255 255 255 / 0.9);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.month-picker__item:active {
  opacity: 0.7;
}

.month-picker__item--current {
  color: rgba(255, 255, 255, 0.42);
}

.month-picker__item--current::before {
  content: '';
  margin-right: 0.75rem;
  display: inline-block;
  height: 7px;
  width: 7px;
  --tw-translate-y: -2px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.45);
}

.month-picker__item--active {
  font-size: 2.05rem;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.month-picker__item--active.month-picker__item--current::before {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.user-picker .month-picker__list {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.user-picker .month-picker__panel {
  display: flex;
  flex-direction: column;
}

.user-picker__version {
  margin-top: auto;
  flex-shrink: 0;
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.025em;
  color: rgb(255 255 255 / 0.35);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

body.month-picker-open,
  body.user-picker-open,
  body.target-editor-open {
  overflow: hidden;
}

.target-editor .month-picker__panel {
  flex-direction: column;
}

.target-editor__body {
  display: flex;
  min-height: 0px;
  width: 100%;
  max-width: none;
  flex: 1 1 0%;
  flex-direction: column;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .target-editor__body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .target-editor__body {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.target-editor__body {
  padding-top: max(3.5rem, calc(env(safe-area-inset-top) + 2.5rem));
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
}

#target-editor-root.is-composing .target-editor__body {
  padding-bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 4.5rem);
}

.target-editor__date {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(255 255 255 / 0.45);
}

.target-editor__content {
  min-height: 0px;
  flex: 1 1 0%;
}

.target-editor__list {
  display: flex;
  height: 100%;
  width: 100%;
  max-width: none;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.target-editor__section {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.target-editor__section--completed {
  padding-top: 0.5rem;
}

.target-editor__section-header {
  margin: 0px;
  margin-bottom: 0.75rem;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.45);
}

.target-editor__row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1rem;
  border-width: 0px;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.target-editor__row--add {
  cursor: text;
}

.target-editor__check {
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 1px;
  border-color: rgb(255 255 255 / 0.35);
  background-color: transparent;
  padding: 0px;
  color: rgb(255 255 255 / 0.8);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.target-editor__check:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.target-editor__check--add {
  pointer-events: none;
  border-color: rgb(255 255 255 / 0.3);
}

.target-editor__check.is-checked {
  border-color: rgb(255 255 255 / 0.55);
  background-color: rgb(255 255 255 / 0.1);
}

.target-editor__check-icon {
  height: 0.875rem;
  width: 0.875rem;
}

.target-editor__text {
  min-width: 0px;
  flex: 1 1 0%;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.375;
  color: rgb(255 255 255 / 0.9);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.target-editor__text:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.target-editor__text.is-completed {
  color: rgb(255 255 255 / 0.4);
  text-decoration-line: line-through;
  text-decoration-color: rgb(255 255 255 / 0.25);
}

.target-editor__text.is-completed:hover {
  color: rgb(255 255 255 / 0.55);
}

.target-editor__row--editing {
  align-items: center;
}

.target-editor__edit-input {
  min-width: 0px;
  flex: 1 1 0%;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.target-editor__add-input {
  width: 100%;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.375;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.target-editor__add-input::-moz-placeholder {
  color: rgb(255 255 255 / 0.35);
}

.target-editor__add-input::placeholder {
  color: rgb(255 255 255 / 0.35);
}

.target-editor__composer {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  z-index: 20;
  display: flex;
  width: 100%;
  max-width: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  border-top-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(11 13 21 / var(--tw-bg-opacity, 1));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .target-editor__composer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .target-editor__composer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.target-editor__composer {
  border-color: rgb(255 255 255 / 0.08);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

.target-editor__composer-btn {
  display: flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  color: rgb(255 255 255 / 0.7);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.target-editor__composer-btn:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.target-editor__composer-btn:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.target-editor__composer-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.target-editor__composer-btn--save {
  --tw-text-opacity: 1;
  color: rgb(157 112 255 / var(--tw-text-opacity, 1));
}

.target-editor__composer-icon {
  height: 1.5rem;
  width: 1.5rem;
}

/* ─── Scroll hint ──────────────────────────────────────────────────────── */

.journey__scroll-hint {
  pointer-events: none;
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  z-index: 20;
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  color: rgb(255 255 255 / 0.3);
  display: flex;
  justify-content: center;
  animation: bounce-hint 2s ease-in-out infinite;
}

.visible {
  visibility: visible;
}

.invisible {
  visibility: hidden;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.hidden {
  display: none;
}

.h-dvh {
  height: 100dvh;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-4 {
  gap: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center {
  text-align: center;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-white\/50 {
  color: rgb(255 255 255 / 0.5);
}

.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}

.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

@keyframes login-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce-hint {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(4px);
  }
}

@keyframes journey-float-day {
  0%, 100% {
    transform: translate(-3px, -13px);
  }

  35% {
    transform: translate(-2px, -19px);
  }

  70% {
    transform: translate(-4px, -17px);
  }
}

@keyframes journey-float-planet {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -2.5px, 0);
  }
}

@keyframes journey-float-smoke {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.24;
  }

  50% {
    transform: translate3d(0, -1.5px, 0) scale(1.015);
    opacity: 0.27;
  }
}

@keyframes journey-node-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.75;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.75);
    opacity: 0;
  }
}

@keyframes day-card-beam-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
