:root { --c: #06D6A0; --c2: #EF476F; --bg: #13204a; --ink: #1d2340; --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; padding: calc(var(--sat) + 70px) 16px 28px; max-width: 520px; margin: 0 auto; }
.logo { text-align: center; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.logo h1 { margin: 0; font-size: clamp(42px, 12vw, 60px); font-weight: 900; letter-spacing: -1px; line-height: 1; background: linear-gradient(180deg, #fff 30%, #ffd166); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo p { margin: 6px 0 0; font-weight: 800; font-size: 17px; color: #ffe8a3; }
.spacer { height: max(190px, calc(40vh - 120px)); width: 100%; display: flex; align-items: flex-end; justify-content: center; cursor: pointer; }
.teaser { background: rgba(255,255,255,.92); color: #3a2a10; font-weight: 800; font-size: 14px; border-radius: 16px; padding: 8px 14px; margin-bottom: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); max-width: 92%; text-align: center; }
.sheet { width: 100%; background: rgba(255,250,240,.97); border-radius: 26px; padding: 14px; box-shadow: 0 -6px 30px rgba(0,0,0,.3); display: flex; flex-direction: column; gap: 8px; }
.lampline { display: flex; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 14px; color: var(--mut); padding: 0 4px; }
.lampline b { color: #e09600; font-size: 18px; }
.btn { display: block; width: 100%; min-height: 52px; border: 0; border-radius: 18px; background: #fff; font-weight: 800; font-size: 17px; margin: 6px 0; box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn.main { background: linear-gradient(180deg, #ff6b8b, var(--c2)); color: #fff; box-shadow: 0 8px 22px rgba(239,71,111,.4); }
.btn.big { min-height: 78px; font-size: 26px; font-weight: 900; }
.btn small { display: block; font-size: 14px; font-weight: 700; opacity: .92; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { border: 0; border-radius: 20px; background: #fff; padding: 12px; text-align: left; min-height: 108px; box-shadow: 0 4px 14px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 3px; }
.tile i { font-style: normal; font-size: 28px; }
.tile b { font-size: 17px; }
.tile small { color: var(--mut); font-weight: 700; font-size: 12.5px; line-height: 1.3; }
.tile.hot { background: linear-gradient(180deg, #fff6d6, #ffe7a8); }
.sheet h3 { margin: 8px 4px 0; font-size: 17px; }
.chs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ch { position: relative; border: 0; border-radius: 18px; background: #fff; padding: 12px 12px 18px; text-align: left; min-height: 104px; box-shadow: 0 4px 14px rgba(0,0,0,.08); display: flex; flex-direction: column; gap: 2px; border-top: 6px solid var(--m); overflow: hidden; }
.ch i { font-style: normal; font-size: 26px; }
.ch b { font-size: 15.5px; }
.ch small { color: var(--mut); font-weight: 700; font-size: 12px; line-height: 1.3; }
.ch .bar { position: absolute; left: 12px; right: 12px; bottom: 8px; height: 5px; border-radius: 3px; background: #eee6d8; }
.ch .bar em { display: block; height: 100%; border-radius: 3px; background: var(--m); }
.ch.khoa { opacity: .6; filter: grayscale(.6); }
.link { border: 0; background: #fff; border-radius: 14px; min-height: 48px; padding: 10px 16px; font-weight: 800; width: 100%; box-shadow: 0 3px 10px rgba(0,0,0,.06); }
.panel { background: #fffaf0; border-radius: 24px; padding: 20px; max-width: 480px; margin: calc(var(--sat) + 70px) auto 24px; width: calc(100% - 32px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.panel h2 { margin: 0 0 8px; }
.panel p, .panel li { color: var(--mut); font-weight: 600; line-height: 1.5; }
.panel li { margin-bottom: 6px; }
.chh { display: flex; gap: 12px; align-items: center; }
.chh i { font-style: normal; font-size: 40px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--m); }
.chh small { color: var(--mut); font-weight: 800; }
.chh h2 { margin: 0; }
.caus { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0; }
.cau { border: 0; border-radius: 16px; min-height: 64px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 2px; }
.cau b { font-size: 20px; }
.cau small { font-size: 10.5px; font-weight: 800; color: #e09600; letter-spacing: -1px; }
.cau.mo { border: 3px solid var(--m); }
.cau.mo small { color: var(--mut); letter-spacing: 0; font-size: 9.5px; }
.cau.xong { background: linear-gradient(180deg, #fff, #fff3cc); }
.cau.khoa { opacity: .45; }
.note { font-size: 13px; }
.foot { color: var(--mut); font-size: 13px; text-align: center; margin: 6px 0 0; }
.foot a { color: #d6336c; }
