.welcome, .welcome * { box-sizing: border-box; }
.welcome[hidden] { display: none !important; }
body.welcome-open { overflow: hidden; }
.welcome { position: fixed; inset: 0; z-index: 10000; overflow-y: auto; padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0,1fr); place-items: center; background: #0d3236 url('/assets/sea-pattern.jpg') center / cover; color: #f8fbf9; }
.welcome::before { content: ''; position: fixed; inset: 0; background: #0d3236d9; pointer-events: none; }
.welcome-card { position: relative; min-width: 0; width: min(100%, 470px); padding: 28px 24px 24px; border: 1px solid #9edacf40; border-radius: 28px; background: #113a3edb; box-shadow: 0 24px 80px #001b2066; backdrop-filter: blur(18px); }
.welcome-mark { font-size: clamp(30px, 10vw, 45px); line-height: 1; font-weight: 900; letter-spacing: -.065em; margin-bottom: 42px; }
.welcome-mark-dot { color: #f2a461; }
.welcome-kicker { font-size: 11px !important; font-weight: 800; letter-spacing: .2em; color: #92d8ce !important; margin: 0 0 10px !important; }
.welcome-card h1 { margin: 0 0 14px; font-size: clamp(27px, 7vw, 39px); letter-spacing: -.045em; line-height: 1.12; }
.welcome-card > p:not(.welcome-kicker):not(.welcome-status) { color: #c2d9d6; line-height: 1.55; margin: 0 0 24px; }
.welcome-terms { padding: 16px 0; border-top: 1px solid #bce4dc33; color: #bdd5d1; font-size: 13px; line-height: 1.55; }
.welcome a { color: #a2e8db; text-underline-offset: 3px; }
.welcome-primary { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #9ce0d2; color: #0b3435; font: inherit; font-weight: 800; border: 0; border-radius: 15px; cursor: pointer; }
.welcome-primary:disabled { opacity: .65; cursor: wait; }
.welcome-status { min-height: 20px; color: #ffd2a8; font-size: 13px; margin: 10px 0 0; }
.welcome-divider { text-align: center; color: #a5c7c2; font-size: 12px; margin: 14px 0; }
.welcome-cities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.welcome-cities button { min-height: 91px; text-align: left; padding: 13px; background: #e5f5f014; color: white; border: 1px solid #b9e3db55; border-radius: 15px; font: inherit; cursor: pointer; }
.welcome-cities strong, .welcome-cities span { display: block; }
.welcome-cities strong { font-size: 16px; margin-bottom: 8px; }
.welcome-cities span { font-size: 11px; color: #b8d9d2; }
.welcome button:focus-visible, .welcome a:focus-visible { outline: 3px solid #ffad70; outline-offset: 3px; }
html[data-city="garopaba"] .brand-wordmark, html[data-city="garopaba"] .about-wordmark { background: none; -webkit-mask: none; mask: none; background-image: url('/assets/garopaba-wordmark.png'); background-size: contain; background-position: center; background-repeat: no-repeat; filter: brightness(0) invert(1); }
.city-pending { padding: 32px 22px; max-width: 600px; margin: auto; }
.city-pending h1 { font-size: clamp(27px, 8vw, 38px); line-height: 1.12; }
.city-pending p { line-height: 1.6; }
.city-pending button { background: #9ce0d2; color: #0b3435; border: 0; border-radius: 13px; padding: 13px 16px; font: inherit; font-weight: 800; }
.change-city-button { display: block; width: 100%; margin-top: 13px; padding: 12px 15px; border: 0; border-radius: 11px; background: #147d70; color: #fff; font-size: 13px; font-weight: 800; text-align: left; }
html[data-theme="dark"] .change-city-button { background: #147d70; color: #fff; }
.welcome.welcome-picker-open { background: #081d23a8; backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); }
.welcome.welcome-picker-open::before { display: none; }
.welcome-picker-open .welcome-card { width: min(100%, 380px); padding: 23px 20px 21px; border-radius: 22px; background: #103a3e; }
.welcome-picker-open .welcome-mark { font-size: 29px; margin-bottom: 17px; }
.welcome-picker-open .welcome-card h1 { font-size: 26px; margin-bottom: 9px; }
.welcome-picker-open .welcome-card > p:not(.welcome-kicker):not(.welcome-status) { margin-bottom: 15px; font-size: 13px; }
.welcome-picker-open .welcome-cities button { min-height: 75px; }
.welcome-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: #ffffff20; color: #fff; }
.welcome.welcome-intro-open,.welcome.welcome-loading-open { background:#fff; color:#26353a; }
.welcome-intro-open::before,.welcome-loading-open::before { display:none; }
.welcome-intro-screen { width:min(100%,430px); min-height:calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); display:flex; flex-direction:column; text-align:center; }
.welcome-intro-header { padding-top:clamp(48px,10vh,92px); }
.welcome-intro-brand { color:#0d3236; font-size:clamp(38px,11vw,48px); line-height:1; font-weight:900; letter-spacing:-.075em; }
.welcome-intro-brand span { color:#ef9a53; }
.welcome-intro-header h1 { max-width:350px; margin:22px auto 0; color:#536064; font-size:clamp(21px,6vw,27px); font-weight:500; line-height:1.22; }
.welcome-intro-content { flex:1; display:flex; flex-direction:column; justify-content:center; gap:24px; padding:36px 5px 22px; }
.welcome-intro-content p { margin:0; color:#526067; font-size:clamp(14px,4vw,17px); line-height:1.55; }
.welcome-intro-content a { color:#0c746c; font-weight:700; }
.welcome-intro-actions { display:grid; place-items:start center; padding:0 12px clamp(22px,5vh,48px); }
.welcome-intro-actions .welcome-primary { background:#147d70; color:#fff; border-radius:999px; font-size:16px; }
.welcome-intro-actions .loader { margin:2px auto; }
.welcome-loading-screen { width:min(100%,430px); min-height:calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); display:grid; place-items:center; }
.welcome-picker-open .welcome-loading-screen { position:relative; width:160px; min-height:160px; border-radius:22px; background:#103a3e; box-shadow:0 24px 80px #001b2066; }
.loader { width:48px; height:48px; display:block; margin:15px auto; position:relative; box-sizing:border-box; animation:rotation_19 1s linear infinite; }
.loader::after,.loader::before { content:''; box-sizing:border-box; position:absolute; width:24px; height:24px; top:0; background-color:#1689c9; border-radius:50%; animation:scale50 1s infinite ease-in-out; }
.loader::before { top:auto; bottom:0; background-color:#62cbe9; animation-delay:.5s; }
@keyframes rotation_19 { to { transform:rotate(360deg); } }
@keyframes scale50 { 0%,100% { transform:scale(0); } 50% { transform:scale(1); } }
@media (prefers-reduced-motion:reduce) { .loader,.loader::before,.loader::after { animation:none; } .loader::before,.loader::after { transform:scale(1); } }
