:root {
    --bg: #f7f8fb;
    --surface: #ffffff;
    --surface-soft: #fff4ef;
    --ink: #20242c;
    --muted: #6d7380;
    --line: #e8eaf0;
    --accent: #ff6b6b;
    --accent-dark: #db4f5d;
    --yes: #19b987;
    --no: #f05a4f;
    --gold: #ffd166;
    --blue: #6ba6ff;
    --shadow: 0 18px 50px rgba(32, 36, 44, 0.16);
    --header-height: 78px;
    --app-height: 100svh;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        linear-gradient(180deg, #fff6f2 0%, #f1f8f5 46%, #f7f8fb 100%);
    color: var(--ink);
    letter-spacing: 0;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

.app-shell {
    min-height: var(--app-height);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

.app-header {
    min-height: var(--header-height);
    padding: max(12px, env(safe-area-inset-top)) 16px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 248, 251, 0.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(232, 234, 240, 0.72);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}

.brand-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 1.16rem;
    line-height: 1.05;
}

.brand small {
    max-width: 240px;
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.2;
}

.progress-pill {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 8px 10px;
    border: 1px solid rgba(32, 36, 44, 0.08);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-weight: 800;
    font-size: 0.75rem;
    text-align: center;
    box-shadow: 0 8px 22px rgba(32, 36, 44, 0.08);
}

.app-main {
    min-height: calc(var(--app-height) - var(--header-height));
    padding: 14px 14px 118px;
}

.start-screen {
    min-height: calc(var(--app-height) - var(--header-height) - 150px);
    display: grid;
    place-items: center;
}

.start-copy {
    width: 100%;
    padding: 24px 18px;
    text-align: center;
}

.start-logo {
    width: 112px;
    height: 112px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 12px 24px rgba(32, 36, 44, 0.14));
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.start-copy h1 {
    margin: 0;
    font-size: clamp(2.15rem, 9vw, 3.1rem);
    line-height: 1.02;
}

.start-copy p {
    max-width: 22rem;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.45;
}

.start-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.start-actions .primary-btn,
.start-actions .secondary-btn,
.start-actions .share-native-btn {
    margin-top: 0;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.danger-btn {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    padding: 0 18px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn {
    margin-top: 24px;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 28px rgba(32, 36, 44, 0.2);
}

.secondary-btn {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
}

.share-native-btn {
    min-height: 34px;
    border: 0;
    border-radius: 8px;
    padding: 0 10px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ghost-btn {
    background: transparent;
    color: var(--muted);
}

.danger-btn {
    background: #fff0ef;
    color: #b9352e;
}

.deck-screen {
    min-height: calc(var(--app-height) - var(--header-height) - 132px);
}

.card-stack {
    width: 100%;
    height: clamp(380px, calc(var(--app-height) - 222px), 650px);
    position: relative;
    touch-action: pan-y;
}

.item-card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    user-select: none;
    will-change: transform;
    transform-origin: 50% 86%;
}

.item-card.is-preview {
    transform: scale(0.985);
    opacity: 1;
    pointer-events: none;
    box-shadow: 0 10px 28px rgba(32, 36, 44, 0.12);
}

.item-card.is-top {
    cursor: grab;
}

.item-card.is-dragging {
    transition: none;
    cursor: grabbing;
    touch-action: none;
}

.item-card.is-animating {
    transition: transform 260ms ease, opacity 260ms ease;
}

.card-media {
    min-height: 0;
    height: 58%;
    position: relative;
    background: #f0f2f5;
    overflow: hidden;
    touch-action: none;
    -webkit-touch-callout: none;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
}

.status-badge,
.category-badge {
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.status-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--yes);
    box-shadow: 0 8px 18px rgba(32, 36, 44, 0.12);
}

.status-badge.status-reserved {
    color: #b57c00;
}

.status-badge.status-adopted {
    color: #4b5563;
}

.back-card-btn,
.share-btn {
    position: absolute;
    top: 10px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    padding: 7px;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(32, 36, 44, 0.12);
    overflow: hidden;
}

.back-card-btn {
    left: 10px;
    padding: 0;
}

.share-btn {
    right: 10px;
}

.model3d-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 4;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 999px;
    padding: 0 13px 0 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 12px 28px rgba(32, 36, 44, 0.16);
    backdrop-filter: blur(14px);
    font-weight: 1000;
    letter-spacing: 0;
}

.model3d-btn img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
    flex: 0 0 auto;
}

.model3d-btn span {
    line-height: 1;
}

.back-card-btn:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.back-card-btn img,
.share-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.swipe-stamp {
    position: absolute;
    top: 22%;
    z-index: 2;
    border: 4px solid currentColor;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.3rem;
    font-weight: 1000;
    text-transform: uppercase;
    opacity: 0;
    transform: rotate(-10deg);
    pointer-events: none;
}

.swipe-stamp.like {
    right: 18px;
    color: var(--yes);
}

.swipe-stamp.nope {
    left: 18px;
    color: var(--no);
    transform: rotate(10deg);
}

.card-body {
    min-height: 0;
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.card-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.card-title-row h2 {
    margin: 0;
    font-size: 1.85rem;
    line-height: 1.02;
}

.category-badge {
    margin-top: 2px;
    background: #edf5ff;
    color: #285fbd;
}

.card-description {
    margin: 0;
    color: #3f4652;
    line-height: 1.42;
    font-size: 0.98rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: auto;
}

.detail-chip {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px;
    align-items: start;
    padding: 10px 11px;
    border-radius: 8px;
    background: #f7f8fb;
    border: 1px solid rgba(232, 234, 240, 0.84);
    font-size: 0.88rem;
}

.detail-chip span:first-child {
    color: var(--muted);
    font-weight: 800;
}

.detail-chip strong {
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
    line-height: 1.35;
}

.swipe-actions {
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(calc(100vw - 24px), 536px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 8px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 46px rgba(32, 36, 44, 0.16);
    backdrop-filter: blur(18px);
}

.swipe-btn {
    position: relative;
    width: clamp(64px, 18vw, 76px);
    height: clamp(64px, 18vw, 76px);
    min-height: 0;
    border: 2px solid currentColor;
    border-radius: 50%;
    padding: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    box-shadow: 0 12px 26px rgba(32, 36, 44, 0.14);
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.swipe-btn:active {
    transform: scale(0.94);
    box-shadow: 0 8px 18px rgba(32, 36, 44, 0.14);
}

.swipe-btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.swipe-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.swipe-pass {
    color: #b9352e;
}

.swipe-pass:hover,
.swipe-pass:focus-visible {
    background: #fff0ef;
}

.swipe-unsure {
    color: #b77a00;
}

.swipe-unsure:hover,
.swipe-unsure:focus-visible {
    background: #fff8df;
}

.swipe-like {
    color: #047a55;
}

.swipe-like:hover,
.swipe-like:focus-visible {
    background: #eefaf5;
}

.empty-state {
    min-height: calc(var(--app-height) - var(--header-height) - 170px);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
}

.empty-state h2 {
    margin: 0;
    font-size: 2.6rem;
    line-height: 1;
}

.empty-state p {
    color: var(--muted);
    line-height: 1.45;
    max-width: 22rem;
}

.empty-whatsapp {
    margin-top: 4px;
    text-decoration: none;
}

.empty-whatsapp img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.app-footer {
    position: fixed;
    left: 50%;
    bottom: max(12px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(calc(100vw - 28px), 528px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    color: rgba(109, 115, 128, 0.9);
    font-size: 0.78rem;
    line-height: 1.2;
    text-align: center;
    z-index: 25;
    pointer-events: none;
}

.app-footer a {
    pointer-events: auto;
}

body.is-swiping .app-footer {
    display: none;
}

.modal-root {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(20, 24, 31, 0.42);
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 18px;
}

.modal-sheet {
    width: min(100%, 520px);
    max-height: min(calc(var(--app-height) - 28px), 720px);
    overflow-y: auto;
    background: var(--surface);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(20, 24, 31, 0.28);
    padding: 18px;
}

.modal-sheet h2 {
    margin: 0;
    font-size: 2.2rem;
    line-height: 1.02;
}

.bug-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bug-modal-title img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 auto;
}

.modal-sheet p {
    color: #48505c;
    line-height: 1.45;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}

.modal-actions .primary-btn {
    margin-top: 0;
}

.modal-root.modal-inspiration {
    align-items: center;
    background: rgba(20, 24, 31, 0.58);
    padding: 14px;
    animation: modalBackdropIn 180ms ease-out both;
}

.inspiration-view {
    position: relative;
    width: min(100%, 520px);
    max-height: min(92svh, 760px);
    overflow-y: auto;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 28px 80px rgba(20, 24, 31, 0.34);
    transform-origin: 50% 84%;
    animation: inspirationPanelIn 280ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.inspiration-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    background: rgba(20, 24, 31, 0.52);
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(20, 24, 31, 0.22);
    backdrop-filter: blur(12px);
}

.inspiration-stage {
    position: relative;
    height: clamp(282px, 52svh, 430px);
    overflow: hidden;
    background: #15171b;
    isolation: isolate;
}

.inspiration-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(20, 24, 31, 0.04) 46%, rgba(20, 24, 31, 0.32) 100%),
        linear-gradient(90deg, rgba(20, 24, 31, 0.22) 0%, transparent 32%, transparent 68%, rgba(20, 24, 31, 0.18) 100%);
    pointer-events: none;
}

.inspiration-room {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.inspiration-copy {
    padding: 18px 18px 0;
}

.inspiration-copy h2 {
    margin: 0;
    font-size: clamp(1.55rem, 7vw, 2.35rem);
    line-height: 1.03;
}

.inspiration-copy p:not(.eyebrow) {
    margin: 10px 0 0;
    color: #48505c;
    line-height: 1.45;
}

.inspiration-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px 18px;
}

.inspiration-actions .ghost-btn {
    grid-column: 1 / -1;
}

.modal-root.modal-3d {
    align-items: center;
    background: rgba(20, 24, 31, 0.62);
    padding: 14px;
    animation: modalBackdropIn 180ms ease-out both;
}

.model3d-view {
    position: relative;
    width: min(100%, 760px);
    max-height: min(92svh, 820px);
    overflow-y: auto;
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 30px 86px rgba(20, 24, 31, 0.36);
    animation: inspirationPanelIn 260ms cubic-bezier(0.2, 0.82, 0.2, 1) both;
}

.model3d-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    background: rgba(20, 24, 31, 0.52);
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(20, 24, 31, 0.22);
    backdrop-filter: blur(12px);
}

.model3d-stage {
    position: relative;
    height: clamp(330px, 62svh, 560px);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 78%, rgba(255, 107, 107, 0.2), transparent 28%),
        linear-gradient(180deg, #f7f8fb 0%, #eef2f6 100%);
}

.model3d-viewer {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}

.model3d-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    min-height: 42px;
    padding: 11px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--muted);
    box-shadow: 0 12px 30px rgba(32, 36, 44, 0.12);
    font-weight: 950;
    text-align: center;
}

