:root {
    --kiosk-bg: #f9fafb;
    --kiosk-panel: rgba(255, 255, 255, 0.86);
    --kiosk-line: rgba(255, 255, 255, 0.85);
    --kiosk-text: #111827;
    --kiosk-muted: #6b7280;
}

.kiosk-body {
    margin: 0;
    min-height: 100svh;
    min-height: 100dvh;
    background: var(--kiosk-bg);
    color: var(--kiosk-text);
    overflow-x: hidden;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.kiosk-ambiance {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 20% -10%, color-mix(in srgb, var(--tenant-primary) 22%, transparent), transparent 55%),
        radial-gradient(ellipse 70% 45% at 90% 10%, color-mix(in srgb, var(--tenant-secondary) 18%, transparent), transparent 50%),
        var(--kiosk-bg);
}

.kiosk-ambiance__rings {
    position: absolute;
    right: -2.5rem;
    top: 1rem;
    width: 14rem;
    max-width: 65vw;
    opacity: 0.38;
    animation: kiosk-float-a 14s ease-in-out infinite;
}

.kiosk-ambiance__glow {
    position: absolute;
    left: -4rem;
    bottom: 0;
    width: 16rem;
    max-width: 75vw;
    opacity: 0.48;
    animation: kiosk-float-b 18s ease-in-out infinite;
}

@media (min-width: 640px) {
    .kiosk-ambiance__rings {
        right: -4rem;
        top: 2rem;
        width: 28rem;
        max-width: none;
    }

    .kiosk-ambiance__glow {
        left: -6rem;
        width: 32rem;
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .kiosk-ambiance__rings {
        width: 36rem;
    }
}

@keyframes kiosk-float-a {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(-12px, 18px, 0) rotate(2deg); }
}

@keyframes kiosk-float-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(16px, -14px, 0) scale(1.04); }
}

.kiosk-shell {
    position: relative;
    z-index: 1;
    height: 100svh;
    height: 100dvh;
    max-height: 100svh;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

.kiosk-header {
    flex-shrink: 0;
}

.kiosk-screen {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.kiosk-attract {
    cursor: pointer;
}

.kiosk-attract-marketing {
    background:
        radial-gradient(
            ellipse 70% 50% at 10% 20%,
            color-mix(in srgb, var(--tenant-primary) 12%, transparent),
            transparent 55%
        ),
        radial-gradient(
            ellipse 60% 40% at 90% 80%,
            color-mix(in srgb, var(--tenant-secondary) 14%, transparent),
            transparent 50%
        ),
        #f9fafb;
}

.kiosk-attract-hero-bg {
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, 0.22), transparent 42%),
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--tenant-primary) 94%, #ffffff 6%) 0%,
            color-mix(
                    in srgb,
                    color-mix(in srgb, var(--tenant-primary) 58%, var(--tenant-secondary) 42%) 94%,
                    #ffffff 6%
                )
                50%,
            color-mix(in srgb, var(--tenant-tertiary) 94%, #ffffff 6%) 100%
        );
}

