:root { --c: #9B8CFF; --c2: #FF8FC8; --bg: #2f2766; --ink: #2d2560; --mut: #6d6396; --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: 10px; padding: 0 16px 28px; max-width: 520px; margin: 0 auto; }
.spacer { width: 100%; height: calc(var(--sat) + 200px); flex: none; cursor: pointer; }
.logo { text-align: center; color: #fff; text-shadow: 0 4px 18px rgba(30,10,80,.45); margin-bottom: 6px; }
.logo h1 { margin: 0; font-size: clamp(42px, 12vw, 62px); font-weight: 900; letter-spacing: -1px; line-height: 1; }
.logo p { margin: 8px 0 0; font-weight: 700; font-size: 16px; opacity: .95; }
.btn { display: block; width: 100%; min-height: 58px; border: 0; border-radius: 20px; background: rgba(255,255,255,.94); font-weight: 800; font-size: 18px; margin: 2px 0; padding: 10px 14px; box-shadow: 0 6px 18px rgba(30,10,80,.22); color: #3d2f7c; }
.btn small { display: block; font-size: 13.5px; font-weight: 700; opacity: .8; margin-top: 2px; }
.btn.main { background: linear-gradient(180deg, #a99bff, #ff9ccc); color: #fff; }
.btn.big { min-height: 80px; font-size: 25px; font-weight: 900; }
.btn.day { background: linear-gradient(180deg, #fff6d6, #ffe0b8); }
.row2 { display: flex; gap: 10px; width: 100%; }
.link { flex: 1; min-height: 48px; border: 0; background: rgba(255,255,255,.22); color: #fff; border-radius: 16px; padding: 12px 14px; font-weight: 800; width: 100%; }
.panel { background: #fffaf3; border-radius: 26px; padding: 20px; max-width: 520px; margin: calc(var(--sat) + 70px) auto 24px; width: calc(100% - 32px); }
.panel h2 { margin: 0 0 8px; color: #4b3aa8; }
.panel p, .panel li { color: var(--mut); font-weight: 600; line-height: 1.5; }
.panel ul { padding-left: 20px; }
.cards { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.card { display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 0; border-radius: 18px; padding: 10px 12px; background: #f1ecff; width: 100%; min-height: 64px; }
.card.ok { background: linear-gradient(135deg, #fff1d6, #ffe3ef); }
.card.lock { opacity: .55; }
.card img { width: 56px; height: 56px; flex: none; border-radius: 14px; background: rgba(255,255,255,.7); }
.card img.dim { filter: grayscale(.8) opacity(.6); }
.ct { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ct b { color: #3d2f7c; font-size: 16px; }
.ct i { color: #7a6fb0; font-style: normal; font-weight: 700; font-size: 13.5px; }
.ct em { color: #5d5287; font-style: normal; font-weight: 600; font-size: 13.5px; }
.ct q { color: #b0567c; font-weight: 600; font-size: 13.5px; font-style: italic; quotes: "“" "”"; }
.ct .sm { color: #b39b4a; }
.foot { color: #fff; font-size: 13px; text-align: center; opacity: .85; }
.foot a { color: #fff; }
