:root { --c: #2A9D8F; --c2: #E9C46A; --bg: #0B1D1B; --ink: #1f2a2a; --mut: #5b6b66; --paper: #f6efd9; --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: 12px; padding: calc(var(--sat) + 70px) 16px 32px; max-width: 520px; margin: 0 auto; }
.logo { text-align: center; color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.55); }
.logo .mark { width: 84px; height: 84px; margin: 0 auto 8px; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.45); transform: rotate(-6deg); }
.logo .mark img { width: 100%; height: 100%; display: block; }
.logo h1 { margin: 0; font-size: clamp(44px, 12vw, 64px); font-weight: 900; letter-spacing: -1px; line-height: 1; color: #ffe7a8; }
.logo p { margin: 6px 0 0; font-weight: 800; font-size: 17px; color: #e6f4ef; }
.btn { display: block; width: 100%; min-height: 52px; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); font-weight: 800; font-size: 17px; margin: 8px 0; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.btn.main { background: linear-gradient(180deg, #f08a3c, #d9572f); color: #fff; }
.btn.big { min-height: 78px; font-size: 26px; font-weight: 900; border: 3px solid #ffd59a; }
.btn.big small { display: block; font-size: 14px; font-weight: 700; opacity: .95; margin-top: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.card { position: relative; text-align: left; border: 0; border-radius: 16px; padding: 12px 12px 12px 14px; min-height: 84px; background: linear-gradient(180deg, #fbf5e2, #ecdfb8); box-shadow: 0 6px 16px rgba(0,0,0,.3); color: var(--ink); }
.card b { display: block; font-size: 16px; font-weight: 900; }
.card span { display: block; font-size: 13px; font-weight: 700; color: var(--mut); margin-top: 3px; }
.card i { position: absolute; top: -8px; right: 8px; font-style: normal; font-size: 11px; font-weight: 900; background: #2a9d8f; color: #fff; border-radius: 10px; padding: 2px 8px; }
.card.khoa, .trip.khoa { opacity: .62; filter: grayscale(.5); }
.link { border: 0; background: rgba(246,239,217,.94); border-radius: 14px; padding: 13px 16px; font-weight: 800; width: 100%; min-height: 50px; }
.panel { background: linear-gradient(180deg, #fbf5e2, #efe3bf); border-radius: 22px; padding: 20px 18px; max-width: 520px; margin: calc(var(--sat) + 64px) auto 24px; width: calc(100% - 28px); box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.panel h2 { margin: 0 0 8px; font-weight: 900; }
.panel p, .panel li { color: var(--mut); font-weight: 600; line-height: 1.5; }
.panel p b { color: var(--ink); }
.panel .sub { margin: 0 0 10px; font-size: 14px; }
.kick { margin: 0 0 4px !important; font-size: 13px; font-weight: 900 !important; color: #2a9d8f !important; text-transform: uppercase; letter-spacing: .5px; }
.skill { background: #fff; border-left: 5px solid #e85d04; border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.skill b { display: block; font-weight: 900; color: #e85d04; margin-bottom: 4px; }
.skill span { display: block; font-weight: 600; color: var(--ink); line-height: 1.5; font-size: 15px; }
.trip { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; text-align: left; background: rgba(255,255,255,.6); border-radius: 14px; padding: 10px 12px; margin: 7px 0; min-height: 62px; }
.trip em { font-style: normal; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #2a9d8f; color: #fff; font-weight: 900; flex: none; }
.trip span { flex: 1; } .trip b { display: block; font-weight: 900; } .trip small { color: var(--mut); font-weight: 700; }
.trip i { font-style: normal; color: #d98a1a; font-weight: 900; letter-spacing: 1px; }
.page { background: rgba(255,255,255,.6); border-radius: 14px; padding: 10px 14px; margin: 8px 0; }
.page b { font-weight: 900; } .page p { margin: 4px 0 0; font-size: 14px; }
.page.chua { opacity: .55; }
.moss { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0; }
.moss span { text-align: center; padding: 12px 4px; border-radius: 12px; background: #e9dfc6; font-weight: 900; color: #8a7a5a; }
.moss span.on { background: #5f9a3a; color: #fff; }
.foot { color: #e6f4ef; font-size: 13px; text-align: center; opacity: .9; }
.foot a { color: #ffe7a8; }