.kiosk-attract-wordmark {
    display: inline-block;
    line-height: 1.25;
    padding-block: 0.14em;
    overflow: visible;
    background: linear-gradient(
        90deg,
        var(--tenant-primary) 0%,
        var(--tenant-secondary) 45%,
        var(--tenant-primary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: kiosk-wordmark-shift 4s ease-in-out infinite;
}

.kiosk-attract-wordmark-on-hero {
    display: inline-block;
    line-height: 1.25;
    padding-block: 0.14em;
    overflow: visible;
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 20%,
        var(--tenant-secondary) 35%,
        #ffffff 55%,
        var(--tenant-secondary) 75%,
        #ffffff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: kiosk-wordmark-shift 3s ease-in-out infinite;
}

.kiosk-attract-logo-on-hero {
    filter: grayscale(1) brightness(1.55) contrast(1.05);
}

.kiosk-attract__pulse {
    animation: kiosk-pulse-white 2.4s ease-in-out infinite;
}

@keyframes kiosk-pulse-white {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(255, 255, 255, 0.35);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22), 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.kiosk-attract-stage {
    display: grid;
    place-items: center;
    perspective: 1200px;
}

.kiosk-attract-card {
    position: absolute;
    inset-inline: 0;
    margin-inline: auto;
    overflow: hidden;
    width: min(52%, 12rem);
    aspect-ratio: 3 / 4;
    border-radius: 1.25rem;
    background: #0f172a;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.35);
    transform-origin: center bottom;
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.7s ease,
        filter 0.7s ease,
        width 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.7s ease;
    will-change: transform, opacity;
}

@media (min-width: 640px) {
    .kiosk-attract-card {
        width: min(48%, 14rem);
        border-radius: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .kiosk-attract-card {
        width: min(48%, 18rem);
    }
}

.kiosk-attract-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 4s ease;
}

.kiosk-attract-card.is-rel-0 {
    z-index: 5;
    width: min(58%, 13.5rem);
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) rotate(-2deg) scale(1);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.42);
    animation: kiosk-attract-float 4.5s ease-in-out infinite;
}

.kiosk-attract-card.is-rel-0 img {
    transform: scale(1.04);
}

.kiosk-attract-card.is-rel--1 {
    z-index: 4;
    opacity: 0.92;
    filter: brightness(0.92);
    transform: translate3d(-38%, 6%, 0) rotate(-14deg) scale(0.9);
}

.kiosk-attract-card.is-rel-1 {
    z-index: 4;
    opacity: 0.92;
    filter: brightness(0.92);
    transform: translate3d(38%, 6%, 0) rotate(12deg) scale(0.9);
}

.kiosk-attract-card.is-rel--2 {
    z-index: 2;
    width: min(40%, 10rem);
    opacity: 0.55;
    filter: brightness(0.78) saturate(0.9);
    transform: translate3d(-62%, 14%, 0) rotate(-20deg) scale(0.78);
}

.kiosk-attract-card.is-rel-2 {
    z-index: 2;
    width: min(40%, 10rem);
    opacity: 0.55;
    filter: brightness(0.78) saturate(0.9);
    transform: translate3d(62%, 14%, 0) rotate(18deg) scale(0.78);
}

@media (min-width: 1024px) {
    .kiosk-attract-card.is-rel-0 {
        width: min(58%, 22rem);
    }

    .kiosk-attract-card.is-rel--1 {
        transform: translate3d(-42%, 5%, 0) rotate(-14deg) scale(0.9);
    }

    .kiosk-attract-card.is-rel-1 {
        transform: translate3d(42%, 5%, 0) rotate(12deg) scale(0.9);
    }

    .kiosk-attract-card.is-rel--2 {
        width: min(40%, 14rem);
        transform: translate3d(-68%, 12%, 0) rotate(-20deg) scale(0.78);
    }

    .kiosk-attract-card.is-rel-2 {
        width: min(40%, 14rem);
        transform: translate3d(68%, 12%, 0) rotate(18deg) scale(0.78);
    }
}

.kiosk-attract-fallback {
    width: min(70%, 18rem);
    aspect-ratio: 3 / 4;
    border-radius: 1.75rem;
    background:
        linear-gradient(145deg,
            color-mix(in srgb, #ffffff 35%, transparent),
            color-mix(in srgb, var(--tenant-secondary) 40%, white));
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.2);
    animation: kiosk-attract-float 7s ease-in-out infinite;
}

@keyframes kiosk-attract-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -12px; }
}

@media (prefers-reduced-motion: reduce) {
    .kiosk-attract-card,
    .kiosk-attract-card.is-rel-0 {
        animation: none !important;
        transition: none !important;
    }
}

