.guest-body {
    position: relative;
    min-height: 100vh;
    overflow: visible;
    background: #FCE6F0;
}

.guest-bg {
    display: none;
}

.guest-bg__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    animation: floatOrb 12s ease-in-out infinite;
}

.guest-bg__orb--1 {
    width: 320px;
    height: 320px;
    top: 8%;
    left: -4%;
    background: #FCE6F0;
}

.guest-bg__orb--2 {
    width: 280px;
    height: 280px;
    top: 42%;
    right: -6%;
    background: #FCE6F0;
    animation-delay: -4s;
}

.guest-bg__orb--3 {
    width: 240px;
    height: 240px;
    bottom: 8%;
    left: 30%;
    background: #FCE6F0;
    animation-delay: -8s;
}

.guest-navbar {
    position: sticky;
    top: 0;
    z-index: 9998;
    background: #FCE6F0;
    color: var(--primary-text);
    overflow: visible;
    padding: 10px 0 8px;
}

.guest-navbar__inner {
    width: min(1200px, 100%);
    margin: 0 auto;
    --navbar-height: 64px;
    --navbar-logo-max: 52px;
    --navbar-link-size: 0.98rem;
    --navbar-tab-pad-y: 8px;
    --navbar-tab-pad-x: 18px;
    --navbar-pad-x: 16px;
    min-height: var(--navbar-height);
    height: auto;
    padding: 0 var(--navbar-pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    overflow: visible;
    position: relative;
    z-index: 9998;
}

.guest-navbar__logo {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    height: auto;
    gap: 8px;
    font-weight: 700;
    color: var(--primary);
}

.guest-navbar__logo-img {
    height: var(--navbar-logo-max);
    max-height: var(--navbar-logo-max);
    width: auto;
    max-width: min(160px, 20vw);
    object-fit: contain;
    display: block;
}

.guest-navbar__logo-text {
    font-size: clamp(0.75rem, 1.6vw, 1.1rem);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 12em;
}

.guest-navbar__toggle {
    display: none !important;
}

.guest-navbar__pill,
.guest-navbar__links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    gap: 2px;
    flex-wrap: nowrap;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(var(--primary-rgb), 0.16);
    box-shadow:
        0 8px 24px rgba(var(--primary-rgb), 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.guest-navbar__tab,
.guest-navbar__links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-text);
    opacity: 1;
    font-weight: 600;
    font-size: var(--navbar-link-size);
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex: 0 0 auto;
    padding: var(--navbar-tab-pad-y) var(--navbar-tab-pad-x);
    border-radius: 999px;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.guest-navbar__tab:hover,
.guest-navbar__links a:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    text-decoration: none;
}

.guest-navbar__tab.is-active,
.guest-navbar__links a.is-active,
.guest-navbar__lang a.is-active {
    opacity: 1;
    text-decoration: none;
}

.guest-navbar__tab.is-active,
.guest-navbar__links a.is-active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.28);
}

.guest-navbar__tab.is-active:hover,
.guest-navbar__links a.is-active:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.guest-navbar__lang,
.guest-lang-dropdown {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 8px;
    position: relative;
    z-index: 9999;
    min-width: 0;
    overflow: visible;
    pointer-events: auto;
}

.guest-lang-dropdown__toggle {
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    background: rgba(255, 255, 255, 0.82);
    color: var(--primary-text);
    opacity: 1;
    font-weight: 600;
    font-size: clamp(0.72rem, 1.4vw, 0.92rem);
    cursor: pointer;
    padding: 8px 12px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    position: relative;
    z-index: 111;
    pointer-events: auto;
    -webkit-tap-highlight-color: rgba(199, 75, 136, 0.15);
    touch-action: manipulation;
}

.guest-lang-dropdown__toggle:hover,
.guest-lang-dropdown__toggle:focus-visible {
    opacity: 1;
    background: #ffffff;
    color: var(--primary);
    border-color: rgba(var(--primary-rgb), 0.35);
}

.guest-lang-dropdown__label {
    white-space: nowrap;
}

.guest-lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 168px;
    padding: 8px 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(var(--primary-rgb), 0.12);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
    z-index: 10000;
    pointer-events: auto;
}

.guest-lang-dropdown__menu[hidden] {
    display: none !important;
}

.guest-lang-dropdown__menu a {
    display: block;
    padding: 10px 16px;
    color: #334155;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.guest-lang-dropdown__menu a:hover,
.guest-lang-dropdown__menu a.is-active {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary-hover);
    text-decoration: none;
}

@media (min-width: 769px) {
    .guest-navbar {
        padding: 14px 0 10px;
    }

    .guest-navbar__inner {
        --navbar-height: 68px;
        --navbar-logo-max: 56px;
        --navbar-link-size: 1rem;
        --navbar-tab-pad-y: 10px;
        --navbar-tab-pad-x: 20px;
        --navbar-pad-x: 20px;
        gap: 16px;
    }
}

.hero-banner,
.banner,
.carousel,
.swiper {
    position: relative;
    z-index: 1;
}

.hero-banner {
    width: 100%;
    overflow: hidden;
    background: #FCE6F0;
}

.hero-banner__track {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 700;
}

.hero-banner__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-banner__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-banner__trigger {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
}

.hero-banner__trigger:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: -2px;
}

.hero-banner__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
}