.model3d-loader.is-error {
    color: var(--no);
}

.model3d-copy {
    padding: 18px 18px 0;
}

.model3d-copy h2 {
    margin: 0;
    font-size: clamp(1.7rem, 7vw, 2.45rem);
    line-height: 1.02;
}

.model3d-copy p:not(.eyebrow) {
    margin: 10px 0 0;
    color: #48505c;
    line-height: 1.45;
}

.model3d-actions {
    grid-template-columns: 1fr 1fr;
    padding: 0 18px 18px;
}

@keyframes modalBackdropIn {
    from {
        background: rgba(20, 24, 31, 0);
    }

    to {
        background: rgba(20, 24, 31, 0.58);
    }
}

@keyframes inspirationPanelIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.975);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.form-grid {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.reservation-note {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 107, 107, 0.24);
    border-radius: 8px;
    background: #fff4ef;
}

.reservation-note strong {
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 950;
}

.reservation-note p {
    margin: 0;
    color: #48505c;
    font-size: 0.9rem;
    line-height: 1.5;
}

.reservation-note a {
    color: var(--accent-dark);
    font-weight: 950;
}

.field {
    display: grid;
    gap: 6px;
}

.field span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.required-mark {
    color: var(--accent-dark);
    font-style: normal;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    min-height: 46px;
    padding: 11px 12px;
    background: #fbfcfe;
    color: var(--ink);
}