.kiosk-enter {
    animation: kiosk-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kiosk-enter--delay-1 { animation-delay: 80ms; }
.kiosk-enter--delay-2 { animation-delay: 160ms; }
.kiosk-enter--delay-3 { animation-delay: 240ms; }
.kiosk-enter--delay-4 { animation-delay: 320ms; }

@keyframes kiosk-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kiosk-step-card {
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.kiosk-step-card:hover {
    transform: translateY(-2px);
}

.kiosk-step-item {
    animation: kiosk-enter 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kiosk-step-item:nth-child(1) { animation-delay: 120ms; }
.kiosk-step-item:nth-child(2) { animation-delay: 220ms; }
.kiosk-step-item:nth-child(3) { animation-delay: 320ms; }

.kiosk-template-group-head h3 {
    letter-spacing: 0.16em;
}

.kiosk-template-group-head {
    gap: 0.5rem;
}

.kiosk-template-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
}

.kiosk-template-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.kiosk-template-rail .kiosk-template-card {
    flex: 0 0 calc((100% - 0.75rem) / 2);
    width: calc((100% - 0.75rem) / 2);
    max-width: none;
    min-width: 0;
}

.kiosk-template-rail .kiosk-template-thumb {
    aspect-ratio: 3 / 4;
    background: #e2e8f0;
    overflow: hidden;
}

@media (min-width: 640px) {
    .kiosk-template-rail {
        gap: 0.85rem;
    }

    .kiosk-template-rail .kiosk-template-card {
        flex-basis: calc((100% - 1.7rem) / 3);
        width: calc((100% - 1.7rem) / 3);
    }
}

@media (min-width: 1024px) {
    .kiosk-template-rail {
        gap: 1rem;
    }

    .kiosk-template-rail .kiosk-template-card {
        flex-basis: calc((100% - 3rem) / 4);
        width: calc((100% - 3rem) / 4);
    }

    .kiosk-template-rail--dense .kiosk-template-card {
        flex-basis: calc((100% - 4rem) / 5);
        width: calc((100% - 4rem) / 5);
    }

    .kiosk-template-rail--sparse .kiosk-template-card {
        flex-basis: calc((100% - 1rem) / 2);
        width: calc((100% - 1rem) / 2);
        max-width: 22rem;
    }
}

@media (min-width: 1400px) {
    .kiosk-template-rail .kiosk-template-card {
        flex-basis: calc((100% - 4rem) / 5);
        width: calc((100% - 4rem) / 5);
    }

    .kiosk-template-rail--dense .kiosk-template-card {
        flex-basis: calc((100% - 5rem) / 6);
        width: calc((100% - 5rem) / 6);
    }

    .kiosk-template-rail--sparse .kiosk-template-card {
        flex-basis: calc((100% - 2rem) / 3);
        width: calc((100% - 2rem) / 3);
        max-width: 20rem;
    }
}

.kiosk-chip-bar .kiosk-chip {
    border: 0;
    background: transparent;
}

.kiosk-chip-bar .kiosk-chip.is-active {
    background: color-mix(in srgb, var(--tenant-secondary) 22%, white);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.kiosk-result-board {
    min-height: 0;
}

@media (min-width: 1024px) {
    .kiosk-result-board {
        min-height: min(78svh, 44rem);
    }
}

.kiosk-template-card {
    border: 2px solid transparent;
    transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    background: transparent;
    box-shadow: none;
}

.kiosk-template-card:active {
    transform: scale(0.985);
}

.kiosk-template-card.is-selected {
    border-color: var(--tenant-secondary);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--tenant-secondary) 22%, transparent);
}

.kiosk-template-check {
    position: absolute;
    top: 0.7rem;
    inset-inline-end: 0.7rem;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: var(--tenant-secondary);
    color: #fff;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 160ms ease, transform 160ms ease;
}

.kiosk-template-card.is-selected .kiosk-template-check {
    opacity: 1;
    transform: scale(1);
}

.kiosk-template-meta {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.35), transparent);
}

