:root { --c: #FF6D00; --c2: #00B4D8; --bg: #7a1f12; --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; }
/* NOIHINH_UI_v1 */
.logo .marks { display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto 10px; }
.logo .tl { width: 64px; height: 74px; border-radius: 14px; background: linear-gradient(#fffdf5, #f6e7c8); box-shadow: 0 6px 0 #b8895a, 0 10px 24px rgba(0,0,0,.3); display: grid; place-items: center; }
.logo .tl:first-child { transform: rotate(-8deg); } .logo .tl:last-child { transform: rotate(8deg); }
.logo .ln { width: 46px; height: 8px; border-radius: 4px; background: #fff3bf; box-shadow: 0 0 14px 4px rgba(255,212,59,.8); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.card { border: 0; border-radius: 18px; background: rgba(255,255,255,.93); padding: 12px 10px; min-height: 112px; display: flex; flex-direction: column; align-items: center; gap: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.card b { font-size: 17px; font-weight: 900; } .card small { font-size: 12.5px; font-weight: 700; color: var(--mut); text-align: center; line-height: 1.3; }
.card.lock { opacity: .6; }
.panel.wide { max-width: 560px; }
.lvs { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.lv { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 14px; background: #fff7e6; padding: 8px 12px; min-height: 56px; text-align: left; }
.lv span { flex: 1; display: flex; flex-direction: column; } .lv b { font-weight: 900; } .lv small { color: var(--mut); font-weight: 700; font-size: 12.5px; }
.lv em { font-style: normal; color: #f59f00; font-weight: 900; letter-spacing: 1px; white-space: nowrap; } .lv.lock { opacity: .5; } .lv.lock em { color: var(--mut); font-size: 13px; }
.panel h3 { margin: 16px 0 6px; }
.alb { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.ai { background: #fff7e6; border-radius: 12px; padding: 6px 4px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ai b { font-size: 12.5px; font-weight: 800; line-height: 1.2; } .ai small { font-size: 11px; color: var(--mut); font-weight: 700; }
.ai.off img { filter: grayscale(1) brightness(.35); opacity: .45; }
