@font-face { font-family: 'Be Vietnam Pro'; src: url('assets/fonts/BeVietnamPro-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('assets/fonts/BeVietnamPro-medium.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('assets/fonts/BeVietnamPro-semibold.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Be Vietnam Pro'; src: url('assets/fonts/BeVietnamPro-bold.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
:root { --brand: #e50929; --brand-deep: #9e0019; --brand-soft: #faecf0; --ink: #0a1118; --muted: #7a8490; --line: #e9e9e9; --canvas: #faf8f5; }
.app-shell { background: #fff; min-height: 0; }
.app-shell.apk-screen .screen-content { padding: 0; }
.app-shell.apk-screen .screen-scroll { background: #fff; }
.apk-vector, .apk-raster-icon { display: block; width: 24px; height: 24px; flex: none; }
.nav-item svg.apk-vector, .icon-button svg.apk-vector { stroke: none; }
.apk-raster-icon { background: currentColor; mask: var(--apk-mask) center / contain no-repeat; -webkit-mask: var(--apk-mask) center / contain no-repeat; }
.apk-screen h1, .apk-screen h2, .apk-screen h3, .apk-screen p { margin: 0; letter-spacing: normal; }
.apk-screen button { cursor: pointer; }
.apk-screen img { display: block; object-fit: contain; object-position: center; }
.apk-logo { height: 44px; width: auto; flex: none; }
#modal-host { background: rgba(0,0,0,.32); backdrop-filter: none; }
.sheet { position: relative; z-index: 1; font-size: 14px; }
.sheet-head h2 { font-size: 18px; line-height: 26px; }
.apk-header-row { display: flex; align-items: center; gap: 8px; padding: 8px 16px; min-height: 60px; }
.apk-header-actions { margin-left: auto; display: flex; gap: 8px; }
.apk-icon-button { position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: 1px solid #dfdfdf; border-radius: 50%; background: #fff; color: #142541; padding: 0; }
.apk-icon-button svg { width: 20px; height: 20px; }
.apk-badge { position: absolute; right: 0; top: 1px; width: 14px; height: 14px; display: grid; place-items: center; background: #e50929; color: #fff; border-radius: 50%; font-size: 9px; font-weight: 700; }
.apk-button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 8px 24px; background: #e50929; color: #fff; border: 0; border-radius: 8px; font-size: 16px; font-weight: 600; line-height: 24px; box-shadow: none; }
.apk-button:disabled { color: #9a9ca8; background: #e3e4e8; cursor: default; }
.apk-full { width: 100%; }
.apk-link { border: 0; padding: 0; background: transparent; color: #e50929; font-size: 14px; font-weight: 400; }
.apk-tabs { display: flex; border-bottom: 1px solid #dfdfdf; padding: 0 12px; flex: none; }
.apk-tabs button { position: relative; flex: 1; min-width: 0; height: 48px; padding: 8px 0; border: 0; background: transparent; color: #6b6b6b; font-size: 15px; font-weight: 500; white-space: nowrap; }
.apk-tabs .selected { color: #e50929; font-weight: 700; }
.apk-tabs .selected::after { content: ''; height: 2px; position: absolute; bottom: 0; left: 0; right: 0; background: #e50929; }
.bottom-nav { min-height: 80px; padding: 0 8px var(--wv-bottom, env(safe-area-inset-bottom)); border: 0; background: #fff; }
.nav-item { gap: 4px; padding: 12px 0 16px; color: #142541; font-size: 11px; font-weight: 500; }
.nav-item svg, .nav-item .apk-raster-icon { width: 24px; height: 24px; }
.nav-item.active { font-weight: 700; }
.nav-item.active svg { stroke-width: unset; }
.apk-home { padding: 0 16px 24px; color: #142541; }
.apk-home-top { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; margin-bottom: 12px; }
.apk-home-top h1 { font-size: 22px; line-height: 28px; font-weight: 700; }
.apk-home-top > div { display: flex; gap: 4px; }
.apk-home-top .apk-icon-button { width: 36px; height: 36px; border: 0; }
.apk-guest-card { display: flex; align-items: center; border: 1px solid #fad0d7; border-radius: 12px; background: #ffe9ec; color: #5a3520; padding: 14px; }
.apk-guest-card > div { flex: 1; min-width: 0; }
.apk-guest-card h2 { font-size: 17px; line-height: 24px; font-weight: 700; }
.apk-guest-card p { margin-top: 2px; font-size: 12px; line-height: 16px; }
.apk-guest-card .apk-button { margin-left: 12px; width: 108px; height: 44px; min-height: 44px; flex: none; padding: 0 8px; font-size: 15px; font-weight: 700; }
.apk-balance { display: flex; align-items: center; padding: 12px 14px; border: 1px solid #b98461; border-radius: 12px; color: #5a3520; background: linear-gradient(90deg, #dbae8c, #fbe0cc 55%, #c28863); }
.apk-balance-info { flex: 1; min-width: 0; }
.apk-balance-caption { display: flex; align-items: center; font-size: 12px; line-height: 16px; }
.apk-balance-caption button { border: 0; background: transparent; padding: 0; color: #5a3520; margin-left: 6px; }
.apk-balance-caption svg { width: 16px; height: 16px; }
.apk-balance-value { display: block; font-size: 30px; line-height: 38px; font-weight: 700; }
.apk-balance-actions { display: flex; gap: 12px; margin-left: 12px; padding-left: 12px; border-left: 1px solid #b98461; }
.apk-balance-actions button { border: 0; padding: 0; background: none; color: #5a3520; display: flex; flex-direction: column; align-items: center; }
.apk-balance-actions button > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.apk-balance-actions button:last-child > span { background: #5a3520; color: #f6ddcb; }
.apk-balance-actions svg { width: 22px; height: 22px; }
.apk-balance-actions small { margin-top: 4px; font-size: 12px; line-height: 16px; }
.apk-pending { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 0; border-radius: 12px; width: 100%; margin-top: 10px; background: #f3f2f8; color: #142541; text-align: left; font-size: 14px; }
.apk-pending svg:first-child { width: 20px; height: 20px; color: #e50929; }
.apk-pending svg:last-child { width: 18px; height: 18px; margin-left: auto; }
.apk-explore { position: relative; height: 150px; margin-top: 12px; border-radius: 12px; background: linear-gradient(90deg, #6e0012, #d10022); overflow: hidden; color: #fff; }
.apk-explore .apk-explore-mascot { position: absolute; height: 130px; right: 8px; top: 10px; width: auto; }
.apk-explore-copy { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 14px; }
.apk-banner-tag { display: inline-block; color: #6e0012; background: #ffe9b8; border-radius: 50px; padding: 3px 10px; font-size: 11px; line-height: 14px; font-weight: 700; }
.apk-explore h2 { font-size: 20px; line-height: 26px; font-weight: 700; margin-top: 8px; }
.apk-explore p { margin-top: 4px; font-size: 12px; line-height: 16px; }
.apk-banner-button { min-height: 34px; height: 34px; padding: 0 16px; border-radius: 50px; font-size: 13px; line-height: 18px; background: #fff; color: #e50929; }
.apk-section { display: flex; align-items: center; justify-content: space-between; padding: 20px 0 10px; gap: 8px; }
.apk-section h2 { color: #142541; font-size: 20px; line-height: 28px; font-weight: 700; }
.apk-section .apk-link { white-space: nowrap; font-size: 14px; }
.apk-featured-product { display: flex; align-items: center; width: 100%; padding: 10px; border: 1px solid #e50929; border-radius: 12px; background: #fff; text-align: left; }
.apk-featured-product > img { width: 110px; height: 80px; flex: none; }
.apk-featured-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 0 10px; color: #142541; font-size: 12px; line-height: 16px; }
.apk-featured-copy small { font-size: 12px; color: #6b7690; }
.apk-featured-copy strong { color: #e50929; font-size: 24px; line-height: 32px; }
.apk-featured-copy .apk-red { color: #e50929; }
.apk-pick-label { display: grid; place-items: center; border-radius: 8px; padding: 8px 10px; background: #faecf0; color: #e50929; font-size: 13px; line-height: 18px; font-weight: 700; text-align: center; white-space: nowrap; }
.apk-featured-product > .apk-pick-label { min-width: 68px; }
.apk-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 10px; }
.apk-small-product { min-width: 0; padding: 12px; border: 1px solid #e9e9e9; border-radius: 12px; background: #fff; }
.apk-small-product img { height: 64px; width: 100%; }
.apk-product-caption { display: block; font-size: 12px; line-height: 16px; color: #6b7690; padding: 6px 0; }
.apk-product-caption b { color: #e50929; }
.apk-keno-row { display: flex; align-items: center; width: 100%; margin-top: 10px; border: 1px solid #f26a21; border-radius: 12px; padding: 10px; background: #fff; text-align: left; }
.apk-keno-row > img { width: 84px; height: 60px; flex: none; }
.apk-keno-row > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0 10px; font-size: 14px; line-height: 20px; color: #142541; }
.apk-keno-row small { font-size: 12px; color: #6b7690; }
.apk-keno-row > .apk-pick-label { color: #f26a21; }
.apk-news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.apk-news-card { overflow: hidden; border: 1px solid #e9e9e9; border-radius: 12px; padding: 0; background: #fff; text-align: left; }
.apk-news-image { display: grid; place-items: center; height: 84px; background: #e8eaf0; color: #bbc3cf; }
.apk-news-image svg { width: 100%; height: 84px; }
.apk-news-copy { padding: 10px; }
.apk-news-tag { display: inline-block; border-radius: 50px; padding: 2px 8px; color: #9e0019; background: #faecf0; font-size: 11px; line-height: 14px; font-weight: 500; }
.apk-news-tag.community { color: #17806d; background: #e4f3ef; }
.apk-news-copy h3 { color: #142541; font-size: 14px; line-height: 20px; font-weight: 700; margin-top: 6px; }
.apk-news-copy small { display: block; color: #6b7690; font-size: 12px; line-height: 16px; margin-top: 4px; }
.apk-welcome-header { display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid #e9e9e9; flex: none; }
.apk-welcome-header > div { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.apk-register-button { gap: 4px; min-height: 36px; height: 36px; border: 1px solid #e50929; border-radius: 18px; padding: 0 12px; color: #e50929; background: #fff; font-size: 13px; font-weight: 500; }
.apk-register-button svg { width: 16px; height: 16px; }
.apk-banner-button svg { margin-left: 6px; width: 14px; height: 14px; }
.apk-welcome-hero { display: flex; align-items: flex-start; padding: 16px 16px 0; }
.apk-welcome-hero > div { flex: 1; min-width: 0; }
.apk-welcome-hero h1 { font-size: 24px; line-height: 30px; font-weight: 700; }
.apk-welcome-hero h1 span { color: #e50929; }
.apk-welcome-hero p { font-size: 12px; line-height: 16px; margin-top: 8px; }
.apk-welcome-hero img { width: 140px; height: 150px; flex: none; }
.apk-welcome-card { margin: 0 16px; padding: 16px; border: 1px solid #fad0d7; border-radius: 16px; background: #ffe9ec; }
.apk-welcome-card h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.apk-welcome-card > div { display: flex; gap: 12px; margin-top: 12px; }
.apk-welcome-card .apk-button { height: 48px; border-radius: 10px; flex: 1; }
.apk-welcome-card .apk-home-button { width: 48px; height: 48px; flex: none; padding: 0; border: 1px solid #e50929; background: #fff; color: #e50929; }
.apk-welcome-section { display: flex; align-items: center; padding: 24px 16px 0; justify-content: space-between; }
.apk-welcome-section h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.apk-welcome-section small { font-size: 12px; color: #7a8490; }
.apk-welcome-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 12px 16px 6px; }
.apk-welcome-product { height: 168px; min-width: 0; padding: 12px; border: 1px solid #e9e9e9; border-radius: 12px; background: #fff; text-align: left; }
.apk-welcome-product-top { display: flex; align-items: center; height: 16px; justify-content: space-between; }
.apk-welcome-product-top small { font-size: 10px; color: #7a8490; }
.apk-welcome-product-top > span { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: #9e0019; }
.apk-welcome-product-top svg { width: 12px; height: 12px; }
.apk-welcome-product-image { position: relative; height: 92px; display: grid; place-items: center; }
.apk-welcome-product-image img { width: 96px; height: 80px; }
.apk-hot { position: absolute; top: 0; right: 0; padding: 2px 6px; border-radius: 6px; background: #e50929; color: #fff; font-size: 10px; font-weight: 700; }
.apk-welcome-product-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 14px; line-height: 20px; }
.apk-welcome-product-bottom b { font-weight: 600; }
.apk-welcome-product-bottom > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e50929; color: #fff; }
.apk-welcome-product-bottom svg { width: 14px; height: 14px; }
.apk-welcome-banner { position: relative; margin: 8px 16px 0; height: 200px; border-radius: 16px; overflow: hidden; }
.apk-welcome-banner > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.apk-welcome-banner > div { position: relative; padding: 16px; color: #fff; }
.apk-welcome-banner small { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #ffe9b8; }
.apk-welcome-banner h2 { font-size: 24px; line-height: 30px; font-weight: 700; margin-top: 6px; }
.apk-welcome-banner p { font-size: 12px; line-height: 16px; margin-top: 8px; }
.apk-welcome-banner .apk-button { height: 36px; min-height: 36px; padding: 0 14px; margin-top: 10px; background: #ffe9b8; color: #9e0019; }
.apk-welcome-links { display: flex; justify-content: center; gap: 20px; padding-top: 12px; }
.apk-welcome-links button { border: 0; padding: 0; color: #e50929; background: none; font-size: 12px; line-height: 16px; text-decoration: underline; }
.apk-disclaimer { text-align: center; color: #7a8490; font-size: 11px; line-height: 16px; padding: 12px 0 16px; }
.apk-welcome-footer { flex: none; text-align: center; padding: 12px 0 calc(12px + var(--wv-bottom, env(safe-area-inset-bottom))); border-top: 1px solid #e9e9e9; background: #fff; font-size: 12px; line-height: 20px; }
.apk-welcome-footer b { font-size: 16px; font-weight: 600; color: #e50929; margin-left: 4px; }
.apk-welcome-footer small { display: block; font-size: 11px; color: #7a8490; }
.apk-buy-header { flex: none; }
.apk-buy-list { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; }
.apk-buy-card { display: flex; position: relative; align-items: center; height: 100px; width: 100%; padding: 0; border: 1px solid; border-radius: 12px; overflow: hidden; text-align: left; }
.apk-buy-logo { position: relative; width: 120px; height: calc(100% - 28px); flex: none; padding: 0 8px; border-right: 1px solid #e4e3ee; display: grid; place-items: center; }
.apk-buy-logo img { width: 100%; height: 100%; }
.apk-buy-copy { position: relative; flex: 1; padding-left: 10px; padding-right: 24px; text-align: center; font-size: 12px; line-height: 16px; }
.apk-buy-copy b { font-weight: 700; }
.apk-buy-copy strong { display: block; margin-top: 2px; font-size: 20px; font-weight: 700; line-height: 28px; }
.apk-buy-copy small { font-size: 12px; font-weight: 500; }
.apk-card-chevron { position: absolute; right: 8px; top: calc(50% - 9px); width: 18px; height: 18px; }
.apk-buy-keno { border-color: #e9ae1e; background: linear-gradient(90deg, #e8bc2a, #fed031, #feac1c); color: #2e2600; }
.apk-buy-keno .apk-buy-logo { border-color: #ffffff99; }
.apk-keno-label { position: absolute; left: 8px; top: 6px; border-radius: 6px; background: #fff; color: #9f2633; font-size: 11px; font-weight: 700; padding: 2px 8px; }
.apk-time-badge { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 50px; font-size: 12px; font-weight: 700; color: #6e0012; background: #ffe9b8; }
.apk-time-badge svg { width: 14px; height: 14px; }
.apk-buy-card .apk-card-mascot { position: absolute; right: 4px; bottom: 2px; width: 64px; height: 64px; }
.apk-keno-coins { position: absolute; inset: 0; }
.apk-keno-coins img { position: absolute; width: 72px; height: 72px; opacity: .18; }
.apk-keno-coins img:nth-child(1) { left: 60px; top: -30px; }
.apk-keno-coins img:nth-child(2) { left: 150px; bottom: -32px; }
.apk-keno-coins img:nth-child(3) { right: -28px; bottom: -30px; width: 84px; height: 84px; }
.apk-keno-coins img:nth-child(4) { right: 110px; top: -36px; width: 64px; height: 64px; }
.apk-buy-bingo { border-color: #f2c9a0; background: linear-gradient(90deg, #fef2e2, #fee4c9); color: #b8402a; }
.apk-buy-bingo .apk-time-badge { background: #6e0012; color: #fff; }
.apk-buy-bingo .apk-buy-logo { border-color: #f2c9a0; }
.apk-buy-lavender { border-color: #e4e3ee; background: #f3f2f8; color: #142541; }
.apk-buy-featured { border-color: #aa001a; background: linear-gradient(90deg, #d80020, #aa001a); color: #fff; }
.apk-buy-featured .apk-buy-logo { border-color: #ffffff66; }
.apk-buy-featured .apk-buy-logo img { background: #fff; border-radius: 50px; padding: 6px 14px; }
.apk-buy-featured strong { color: #ffe08a; }
.apk-buy-max { border-color: #e4e3ee; background: #eedaeb; color: #c2168e; }
.apk-buy-max > strong { font-size: 28px; line-height: 36px; padding-left: 12px; }
.apk-buy-cart { height: 76px; border-color: #fae5ee; background: #fae5ee; color: #142541; }
.apk-buy-cart strong { color: #e50929; font-size: 24px; line-height: 32px; }
.apk-buy-cart .apk-buy-logo svg { width: 36px; height: 36px; color: #e50929; }
.apk-wisdom { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; }
.apk-wisdom-card { display: flex; align-items: center; position: relative; height: 92px; border-radius: 12px; padding: 0 14px; border: 1px solid; text-align: left; overflow: hidden; }
.apk-wisdom-card > span { position: relative; flex: 1; }
.apk-wisdom-card h2 { font-size: 20px; line-height: 28px; font-weight: 700; }
.apk-wisdom-card p { font-size: 12px; line-height: 16px; font-weight: 500; margin-top: 2px; }
.apk-wisdom-card img { width: 56px; height: 56px; }
.apk-wisdom-card.gold { background: linear-gradient(135deg, #fedf89, #edb33c); border-color: #d9a63a; color: #4e2809; }
.apk-wisdom-card.purple { background: linear-gradient(135deg, #2c1965, #6638b1); border-color: #6638b1; color: #ffefb8; }
.apk-wisdom-card.teal { background: linear-gradient(135deg, #0e514a, #17806d); border-color: #17806d; color: #ffefb8; }
.apk-favorites { padding: 16px; }
.apk-favorites-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.apk-favorites-heading h1 { font-size: 22px; line-height: 28px; color: #142541; }
.apk-favorites-heading p { margin-top: 4px; color: #6a7385; font-size: 13px; }
.apk-favorites-heading .apk-button { padding: 0 12px; font-size: 13px; }
.apk-favorite-filters { display: flex; overflow: auto; gap: 8px; margin-top: 16px; }
.apk-favorite-filters button { flex: none; padding: 6px 12px; border: 1px solid #e3e5ee; border-radius: 20px; background: #fff; color: #6a7385; font-size: 13px; }
.apk-favorite-filters .selected { color: #e50929; border-color: #f9c6d0; background: #ffecf0; }
.apk-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; text-align: center; color: #6a7385; }
.apk-empty > svg { width: 64px; height: 64px; color: #b8c0cc; }
.apk-empty h2 { margin-top: 16px; font-size: 20px; line-height: 28px; color: #142541; font-weight: 700; }
.apk-empty p { font-size: 14px; line-height: 20px; margin: 8px 0 16px; }
.apk-favorite-note { text-align: center; color: #6a7385; font-size: 14px; line-height: 20px; padding-top: 18px; }
.apk-favorite-card { border: 1px solid #f6d6de; border-radius: 12px; padding: 16px; background: linear-gradient(#fff2f5,#fff); margin-top: 12px; }
.apk-favorite-card small { font-size: 12px; color: #6a7385; }
.apk-favorite-card h2 { margin-top: 4px; font-size: 20px; }
.apk-favorite-card > div:last-child { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.apk-favorite-card .apk-button { font-size: 14px; padding: 0 16px; }
.apk-favorite-numbers { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.apk-favorite-numbers span { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #f3d67a; border-radius: 50%; background: #fff1c5; color: #6c450d; font-size: 15px; font-weight: 700; }
.apk-account { padding: 0 16px 24px; }
.apk-account .apk-header-row { padding-left: 0; padding-right: 0; }
.apk-account > h1 { color: #142541; font-size: 30px; line-height: 38px; font-weight: 700; margin: 4px 0 12px; }
.apk-account-guest { padding: 32px 16px; }
.apk-account-guest > svg { width: 44px; height: 44px; }
.apk-account-guest p { margin: 12px 0 16px; }
.apk-account-guest .apk-button { height: 48px; border-radius: 10px; }
.apk-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.apk-profile-avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #faecf0; color: #e50929; }
.apk-profile-avatar svg { width: 36px; height: 36px; }
.apk-profile h2 { font-size: 18px; line-height: 24px; color: #142541; }
.apk-profile p { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #1e963e; margin-top: 4px; }
.apk-profile p svg { width: 16px; height: 16px; }
.apk-profile .apk-link { margin-top: 6px; font-size: 12px; color: #1a5fff; }
.apk-account-balance { flex-wrap: wrap; }
.apk-account-balance .apk-balance-caption { font-size: 14px; }
.apk-account-balance .apk-balance-value { font-size: 34px; line-height: 42px; }
.apk-balance-history { width: 100%; display: flex; align-items: center; padding: 12px 0 0; margin-top: 12px; gap: 8px; border: 0; border-top: 1px solid #b98461; background: none; color: #5a3520; font-size: 14px; }
.apk-balance-history svg:last-child { margin-left: auto; }
.apk-account-section h2 { font-size: 18px; line-height: 24px; color: #142541; padding: 22px 0 10px; }
.apk-account-section > div { overflow: hidden; border: 1px solid #e3e5ee; border-radius: 12px; }
.apk-account-section button { display: flex; width: 100%; align-items: center; padding: 14px; border: 0; border-bottom: 1px solid #e3e5ee; background: #fff; color: #142541; text-align: left; }
.apk-account-section button:last-child { border-bottom: 0; }
.apk-account-section button > span { flex: 1; padding-left: 14px; font-size: 15px; line-height: 20px; }
.apk-account-section button svg { width: 22px; height: 22px; }
.apk-account-section button svg:last-child { width: 18px; height: 18px; color: #b0b8c1; }
.apk-logout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 24px; padding: 12px; background: transparent; color: #6a7385; border: 0; font-size: 14px; }
.apk-auth { padding: 0 24px 24px; }
.apk-auth > .apk-logo { height: 48px; margin: 16px auto; }
.apk-auth > .apk-tabs { padding: 0; }
.apk-auth > .apk-tabs button { font-size: 20px; line-height: 28px; }
.apk-auth form { margin-top: 20px; }
.apk-auth form h2 { font-size: 18px; line-height: 24px; font-weight: 700; }
.apk-auth form > p { font-size: 14px; line-height: 20px; margin-top: 6px; }
.apk-underline-field { display: flex; align-items: center; height: 52px; border-bottom: 1px solid #dfdfdf; margin-bottom: 16px; }
.apk-underline-field input { border: 0; border-radius: 0; flex: 1; width: 0; min-width: 0; font-size: 14px; padding: 0; height: 50px; background: #fff; }
.apk-underline-field input::placeholder, .apk-phone-field input::placeholder { color: #7a8490; opacity: 1; }
.apk-underline-field button { display: grid; place-items: center; width: 40px; height: 40px; background: transparent; border: 0; color: #7a8490; }
.apk-login-options { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 20px; color: #0a1118; }
.apk-login-options label { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.apk-login-options input { accent-color: #e50929; width: 18px; height: 18px; }
.apk-auth .apk-full { min-height: 50px; }
.apk-auth-actions { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.apk-auth-actions .apk-button { flex: 1; height: 50px; }
.apk-biometric-button { display: grid; place-items: center; width: 62px; height: 50px; border: 0; border-radius: 8px; color: #e50929; background: #eef3ff; }
.apk-login-links { display: flex; justify-content: space-between; margin-top: 20px; }
.apk-login-links button { border: 0; padding: 0; background: transparent; font-size: 12px; color: #0a1118; text-decoration: underline; }
.apk-login-links button:last-child { color: #1a5fff; text-decoration: none; }
.apk-field-label { display: block; font-size: 13px; font-weight: 600; line-height: 18px; margin: 20px 0 8px; }
.apk-phone-field { display: flex; align-items: center; height: 52px; border: 1px solid #d0d0d5; border-radius: 8px; padding: 0 14px; }
.apk-phone-field span { padding-right: 12px; border-right: 1px solid #dfdfdf; font-size: 14px; line-height: 20px; }
.apk-phone-field input { border: 0; min-width: 0; width: 0; flex: 1; height: 50px; padding: 0 0 0 12px; font-size: 14px; }
.apk-phone-helper { display: block; margin-top: 8px; font-size: 11px; line-height: 16px; }
.apk-auth form[data-form^="register-"] > .apk-full { margin-top: 24px; }
.apk-otp-field input { width: 100%; height: 52px; border: 1px solid #d0d0d5; border-radius: 8px; text-align: center; font-size: 24px; letter-spacing: 12px; }
.apk-change-phone { color: #7a8490; font-size: 12px; margin-bottom: 16px; }
.apk-auth p.apk-otp-resend { text-align: center; margin-top: 18px; font-size: 12px; }
.apk-otp-resend button { padding: 0; border: 0; background: transparent; color: #e50929; }
.apk-tickets-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; }
.apk-tickets-top h1 { flex: 1; font-size: 30px; line-height: 38px; color: #142541; font-weight: 700; }
.apk-ticket-filters { display: flex; padding: 12px 16px; gap: 8px; }
.apk-ticket-filters button { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 8px 12px; border: 1px solid #d5e1ff; border-radius: 8px; background: #fff; color: #1a5fff; font-size: 13px; }
.apk-ticket-filters svg { width: 16px; height: 16px; }
.apk-ticket-count { display: block; color: #6a7385; font-size: 12px; padding: 10px 16px; }
.apk-ticket-empty { min-height: 320px; }
.apk-results > h1 { font-size: 22px; line-height: 28px; color: #142541; font-weight: 700; padding: 6px 16px 2px; }
.apk-result-products { padding: 2px 8px; border-bottom: 1px solid #e9e9e9; }
.apk-result-products > div { display: flex; gap: 0; justify-content: center; }
.apk-result-products button { width: 80px; flex: none; position: relative; min-height: 54px; border: 0; border-radius: 10px; padding: 2px 4px; background: #fff; color: #6a7385; }
.apk-result-products > div:first-child > button:last-child {max-width:calc(100% - 240px)}
.apk-result-products button.selected { background: #ffe9ed; color: #e50929; }
.apk-result-products img { width: 54px; height: 30px; margin: auto; }
.apk-result-products button > span { display: block; font-size: 11px; line-height: 20px; padding-top: 1px; white-space: normal; }
.apk-result-products button.selected > span { font-weight: 700; }
.apk-results-empty { min-height: 400px; font-size: 15px; }
.apk-sub-header { flex: none; display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #dfdfdf; background: #fff; color: #142541; }
.apk-sub-header h1 { text-align: center; font-size: 18px; line-height: 24px; font-weight: 600; }
.apk-sub-header button { width: 32px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: #142541; padding: 0; }
.apk-sub-header button:first-child svg { width: 26px; height: 26px; }
.apk-sub-header button:last-child svg { width: 22px; height: 22px; }
.apk-secondary { padding: 16px; color: #142541; }
.apk-secondary h1, .apk-secondary h2, .apk-secondary p { margin: 0; }
.apk-sub-intro { display: flex; align-items: center; gap: 12px; padding: 16px 0; }
.apk-sub-intro > span { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: #fff; color: #e50929; }
.apk-sub-intro > div { flex: 1; }
.apk-sub-intro h2 { font-size: 17px; line-height: 24px; font-weight: 600; }
.apk-sub-intro p { color: #6a7385; font-size: 13px; line-height: 20px; margin-top: 4px; }
.apk-security-card { overflow: hidden; border: 1px solid #dfdfdf; border-radius: 20px; }
.apk-setting-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 18px 16px; border: 0; border-bottom: 1px solid #dfdfdf; background: #fff; text-align: left; }
.apk-setting-row:last-child { border-bottom: 0; }
.apk-setting-row > div { flex: 1; }
.apk-setting-row h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.apk-setting-row p { margin-top: 3px; color: #6a7385; font-size: 13px; line-height: 20px; }
.apk-settings-section > h2 { font-size: 18px; line-height: 24px; padding: 24px 0 4px; font-weight: 700; }
.apk-settings-section .apk-setting-row { padding: 14px 0; }
.apk-switch { width: 52px; height: 32px; flex: none; border: 2px solid #7a8490; border-radius: 20px; padding: 0; background: #e3e4e8; }
.apk-switch > span { display: block; width: 16px; height: 16px; border-radius: 50%; margin-left: 6px; background: #7a8490; }
.apk-switch.on { border-color: #e50929; background: #e50929; }
.apk-switch.on > span { width: 24px; height: 24px; margin-left: 22px; background: #fff; }
.apk-always-on { flex: none; padding: 4px 10px; background: #e3f4e8; color: #1e963e; border-radius: 8px; font-size: 12px; line-height: 18px; }
.apk-security-note { display: flex; align-items: flex-start; padding: 14px; gap: 10px; margin: 16px 0; border-radius: 14px; background: #e9eff9; font-size: 13px; line-height: 20px; }
.apk-security-note svg { width: 20px; height: 20px; }
.apk-profile-header { display: flex; flex-direction: column; align-items: center; padding: 14px 0 24px; }
.apk-profile-header svg { width: 34px; height: 34px; color: #e50929; }
.apk-profile-header h1 { text-align: center; margin-top: 12px; font-size: 22px; line-height: 28px; font-weight: 700; }
.apk-profile-header p { margin-top: 4px; font-size: 16px; line-height: 24px; color: #6a7385; }
.apk-profile-card { margin-bottom: 16px; border: 1px solid #dfdfdf; border-radius: 16px; background: #fff; padding: 16px; }
.apk-profile-card > h2 { font-size: 18px; line-height: 24px; font-weight: 700; padding-bottom: 6px; }
.apk-profile-field { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #dfdfdf; font-size: 15px; line-height: 22px; }
.apk-profile-field:last-child { border: 0; }
.apk-profile-field > span { flex: 1; color: #6a7385; }
.apk-profile-field > b { flex: 1; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.apk-profile-card > p { font-size: 13px; line-height: 20px; color: #6a7385; margin-top: 12px; }
.apk-profile-card > .apk-link { display: flex; align-items: center; gap: 6px; color: #1a5fff; margin-top: 12px; }
.apk-profile-card label { display: block; font-size: 14px; color: #6a7385; margin-top: 14px; }
.apk-profile-card input { width: 100%; min-width: 0; height: 56px; padding: 12px; border: 1px solid #dfdfdf; border-radius: 10px; background: #fff; margin-top: 6px; color: #142541; font-size: 14px; }
.apk-profile-edit-actions { display: flex; gap: 12px; margin-top: 16px; }
.apk-profile-edit-actions button { flex: 1; height: 46px; font-size: 14px; }
.apk-outline { border: 1px solid #f9c6d0; background: #fff; color: #e50929; }
.apk-support-intro { padding: 0 16px; border-radius: 16px; background: #ffeaec; }
.apk-support-intro .apk-sub-intro > span { background: none; width: 24px; height: 24px; }
.apk-support-channels { border: 1px solid #dfdfdf; border-radius: 16px; margin-top: 16px; overflow: hidden; }
.apk-channel-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 0; border-bottom: 1px solid #dfdfdf; background: #fff; text-align: left; }
.apk-channel-row:last-child { border-bottom: 0; }
.apk-channel-row > span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #edf3ff; color: #1a5fff; }
.apk-channel-row > div { flex: 1; }
.apk-channel-row h2 { font-size: 15px; line-height: 22px; font-weight: 600; }
.apk-channel-row p { font-size: 12px; line-height: 18px; color: #6a7385; margin-top: 2px; }
.apk-channel-row > svg { width: 18px; height: 18px; color: #b0b8c1; }
.apk-support-feedback { padding: 16px; margin-top: 20px; border-radius: 16px; }
.apk-support-feedback h2 { font-size: 16px; line-height: 24px; font-weight: 600; }
.apk-support-feedback p { margin-top: 4px; font-size: 13px; line-height: 20px; color: #6a7385; }
.apk-support-feedback .apk-button { height: 48px; margin-top: 14px; border-radius: 10px; }
.apk-support-feedback .apk-link { display: block; margin: 16px auto 0; }
.apk-sub-section-title { font-size: 18px; font-weight: 700; line-height: 24px; padding: 20px 0 12px; }
.apk-limit-desc { font-size: 14px; line-height: 20px; color: #6a7385; }
.apk-limit-card { border: 1px solid #dfdfdf; border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.apk-limit-card > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.apk-limit-card h2 { font-size: 18px; line-height: 24px; }
.apk-limit-card img { width: 64px; height: 36px; }
.apk-limit-card small { font-size: 12px; color: #6a7385; line-height: 18px; }
.apk-limit-card > p { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; line-height: 20px; }
.apk-limit-card > p b { font-size: 18px; }
.apk-limit-progress { height: 8px; border-radius: 8px; overflow: hidden; background: #edf3ff; margin: 12px 0 6px; }
.apk-limit-progress span { display: block; background: #1a5fff; height: 100%; }
.apk-limit-amounts { display: flex; justify-content: space-between; margin-top: 12px; }
.apk-limit-amounts > div { display: flex; flex-direction: column; gap: 4px; }
.apk-limit-amounts > div:last-child { text-align: right; }
.apk-limit-amounts b { font-size: 18px; line-height: 24px; }
.apk-limit-card details { border-top: 1px solid #dfdfdf; margin-top: 16px; padding-top: 12px; font-size: 12px; line-height: 18px; color: #1a5fff; }
.apk-limit-footnote { color: #6a7385; font-size: 12px; line-height: 18px; margin-top: 12px !important; }
/* Secondary screens retain their route behavior while using the APK palette. */
.topbar { color: #142541; background: #fff; border-bottom: 1px solid #e9e9e9; box-shadow: none; }
.topbar .icon-button { background: #fff; }
.panel, .notice-card, .wallet-card, .product-card { box-shadow: none; }