.kiosk-template-meta p:first-child {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.kiosk-look-preview {
    position: relative;
    height: 100%;
    min-height: 0;
    background: #0f172a;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.2);
}

.kiosk-variant-rail {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    min-width: 4.75rem;
    max-width: 5.25rem;
}

.kiosk-variant-rail__label {
    margin: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.kiosk-variant-rail__list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    overflow-y: auto;
    max-height: min(68svh, 760px);
    padding-right: 0.15rem;
}

.kiosk-variant-rail__list--row {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding-bottom: 0.15rem;
}

.kiosk-variant-thumb {
    flex: 0 0 auto;
    width: 4.5rem;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 0.9rem;
    border: 2px solid transparent;
    background: #e2e8f0;
    padding: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.kiosk-variant-rail__list--row .kiosk-variant-thumb {
    width: 3.75rem;
}

.kiosk-variant-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kiosk-variant-thumb.is-active {
    border-color: var(--tenant-primary, #2563eb);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
    transform: translateY(-1px);
}

.kiosk-look-preview__meta {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent);
}

.kiosk-camera-frame {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: #0f172a;
    aspect-ratio: 3 / 4;
    width: min(100%, 36rem);
    height: min(68svh, 760px);
    max-height: min(68svh, 760px);
    margin-inline: auto;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
}

.kiosk-camera-frame--fill {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    min-height: 18rem;
}

@media (min-width: 1024px) {
    .kiosk-camera-frame {
        width: 100%;
        height: 100%;
        max-height: none;
        aspect-ratio: 3 / 4;
        min-height: 0;
        max-width: none;
        margin-inline: 0;
    }

    .kiosk-camera-frame--fill {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        max-width: none;
    }
}

@media (max-width: 1023px) {
    .kiosk-camera-frame--fill {
        width: min(100%, 36rem);
        height: min(62svh, 680px);
        max-height: min(62svh, 680px);
        aspect-ratio: 3 / 4;
    }
}

@media (max-height: 780px) and (max-width: 1023px) {
    .kiosk-camera-frame,
    .kiosk-camera-frame--fill {
        height: min(54svh, 500px);
        max-height: min(54svh, 500px);
    }
}

@media (max-width: 380px) {
    .kiosk-camera-frame,
    .kiosk-camera-frame--fill {
        height: min(48svh, 400px);
        max-height: min(48svh, 400px);
    }
}

.kiosk-camera-frame video,
.kiosk-camera-frame canvas,
.kiosk-camera-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kiosk-guide-oval {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(58%, 22rem);
    aspect-ratio: 3 / 4;
    max-height: 78%;
    border: 3px dashed rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    pointer-events: none;
    box-shadow:
        inset 0 0 0 999px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    animation: kiosk-oval 2.8s ease-in-out infinite;
}

@keyframes kiosk-oval {
    0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.015); }
}

.kiosk-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
}

.kiosk-flash.is-on {
    animation: kiosk-flash 280ms ease-out;
}

@keyframes kiosk-flash {
    0% { opacity: 0.95; }
    100% { opacity: 0; }
}

.kiosk-countdown {
    animation: kiosk-countdown-pop 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes kiosk-countdown-pop {
    from { opacity: 0; transform: scale(0.7); }
    to { opacity: 1; transform: scale(1); }
}

.kiosk-loader-ring {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    border: 4px solid color-mix(in srgb, var(--tenant-primary) 18%, #e5e7eb);
    border-top-color: var(--tenant-secondary);
    animation: kiosk-spin 0.9s linear infinite;
}

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

.kiosk-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
    animation: kiosk-enter 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.kiosk-qr img,
.kiosk-qr canvas {
    width: min(140px, 36vw) !important;
    height: min(140px, 36vw) !important;
}

@media (min-width: 640px) {
    .kiosk-qr {
        padding: 1rem;
        border-radius: 1.5rem;
    }

    .kiosk-qr img,
    .kiosk-qr canvas {
        width: min(200px, 34vw) !important;
        height: min(200px, 34vw) !important;
    }
}

@media (min-width: 1024px) {
    .kiosk-qr img,
    .kiosk-qr canvas {
        width: min(210px, 20vw) !important;
        height: min(210px, 20vw) !important;
    }
}

.kiosk-qr-pair {
    width: 100%;
}

.kiosk-qr-preview {
    position: relative;
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 4;
    background: #0f172a;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.kiosk-qr-preview--solo {
    width: min(100%, 16rem);
    max-height: min(48vh, 26rem);
    margin-inline: auto;
}

@media (min-width: 1024px) {
    .kiosk-qr-preview--solo {
        width: min(100%, 22rem);
        max-height: none;
        margin-inline: 0;
        height: 100%;
        aspect-ratio: 3 / 4;
        max-width: 22rem;
        justify-self: center;
    }
}

.kiosk-qr-preview__meta {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88), transparent);
}

