:root{color-scheme:dark;--bg:#100b14;--panel:#201724;--rose:#ff9bd4;--text:#fff8fc;--muted:#a99bab;--line:rgba(255,155,212,.17)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);touch-action:pan-y;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}button,input{font:inherit}button{color:inherit}.viewport{height:100dvh;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;scroll-behavior:smooth;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.screen{display:none;min-height:calc(100dvh - 82px);padding:calc(20px + env(safe-area-inset-top)) 18px 116px;scroll-snap-align:start;scroll-snap-stop:always;background:radial-gradient(circle at 100% 0,rgba(167,47,125,.22),transparent 32%),linear-gradient(180deg,#120c16,#0c0910)}.screen.active{display:block;animation:enter .3s ease}@keyframes enter{from{opacity:0;transform:translateY(12px)}}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:10px}.brand i{width:38px;height:38px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#e875b8,#7c2d69);font:italic 700 22px Georgia}.brand b,.brand small{display:block}.brand small,.page-header small,.profile-card small,.section-title small,.story-card small,.sheet small{font-size:10px;letter-spacing:.14em;color:var(--rose)}.city-pill{border:1px solid var(--line);background:rgba(38,25,42,.88);border-radius:999px;padding:10px 12px;display:flex;gap:6px;align-items:center;color:#ffd0e9;white-space:nowrap}.search-card{width:100%;margin:22px 0 17px;padding:16px;border:1px solid var(--line);border-radius:22px;background:rgba(31,22,35,.9);display:flex;align-items:center;text-align:left;gap:13px}.search-card>span{font-size:27px;color:var(--rose)}.search-card small,.search-card b{display:block}.search-card small{color:var(--muted);font-size:11px;margin-bottom:3px}.search-card em{margin-left:auto;font-style:normal;font-size:24px;color:var(--rose)}
.story-track{display:grid;grid-auto-flow:column;grid-auto-columns:88%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;padding:1px 18px 8px 0}.story-track::-webkit-scrollbar{display:none}.story-card{position:relative;overflow:hidden;min-height:220px;padding:28px 24px;border-radius:30px;scroll-snap-align:start;border:1px solid rgba(255,255,255,.09);box-shadow:0 20px 48px rgba(0,0,0,.3)}.story-one{background:radial-gradient(circle at 82% 15%,rgba(255,213,238,.33),transparent 28%),linear-gradient(145deg,#30152f,#8c346f)}.story-two{background:radial-gradient(circle at 80% 15%,rgba(193,170,255,.29),transparent 30%),linear-gradient(145deg,#181932,#55366e)}.story-card:after{content:"V";position:absolute;right:-8px;bottom:-65px;font:900 220px Georgia;color:rgba(255,255,255,.055)}.story-card h1{position:relative;max-width:300px;margin:27px 0 12px;font-size:34px;line-height:1.02;letter-spacing:-.045em}.story-card p{position:relative;max-width:300px;margin:0;color:#eadce7;line-height:1.45}.section-title{margin:27px 0 14px;display:flex;justify-content:space-between;align-items:end}.section-title h2,.page-header h2{margin:5px 0 0;font-size:28px}.section-title>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,155,212,.12);color:var(--rose)}.empty-state{text-align:center;padding:34px 24px;border:1px dashed var(--line);border-radius:27px;background:rgba(32,23,36,.66)}.empty-state>div{width:62px;height:62px;margin:auto;display:grid;place-items:center;border-radius:50%;background:rgba(255,155,212,.09);color:var(--rose);font-size:25px}.empty-state h3{margin:17px 0 8px}.empty-state p{margin:0;color:var(--muted);line-height:1.45}
.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-header>span{font-size:42px;color:var(--rose)}.code-form{padding:21px;border:1px solid var(--line);border-radius:26px;background:var(--panel)}.code-form label{display:block;font-weight:750;margin-bottom:12px}.code-form>div{display:flex;gap:8px}.code-form input,#sheetInput{min-width:0;flex:1;border:1px solid var(--line);outline:0;border-radius:16px;background:#130d17;color:white;padding:15px;font-size:16px}.code-form button,#sheetForm button{border:0;border-radius:16px;padding:0 18px;background:linear-gradient(135deg,#b43f88,#e875b8);font-weight:800}.code-form p{margin:12px 0 0;color:var(--muted);font-size:12px}.soft-card{margin-top:12px;padding:18px;border-radius:21px;background:rgba(36,25,40,.75);border:1px solid var(--line);display:flex;gap:14px;align-items:center}.soft-card>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:rgba(255,155,212,.1);color:var(--rose);font-weight:800}.soft-card p{margin:4px 0 0;color:var(--muted);font-size:13px}
.favorites-list{display:grid;gap:12px}.favorite-card{padding:18px;border:1px solid var(--line);border-radius:23px;background:linear-gradient(145deg,#25182a,#1b1420);display:flex;align-items:center;gap:14px}.favorite-card .mark{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#6c285b,#d46caa);font-weight:900;font-size:21px}.favorite-card b,.favorite-card small{display:block}.favorite-card small{margin-top:5px;color:var(--muted)}.favorite-card button{margin-left:auto;border:0;border-radius:13px;padding:10px 13px;background:rgba(255,155,212,.12);color:var(--rose)}
.profile-card{display:flex;align-items:center;gap:15px;padding:20px;border:1px solid var(--line);border-radius:26px;background:var(--panel)}.avatar{width:62px;height:62px;display:grid;place-items:center;border-radius:20px;background:linear-gradient(145deg,#963a77,#ed87c4);font-size:25px;font-weight:900}.profile-card h2{margin:5px 0 3px}.profile-card p{margin:0;color:var(--muted);font-size:13px}.balance-card{margin:13px 0;padding:21px;border-radius:23px;background:linear-gradient(135deg,#342039,#712a5d);display:flex;justify-content:space-between}.balance-card strong{color:#f4cea0}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-grid button{min-height:116px;padding:17px;border:1px solid var(--line);border-radius:22px;background:var(--panel);text-align:left}.profile-grid button span,.profile-grid button b,.profile-grid button small{display:block}.profile-grid button span{font-size:23px;margin-bottom:12px}.profile-grid button small{margin-top:5px;color:var(--muted)}
.bottom-nav{position:fixed;z-index:20;left:0;right:0;bottom:0;height:calc(78px + env(safe-area-inset-bottom));padding:8px 6px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(15,10,18,.94);border-top:1px solid var(--line);backdrop-filter:blur(22px)}.bottom-nav button{border:0;background:transparent;color:#776c7d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.bottom-nav span{font-size:22px}.bottom-nav small{font-size:9px;font-weight:800}.bottom-nav button.active{color:var(--rose)}
.sheet-backdrop{position:fixed;z-index:29;inset:0;background:rgba(0,0,0,.57);opacity:0;pointer-events:none;transition:.25s}.sheet-backdrop.open{opacity:1;pointer-events:auto}.sheet{position:fixed;z-index:30;left:0;right:0;bottom:0;max-height:75dvh;overflow:auto;padding:10px 18px calc(24px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:#1b131f;border-top:1px solid var(--line);transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}.sheet.open{transform:none}.sheet>i{display:block;width:42px;height:4px;margin:0 auto 20px;border-radius:9px;background:#5d4c61}.sheet-head{display:flex;justify-content:space-between;align-items:start}.sheet-head h3{margin:5px 0 18px;font-size:25px}.sheet-head button{border:0;background:#302434;border-radius:50%;width:36px;height:36px;font-size:23px}.city-list{display:grid;gap:9px}.city-option{padding:16px;border:1px solid var(--line);border-radius:17px;background:#251a29;display:flex;justify-content:space-between}.city-option.active{border-color:#d96faf;background:#342039}.add-city{width:100%;margin-top:10px;padding:16px;border:1px dashed rgba(255,155,212,.35);border-radius:17px;background:transparent;color:var(--rose);font-weight:800}.add-city:disabled{opacity:.4}.sheet-note{margin:12px 0 0;text-align:center;color:var(--muted);font-size:12px}#sheetForm{display:flex;gap:9px}#sheetForm button{padding:0 16px}.toast{position:fixed;z-index:50;left:50%;bottom:102px;transform:translate(-50%,20px);width:max-content;max-width:calc(100% - 36px);padding:12px 16px;border-radius:15px;background:#332438;border:1px solid var(--line);opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}@media(min-width:620px){.viewport,.bottom-nav,.sheet{max-width:720px;margin:auto}.screen{padding-inline:28px}.story-track{grid-auto-columns:70%}}
