:root {
    --bg: #f3f7f6;
    --surface: #ffffff;
    --ink: #12221e;
    --muted: #5e706b;
    --line: #dce7e3;
    --brand: #0b8f78;
    --brand-dark: #087362;
    --brand-soft: #e7f6f2;
    --ok: #0b8f78;
    --danger: #c24141;
    --shadow: 0 10px 30px rgba(18, 34, 30, .06);
    --header-bg: rgba(243, 247, 246, .92);
    --nav-bg: rgba(255, 255, 255, .96);
    --input-bg: #ffffff;
    --radius: 18px;
    --header: 68px;
    --tabbar: 72px;
    color-scheme: light;
}
html.dark {
    --bg: #0b0b0c;
    --surface: #161618;
    --ink: #f4f4f5;
    --muted: #a1a1aa;
    --line: #2a2a2e;
    --brand: #0b8f78;
    --brand-dark: #3dbea6;
    --brand-soft: color-mix(in srgb, #0b8f78 18%, #161618);
    --ok: #0b8f78;
    --danger: #e07070;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
    --header-bg: rgba(11, 11, 12, .92);
    --nav-bg: rgba(22, 22, 24, .96);
    --input-bg: #111113;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
    line-height: 1.45;
}
a { color: var(--brand); text-decoration: none; }
button, input, select { font: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; }

.shell {
    min-height: 100vh;
    padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: var(--header);
    padding: 12px 20px;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: -.02em;
}
.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 9px;
}
.logo.has-img .logo-img {
    width: auto;
    height: 42px;
    max-width: min(240px, 48vw);
    border-radius: 0;
}
.logo-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--brand);
    color: #fff;
    font-size: .95rem;
}
.is-desktop-only { display: none; }
.nav-desktop { display: none; gap: 8px; margin-left: 12px; }
.nav-desktop a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
}
.nav-desktop a.is-active,
.nav-desktop a:hover { color: var(--ink); background: var(--brand-soft); }
.nav-desktop a.nav-wallet.has-badge {
    position: relative;
    padding-right: 22px;
}
.nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #c24141;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    animation: nav-badge-pop 1.6s ease-in-out infinite;
}
.nav-icon-wrap {
    position: relative;
    display: inline-flex;
}
@keyframes nav-badge-pop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}
.header-aside {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-aside .btn { display: none; }
.user-menu {
    position: relative;
}
.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
    user-select: none;
    padding: 4px 8px 4px 4px;
    border-radius: 999px;
    color: var(--ink);
}
.user-menu-toggle::-webkit-details-marker { display: none; }
.user-menu-toggle::marker { content: ''; }
.user-menu-toggle:hover,
.user-menu[open] > .user-menu-toggle {
    background: var(--brand-soft);
}
.user-menu-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.user-menu-hello {
    max-width: 38vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .92rem;
    font-weight: 600;
}
.user-menu-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--muted);
    transition: transform .15s ease;
}
.user-menu[open] .user-menu-chevron { transform: rotate(180deg); }
.user-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 40;
    min-width: 220px;
    width: max-content;
    max-width: min(260px, calc(100vw - 24px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 12px 32px color-mix(in srgb, #000 18%, transparent);
}
.user-menu-label {
    margin: 0 0 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.user-menu-panel .theme-switcher { margin-bottom: 10px; }
.user-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: var(--ink);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}
.user-menu-item:hover,
.user-menu-item.is-active { background: var(--brand-soft); color: var(--brand-dark); }
.user-menu-item.is-danger { color: var(--muted); }
.user-menu-item.is-danger:hover { color: #c24141; background: color-mix(in srgb, #c24141 10%, var(--surface)); }
.user-menu-panel form { margin: 0; }
.notice-menu { position: relative; }
.notice-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    list-style: none;
    cursor: pointer;
    border-radius: 999px;
    color: var(--ink);
}
.notice-toggle::-webkit-details-marker { display: none; }
.notice-toggle::marker { content: ''; }
.notice-toggle:hover,
.notice-menu[open] > .notice-toggle { background: var(--brand-soft); }
.notice-toggle svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.notice-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #c24141;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}
.notice-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: calc(var(--header) + 4px);
    z-index: 40;
    width: auto;
    max-width: none;
    max-height: min(70vh, calc(100dvh - var(--header) - var(--tabbar) - 24px));
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 12px 32px color-mix(in srgb, #000 18%, transparent);
}
.notice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.notice-head strong { font-size: .92rem; }
.notice-item {
    display: grid;
    gap: 2px;
    padding: 10px 10px;
    margin: 0 -4px;
    border-radius: 10px;
    color: inherit;
}
.notice-item strong { font-size: .9rem; }
.notice-item span,
.notice-item time {
    color: var(--muted);
    font-size: .8rem;
}
.notice-item.is-unread {
    background: var(--brand-soft);
}
.notice-item:hover { background: var(--brand-soft); }
.notice-empty,
.notice-all,
.notice-enable {
    display: block;
    width: 100%;
    margin: 8px 0 0;
    border: 0;
    background: none;
    color: var(--muted);
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.notice-all, .notice-enable { color: var(--brand); }
.notice-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.notice-row {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    color: inherit;
}
.notice-row p { margin: 0; color: var(--muted); }
.notice-row time { color: var(--muted); font-size: .8rem; }
.notice-row.is-unread strong { color: var(--brand-dark); }
.notice-pager {
    display: flex;
    gap: 16px;
    margin-top: 16px;
    font-weight: 600;
}
.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}
.theme-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
}
.theme-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.theme-btn.is-active {
    background: var(--brand-soft);
    color: var(--brand-dark);
}
.form-card .theme-switcher { margin-top: 12px; }
.form-card h2 { margin: 0 0 8px; font-size: 1.15rem; }
.header-aside form { display: block; }
.link-btn {
    border: 0;
    background: none;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.link-btn:hover { color: var(--ink); }

.site-main {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}
.site-footer {
    display: flex;
    flex-direction: column;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 24px;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .9rem;
}
.site-footer p { margin: 4px 0 0; }
.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
}
.footer-pitch {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .02em;
}
.footer-pitch:hover,
.footer-pitch.is-on {
    filter: brightness(1.08);
    color: #fff;
}

.hero { max-width: 640px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(1.45rem, 6vw, 2.8rem); margin: 0 0 8px; }
.hero p, .lead { color: var(--muted); margin: 0; font-size: .98rem; }
.hero > p:not(.hero-cta) {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-cta { margin-top: 14px !important; }
.hero-cta .btn { width: 100%; }
.eyebrow {
    margin: 0 0 8px;
    color: var(--brand);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 12px;
}
.section-title h2 { margin: 0; font-size: 1.08rem; }

.week-wrap {
    margin: 0 -16px 16px;
}
.week {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 2px 16px 10px;
    scrollbar-width: none;
}
.week::-webkit-scrollbar { display: none; }
.week-day {
    flex: 0 0 4.35rem;
    min-width: 4.35rem;
    scroll-snap-align: start;
    padding: 10px 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    text-align: center;
    color: var(--ink);
}
.week-day.is-all { flex-basis: 4.8rem; min-width: 4.8rem; }
.week-day.is-selected { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.week-day span { display: block; color: var(--muted); font-size: .7rem; font-weight: 700; }
.week-day strong { display: block; margin-top: 4px; font-size: .72rem; font-weight: 700; }
.week-day.is-today { border-color: var(--brand); background: var(--brand-soft); }
.cats .week-day { flex-basis: 6.4rem; min-width: 6.4rem; }

.filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.filters label { display: grid; gap: 4px; font-size: .78rem; font-weight: 600; }
.filters .filter-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.filters .btn { width: auto; min-width: 0; }
.place-title { margin: 18px 0 8px; font-size: .92rem; color: var(--muted); font-weight: 600; }

.grid { display: grid; gap: 12px; }
.store-grid { grid-template-columns: 1fr; }

.card, .banner {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}
.store-card {
    display: grid;
    gap: 8px;
    color: var(--ink);
    padding: 14px;
    transition: transform .15s ease, border-color .15s ease;
}
.store-card.is-now { border-color: var(--brand); background: var(--brand-soft); }
.store-card:hover, .reward:hover { transform: translateY(-2px); border-color: var(--brand); }
.store-card strong, .reward strong { font-size: 1.02rem; }
.reward {
    display: grid;
    gap: 6px;
    color: var(--ink);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.reward-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.center .reward-meta { justify-content: center; }
.reward.is-ready {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.reward.is-urgent {
    border-color: #c24141;
    background: color-mix(in srgb, #c24141 8%, var(--surface));
    box-shadow: 0 0 0 3px color-mix(in srgb, #c24141 16%, transparent);
}
.reward.is-used { opacity: .72; }
.reward .expiry { font-size: .82rem; font-weight: 700; }
.reward.is-urgent .expiry { color: #c24141; }
.reward-cta {
    margin-top: 4px;
    font-weight: 800;
    color: var(--brand);
    font-size: .88rem;
}
.reward.is-urgent .reward-cta { color: #c24141; }
.visit-fold {
    margin: 22px 0 0;
}
.visit-fold-toggle {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.visit-fold-toggle::-webkit-details-marker { display: none; }
.visit-fold-toggle::marker { content: ''; }
.visit-fold-toggle h2 {
    margin: 0;
    font-size: 1.08rem;
}
.visit-fold-toggle::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    margin-left: 4px;
    flex-shrink: 0;
    align-self: center;
    transition: transform .15s ease;
}
.visit-fold[open] > .visit-fold-toggle::after {
    transform: rotate(225deg);
    margin-top: 4px;
}
.visit-fold[open] .visit-fold-closed { display: none; }
.visit-row {
    display: grid;
    gap: 4px;
}
.visit-row > summary {
    display: grid;
    gap: 4px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}
.visit-row > summary::-webkit-details-marker { display: none; }
.visit-row > summary::marker { content: ''; }
.visit-row time,
.visit-preview {
    color: var(--muted);
    font-size: .82rem;
}
.visit-preview {
    font-weight: 700;
    color: var(--ink);
}
.visit-detail {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    font-size: .9rem;
}
.visit-detail a {
    font-weight: 800;
    color: var(--brand);
}
.chip-ready,
.chip-win { background: var(--brand); color: #fff; }
.chip-urgent { background: #c24141; color: #fff; }
.wallet-alert {
    display: grid;
    gap: 4px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: color-mix(in srgb, #c24141 12%, var(--surface));
    border: 1px solid color-mix(in srgb, #c24141 40%, var(--line));
    color: #9b1c1c;
}
.wallet-alert strong { font-size: .98rem; }
.wallet-alert span { font-size: .88rem; }
html.dark .wallet-alert { color: #fca5a5; }
.reward-show.is-ready { border-color: var(--brand); }
.reward-show.is-urgent { border-color: #c24141; }
.store-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.store-card-body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}
.store-card-body .muted,
.store-hero .muted { display: block; }
.store-logo,
.store-logo-fallback {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}
.store-logo-fallback {
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-weight: 800;
}
.store-logo-lg { width: 56px; height: 56px; border-radius: 16px; }
.store-when {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--brand-dark);
}
.store-range {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}
.store-hint { margin: 0; font-size: .82rem; }
.prize-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.prize-chip,
.chip-now,
.chip-stamp,
.chip-featured {
    display: inline-flex;
    width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}
.prize-chip {
    background: color-mix(in srgb, #f5c15c 22%, var(--surface));
    color: #c48a16;
}
html.dark .prize-chip { color: #ffd98a; }
.chip-now { background: var(--brand); color: #fff; }
.chip-featured {
    background: color-mix(in srgb, #f5c15c 28%, var(--surface));
    color: #9a6b10;
}
html.dark .chip-featured { color: #ffd98a; }
.store-card.is-featured { border-color: #f5c15c; }
.featured-title { margin-top: 4px; }
.featured-title h3 { margin: 0; font-size: 1.02rem; }
.chip-stamp { background: #f4ead0; color: #7a5a12; }
.hint-qr { margin: 8px 0 0; font-size: .8rem; }

.campaign-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand);
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 8px;
}
.campaign-card h3 { margin: 0; font-size: 1.08rem; }
.campaign-card p { margin: 0; color: var(--ink); }
.campaign-card.is-now { background: var(--brand-soft); }
.campaign-card.is-special { border-left-color: #2b6cb0; }
.campaign-card.is-stamp { border-left-color: #c9a227; }
.campaign-prizes-label {
    margin: 6px 0 0 !important;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted) !important;
}
.prize-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
}
.prize-list li {
    padding: 8px 12px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: .92rem;
}
.campaign-card.is-now .prize-list li { border-color: var(--brand); }

.chip {
    display: inline-flex;
    width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .72rem;
    font-weight: 700;
}
.muted { color: var(--muted); }
.banner { margin: 0; }
.banner h2 { margin: 0 0 6px; font-size: 1.05rem; }
.banner.success { background: var(--brand-soft); border-color: var(--brand); }
.banner.special { background: color-mix(in srgb, #2b6cb0 14%, var(--surface)); border-color: color-mix(in srgb, #2b6cb0 35%, var(--line)); }
.center { text-align: center; }
.center .btn { margin-inline: auto; }
.stack { display: grid; gap: 14px; }
.store-profile h1 { margin: 0 0 4px; font-size: 1.45rem; }
.store-hero { display: grid; gap: 8px; }
.store-map {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    margin-top: 6px;
}
.store-map-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}
.store-map-actions .btn { width: 100%; min-width: 0; }

.section-title a {
    color: var(--brand-dark);
    font-weight: 700;
    font-size: .9rem;
}

body.page-map .site-main {
    display: block;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 20px;
}
body.page-map .site-main { padding-bottom: 12px; }
.map-page { display: grid; gap: 12px; }
.map-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}
.map-toolbar h1 { margin: 0; font-size: 1.35rem; }
.map-canvas {
    height: calc(100vh - var(--header) - var(--tabbar) - 180px);
    min-height: 360px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
}
.map-empty { text-align: center; }
.bmap-pin {
    background: none !important;
    border: 0 !important;
}
.bmap-pin span {
    display: block;
    width: 18px;
    height: 18px;
    margin: 2px auto 0;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--brand);
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}
.bmap-pin.is-featured span {
    background: #f5c15c;
    width: 22px;
    height: 22px;
}
.bmap-popup { min-width: 180px; }
.bmap-popup-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.bmap-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.bmap-popup p { margin: 0 0 6px; }
.bmap-popup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bmap-popup-actions a { font-weight: 700; color: var(--brand-dark); }
.leaflet-container { font-family: inherit; }

.gps-picker { display: grid; gap: 8px; }
.gps-search { display: flex; gap: 8px; }
.gps-search input { flex: 1; min-height: 42px; }
.gps-map {
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--pwa-line, var(--line));
}
.gps-results {
    display: grid;
    gap: 4px;
    max-height: 180px;
    overflow: auto;
    border: 1px solid var(--pwa-line, var(--line));
    border-radius: 12px;
    background: var(--surface);
}
.gps-results button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: .88rem;
}
.gps-results button:hover { background: var(--brand-soft); }
.gps-hint { margin: 0; font-size: .85rem; color: var(--muted, #667); }

body.page-home .site-main,
body.page-store .site-main {
    display: block;
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-sm { width: auto; min-height: 38px; padding: 8px 14px; font-size: .92rem; }
.btn.ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn.ghost:hover { background: var(--brand-soft); color: var(--ink); }

.legal-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.legal-modal[hidden] { display: none; }
.legal-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.legal-modal-panel {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 85vh;
    display: grid;
    grid-template-rows: auto 1fr;
    background: var(--surface);
    border-radius: 18px 18px 0 0;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}
.legal-modal-header strong { font-size: 1.05rem; }
.legal-modal-close { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); padding: 0 4px; }
.legal-modal-body {
    overflow-y: auto;
    padding: 20px;
    font-size: .92rem;
    line-height: 1.6;
}
.legal-modal-body h1, .legal-modal-body h2 { font-size: 1.1rem; margin: 18px 0 8px; }
.legal-modal-body p, .legal-modal-body li { margin: 8px 0; }
@media (min-width: 640px) {
    .legal-modal { align-items: center; }
    .legal-modal-panel { border-radius: 18px; max-height: 70vh; }
}

.form-card { max-width: 460px; margin: 0 auto; }
.form-card h1 { margin: 0 0 8px; }
.form-card form { margin-top: 8px; }
.form-card label { display: grid; gap: 6px; margin: 14px 0; font-weight: 600; font-size: .92rem; }
.form-card .birth-row {
    display: grid;
    grid-template-columns: .8fr 1.4fr .9fr;
    gap: 8px;
}
.form-card .check { grid-template-columns: auto 1fr; align-items: start; font-weight: 400; }
.form-card .btn { margin-top: 8px; }
.form-card .btn-google { margin-top: 12px; }
.btn-google {
    gap: 10px;
    background: #fff;
    color: #1f1f1f;
    border: 1px solid var(--line);
}
.btn-google:hover {
    background: var(--brand-soft);
    color: var(--ink);
}
.btn-google svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.auth-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 4px;
    color: var(--muted);
    font-size: .85rem;
    font-weight: 600;
}
.auth-or::before,
.auth-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}
.password-field {
    position: relative;
    display: block;
}
.password-field input {
    padding-right: 72px;
}
.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--brand);
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 8px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--ink);
}
input:focus {
    outline: 2px solid var(--brand-soft);
    border-color: var(--brand);
}
.check input { width: auto; min-height: 0; margin-top: 3px; }
.error { color: var(--danger); font-weight: 500; margin: 0; }
.flash {
    background: var(--brand-soft);
    color: var(--brand-dark);
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.stat { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.stat span { display: block; color: var(--muted); font-size: .8rem; }
.stat strong { font-size: 1.4rem; }
.stat.is-ready { border-color: var(--brand); background: var(--brand-soft); }
.stat.is-urgent { border-color: #c24141; background: color-mix(in srgb, #c24141 10%, var(--surface)); }
.stat.is-urgent span,
.stat.is-urgent strong { color: #9b1c1c; }
html.dark .stat.is-urgent span,
html.dark .stat.is-urgent strong { color: #fca5a5; }

.progress {
    height: 8px;
    background: var(--line);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.stamps { margin: 8px 0 0; font-weight: 700; }

.qr { display: grid; place-items: center; margin: 16px 0; }
.qr svg { width: 220px; height: 220px; background: #fff; border-radius: 16px; padding: 10px; border: 1px solid var(--line); }
.code { font-size: 1.35rem; letter-spacing: .16em; font-weight: 700; margin: 8px 0; }
.legal { max-width: 720px; line-height: 1.65; }
.legal strong { font-weight: 800; }
.business-pitch { font-size: 1.05rem; }
.business-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 8px;
}
.business-cta .btn { min-width: 140px; text-align: center; }

.nav-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: calc(var(--tabbar) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--nav-bg);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.nav-mobile.is-auth {
    grid-template-columns: repeat(4, 1fr);
}
.nav-mobile.is-guest {
    grid-template-columns: repeat(3, 1fr);
}
.nav-mobile a,
.nav-mobile button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    background: none;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 600;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.nav-mobile svg { width: 22px; height: 22px; fill: currentColor; }
.nav-mobile .nav-icon-wrap { display: grid; place-items: center; }
.nav-mobile .nav-badge { top: -6px; right: -10px; }
.nav-mobile .is-active,
.nav-mobile a:hover { color: var(--brand); }
.nav-mobile .nav-scan { color: var(--brand); }

.scan-page { max-width: 480px; margin: 0 auto; }
.scan-page h1 { margin: 0 0 10px; }
.scan-frame {
    position: relative;
    margin: 18px 0 14px;
    overflow: hidden;
    border-radius: 20px;
    background: #10221e;
    aspect-ratio: 3 / 4;
}
.scan-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.scan-aim {
    position: absolute;
    inset: 18%;
    border: 2px solid rgba(127, 214, 196, .85);
    border-radius: 18px;
    box-shadow: 0 0 0 999px rgba(8, 28, 24, .28);
    pointer-events: none;
}
.scan-frame .muted {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    margin: 0;
    color: #e7f6f2;
    text-align: center;
    font-size: .88rem;
}
.scan-fallback { margin-top: 22px; }
.scan-fallback label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.scan-fallback .btn { margin-top: 12px; }

.locate-page { max-width: 460px; margin: 0 auto; text-align: center; }
.locate-page h1 { margin: 0 0 10px; }
.locate-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--brand);
    margin: 22px auto 14px;
    animation: locate-pulse 1.2s ease-in-out infinite;
}
.locate-page .btn { margin-top: 14px; }
@keyframes locate-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.45); opacity: .45; }
}

body.fx-lock { overflow: hidden; }
.checkin-card { max-width: 520px; margin: 0 auto; }
.checkin-card.is-revealed { animation: card-in .55s cubic-bezier(.2, .9, .2, 1); }
.spin-history {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    text-align: left;
}
.spin-history h2 {
    margin: 0;
    font-size: 1rem;
}
.spin-history-item {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--bg);
}
.spin-history-item.is-win {
    border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
}
.spin-history-item time {
    font-size: .82rem;
    color: var(--muted);
}
.spin-history-item a {
    font-weight: 800;
    color: var(--brand);
}

#play-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(127, 214, 196, .28), transparent 46%),
        radial-gradient(circle at 50% 100%, rgba(245, 193, 92, .12), transparent 40%),
        rgba(6, 22, 19, .96);
    z-index: 50;
    overflow: hidden;
}
#play-overlay.is-on { animation: overlay-in .35s ease; }
#play-overlay.is-win {
    background:
        radial-gradient(circle at 50% 40%, rgba(245, 193, 92, .28), transparent 42%),
        radial-gradient(circle at 50% 42%, rgba(127, 214, 196, .2), transparent 55%),
        rgba(6, 22, 19, .96);
}
#play-overlay.is-miss {
    background:
        radial-gradient(circle at 50% 42%, rgba(148, 163, 184, .22), transparent 48%),
        rgba(10, 16, 22, .96);
}
#play-field { position: absolute; inset: 0; }
.fx-draw { transition: opacity .35s ease, transform .45s ease; }
.fx-draw.is-done { opacity: 0; transform: scale(.92); }
.fx-glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(127, 214, 196, .35), transparent 68%);
    animation: orb-pulse 1.4s ease-in-out infinite;
    pointer-events: none;
}
.fx-reel-wrap {
    position: relative;
    z-index: 2;
    width: min(300px, calc(100% - 40px));
}
.fx-reel-window {
    height: calc(3 * 72px);
    overflow: hidden;
    mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
    -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 84%, transparent);
}
.fx-reel {
    will-change: transform;
}
.fx-reel.is-locked .fx-reel-item {
    transition: color .2s ease, transform .2s ease;
}
.fx-reel-item {
    height: 72px;
    display: grid;
    place-items: center;
    font-size: clamp(1.15rem, 5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #e7f6f2;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 12px;
    text-overflow: ellipsis;
}
.fx-reel-frame {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    height: 72px;
    border-radius: 16px;
    border: 2px solid #f5c15c;
    box-shadow: 0 0 0 6px rgba(245, 193, 92, .12), 0 12px 40px rgba(0, 0, 0, .28);
    background: rgba(245, 193, 92, .1);
    pointer-events: none;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fx-reel-wrap:has(.is-locked) .fx-reel-frame {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(245, 193, 92, .2), 0 0 40px rgba(245, 193, 92, .35);
}
#play-result {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    color: #fff;
    z-index: 4;
}
#play-result .prize {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
    font-weight: 800;
    color: var(--brand);
    margin: 4px 0 10px;
    letter-spacing: -.04em;
    animation: prize-shine 1.8s ease-in-out infinite;
}
#play-result .btn { max-width: 240px; margin-inline: auto; }
.fx-prize-card {
    position: relative;
    overflow: hidden;
    width: min(360px, calc(100vw - 40px));
    padding: 28px 24px 24px;
    border-radius: 24px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(140deg, #f5c15c, #7fd6c4, #0b8f78) border-box;
    border: 2px solid transparent;
    color: var(--ink);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
    animation: prize-pop 2.1s cubic-bezier(.16, 1.2, .28, 1);
}
.fx-prize-card.is-error { color: #fff; background: rgba(18, 34, 30, .92); border-color: rgba(255,255,255,.16); }
.fx-prize-card.is-miss {
    background:
        linear-gradient(#f4f6f5, #f4f6f5) padding-box,
        linear-gradient(140deg, #94a3b8, #cbd5e1) border-box;
    animation: prize-pop .7s cubic-bezier(.16, 1.2, .28, 1);
}
.fx-prize-card.is-miss .fx-kicker { color: var(--muted); letter-spacing: .08em; }
.fx-prize-card.is-miss .prize {
    color: var(--ink);
    animation: none;
    font-size: 1.55rem;
}
.fx-miss-copy {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: .92rem;
}
.fx-prize-card [data-play-close] {
    margin-top: 8px;
}
.fx-prize-card .fx-store { margin: 0 0 8px; color: var(--muted); font-weight: 600; }
.fx-rays {
    position: absolute;
    inset: -55%;
    background: repeating-conic-gradient(from 0deg, rgba(245, 193, 92, .16) 0 10deg, transparent 10deg 20deg);
    animation: rays-spin 10s linear infinite;
    z-index: -1;
    pointer-events: none;
}
.fx-kicker {
    margin: 0 0 8px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 700;
    color: #c48a16;
}
.fx-code {
    font-weight: 800;
    letter-spacing: .14em;
    font-size: 1.15rem;
    margin: 4px 0 16px;
    color: var(--ink);
}
.fx-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    z-index: 6;
    pointer-events: none;
    animation: flash-out 1.35s ease-out forwards;
}
.fx-spark {
    position: absolute;
    left: var(--sx);
    top: var(--sy);
    width: 10px;
    height: 10px;
    margin: -5px;
    background: #fff;
    clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
    animation: spark .7s ease-out forwards;
    animation-delay: var(--delay);
    z-index: 5;
    pointer-events: none;
}
.chip-fly {
    position: absolute;
    left: 50%;
    top: 46%;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(127, 214, 196, .45);
    color: #e7f6f2;
    font-weight: 700;
    white-space: nowrap;
    animation: chip-in 1.35s cubic-bezier(.15, .8, .2, 1) forwards;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.fx-core, .fx-visit {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: #e7f6f2;
}
.fx-orb {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #7fd6c4 42%, #0b8f78);
    box-shadow: 0 0 40px rgba(127, 214, 196, .55);
    animation: orb-pulse 1s ease-in-out infinite;
    z-index: 2;
}
.fx-ring, .fx-ring-2 {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    border: 2px solid rgba(127, 214, 196, .45);
    border-radius: 50%;
    animation: ring-out 1.4s ease-out infinite;
}
.fx-ring-2 { animation-delay: .45s; width: 180px; height: 180px; margin: -90px 0 0 -90px; }
.fx-status {
    position: absolute;
    bottom: 18%;
    left: 20px;
    right: 20px;
    margin: 0;
    font-weight: 700;
}
.fx-stamp-board {
    position: relative;
    z-index: 2;
    width: min(320px, calc(100% - 40px));
    padding: 28px 22px 32px;
    border-radius: 24px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.fx-stamp-board strong { display: block; font-size: 1.25rem; margin-bottom: 16px; }
.fx-slots { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 36px; }
.fx-slot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px dashed var(--line);
    background: var(--bg);
}
.fx-slot.is-on {
    border-style: solid;
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 0 0 4px rgba(11, 143, 120, .16);
    animation: slot-on .35s cubic-bezier(.2, 1.3, .2, 1) both;
    animation-delay: calc(var(--i) * 70ms);
}
.fx-stamper {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    transform: scale(0) rotate(-24deg);
}
#play-overlay.is-stamped .fx-stamper {
    animation: stamp-slam .45s cubic-bezier(.2, 1.4, .2, 1) forwards;
}
.fx-bit {
    position: absolute;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    pointer-events: none;
    animation: bit-fall var(--dur, .95s) cubic-bezier(.12, .7, .3, 1) forwards;
    animation-delay: var(--delay);
    z-index: 5;
}
.fx-bit-coin {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.fx-bit-ticket {
    width: 16px;
    height: 10px;
    border-radius: 2px;
}
.fx-sound-hint {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top));
    right: 12px;
    z-index: 3;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #e7f6f2;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}
.scan-frame.is-hit .scan-aim {
    border-color: #7fd6c4;
    box-shadow: 0 0 0 999px rgba(11, 143, 120, .38);
    animation: scan-hit .45s ease;
}

@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes chip-in {
    from { transform: translate(-50%, -50%) translate(var(--x), var(--y)) scale(.7) rotate(-12deg); opacity: 0; }
    35% { opacity: 1; }
    to { transform: translate(-50%, -50%) scale(.2) rotate(18deg); opacity: .2; }
}
@keyframes orb-pulse {
    0%, 100% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.12); opacity: 1; }
}
@keyframes ring-out {
    from { transform: scale(.7); opacity: .7; }
    to { transform: scale(1.55); opacity: 0; }
}
@keyframes prize-pop {
    0% { transform: scale(.4) rotate(-8deg); opacity: 0; }
    62% { transform: scale(1.06) rotate(1.5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes prize-shine {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(11, 143, 120, 0)); }
    50% { filter: drop-shadow(0 0 16px rgba(11, 143, 120, .35)); }
}
@keyframes rays-spin { to { transform: rotate(360deg); } }
@keyframes flash-out {
    from { opacity: .75; }
    to { opacity: 0; }
}
@keyframes spark {
    from { transform: scale(0) rotate(0); opacity: 1; }
    50% { opacity: 1; }
    to { transform: scale(1.6) rotate(40deg); opacity: 0; }
}
@keyframes stamp-slam {
    0% { transform: scale(1.8) rotate(-28deg); opacity: 0; }
    70% { transform: scale(.92) rotate(8deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes slot-on { from { transform: scale(.4); } to { transform: scale(1); } }
@keyframes bit-fall {
    from { transform: translate(0, 0) rotate(0); opacity: 1; }
    to { transform: translate(var(--x), var(--y)) rotate(var(--rot)); opacity: 0; }
}
@keyframes card-in {
    from { transform: translateY(16px) scale(.98); opacity: 0; }
    to { transform: none; opacity: 1; }
}
@keyframes scan-hit {
    from { transform: scale(.96); }
    to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .chip-fly, .fx-orb, .fx-ring, .fx-bit, .fx-spark, .fx-stamper, .fx-prize-card, .fx-rays, .fx-flash, .checkin-card.is-revealed, .locate-dot, .nav-badge {
        animation: none !important;
    }
}

.is-auth .site-main { display: grid; align-content: center; min-height: calc(100vh - var(--header) - var(--tabbar)); }

@media (min-width: 860px) {
    .shell { padding-bottom: 0; }
    .nav-mobile { display: none; }
    .nav-desktop { display: flex; }
    .site-header { padding-inline: 32px; }
    .site-main { width: min(1120px, calc(100% - 64px)); padding-top: 36px; }
    .site-footer { flex-direction: row; justify-content: space-between; align-items: flex-start; width: min(1120px, calc(100% - 64px)); }
    .is-desktop-only { display: inline; }
    .is-mobile-only { display: none !important; }
    .week-wrap { margin-inline: 0; }
    .week { padding-inline: 0; }
    .week-day { flex: 1 1 0; min-width: 0; }
    .filters { grid-template-columns: 1fr 1fr auto; align-items: end; padding: 16px; }
    .filters .filter-actions { grid-column: auto; padding-bottom: 2px; }
    .store-grid { grid-template-columns: repeat(3, 1fr); }
    .stat-row.is-three { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
    .hero p, .lead { font-size: 1.05rem; }
    .hero > p:not(.hero-cta) { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
    .hero-cta .btn { width: auto; min-width: 180px; }
    .card, .banner { padding: 20px; }
    .btn { width: auto; min-width: 180px; }
    .form-card .btn { width: 100%; }
    .header-aside .btn { display: inline-flex; }
    .user-menu-hello { max-width: 220px; }
    .notice-panel {
        position: absolute;
        left: auto;
        right: 0;
        top: calc(100% + 8px);
        width: 320px;
        max-height: min(70vh, 480px);
    }
    .is-auth .site-main { min-height: calc(100vh - 160px); }
    body.page-map .site-main { width: min(1120px, calc(100% - 64px)); padding-top: 24px; }
    .map-canvas { height: calc(100vh - 280px); }
    .store-map { height: 280px; }
}

.site-sheet {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: end center;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    background: rgba(12, 24, 22, .42);
}
.site-sheet[hidden] { display: none; }
.site-sheet-card {
    width: min(100%, 420px);
    padding: 22px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.site-sheet-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.site-sheet-card .lead { margin: 0 0 16px; }
.site-sheet-actions {
    display: grid;
    gap: 8px;
}
.site-sheet-actions .btn { width: 100%; min-width: 0; }
.site-sheet-actions .check {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    align-items: start;
    margin-top: 4px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--muted);
}
.site-sheet-actions .check input {
    width: auto;
    min-height: 0;
    margin-top: 3px;
}
