.aurify-ai-router {
    --aurify-router-bg: rgba(255, 255, 255, 0.06);
    --aurify-router-border: rgba(255, 255, 255, 0.16);
    --aurify-router-text: #ffffff;
    --aurify-router-muted: rgba(255, 255, 255, 0.72);
    --aurify-router-cursor: var(--aurify-router-text);
    --aurify-router-radius: 15px;

    width: 100%;
    max-width: 760px;
    font-weight: 300;
}

.aurify-ai-router__bar {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 10px;
    padding: 6px;
    background: linear-gradient(90deg, #ffffff00, #ffffff14);
    border: 1px solid rgb(49 49 49);
    border-radius: var(--aurify-router-radius);
    overflow: hidden !important;
    contain: paint;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.aurify-ai-router__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    color: var(--aurify-router-text);
    background: transparent;
    border: 0;
    border-radius: calc(var(--aurify-router-radius) - 6px);
    outline: none;
    font: inherit;
}

.aurify-ai-router__bar.aura-glow > .aurify-ai-router__typewriter {
    position: absolute;
}

.aurify-ai-router__typewriter {
    position: absolute;
    z-index: 1;
    top: 6px;
    left: 24px;
    width: calc(100% - 122px);
    height: 48px;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    color: var(--aurify-router-muted);
    font: inherit;
    line-height: normal;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.aurify-ai-router__typewriter[hidden] {
    display: none;
}

.aurify-ai-router__typewriter-text {
    overflow: hidden;
    text-overflow: clip;
}

.aurify-ai-router__cursor {
    flex: 0 0 auto;
    width: 2px;
    height: 1em;
    margin-left: 4px;
    background: var(--aurify-router-cursor);
    box-shadow: 0 0 8px var(--aurify-router-cursor);
    animation: aurify-router-cursor-blink 700ms step-end infinite;
}

.aurify-ai-router__input::placeholder {
    color: var(--aurify-router-muted);
}

.aurify-ai-router__input:focus,
.aurify-ai-router__input:focus-visible {
    outline: none;
    box-shadow: none;
}

@property --aurify-router-shiny-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --aurify-router-shiny-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --aurify-router-shiny-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --aurify-router-shiny-shine {
    syntax: "<color>";
    initial-value: #ffffff;
    inherits: false;
}

.aurify-ai-router__submit {
    --aurify-router-shiny-base-top: #adadad;
    --aurify-router-shiny-base-mid: #f5f5f5;
    --aurify-router-shiny-base-bottom: #adadad;
    --aurify-router-shiny-inset: #d9d9d9;
    --aurify-router-shiny-accent: #ffffff;
    --aurify-router-shiny-soft: #dedede;
    --aurify-router-shiny-animation: aurify-router-shiny-shimmer linear infinite;
    --aurify-router-shiny-duration: 8s;
    --aurify-router-shiny-shadow-size: 2px;
    --aurify-router-shiny-transition: .8s cubic-bezier(0.25, 1, 0.5, 1);

    isolation: isolate;
    position: relative;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    align-self: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin-inline-end: 6px;
    padding: 0;

    color: #000000;
    border: 1px solid transparent;
    border-radius: calc(var(--aurify-router-radius) - 6px);
    appearance: none;
    cursor: pointer;
    line-height: 0;

    background:
        linear-gradient(
            145deg,
            var(--aurify-router-shiny-base-top) 0%,
            var(--aurify-router-shiny-base-mid) 52%,
            var(--aurify-router-shiny-base-bottom) 100%
        ) padding-box,
        conic-gradient(
            from calc(var(--aurify-router-shiny-angle) - var(--aurify-router-shiny-offset)),
            transparent,
            var(--aurify-router-shiny-accent) var(--aurify-router-shiny-percent),
            var(--aurify-router-shiny-shine) calc(var(--aurify-router-shiny-percent) * 2),
            var(--aurify-router-shiny-accent) calc(var(--aurify-router-shiny-percent) * 3),
            transparent calc(var(--aurify-router-shiny-percent) * 4)
        ) border-box;

    box-shadow:
        inset 0 0 0 1px var(--aurify-router-shiny-inset),
        0 0 9px rgb(255 255 255 / 13%),
        0 0 20px rgb(255 255 255 / 42%);

    transition:
        transform 300ms cubic-bezier(0.033, 0.68, 0.263, 0.983),
        opacity 160ms ease,
        box-shadow 180ms ease,
        --aurify-router-shiny-offset var(--aurify-router-shiny-transition),
        --aurify-router-shiny-percent var(--aurify-router-shiny-transition),
        --aurify-router-shiny-shine var(--aurify-router-shiny-transition);
}

.aurify-ai-router__submit:hover {
    transform: scale(0.92);
}

/* Everything that moves turns (rotate) or scales, so it runs on the
   compositor. The light running round the edge used to animate the conic
   gradient's angle (a registered custom property), which restyled the page
   on every frame and made phones stutter. It now turns inside the rim
   (<i class="aurify-ai-router__submit-rim">, added by router.js), under the
   fill, which sits 1px in from the edge. Without the rim the button keeps its
   own fill and a still edge light. */
.aurify-ai-router__submit:has(> .aurify-ai-router__submit-rim) {
    background: none;
    box-shadow:
        0 0 9px rgb(255 255 255 / 13%),
        0 0 20px rgb(255 255 255 / 42%);
}

.aurify-ai-router__submit-rim {
    position: absolute;
    inset: -1px; /* over the transparent border */
    z-index: -2;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.aurify-ai-router__submit-rim::before,
.aurify-ai-router__submit-rim::after {
    content: "";
    position: absolute;
}

/* The edge light: a conic gradient, big enough to cover the corners as it turns. */
.aurify-ai-router__submit-rim::before {
    inset-inline-start: 50%;
    inset-block-start: 50%;
    width: 130%;
    aspect-ratio: 1;
    translate: -50% -50%;
    background: conic-gradient(
        transparent,
        var(--aurify-router-shiny-accent) var(--aurify-router-shiny-percent),
        var(--aurify-router-shiny-shine) calc(var(--aurify-router-shiny-percent) * 2),
        var(--aurify-router-shiny-accent) calc(var(--aurify-router-shiny-percent) * 3),
        transparent calc(var(--aurify-router-shiny-percent) * 4)
    );
    transition:
        transform var(--aurify-router-shiny-transition),
        --aurify-router-shiny-percent var(--aurify-router-shiny-transition),
        --aurify-router-shiny-shine var(--aurify-router-shiny-transition);
    animation:
        aurify-router-shiny-shimmer var(--aurify-router-shiny-duration) linear infinite,
        aurify-router-shiny-shimmer calc(var(--aurify-router-shiny-duration) / .4) linear infinite reverse paused;
    animation-composition: add;
}

.aurify-ai-router__submit-rim::after {
    inset: 1px;
    border-radius: calc(var(--aurify-router-radius) - 7px);
    background: linear-gradient(
        145deg,
        var(--aurify-router-shiny-base-top) 0%,
        var(--aurify-router-shiny-base-mid) 52%,
        var(--aurify-router-shiny-base-bottom) 100%
    );
    box-shadow: inset 0 0 0 1px var(--aurify-router-shiny-inset);
}

.aurify-ai-router__submit::before,
.aurify-ai-router__submit::after,
.aurify-ai-router__submit-text::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
}

/* Fine white speckle layer. */
.aurify-ai-router__submit::before {
    --size: calc(100% - var(--aurify-router-shiny-shadow-size) * 3);
    --position: 2px;
    --space: calc(var(--position) * 2);

    width: var(--size);
    height: var(--size);

    background: radial-gradient(
        circle at var(--position) var(--position),
        rgb(90 90 90 / 28%) calc(var(--position) / 4),
        transparent 0
    ) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;

    -webkit-mask-image: conic-gradient(
        from 45deg,
        black,
        transparent 10% 90%,
        black
    );
    mask-image: conic-gradient(
        from 45deg,
        black,
        transparent 10% 90%,
        black
    );

    border-radius: inherit;
    opacity: .24;
}

/* Rotating white/silver sheen. */
.aurify-ai-router__submit::after {
    --aurify-router-shiny-animation: aurify-router-shiny-shimmer linear infinite;

    width: 100%;
    aspect-ratio: 1;

    background: linear-gradient(
        -50deg,
        transparent,
        rgb(255 255 255 / 90%),
        transparent
    );

    -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);

    opacity: .55;
}

.aurify-ai-router__submit-text {
    position: relative;
    z-index: 1;
}

/* White breathing glow, matching the header shiny buttons. */
.aurify-ai-router__submit-text::before {
    --size: calc(100% + 1rem);

    width: var(--size);
    height: var(--size);

    box-shadow: inset 0 -1ex 2rem 4px rgb(255 255 255 / 75%);
    opacity: 0;

    transition: opacity var(--aurify-router-shiny-transition);
    animation: calc(var(--aurify-router-shiny-duration) * 1.5) aurify-router-shiny-breathe linear infinite;
}

.aurify-ai-router__submit::before,
.aurify-ai-router__submit::after {
    animation:
        var(--aurify-router-shiny-animation) var(--aurify-router-shiny-duration),
        var(--aurify-router-shiny-animation) calc(var(--aurify-router-shiny-duration) / .4) reverse paused;
    animation-composition: add;
}

.aurify-ai-router__submit:is(:hover, :focus-visible) {
    --aurify-router-shiny-percent: 26%;
    --aurify-router-shiny-offset: 95deg;
    --aurify-router-shiny-shine: var(--aurify-router-shiny-soft);
}

.aurify-ai-router__submit:is(:hover, :focus-visible),
.aurify-ai-router__submit:is(:hover, :focus-visible)::before,
.aurify-ai-router__submit:is(:hover, :focus-visible)::after,
.aurify-ai-router__submit:is(:hover, :focus-visible) .aurify-ai-router__submit-rim::before {
    animation-play-state: running;
}

.aurify-ai-router__submit:is(:hover, :focus-visible) .aurify-ai-router__submit-rim::before {
    --aurify-router-shiny-percent: 26%;
    --aurify-router-shiny-shine: var(--aurify-router-shiny-soft);
    transform: rotate(-95deg);
}

.aurify-ai-router__submit:is(:hover, :focus-visible)::before {
    opacity: .42;
}

.aurify-ai-router__submit:is(:hover, :focus-visible)::after {
    opacity: .82;
}

.aurify-ai-router__submit:is(:hover, :focus-visible) .aurify-ai-router__submit-text::before {
    opacity: 1;
}

@keyframes aurify-router-shiny-angle {
    to {
        --aurify-router-shiny-angle: 360deg;
    }
}

@keyframes aurify-router-shiny-shimmer {
    to {
        rotate: 360deg;
    }
}

@keyframes aurify-router-shiny-breathe {
    from,
    to {
        scale: 1;
    }

    50% {
        scale: 1.2;
    }
}

.aurify-ai-router__submit-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.aurify-ai-router__submit-logo {
    display: block;
    width: 22px;
    height: 22px;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.aurify-ai-router__submit:focus,
.aurify-ai-router__submit:focus-visible {
    outline: none;
    box-shadow: none;
}

.aurify-ai-router__submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.aurify-ai-router__spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: aurify-router-spin 700ms linear infinite;
}

.aurify-ai-router.is-loading .aurify-ai-router__submit-text {
    display: none;
}

.aurify-ai-router.is-loading .aurify-ai-router__spinner {
    display: block;
}

.aurify-ai-router__count {
    margin: 6px 6px 0 0;
    color: rgb(255 255 255 / 45%);
    font-size: 13px;
    font-weight: 300;
    font-variant-numeric: tabular-nums;
    line-height: 16px;
    letter-spacing: .02em;
    text-align: right;
    transition: color 160ms ease, opacity 160ms ease;
}

/* Nothing to count yet: keep the line's space, show it once the visitor types. */
.aurify-ai-router__count.is-empty {
    opacity: 0;
}

.aurify-ai-router__count.is-full {
    color: rgb(255 255 255 / 80%);
}

.aurify-ai-router__selected-products {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.aurify-ai-router__selected-products[hidden] {
    display: none;
}

.aurify-ai-router__product-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 8px 12px 8px 8px;
    color: var(--aurify-router-text);
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.055));
    border: 1px solid var(--aurify-router-border);
    border-radius: var(--aurify-router-radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.aurify-ai-router__product-image {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover;
}

.aurify-ai-router__product-details {
    min-width: 0;
}

.aurify-ai-router__product-name {
    overflow: hidden;
    color: var(--aurify-router-text);
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Under the name: a one-line summary while an item is set up; in the summary
   to confirm, its base price and each add-on with its price. */
.aurify-ai-router__product-meta {
    display: grid;
    gap: 2px;
    margin-top: 3px;
    color: var(--aurify-router-muted);
    font-size: 13px;
    line-height: 1.35;
}

.aurify-ai-router__product-meta.is-summary {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aurify-ai-router__product-meta:empty {
    display: none;
}

.aurify-ai-router__addon {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.aurify-ai-router__addon span:last-child {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.aurify-ai-router__product-price {
    color: var(--aurify-router-text);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.aurify-ai-router__status {
    min-height: 24px;
    margin: 12px 4px 0;
    color: var(--aurify-router-muted);
}

.aurify-ai-router__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* A short answer (license terms), one line each, above the links. */
.aurify-ai-router__answer {
    flex-basis: 100%;
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 12px 14px;
    color: var(--aurify-router-text);
    background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.055));
    border: 1px solid var(--aurify-router-border);
    border-radius: var(--aurify-router-radius);
    list-style: none;
    line-height: 1.4;
}

.aurify-ai-router__answer li {
    margin: 0;
    padding: 0;
}

.aurify-ai-router__choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    color: var(--aurify-router-text);
    background: transparent;
    border: 1px solid var(--aurify-router-border);
    border-radius: calc(var(--aurify-router-radius) - 6px);
    font: inherit;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 160ms ease,
        opacity 160ms ease,
        background 160ms ease;
}

.aurify-ai-router__choice:hover {
    transform: translateY(-1px);
}

.aurify-ai-router__choice:focus,
.aurify-ai-router__choice:focus-visible,
.aurify-ai-router__field:focus,
.aurify-ai-router__field:focus-visible {
    outline: none;
    box-shadow: none;
}

.aurify-ai-router__choice--primary,
.aurify-ai-router__choice.is-selected {
    color: #000;
    background: #f7f7f7;
    border-color: #f7f7f7;
}

.aurify-ai-router__inline-form {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: stretch;
}

.aurify-ai-router__field {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 0 14px;
    color: var(--aurify-router-text);
    background: linear-gradient(90deg, rgba(255,255,255,0.015), rgba(255,255,255,0.055));
    border: 1px solid var(--aurify-router-border);
    border-radius: calc(var(--aurify-router-radius) - 6px);
    font: inherit;
    appearance: textfield;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.aurify-ai-router__field::-webkit-outer-spin-button,
.aurify-ai-router__field::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.aurify-ai-router__inline-form .aurify-ai-router__field {
    flex: 1 1 150px;
}

.aurify-ai-router__song-form {
    display: grid;
    gap: 10px;
    width: 100%;
}

.aurify-ai-router__song {
    min-width: 0;
    margin: 0;
    padding: 14px;
    color: var(--aurify-router-text);
    background: linear-gradient(90deg, rgba(255,255,255,0.015), rgba(255,255,255,0.05));
    border: 1px solid var(--aurify-router-border);
    border-radius: var(--aurify-router-radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.aurify-ai-router__song legend {
    padding: 0 7px;
    color: var(--aurify-router-text);
    font: inherit;
    font-weight: 700;
}

.aurify-ai-router__song-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.aurify-ai-router__song-fields--single {
    grid-template-columns: minmax(0, 1fr);
}

.aurify-ai-router__field-group {
    display: grid;
    gap: 7px;
    min-width: 0;
    overflow: hidden;
    color: var(--aurify-router-muted);
    font-size: 0.9em;
}

.aurify-ai-router__field-group > .aurify-ai-router__field {
    width: 100%;
}

.aurify-ai-router__time {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
    gap: 7px;
    align-items: center;
    color: var(--aurify-router-muted);
}

.aurify-ai-router__field--time {
    width: 100%;
    text-align: center;
}

.aurify-ai-router__form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.aurify-ai-router__trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@keyframes aurify-router-cursor-blink {
    50% { opacity: 0; }
}

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

@media (max-width: 600px) {
    .aurify-ai-router__bar {
        flex-direction: column;
        transform: scale(0.9);
        transform-origin: center center;
    }

    .aurify-ai-router__typewriter {
        width: calc(100% - 52px);
    }

    .aurify-ai-router__submit:hover {
        transform: none;
    }

    .aurify-ai-router__choice,
    .aurify-ai-router__inline-form .aurify-ai-router__choice {
        width: 100%;
    }

    .aurify-ai-router__inline-form {
        flex-direction: column;
    }

    .aurify-ai-router__inline-form .aurify-ai-router__field {
        flex-basis: auto;
        width: 100%;
    }

    .aurify-ai-router__song-fields {
        grid-template-columns: 1fr;
    }

    .aurify-ai-router__form-actions {
        flex-direction: column;
    }

    .aurify-ai-router__form-actions .aurify-ai-router__choice {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aurify-ai-router__submit,
    .aurify-ai-router__submit::before,
    .aurify-ai-router__submit::after,
    .aurify-ai-router__submit-text::before,
    .aurify-ai-router__submit-rim::before {
        animation: none !important;
    }

    .aurify-ai-router__submit,
    .aurify-ai-router__submit-rim::before,
    .aurify-ai-router__choice {
        transition: none;
    }

    .aurify-ai-router__submit:is(:hover, :focus-visible) .aurify-ai-router__submit-text::before {
        opacity: 0;
    }

    .aurify-ai-router__spinner {
        animation-duration: 1200ms;
    }
}


/* Router liquid glass — same optical treatment as site header. */
.aurify-ai-router__bar {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);

    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.aurify-ai-router__bar.aurify-router-liquid-glass-active {
    -webkit-backdrop-filter: url("#aurify-router-liquid-glass-filter");
    backdrop-filter: url("#aurify-router-liquid-glass-filter");
}

.aurify-router-liquid-glass-defs {
    position: fixed !important;
    width: 0 !important;
    height: 0 !important;
    left: -9999px !important;
    top: -9999px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .aurify-ai-router__bar {
        background: rgba(255, 255, 255, 0.05) !important;
    }
}


/* Unified router glass surfaces: same optical treatment, fully transparent fill. */
.aurify-ai-router__bar,
.aurify-ai-router__product-card,
.aurify-ai-router__field-shell,
.aurify-ai-router__song {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    overflow: hidden !important;
    contain: paint;
}

.aurify-ai-router__bar.aurify-router-liquid-glass-active,
.aurify-ai-router__product-card.aurify-router-liquid-glass-active,
.aurify-ai-router__field-shell.aurify-router-liquid-glass-active,
.aurify-ai-router__song.aurify-router-liquid-glass-active {
    background: transparent !important;
}

/* Keep the caret/text on a separate paint layer so its blink never repaints the glass. */
.aurify-ai-router__field-shell {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: calc(var(--aurify-router-radius) - 6px);
    position: relative;
}

.aurify-ai-router__field-shell > .aurify-ai-router__field {
    width: 100%;
    height: 100%;
    min-height: 42px;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    contain: none !important;
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.aurify-ai-router__inline-form .aurify-ai-router__field-shell {
    flex: 1 1 150px;
}

.aurify-ai-router__field-group > .aurify-ai-router__field-shell,
.aurify-ai-router__time > .aurify-ai-router__field-shell {
    width: 100%;
}

@media (max-width: 600px) {
    .aurify-ai-router__inline-form .aurify-ai-router__field-shell {
        flex-basis: auto;
        width: 100%;
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .aurify-ai-router__bar,
    .aurify-ai-router__product-card,
    .aurify-ai-router__field-shell,
    .aurify-ai-router__song {
        background: transparent !important;
    }
}


/* iOS / iPadOS native liquid-glass fallback.
   Keep this separate from the SVG url() filter path used on supported browsers. */
.aurify-ai-router__bar.aurify-router-liquid-glass-ios,
.aurify-ai-router__product-card.aurify-router-liquid-glass-ios,
.aurify-ai-router__field-shell.aurify-router-liquid-glass-ios,
.aurify-ai-router__song.aurify-router-liquid-glass-ios {
    background:
        linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.025)) !important;
    border-color: rgba(255,255,255,.17) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) contrast(1.06) !important;
    backdrop-filter: blur(16px) saturate(180%) contrast(1.06) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -1px 0 rgba(255,255,255,.055),
        0 4px 16px rgba(0,0,0,.16) !important;
    contain: none !important;
}


/* Safari on pages with the liquid-crystal background: its WebGL draws the
   refracted rim into .aurify-glass-rim inside each surface (see
   aurify-liquid-crystal-template.js) over the 4px native blur above.
   The canvas sits at z-index -1, so each surface needs its own stacking context. */
.aurify-ai-router__bar.aurify-router-liquid-glass-gl,
.aurify-ai-router__product-card.aurify-router-liquid-glass-gl,
.aurify-ai-router__field-shell.aurify-router-liquid-glass-gl,
.aurify-ai-router__song.aurify-router-liquid-glass-gl {
    isolation: isolate;
}

.aurify-ai-router__product-card.aurify-router-liquid-glass-gl,
.aurify-ai-router__song.aurify-router-liquid-glass-gl {
    position: relative;
}
