/* NovaX mobile workspace */
body { font-family: "Noto Sans Myanmar", system-ui, sans-serif; }
body:not(.admin-open) #app { max-width: 1000px; padding: 18px 20px 28px; margin: auto; }
.app-header { max-width: 1000px; margin: auto; padding: 16px 20px; height: auto; min-height: 80px; gap: 12px; border-bottom: 1px solid var(--line); }
.app-header .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nova-emblem { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--accent-ink); flex: 0 0 auto; overflow: hidden; }
.nova-emblem b { font: 900 27px/1 system-ui,sans-serif; transform: skew(-10deg); letter-spacing: -4px; margin-left: -4px; }
.nova-emblem i { position: absolute; right: 6px; top: 7px; width: 5px; height: 5px; background: var(--accent-ink); border-radius: 1px; }
.novax-wordmark { font: 850 20px/1 system-ui,sans-serif !important; letter-spacing: 1px; }
.novax-wordmark span { color: var(--accent); }
.header-actions { gap: 6px; margin-left: auto; }
.header-actions .icon-button { width: 36px; height: 36px; min-width: 36px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.header-actions .lang { padding: 7px; }
#page-home .nx-greet { margin: 2px 0 22px; gap: 12px; }
#page-home .nx-greet h1 { font-size: clamp(18px,4.8vw,26px); line-height: 1.6; }
#page-home .nx-greet p { font-size: 11px; line-height: 1.8; margin: 2px 0 0; }
.nx-greet-avatar { width: 44px; height: 44px; border-radius: 14px; }
#page-home .nx-mmk-card { padding: 24px; border-radius: 24px; background: var(--accent); color: var(--accent-ink); border: 0; box-shadow: none; min-height: 150px; }
#page-home .nx-mmk-card small { color: inherit; opacity: .8; font-size: 12px; }
#page-home .nx-mmk-value { margin-top: 10px; display: flex; align-items: baseline; gap: 10px; }
#page-home .nx-mmk-value strong { font: 750 clamp(34px,8vw,46px)/1.2 system-ui,sans-serif; letter-spacing: -1.5px; }
#page-home .nx-mmk-icon { background: #0000000d; color: inherit; border: 1px solid #00000010; border-radius: 16px; width: 48px; height: 48px; }
.nx-asset-row { gap: 12px; margin: 12px 0 18px; }
#page-home .nx-asset-card { padding: 16px; border-radius: 18px; background: var(--surface); box-shadow: none; border: 1px solid var(--line); }
#page-home .nx-asset-card small { font-size: 10px; line-height: 1.7; }
#page-home .nx-asset-card strong { font: 700 23px/1.5 system-ui,sans-serif; }
.nova-quick-actions { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0 0 24px; }
.nova-quick-actions button { min-height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font-size: 12px; padding: 8px; }
.nx-section-row { margin-top: 24px; margin-bottom: 12px; }
.nx-section-row h2 { font-size: 14px; }
.nx-recent-card, .nx-announce { border: 1px solid var(--line); border-radius: 18px; box-shadow: none; padding: 16px; background: var(--surface); }
.nx-cta-primary { margin: 18px 0; min-height: 52px; border-radius: 16px; }
.nx-explore { gap: 10px; }
.nx-explore-item { border-radius: 18px; border: 1px solid var(--line); background: var(--surface); padding: 18px 10px; }
#page-earn .page-heading, #page-wallet .page-heading { margin: 4px 0 22px; }
#page-earn h1, #page-wallet h1 { font-size: 25px; line-height: 1.6; }
#earnFilters { padding: 5px; border-radius: 15px; margin-bottom: 20px; overflow-x: auto; }
#earnFilters button { border-radius: 11px; min-height: 40px; flex-shrink: 0; }
#page-earn .task-card { border-radius: 20px; border: 1px solid var(--line); box-shadow: none; }
#page-wallet .wallet-assets { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#page-wallet .wallet-asset { min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
#page-wallet .wallet-asset-mmk { grid-column: 1/-1; padding: 24px; background: var(--accent); color: var(--accent-ink); }
#page-wallet .wallet-asset-mmk small { color: inherit; }
#page-wallet .action-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 24px; }
#page-wallet .action-pair .button { min-height: 50px; border-radius: 14px; }
#page-wallet .activity-row { padding: 16px 0; }
#page-profile .profile-hero { border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px; margin-bottom: 16px; min-width: 0; }
#page-profile .profile-avatar { width: 64px; height: 64px; border-radius: 20px; flex-shrink: 0; }
#page-profile .profile-identity { min-width: 0; }
#page-profile .profile-identity h1 { font-size: 22px; overflow-wrap: anywhere; }
#page-profile .profile-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
#page-profile .profile-links .button { justify-content: flex-start; min-height: 64px; font-size: 12px; padding: 14px; border-radius: 16px; }
#page-profile .profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 20px 0; }
#page-profile .profile-stats > div { padding: 16px; min-width: 0; }
#page-profile .profile-stats > div:last-child { grid-column: 1/-1; border-top: 1px solid var(--line); }
#page-profile .settings-list { border-radius: 20px; }
.bottom-nav { width: min(100%,720px); left: 50% !important; right: auto !important; transform: translateX(-50%); bottom: 0; border-radius: 22px 22px 0 0; padding: 9px 8px calc(9px + env(safe-area-inset-bottom)); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 -8px 30px #0000000c; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; }
.bottom-nav button { border-radius: 14px; padding: 9px 2px; gap: 5px; min-width: 0; }
.bottom-nav button small { font-size: 10px; line-height: 1.6; white-space: nowrap; }
.bottom-nav .market-dock { transform: none; margin: 0; border-radius: 14px; }
.bottom-nav .market-dock > span { width: 26px; height: 26px; margin: 0; border-radius: 8px; box-shadow: none; }
.bottom-nav button.selected { background: var(--accent-soft); color: var(--accent); }
#bootScreen { background: var(--bg); z-index: 10000; }
#bootScreen .boot-panel { max-width: 360px; padding: 32px 24px; text-align: center; }
#bootScreen .boot-logo { width: 88px; height: 88px; margin: 0 auto 24px; display: grid; place-items: center; position: relative; }
#bootScreen .nova-emblem { width: 68px; height: 68px; border-radius: 22px; animation: nova-breathe 2s ease-in-out infinite; }
#bootScreen .nova-emblem b { font-size: 47px; }
#bootScreen .nova-emblem i { width: 8px; height: 8px; right: 10px; top: 12px; }
#bootScreen .boot-logo::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 30px; animation: nova-orbit 2.5s linear infinite; }
#bootScreen h2 { font: 800 30px/1.4 system-ui,sans-serif; letter-spacing: 4px; margin: 0 0 14px; }
#bootScreen h2 span { color: var(--accent); }
#bootMessage { font-size: 12px; line-height: 2; color: var(--muted); }
#bootScreen .boot-progress { width: 120px; height: 3px; background: var(--line); overflow: hidden; border-radius: 4px; margin: 24px auto; }
#bootScreen .boot-progress span { display: block; width: 40%; height: 100%; background: var(--accent); animation: nova-progress 1.4s ease-in-out infinite alternate; }
#bootPremiumBanners { display: none !important; }
#bootScreen.boot-error .boot-logo::after, #bootScreen.boot-error .nova-emblem, #bootScreen.boot-error .boot-progress span { animation: none; }
@keyframes nova-orbit { to { transform: rotate(360deg); } }
@keyframes nova-breathe { 50% { transform: scale(.94); } }
@keyframes nova-progress { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media(min-width:760px) {
 #page-home.active { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
 #page-home > .nx-greet, #page-home > .nova-quick-actions, #page-home > .nx-section-row, #page-home > .nx-explore, #page-home > .daily-focus, #page-home > .daily-tasks { grid-column: 1/-1; }
 #page-home > .nx-asset-row { margin: 0; align-content: stretch; }
 #page-profile .profile-links { grid-template-columns: repeat(4,1fr); }
}
@media(max-width:360px) {
 body:not(.admin-open) #app { padding-left: 14px; padding-right: 14px; }
 .app-header { padding: 12px 14px; gap: 6px; }
 .novax-wordmark { font-size: 16px !important; letter-spacing: 0; }
 .app-header .brand { gap: 6px; }
 .header-actions { gap: 4px; }
 .header-actions .icon-button { width: 30px; height: 30px; min-width: 30px; }
 #page-home .nx-asset-card { padding: 12px; gap: 8px; }
 .bottom-nav button small { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) {
 #bootScreen *, #bootScreen .boot-logo::after { animation: none !important; }
}
.nova-preferences { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.nova-preferences > div { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-size: 12px; }
.nova-preferences .icon-button { width: 36px; height: 36px; border-radius: 10px; }
.app-header .admin-shortcut { padding: 7px 9px; font-size: 10px; }
.app-header .user-avatar { width: 34px; height: 34px; flex-shrink: 0; }
.header-actions { flex-wrap: wrap; }
.app-header .header-actions { display: flex; align-items: center; flex-wrap: nowrap; flex-shrink: 1; }
#page-home .nova-quick-actions { display: grid !important; }
#page-home .nx-mmk-card, #page-wallet .wallet-asset-mmk { background: #173f30 !important; color: #f0f8e9 !important; }
#page-home .nx-mmk-card strong, #page-home .nx-mmk-card .nx-mmk-value span,
#page-wallet .wallet-asset-mmk strong { color: #e1f5b7 !important; }
#bootScreen .boot-panel { animation: none; opacity: 1; transform: none; }
#bootScreen h2 { background: none; -webkit-text-fill-color: currentColor; color: var(--text); }
#bootScreen .boot-logo::before { content: none; }
#page-home .nx-earn-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
#page-home .nx-shortcut { display: flex; align-items: flex-start; gap: 10px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; color: var(--text); text-align: left; min-width: 0; }
.nx-shortcut > span:last-child { min-width: 0; }
.nx-shortcut strong, .nx-guide strong { display: block; font-size: 12px; line-height: 1.9; }
.nx-shortcut small, .nx-guide small { display: block; font-size: 10px; line-height: 1.9; color: var(--muted); margin-top: 6px; }
#page-home .nx-guide { width: 100%; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 18px; color: var(--text); background: var(--surface); text-align: left; margin: 20px 0; }
#page-home .nx-guide > span:nth-child(2) { flex: 1; }
#page-home .home-panels > section[aria-labelledby="communityTitle"] { display: none; }
@media(min-width:760px) {
 #page-home > .nx-earn-shortcuts, #page-home > .home-panels, #page-home > .download-markets, #page-home > .nx-guide { grid-column: 1/-1; }
}