.hero-banner__dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    pointer-events: auto;
}

.hero-banner__dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.hero-banner__dot.is-active {
    background: #ffffff;
    transform: scale(1.15);
}

.glass-strip,
.glass-card {
    position: relative;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.52);
    box-shadow:
        0 12px 36px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.glass-card--shine::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 42%, rgba(255, 255, 255, 0.18));
    pointer-events: none;
}

.glass-card--float {
    animation: cardFloat 5s ease-in-out infinite;
}

.announcement-bar {
    position: relative;
    z-index: 1;
    border-radius: 0;
    background: #fff3e0;
    color: #111827;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

.announcement-bar__track {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
    padding: 10px 0;
}

.announcement-bar__text {
    padding-right: 80px;
    font-size: 0.88rem;
    white-space: nowrap;
}

.claim-card,
.tips-card,
.claim-result-card,
.login-card,
.harmony-contact__card {
    overflow: hidden;
}

.login-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* --- Guest chat widget (R5) --- */
.guest-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    font-family: inherit;
    pointer-events: none;
}

.guest-chat[hidden] {
    display: none !important;
}

.guest-chat__fab,
.guest-chat__panel {
    pointer-events: auto;
}

.guest-chat__fab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 52px;
    min-height: 52px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(var(--primary-rgb), 0.32);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.78rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-chat__fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(var(--primary-rgb), 0.4);
}

.guest-chat__fab-icon {
    font-size: 0.95rem;
    line-height: 1;
}

.guest-chat__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    z-index: 2;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px #ffffff;
    pointer-events: none;
}

.guest-chat__badge[hidden] {
    display: none !important;
}

.guest-chat__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(340px, calc(100vw - 24px));
    height: min(480px, calc(100vh - 120px));
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #ededed;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.guest-chat__panel[hidden] {
    display: none !important;
}

.guest-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: #2e2e2e;
    color: #ffffff;
    flex-shrink: 0;
}

.guest-chat__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.guest-chat__title strong {
    font-size: 0.95rem;
}

.guest-chat__title span {
    font-size: 0.72rem;
    opacity: 0.85;
}

.guest-chat__close {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.guest-chat__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.guest-chat__messages {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ededed;
}

.guest-chat__empty {
    margin: auto;
    color: #64748b;
    font-size: 0.84rem;
    text-align: center;
    line-height: 1.5;
    max-width: 220px;
}

.guest-chat__row {
    display: flex;
    width: 100%;
}

.guest-chat__row.is-mine {
    justify-content: flex-end;
}

.guest-chat__row.is-theirs {
    justify-content: flex-start;
}

.guest-chat__bubble {
    max-width: 78%;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
    word-break: break-word;
    position: relative;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.06);
}

.guest-chat__text {
    white-space: pre-wrap;
}

.guest-chat__translation {
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.78em;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
}

.guest-chat__bubble--guest {
    background: #95ec69;
    color: #111827;
    border-bottom-right-radius: 2px;
}

.guest-chat__bubble--admin {
    background: #ffffff;
    color: #111827;
    border-bottom-left-radius: 2px;
}

.guest-chat__bubble--system {
    background: var(--background);
    color: #0f172a;
    border: 1px solid var(--primary-muted);
    border-bottom-left-radius: 2px;
}

.guest-chat__system-tag {
    margin-bottom: 4px;
    color: var(--primary-text);
    font-size: 0.72rem;
    font-weight: 700;
}

.guest-chat__meta {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.68rem;
    color: rgba(15, 23, 42, 0.55);
}

.guest-chat__composer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid #d1d5db;
    background: #f7f7f7;
    flex-shrink: 0;
}

.guest-chat__composer-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 6px;
    min-width: 0;
}

.guest-chat__emoji {
    position: relative;
    flex: 0 0 auto;
}

.guest-chat__emoji-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--primary-muted);
    border-radius: 999px;
    background: #ffffff;
    color: var(--primary-hover);
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(var(--primary-rgb), 0.08);
}

.guest-chat__emoji-btn:hover,
.guest-chat__emoji-btn[aria-expanded="true"] {
    background: var(--background);
    border-color: var(--primary-muted);
}

.guest-chat__emoji-panel {
    position: absolute;
    left: 0;
    bottom: calc(100% + 8px);
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    width: min(220px, calc(100vw - 48px));
    padding: 8px;
    border: 1px solid var(--primary-muted);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    box-sizing: border-box;
}

.guest-chat__emoji-panel[hidden] {
    display: none !important;
}

.guest-chat__emoji-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}

.guest-chat__emoji-item:hover {
    background: var(--background);
}

.guest-chat__input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 38px;
    max-height: 96px;
    resize: none;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font: inherit;
    color: #0f172a;
    background: #ffffff;
    box-sizing: border-box;
}

.guest-chat__input:focus {
    outline: none;
    border-color: var(--primary-muted);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.18);
}

.guest-chat__send {
    flex: 0 0 auto;
    align-self: end;
    min-width: 56px;
    min-height: 38px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    background: #07c160;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.guest-chat__send:hover {
    background: #06ad56;
}

.guest-chat__send:disabled {
    opacity: 0.65;
    cursor: wait;
}

.guest-chat__error {
    margin: 0;
    color: #b91c1c;
    font-size: 0.8rem;
}
