:root { --c: #FF5E7E; --c2: #ffb02e; --bg: #6fd3ff; --ink: #14203d; --mut: #5d6a8a; --sat: env(safe-area-inset-top, 0px); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); font-family: "Be Vietnam Pro", system-ui, sans-serif; color: var(--ink); overscroll-behavior: none; }
canvas#c { position: fixed; inset: 0; touch-action: none; display: block; }
#menu { position: fixed; inset: 0; z-index: 20; display: none; overflow-y: auto; -webkit-overflow-scrolling: touch; }
#menu.on { display: block; }
button { font: inherit; cursor: pointer; color: inherit; }
.home { min-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: calc(var(--sat) + 76px) 16px 32px; max-width: 520px; margin: 0 auto; }
.logo { text-align: center; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.3); }
.logo .mark { width: 76px; height: 76px; margin: 0 auto 6px; border-radius: 24px; display: grid; place-items: center; font-size: 42px; background: linear-gradient(135deg, var(--c2), var(--c)); box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: rotate(-8deg); }
.logo h1 { margin: 0; font-size: clamp(40px, 11vw, 60px); font-weight: 900; letter-spacing: -1px; line-height: 1; }
.logo p { margin: 4px 0 0; font-weight: 800; font-size: 18px; }
.story { color: #fff; text-align: center; font-weight: 600; margin: 0; opacity: .92; }
.btn { display: block; width: 100%; min-height: 52px; border: 0; border-radius: 18px; background: #fff; font-weight: 800; font-size: 17px; margin: 8px 0; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn.main { background: linear-gradient(180deg, var(--c2), var(--c)); color: #fff; }
.btn.big { min-height: 72px; font-size: 24px; font-weight: 900; }
.btn.big small { display: block; font-size: 14px; font-weight: 700; opacity: .9; }
.link { border: 0; background: rgba(255,255,255,.88); border-radius: 14px; padding: 12px 16px; font-weight: 800; width: 100%; }
.panel { background: #fff; border-radius: 22px; padding: 20px; max-width: 480px; margin: calc(var(--sat) + 70px) auto 24px; width: calc(100% - 32px); }
.panel h2 { margin: 0 0 8px; }
.panel p, .panel li { color: var(--mut); font-weight: 600; line-height: 1.5; }
.foot { color: #fff; font-size: 13px; text-align: center; opacity: .85; }
.foot a { color: #fff; }
.logo .mark { background: linear-gradient(135deg, #ffd166, #ff5e7e); }
.logo, .story { text-shadow: 0 3px 14px rgba(0,60,120,.35); }
.btn.main { background: linear-gradient(180deg, #ff8aa0, var(--c)); box-shadow: 0 8px 22px rgba(255,94,126,.45); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.tile { border: 0; border-radius: 20px; background: rgba(255,255,255,.94); padding: 14px 12px; text-align: left; min-height: 100px; box-shadow: 0 6px 18px rgba(10,40,90,.16); display: flex; flex-direction: column; gap: 2px; }
.tile i { font-style: normal; font-size: 28px; }
.tile b { font-size: 17px; }
.tile small { color: var(--mut); font-weight: 700; font-size: 13px; }
.tile.off { opacity: .6; }
.page { max-width: 640px; margin: 0 auto; padding: calc(var(--sat) + 70px) 16px 40px; min-height: 100%; background: rgba(240,248,255,.97); }
.page h3 { margin: 18px 0 8px; }
.top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.top h2 { margin: 0; font-size: 21px; }
.btn.back { width: auto; min-height: 46px; padding: 0 16px; margin: 0; background: #fff; }
.lvg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lvt { border: 0; border-radius: 18px; background: #fff; padding: 12px; text-align: left; box-shadow: 0 4px 14px rgba(10,40,90,.12); display: flex; flex-direction: column; gap: 2px; min-height: 108px; }
.lvt b { font-size: 26px; font-weight: 900; color: var(--c); line-height: 1; }
.lvt span { font-weight: 800; font-size: 16px; }
.lvt em { font-style: normal; color: #ffb000; font-size: 18px; letter-spacing: 2px; }
.lvt small { color: var(--mut); font-weight: 700; font-size: 12.5px; line-height: 1.3; }
.lvt.off { opacity: .5; }
.lvt.off em { color: var(--mut); font-size: 14px; letter-spacing: 0; }
.trow { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 10px 12px; margin: 8px 0; box-shadow: 0 3px 10px rgba(10,40,90,.1); }
.trow span { flex: 1; display: flex; flex-direction: column; }
.trow small { color: var(--mut); font-weight: 700; }
.btn.mini { width: auto; min-height: 46px; padding: 0 16px; margin: 0; font-size: 15px; background: linear-gradient(180deg, #ff8aa0, var(--c)); color: #fff; }
.btn.mini.ghost { background: #eef1f7; color: var(--ink); }
.muted { color: var(--mut); font-weight: 600; }
.skies { display: flex; gap: 8px; flex-wrap: wrap; }
.sky { border: 3px solid transparent; border-radius: 14px; min-height: 52px; min-width: 92px; color: #fff; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.sky.on { border-color: #14203d; }