.field textarea {
    min-height: 92px;
    resize: vertical;
}

.field input[type="file"] {
    padding: 10px;
    background: #fff;
}

.field-hint {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

.technical-note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f1f3f6;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.4;
}

.pickup-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.payment-methods {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(232, 234, 240, 0.84);
    border-radius: 8px;
    background: #f7f8fb;
}

.payment-methods > span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
}

.payment-methods > div {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.payment-method {
    min-width: 0;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    padding: 7px;
    overflow: hidden;
}

.payment-method img {
    width: auto;
    height: auto;
    max-width: 72px;
    max-height: 34px;
    display: block;
    object-fit: contain;
}

.form-message {
    min-height: 22px;
    color: var(--accent-dark);
    font-weight: 800;
    font-size: 0.9rem;
}

.toast {
    margin-top: 12px;
    padding: 12px;
    border-radius: 8px;
    background: #eefaf5;
    color: #047a55;
    font-weight: 850;
}

.toast a {
    color: inherit;
    font-weight: 1000;
}

.reservations-shell {
    max-width: 760px;
}

.reservations-main {
    padding-bottom: 48px;
}

.reservations-intro {
    padding: 18px 0 8px;
}

.reservations-intro h1 {
    margin: 0;
    font-size: clamp(2.25rem, 10vw, 4rem);
    line-height: 0.98;
}

.reservations-intro p:not(.eyebrow) {
    max-width: 34rem;
    margin: 14px 0 0;
    color: #48505c;
    line-height: 1.55;
}

.reservation-code-form {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    align-items: end;
}

.reservation-code-form .primary-btn {
    width: 100%;
    margin-top: 0;
}

.reservation-code-form input[name="code"] {
    text-transform: uppercase;
}

.reservation-notice {
    margin: 18px 0 0;
    padding: 14px;
    border-radius: 8px;
    background: #eefaf5;
    color: #047a55;
    font-weight: 850;
    line-height: 1.45;
}

.reservation-notice-error {
    background: #fff0ef;
    color: #b9352e;
}

.reservation-results {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.my-reservation-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(32, 36, 44, 0.1);
}

.my-reservation-media {
    aspect-ratio: 4 / 3;
    background: #f0f2f5;
}

.my-reservation-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.my-reservation-body {
    padding: 15px;
}

.my-reservation-head {
    display: grid;
    gap: 10px;
}

.my-reservation-head h2 {
    margin: 0;
    font-size: 1.75rem;
    line-height: 1.04;
}

.my-reservation-status {
    width: fit-content;
    border-radius: 999px;
    padding: 8px 10px;
    background: #fff8df;
    color: #8a5c00;
    font-size: 0.76rem;
    font-weight: 950;
    line-height: 1;
}

.my-reservation-status.status-confirmed-by-host {
    background: #eefaf5;
    color: #047a55;
}

.reservation-meta {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
}

.reservation-meta div {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid rgba(232, 234, 240, 0.84);
    border-radius: 8px;
    background: #f7f8fb;
}

.reservation-meta dt,
.reservation-meta dd {
    margin: 0;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.reservation-meta dt {
    color: var(--muted);
    font-weight: 850;
}

.reservation-meta dd {
    color: var(--ink);
    font-weight: 900;
}

.text-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 18px 56px;
}

.text-page h1 {
    font-size: 3rem;
    line-height: 1;
}

.text-page h2 {
    margin: 22px 0 12px;
    font-size: 1.45rem;
    line-height: 1.12;
}

.text-page p {
    color: #48505c;
    line-height: 1.6;
}

.back-link {
    color: var(--accent-dark);
    font-weight: 900;
}

.privacy-page {
    max-width: 780px;
    padding-bottom: 32px;
}

.privacy-intro {
    margin: 34px 0 28px;
}

.privacy-intro .eyebrow {
    margin-bottom: 8px;
    color: var(--accent-dark);
}

.privacy-intro h1 {
    margin: 0 0 16px;
}

.privacy-intro > p:last-child {
    max-width: 62ch;
    margin: 0;
    font-size: 1.05rem;
}

.privacy-section {
    margin-top: 16px;
    padding: 20px clamp(16px, 3vw, 24px);
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 10px 28px rgba(32, 36, 44, 0.06);
}

.privacy-section h2 {
    margin-top: 0;
}

.privacy-section p:last-child,
.privacy-section ul:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #48505c;
    line-height: 1.6;
}

