:root{--safe-top: max(env(safe-area-inset-top), calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px)));--safe-bottom-inset: max(env(safe-area-inset-bottom), calc(var(--tg-safe-area-inset-bottom, 0px) + var(--tg-content-safe-area-inset-bottom, 0px)));--brand: #f59e0b;--brand-light: #fbbf24;--brand-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);--brand-ink: #1f1300;--brand-strong: #b45309;--brand-soft: #fff4e2;--accent: var(--brand);--accent-soft: var(--brand-soft);--accent-strong: var(--brand-strong);--green: #1a9c4b;--green-soft: #e6f4e7;--red: #c62828;--red-soft: #fdecec;--blue: #1a73e8;--blue-soft: #e8f0fe;--ink: #111827;--muted: #6b7280;--faint: #9aa3af;--page: #f4f5f7;--card: #ffffff;--line: #e5e7eb;--fill: #f1f3f6;--ink-strong: var(--ink);--text-3: var(--muted);--red-strong: var(--red);--card-ring: 0 0 0 1px var(--line), 0 1px 3px rgba(17, 24, 39, .06);--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Khmer", sans-serif}html:lang(km){--sans: "Kantumruy Pro", "Noto Sans Khmer", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif}html:lang(km) body{line-height:1.6}*{box-sizing:border-box}html,body{width:100%;height:100%;height:100dvh;margin:0;padding:0;overflow:hidden;overscroll-behavior:none}body{display:flex;align-items:center;justify-content:center;background:#e6e8ec;color:var(--ink);font:15px/1.45 var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent}#app{position:relative;width:min(440px,100vw);height:min(956px,100dvh);max-width:100vw;max-height:100vh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;background:var(--page);contain:layout}#overlay-root{position:fixed;top:50%;left:50%;z-index:1000;width:min(440px,100vw);height:min(956px,100dvh);max-width:100vw;max-height:100vh;max-height:100dvh;transform:translate(-50%,-50%);pointer-events:none}#overlay-root>*{pointer-events:auto}a,button,input,select,textarea,[role=button]{touch-action:manipulation}a{color:var(--brand-strong)}
