*, ::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(66 153 225 / 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(66 153 225 / 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: #e2e8f0; /* 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: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 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: 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: #cbd5e0; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #cbd5e0; /* 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;
}
  /* Tailwind 1.x placeholder color (Tailwind 3 preflight uses gray-400) */
  input::-moz-placeholder, textarea::-moz-placeholder {
    color: #a0aec0;
  }
  input::placeholder,
  textarea::placeholder {
    color: #a0aec0;
  }


  *[disabled] {
    opacity: .7;
    cursor: not-allowed;
  }

  html {
    -webkit-tap-highlight-color: transparent;
  }

  /* 100vw includes a desktop scrollbar: clip the overflow of the full-width toolbar (clip keeps sticky working) */
  body {
    overflow-x: clip;
    background-color: var(--body-bg);
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    /* viewport-fit=cover: keep content clear of the notch and the home bar */
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

  /* iOS zooms into fields with text smaller than 16px */
  input, select, textarea {
    font-size: max(16px, 1em);
  }

  h1, h2, h3, h4 {
    font-family: 'Nunito', sans-serif;
    color: var(--text-color);
    font-weight: 600;
    text-wrap: balance;
  }

  h1 {
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  font-weight: 700;
}

  h2 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

  a {
    color: var(--primary);
  }

  hr {
    height: 1px;
    margin-bottom: 1rem;
    --tw-border-opacity: 1;
    border-color: rgb(237 242 247 / var(--tw-border-opacity, 1));
  }

  a:focus-visible,
  button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}
  .material-symbols-rounded {
    vertical-align: middle;
  }

  .icon--filled,
  .notifications__icon--unread .material-symbols-rounded {
    font-variation-settings: 'FILL' 1;
  }

  .btn {
    height: 48px;
    line-height: 48px;
    min-width: 64px;
    display: inline-block;
    white-space: nowrap;
    border-radius: 0.375rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    transition: background-color .15s, color .15s, transform .1s;
  }

    .btn:active {
      transform: scale(.98);
    }

    .btn .material-symbols-rounded {
      vertical-align: text-bottom;
      margin-right: 0.25rem;
    }

  /* Compact button with a gradient from the theme colour to a darker, hue-shifted tone */
  .btn-primary {
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    color: var(--text-color-invert);
    background-color: var(--primary);
    background-image: linear-gradient(120deg in oklch,
        var(--primary),
        oklch(from var(--primary) calc(l - .06) c calc(h + 30)));
    box-shadow: inset 0 1px 0 oklch(100% 0 0 / .25),
                0 6px 18px -6px color-mix(in oklch, var(--primary) 85%, transparent);
  }

  .btn--link {
    height: auto;
    line-height: inherit;
    min-width: auto;
  }

  .text-primary {
    color: var(--primary);
  }

  .text-muted {
    color: var(--text-muted);
  }

  .badge {
  display: inline-block;
  border-radius: 0.75rem;
  border-width: 1px;
  padding: 0.25rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
    background-color: var(--primary);
    border-color: transparent;
    color: var(--text-color-invert);
    vertical-align: middle;
    line-height: 1;
    white-space: nowrap;
}

  .progress {
  position: relative;
  display: block;
  height: 0.5rem;
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(160 174 192 / var(--tw-bg-opacity, 1));
    overflow: hidden;
}

  .progress__bar {
  position: absolute;
  top: 0px;
  left: 0px;
  display: inline-block;
  height: 100%;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
    background-color: var(--primary);
    width: 0;
    transition: width 1s ease-in-out;
}

  /* purgecss start ignore */
  .messages {
    position: fixed;
    bottom: calc(.5rem + env(safe-area-inset-bottom));
    width: calc(100% - 1rem);
    z-index: 10;
  }

  .msg {
  margin-bottom: 1.5rem;
  border-radius: 0.375rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  letter-spacing: 0.025em;
  --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

    .msg.msg--info, .msg.msg-info {
      background-color: #323232;
      color: white;
    }

    .msg.msg--error, .msg.msg-error {
  --tw-bg-opacity: 1;
  background-color: rgb(197 48 48 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
  /* purgecss end ignore */

  /* Flat card: hairline border and a faint shadow */
  .card {
    display: block;
    border-radius: 1rem;
    background-color: var(--card-bg);
    border: 1px solid color-mix(in oklch, var(--text-color) 8%, transparent);
    box-shadow: 0 1px 2px oklch(0% 0 0 / .04);
  }


  .card__header, .card__content {
  padding-left: 1rem;
  padding-right: 1rem;
}

  .card__header {
  padding-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.375;
    text-wrap: balance;
}

  .card__content {
  padding-top: 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.375;
}

  .card__content:last-child {
  padding-bottom: 1rem;
}

  .card__action {
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem;
}

  .card__intersection {
    box-shadow: 0px -4px 3px rgba(50, 50, 50, 0.75);
  }

  .modal {
  padding: 0px;
    background: transparent;
    pointer-events: none;
    margin-bottom: 0;
    max-width: none !important;
    width: 100% !important;
}

    .modal[open] {
      pointer-events: inherit;
    }

  body:not(.js) .modal {
    display: none;
  }

  .modal__content {
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
  border-radius: 1.5rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 10px 10px -5px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

  .modal__content:not(.card) {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

  .modal__content {
    /* Anchor for the close button, so it stays inside the (inset) sheet */
    position: relative;
    max-height: 90dvh;
    overscroll-behavior: contain;
  }

    .modal__content .card__header {
      padding-top: 0;
      /* Room for the close button */
      padding-right: 3.5rem;
    }

    /* Actions stay visible while scrolling/typing, clear of the home bar */
    .modal__content .card__action {
      position: sticky;
      bottom: 0;
      background-color: var(--card-bg);
      padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

  /* iOS 26 style partial-height sheet: floats inset from the screen edges, all corners rounded */
  @media (max-width: 767px) {
    .modal .modal__content {
      width: calc(100% - 1rem);
      max-width: none;
      margin: 0 auto calc(.5rem + env(safe-area-inset-bottom));
      border-radius: 2.25rem;
      max-height: calc(90dvh - env(safe-area-inset-bottom));
    }

      /* The sheet already sits above the home indicator */
      .modal .modal__content .card__action {
        padding-bottom: 1rem;
      }
  }

  /* Full page shown as a sheet (e.g. "Nové přání" share target) - same look as the modal sheet */
  .sheet-page {
  display: flex;
  flex-direction: column;
    /* Fill the viewport; the -.5rem leaves the same bottom gap as the modal (.5rem + home bar) */
    min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - .5rem);
    margin-bottom: -.5rem;
}

  .sheet {
    --sheet-radius: 2.25rem;
    position: relative;
    margin-top: auto;
    border-radius: var(--sheet-radius);
    padding-top: 1.5rem;
    --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 10px 10px -5px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }

    .sheet .card__header {
      padding-top: 0;
      /* Room for the close button */
      padding-right: 3.5rem;
    }

    .sheet .card__action {
      position: sticky;
      bottom: 0;
      background-color: var(--card-bg);
      /* Keep the sheet's rounded bottom corners under the sticky buttons */
      border-bottom-left-radius: var(--sheet-radius);
      border-bottom-right-radius: var(--sheet-radius);
    }

  @media (min-width: 768px) {
    .sheet {
      --sheet-radius: .75rem;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      max-width: 36rem;
    }
  }

  /* Grab handle on the mobile bottom sheet */
  @media (max-width: 767px) {
    .modal__content::before {
      content: "";
      display: block;
      width: 2.5rem;
      height: 5px;
      margin: -.75rem auto .75rem;
      border-radius: 9999px;
      background-color: color-mix(in oklch, var(--text-color) 20%, transparent);
    }
  }

  .modal__close {
    /* Round 40px hit area (focus outline follows the radius), inset 1rem so the outline clears the rounded corner */
    position: absolute;
    right: 0px;
    top: 0px;
    margin-top: 1rem;
    margin-right: 1rem;
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: .8;
  }

  .modal__close:hover {
    opacity: 1;
  }

  .empty-state {
    text-align: center;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    color: var(--text-muted);
  }

    @media (min-width: 1024px) {

  .empty-state {
    margin-top: 10rem;
  }
    }

  .empty-state__image {
    display: inline-block;
    max-height: 100px;
    margin-bottom: 1rem;
  }

  .form-group {
  margin-bottom: 1rem;
    position: relative;
}

    .form-group label {
      display: inline-block;
      color: var(--text-muted);
      margin-bottom: 0.25rem;
      margin-left: 0.25rem}

    .form-group ::-moz-placeholder {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

    .form-group label, .form-group ::placeholder {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

    .form-group .form-control {
      outline: none;
      transition: 0.1s ease-out;
    }

    .form-group .form-control + label {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      background-color: var(--card-bg);
      transition: 0.1s ease-out;
      transform-origin: left top;
      pointer-events: none;
      color: var(--text-muted);
      margin-left: 0.5rem;
      margin-right: 0.5rem;
      padding-left: 0.25rem;
      padding-right: 0.25rem;
    }
      .form-group .form-control:not(:placeholder-shown)::-moz-placeholder, .form-group .form-control:focus::-moz-placeholder {
  font-size: 0.75rem;
        color: var(--text-muted);
}
      .form-group .form-control:not(:-moz-placeholder)::placeholder {
  font-size: 0.75rem;
        color: var(--text-muted);
}
      .form-group .form-control:not(:placeholder-shown)::placeholder, .form-group .form-control:focus::placeholder {
  font-size: 0.75rem;
        color: var(--text-muted);
}

      .form-group .form-control:not(:-moz-placeholder) + label {
        color: var(--primary);
        top: 0;
        transform: translateY(-50%) scale(0.9) !important;
      }

      .form-group .form-control:not(:placeholder-shown) + label, .form-group .form-control:focus + label {
        color: var(--primary);
        top: 0;
        transform: translateY(-50%) scale(0.9) !important;
      }

    .form-group .form-control::-moz-placeholder {
      font-size: 0;
      color: transparent;
    }

    .form-group .form-control::placeholder {
      font-size: 0;
      color: transparent;
    }

    .form-group .form-control[type="checkbox"] {
      -webkit-appearance: none;
         -moz-appearance: none;
              appearance: none;
      vertical-align: middle;
      position: relative;
    }

      .form-group .form-control[type="checkbox"]:checked {
        background-color: var(--primary);
        border-color: var(--primary);
      }

        .form-group .form-control[type="checkbox"]:checked::before {
          background-clip: padding-box;
          border: .15rem solid var(--card-bg);

          border-left-width: 0;
          border-top-width: 0;
          content: "";
          height: 10px;
          left: 50%;
          margin-left: -3px;
          margin-top: -6px;
          position: absolute;
          top: 50%;
          transform: rotate(45deg);
          width: 6px;
        }

    .form-group .form-control.select {
  padding: 0px;
      position: relative;
}

      .form-group .form-control.select select {
        background: transparent;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
        outline: none;
        border: 0;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        padding-right: 1.5rem;
        padding-left: 0.5rem;
        width: 100%;
      }

      .form-group .form-control.select::after {
        position: absolute;
        top: 50%;
        right: .5em;
        margin-top: -2px;
        width: 0;
        height: 0;
        content: "";
        pointer-events: none;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #2e3138;
      }

      .form-group .form-control.select:focus-within {
        border-color: var(--primary);
        outline: 0;
        box-shadow: 0 0 0 .1rem var(--focus-shadow-color);
      }

    .form-group .form-control {
      display: inline-block;
      width: 100%;
      border-color: #cbd5e0;
    }

      .form-group .form-control:focus {
        border-color: var(--primary);
        outline: 0;
        box-shadow: 0 0 0 .1rem var(--focus-shadow-color);
      }
    .form-group--inline label {
      min-width: 8rem;
    }

    .form-group--inline .form-control {
      width: unset;
      margin-left: 0.5rem;
    }

    .form-group--inline .form-control--label-behind {
  margin-left: 0px;
  margin-right: 0.25rem;
}

      .form-group--inline .form-control--label-behind + label {
        margin-left: 0;
      }

  .form-control {
  border-radius: 0.375rem;
  border-width: 1px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

  .input-group {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
  }

    .input-group .form-control {
      display: flex;
      flex: 1 1 auto;
    }

    .input-group .form-control:not(:last-child) {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }

  .input-group-append {
    margin-left: -1px;
    display: flex;
  }

    .input-group-append .btn {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }

  /* Pages */
  .btn--share {
    display: none;
  }

  .share-supported .btn--share {
    display: unset;
  }

  /* Full viewport width (breaks out of the container); the padding keeps its content aligned with the page */
  .main-toolbar {
  position: sticky;
  z-index: 20;
  margin-bottom: 1.25rem;
  display: flex;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
    top: calc(env(safe-area-inset-top) - 1px); /** -1px to allow overflow for intersection observer */
    background-color: var(--body-bg);
    transition: background-color .2s ease-out, box-shadow .2s ease-out;
}

  /* Observed instead of the toolbar (main.js); sits at the page top, above the safe-area padding, so it leaves
     the viewport on the first scrolled pixel, exactly when the toolbar starts sticking */
  .main-toolbar-sentinel {
    position: relative;
    top: calc(-1 * env(safe-area-inset-top));
    height: 0;
  }

  /* Glass toolbar once it sticks to the top */
  .main-toolbar--pinned {
    background-color: color-mix(in oklch, var(--body-bg) 70%, transparent);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 oklch(0% 0 0 / .06), 0 12px 24px -18px oklch(0% 0 0 / .35);
  }

  .main-toolbar__back-btn {
  margin-left: 0.25rem;
  margin-right: 0.75rem;
}

  .main-toolbar__title {
  margin-bottom: 0px;
  margin-left: 0.25rem;
  font-size: 1.875rem;
  font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.01em;
    text-wrap: balance;
}

  .main-toolbar .main-toolbar__title {
  flex: 1 1 0%;
}

  .main-toolbar__menu {
    min-width: 2.4rem;
    padding-right: 0.25rem;
  }

  .main-toolbar .btn {
    height: auto;
    min-height: auto;
    padding-left: 0;
    padding-right: 0;
    min-width: 2.4rem;
    line-height: 1.25;
  }

  /** login */
  .login {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

  .card--login-form {
  border-width: 0px;
  --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);
}

  /** Notifications */
  .notifications__icon--unread::after {
    background-clip: padding-box;
    font-size: .7rem;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    content: "";
    margin-left: -10px;
    transform: translate(-0.25rem, -0.6rem);
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(229 62 62 / var(--tw-bg-opacity, 1));
    padding: 0.25rem;
  }

  .notification--unread {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 240 / var(--tw-bg-opacity, 1));
}

  /** Wishlist */
  /* Stacks of cards: one shared gap (flex gap skips filtered-out cards with display:none) */
  .wishlist, .my-wishlists {
    display: flex;
    flex-direction: column;
    gap: var(--card-gap);
  }

  .wishlist {
  margin-bottom: 0.75rem;
}

  .wishlist__filters {
  margin-top: 0.5rem;
  display: flex;
}

  .wishlist__filters:empty {
    display: none;
  }

  .wishlist__filters .badge {
  font-size: 0.875rem;
}

  .card--wishlist {
    min-height: 5rem; /* text-only wishes don't collapse into thin strips */
    transition: border-color .5s ease-out;
    container-type: inline-size;
  }

  /* Wish: text | thumbnail | menu. The image sits on the right so the text lines up across wishes
     with and without an image (areas keep everything in place when there's no image or menu). */
  .wish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "body media menu";
    align-items: start;
  }

  .wish__body {
    grid-area: body;
  }

  .wish__body .card__content {
  padding-top: 0.25rem;
  font-size: 0.875rem;
    color: var(--text-muted);
}

  .wish__menu {
    grid-area: menu;
    padding-top: 0.75rem;
    padding-right: 0.5rem;
  }

  .card__image {
    grid-area: media;
    width: clamp(4.5rem, 20cqi, 8rem);
    aspect-ratio: 1;
    margin: 1rem 1rem 0 0;
    overflow: hidden;
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  }

    .card__image img {
      width: 100%;
      height: 100%;
      -o-object-fit: contain;
         object-fit: contain;
    }

  .card--highlight {
    border-color: var(--primary);
  }


  .card--reserved {
  opacity: 0.5;
}

    .card--reserved .card__header {
  text-decoration-line: line-through;
}

  .badge--reservation {
  --tw-border-opacity: 1;
  border-color: rgb(76 81 191 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(76 81 191 / var(--tw-bg-opacity, 1));
}

  .badge--fulfilled {
  --tw-border-opacity: 1;
  border-color: rgb(47 133 90 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(47 133 90 / var(--tw-bg-opacity, 1));
}

  /* purgecss start ignore */
  .card--wishlist--fulfilled {
    display: none;
  }

  .wishlist--show-fulfilled .card--wishlist--fulfilled {
    display: block;
  }

  .card--wishlist .badge--reservation {
    display: none;
  }

  .wishlist--show-reserved .card--wishlist .badge--reservation {
    display: inline-block;
  }
  /* purgecss end ignore */

  .badge__filter--inactive {
    --tw-bg-opacity: .15;
    color: var(--text-color);
  }

  /** settings */
  .settings {
  margin-left: auto;
  margin-right: auto;
    max-width: 36rem;
}

  .settings-profile {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
    gap: 1rem;
}

  .settings-profile__avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 1.5rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), color-mix(in oklch, var(--primary), black 35%));
    box-shadow: 0 6px 16px -6px color-mix(in oklch, var(--primary) 70%, transparent);
}

  .settings-profile__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

  .settings-profile__meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
    color: var(--text-muted);
}

  .settings-section {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
}

  .settings-row {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
    min-height: 3.5rem;
    transition: background-color .15s ease-out;
}

  .settings .card li + li .settings-row {
    border-top: 1px solid color-mix(in oklch, var(--text-color) 8%, transparent);
  }

  /* Row hover backgrounds follow the card's rounded corners */
  .settings .card {
    overflow: hidden;
  }

  .settings-row:hover {
    background-color: color-mix(in oklch, var(--text-color) 4%, transparent);
  }

  .settings-row:active {
    background-color: color-mix(in oklch, var(--text-color) 8%, transparent);
  }

  .settings-form {
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 0.25rem;
}

  .settings-intro {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  line-height: 1.375;
}

  /* Muted line under a form group (outside it: the floating label is centred on the group) */
  .form-hint {
  margin-bottom: 1rem;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.375;
    margin-top: -.5rem;
    color: var(--text-muted);
}

  .form-hint__ok {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
    gap: .25rem;
    color: oklch(52.7% .154 150.1);
}

    .form-hint__ok .material-symbols-rounded {
      font-size: 1.1rem;
    }

  body[class^='theme--dark'] .form-hint__ok {
    color: oklch(72.3% .192 149.6);
  }

  .settings-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

  /* Show/hide text button inside a password input */
  .form-group--password .form-control {
    padding-right: 5.5rem;
  }

  .password-toggle {
  position: absolute;
  border-radius: 0.375rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
    right: .5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

    .password-toggle:hover {
      background-color: color-mix(in oklch, var(--primary) 10%, transparent);
    }

    .password-toggle:focus-visible {
      outline: 2px solid var(--primary);
    }

  /* Strength meter: data-strength 0–3, empty when there is no password yet */
  .password-strength {
    --strength-color: transparent;
    --strength-width: 0%;
  }

  .password-strength__bar {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 9999px;
    height: .25rem;
    margin-top: -.5rem;
    background-color: color-mix(in oklch, var(--text-color) 10%, transparent);
}

    .password-strength__bar span {
      display: block;
      height: 100%;
      width: var(--strength-width);
      background-color: var(--strength-color);
      border-radius: inherit;
      transition: width .25s ease-out, background-color .25s ease-out;
    }

  .password-strength .form-hint {
    margin-top: 0;
  }

  .password-strength[data-strength="0"] { --strength-width: 25%; --strength-color: oklch(57.7% .215 27.3); }
  .password-strength[data-strength="1"] { --strength-width: 50%; --strength-color: oklch(78% .16 85); }
  .password-strength[data-strength="2"] { --strength-width: 75%; --strength-color: var(--primary); }
  .password-strength[data-strength="3"] { --strength-width: 100%; --strength-color: var(--primary); }

  .settings-row--danger {
  justify-content: center;
  font-weight: 600;
    color: oklch(57.7% .215 27.3);
}
    .list--clickable .material-symbols-rounded {
      vertical-align: text-bottom;
      margin-right: 0.25rem;
    }

  @media (min-width: 768px) {
    .messages {
      max-width: 768px;
    }

    .modal {
      margin-bottom: auto;
    }

    .modal__content {
    max-width: 36rem;
    border-radius: 0.75rem;
      position: relative;
  }

  }

  @media (min-width: 1024px) {
    .container {
      max-width: 768px;
    }

    .messages {
      width: 60%;
      left: 2rem;
    }

    .my-wishlists {
      display: grid;
      grid-template-columns: minmax(auto, 50%) minmax(auto, 50%);
      gap: var(--card-gap);
    }

    .modal__content {
    height: auto;
    max-width: 36rem;
  }
  }
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.static {
  position: static;
}
.absolute {
  position: absolute;
}
.z-30 {
  z-index: 30;
}
.float-right {
  float: right;
}
.float-left {
  float: left;
}
.clear-both {
  clear: both;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-8 {
  margin-top: 2rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.min-h-screen {
  min-height: 100vh;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-full {
  max-width: 100%;
}
.flex-1 {
  flex: 1 1 0%;
}
.cursor-pointer {
  cursor: pointer;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.overflow-hidden {
  overflow: hidden;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rounded-t-3xl {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
}
.border-0 {
  border-width: 0px;
}
.border-b {
  border-bottom-width: 1px;
}
.bg-red-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(197 48 48 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-clip-content {
  background-clip: content-box;
}
.p-2 {
  padding: 0.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pt-0 {
  padding-top: 0px;
}
.pt-4 {
  padding-top: 1rem;
}
.text-center {
  text-align: center;
}
.align-top {
  vertical-align: top;
}
.align-middle {
  vertical-align: middle;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xl {
  font-size: 1.25rem;
}
.font-semibold {
  font-weight: 600;
}
.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}
.text-indigo-200 {
  --tw-text-opacity: 1;
  color: rgb(195 218 254 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(197 48 48 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.opacity-100 {
  opacity: 1;
}
.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);
}
.transition {
  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;
}
.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
  .w-reduced {
    margin-left: auto;
    margin-right: auto;
    max-width: 99%;
  }

:root {
  /* Base tokens (OKLCH). Themes override them on <body> in themes.css. */
  --body-bg: oklch(95.9% 0.009 247.9);
  --text-color: oklch(0% 0 0);
  --text-color-invert: oklch(100% 0 0);
  --primary: oklch(49.4% 0.169 276.3);
  --card-bg: oklch(100% 0 0);
  /* Spacing between stacked cards (lists and wishes), iOS-like tight rhythm */
  --card-gap: .75rem;
}

/* On <body> so it follows the theme's --primary (theme classes are on <body>) */
body {
  --focus-shadow-color: color-mix(in oklch, var(--primary) 45%, transparent);
  --text-muted: color-mix(in oklch, var(--text-color) 60%, transparent);
}

#installPrompt {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: var(--text-color-invert);
  background-color: var(--primary);
}

.turbo-progress-bar {
  height: 5px;
  background-color: var(--primary);
}

.tag {
  color: var(--primary);
}

/* Unlayered: wins over utilities in the templates and keeps modern at-rules untouched. */

/* Context menus: glass popover (see @horakj/ux-dropdown) */
.dropdown__list {
  min-width: 12rem;
  background: color-mix(in oklch, var(--card-bg) 55%, transparent);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid color-mix(in oklch, var(--text-color) 10%, transparent);
  border-radius: 0.75rem;
  --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 10px 10px -5px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Below the trigger, right-aligned. Without anchor positioning the browser centres the popover. */
@supports (anchor-name: --a) {
  .dropdown__list {
    inset: auto;
    margin: 4px 0 0;
    position-area: bottom span-left;
    position-try-fallbacks: flip-block;
  }
}

.dropdown__list .btn {
  display: block;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 .75rem;
  text-align: left;
}

.dropdown__list .btn:not([class*="text-"]) {
  color: var(--text-color);
}

.dropdown__list .btn:hover,
.dropdown__list .btn:active {
  background-color: color-mix(in oklch, var(--primary) 14%, transparent);
}

/* Modal backdrop. iOS-style dimming: plain neutral black, no blur (the status bar can't be blurred along with the page) */
.modal::backdrop {
  background-color: oklch(0% 0 0 / .2);
}

/* Skeleton placeholder until a wish image has loaded (.is-loaded is set by the item-image controller) */
.js .card__image:has(img:not(.is-loaded)) {
  background-color: color-mix(in oklch, var(--text-color) 8%, transparent);
}
@media (prefers-reduced-motion: no-preference) {

  @keyframes pulse {}

  .js .card__image:has(img:not(.is-loaded)) {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }
}

.js .card__image img:not(.is-loaded) {
  opacity: 0;
}

/* Selects: glass picker under the field where customizable selects are supported (Chrome); native elsewhere */
@supports ((-webkit-appearance: base-select) or (-moz-appearance: base-select) or (appearance: base-select)) {
  .form-group .form-control.select select, /* matches the specificity of the base `appearance: none` */
  ::picker(select) {
    -webkit-appearance: base-select;
       -moz-appearance: base-select;
            appearance: base-select;
  }

  .form-control.select select::picker-icon {
    display: none; /* the wrapper draws the arrow */
  }

  ::picker(select) {
    margin-top: 4px;
    background: color-mix(in oklch, var(--card-bg) 55%, transparent);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid color-mix(in oklch, var(--text-color) 10%, transparent);
    border-radius: 0.75rem;
    padding: 0.5rem;
    --tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 10px 10px -5px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  }

  option:hover {
    background-color: color-mix(in oklch, var(--primary) 14%, transparent);
  }
}

/* Enter/leave transitions for modals (bottom sheet on mobile, scale on desktop). Menus open instantly. */
@media (prefers-reduced-motion: no-preference) {
  .modal {
    --enter-from: translateY(100%);
  }

  @media (min-width: 768px) {
    .modal {
      --enter-from: scale(.96);
    }
  }

  .modal,
  .modal::backdrop,
  .card__image img {
    transition: opacity .25s ease-out, transform .25s ease-out;
  }

  /* Exit transitions need the element to stay in the top layer while closing (`overlay`).
     Browsers without it (Safari) would render the closing dialog/menu in the page flow, so they close instantly. */
  @supports (overlay: auto) {
    .modal,
    .modal::backdrop {
      transition: opacity .25s ease-out, transform .25s ease-out,
                  overlay .25s allow-discrete, display .25s allow-discrete;
    }
  }

  .modal:not([open]) {
    opacity: 0;
    transform: var(--enter-from);
  }

  /* The backdrop only fades (it would inherit --enter-from from the dialog) */
  .modal:not([open])::backdrop {
    opacity: 0;
  }

  @starting-style {
    .modal[open] {
      opacity: 0;
      transform: var(--enter-from);
    }

    .modal[open]::backdrop {
      opacity: 0;
    }
  }
}

/* Turbo view transitions (head.twig) */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
@media (min-width: 640px) {

  .sm\:w-auto {
    width: auto;
  }
}
@media (min-width: 768px) {

  .md\:visible {
    visibility: visible;
  }

  .md\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .md\:px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}
@media (min-width: 1024px) {

  .lg\:mx-auto {
    margin-left: auto;
    margin-right: auto;
  }

  .lg\:max-w-4xl {
    max-width: 56rem;
  }

  .lg\:px-0 {
    padding-left: 0px;
    padding-right: 0px;
  }
}

body[class^='theme--dark'] {
    color-scheme: dark;
    --body-bg: oklch(29.7% 0 0);
    --text-color: oklch(100% 0 0);
    --text-color-invert: oklch(0% 0 0);
    --card-bg: oklch(20.2% 0.008 285.7);
}

.theme--dark-green, .theme--green {
    --primary: oklch(69.1% 0.143 160.4);
}

.theme--dark-blue, .theme--blue {
    --primary: oklch(72.9% 0.126 210.8);
}

.theme--pink {
    --primary: oklch(60.6% 0.230 9.6);
}

.theme--red {
    --primary: oklch(54.8% 0.225 29.2);
}

.theme--grey {
    --body-bg: oklch(96.6% 0.003 247.9);
    --primary: oklch(52.2% 0.036 227.9);
}