.privacy-section li + li {
    margin-top: 9px;
}

.privacy-section code {
    padding: 0.1em 0.35em;
    border-radius: 5px;
    background: var(--surface-soft);
    overflow-wrap: anywhere;
}

.privacy-contact {
    padding: 14px 16px;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: var(--surface-soft);
    font-style: normal;
    line-height: 1.65;
}

.privacy-version {
    color: var(--ink) !important;
}

.legal-footer {
    position: static;
    transform: none;
    width: min(calc(100% - 36px), 744px);
    margin: 0 auto;
    padding: 10px 0 max(24px, env(safe-area-inset-bottom));
    pointer-events: auto;
}

.noscript-box {
    position: fixed;
    inset: 12px;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
    text-align: center;
}

.is-hidden {
    display: none !important;
}

@media (min-width: 700px) {
    .start-copy h1 {
        font-size: 4rem;
    }

    .card-title-row h2 {
        font-size: 2.25rem;
    }

    .empty-state h2 {
        font-size: 3.2rem;
    }

    .modal-sheet h2 {
        font-size: 2.7rem;
    }

    .text-page h1 {
        font-size: 4rem;
    }

    .app-shell {
        padding-inline: 0;
    }

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

    .modal-actions {
        grid-template-columns: 1fr 1fr;
    }

    .reservation-code-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .reservation-code-form .primary-btn {
        width: auto;
        min-width: 230px;
    }

    .my-reservation-card {
        display: grid;
        grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
    }

    .my-reservation-head {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
    }

    .app-footer {
        bottom: max(12px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .swipe-btn,
    .modal-root.modal-inspiration,
    .inspiration-view {
        animation: none;
        transition: none;
    }
}

@media (max-width: 700px) {
    .card-stack {
        height: clamp(360px, calc(var(--app-height) - var(--header-height) - 170px), 610px);
    }

    .payment-methods {
        gap: 6px !important;
        padding: 10px !important;
    }

    .payment-methods > span {
        font-size: 0.76rem !important;
    }

    .payment-methods > div {
        gap: 6px !important;
    }

    .payment-method {
        height: 34px !important;
        padding: 5px !important;
    }

    .payment-method img {
        max-width: 44px !important;
        max-height: 24px !important;
    }
}

@media (max-width: 380px) {
    .start-copy h1 {
        font-size: 2.55rem;
    }

    .card-title-row h2 {
        font-size: 1.55rem;
    }

    .empty-state h2 {
        font-size: 2.15rem;
    }

    .modal-sheet h2 {
        font-size: 1.8rem;
    }

    .text-page h1 {
        font-size: 2.35rem;
    }

    .reservation-meta div {
        grid-template-columns: 1fr;
    }

    .swipe-actions {
        gap: 12px;
        padding-inline: 14px;
    }

    .swipe-btn {
        width: 62px;
        height: 62px;
    }

    .swipe-btn img {
        width: 29px;
        height: 29px;
    }

    .inspiration-stage {
        height: 278px;
    }
}