.kiosk-chip {
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.5);
    color: #4b5563;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.kiosk-chip:active {
    transform: scale(0.97);
}

.kiosk-chip.is-active {
    border-color: color-mix(in srgb, var(--tenant-secondary) 45%, white);
    background: color-mix(in srgb, var(--tenant-secondary) 14%, white);
    color: #111827;
}

.kiosk-footer-fade {
    background: linear-gradient(
        to top,
        var(--kiosk-bg) 38%,
        color-mix(in srgb, var(--kiosk-bg) 55%, transparent) 68%,
        transparent
    );
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
}

@media (min-width: 1024px) {
    .kiosk-qr-pair {
        flex: 1 1 auto;
        min-height: 0;
        align-content: stretch;
    }

    .kiosk-qr-preview {
        height: 100%;
        max-height: none;
        aspect-ratio: auto;
    }
}

.kiosk-btn {
    transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.kiosk-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.kiosk-btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

@media (max-width: 1023px) {
    .kiosk-attract-hero {
        flex: 1 1 auto;
        min-height: 0;
    }

    .kiosk-qr-preview {
        max-height: min(38svh, 16.5rem);
    }
}

@media (min-width: 1024px) and (max-height: 960px) {
    .kiosk-attract-marketing {
        padding-block: 1.25rem;
    }

    .kiosk-attract__steps {
        margin-top: 1.25rem;
        padding-top: 1rem;
        gap: 0.85rem;
    }

    .kiosk-qr-preview {
        max-height: none;
    }

    .kiosk-qr img,
    .kiosk-qr canvas {
        width: min(190px, 18vw) !important;
        height: min(190px, 18vw) !important;
    }
}

/* Language switcher */
.i18n-flag {
    width: 1.25rem;
    height: 0.85rem;
    border-radius: 0.15rem;
    overflow: hidden;
    flex-shrink: 0;
}

.i18n-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.i18n-trigger:focus {
    outline: none;
}

.i18n-trigger--light {
    color: #4b5563;
}

.i18n-trigger--light:hover {
    background: #f3f4f6;
    color: #111827;
}

.i18n-trigger--light:focus {
    box-shadow: 0 0 0 2px #e5e7eb;
}

.i18n-menu {
    position: absolute;
    z-index: 60;
    min-width: 11rem;
    width: max-content;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}

.i18n-menu--end {
    inset-inline-end: 0;
}

.i18n-menu--bottom {
    top: 100%;
    margin-top: 0.5rem;
}

.i18n-menu-item {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: #374151;
    text-align: start;
    transition: background 0.12s ease;
}

.i18n-menu-item:hover {
    background: #f9fafb;
}

.i18n-menu-item--active {
    background: color-mix(in srgb, var(--tenant-primary) 8%, white);
}

@media (max-width: 380px) {
    .i18n-trigger span.uppercase {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kiosk-ambiance__rings,
    .kiosk-ambiance__glow,
    .kiosk-attract__pulse,
    .kiosk-attract-wordmark,
    .kiosk-attract-card,
    .kiosk-attract-fallback,
    .kiosk-enter,
    .kiosk-step-item,
    .kiosk-guide-oval,
    .kiosk-qr,
    .kiosk-loader-ring {
        animation: none !important;
    }
}
