:root {
  font-family: 'Noto Sans SC Variable', 'Noto Sans SC', 'PingFang SC', sans-serif;
  color: #202020; background: #ff2d63; font-synthesis: none;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f7f7f7; }
button { font: inherit; border: 0; background: none; color: inherit; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid #1688c8; outline-offset: 4px; }
p, h1, h2 { margin: 0; }
.screen { width: 100%; max-width: 480px; margin: auto; position: relative; background: #f7f7f7; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.screen::before { content: ''; position: absolute; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #ff2d63; }
.viewport { width: 100%; height: 100vh; height: 100dvh; position: relative; overflow: hidden; background: #f7f7f7; }
.phone { position: absolute; top: 0; left: 0; width: 440px; min-height: 880px; background: #f7f7f7; padding-bottom: 61px; transform-origin: top left; }
.hero { min-height: 159px; display: flex; flex-direction: column; background: #ff2d63; position: relative; color: #fff; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; top: calc(100% - 20px); height: 97px; background: linear-gradient(#ff2d63, #ff7b9b 40%, #f7f7f7); pointer-events: none; }
.topbar { min-height: 50px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; padding: 8px 20px; }
.topbar h1 { font-size: 18px; line-height: 1.3; font-weight: 650; max-width: 72%; overflow-wrap: anywhere; text-align: center; }
.icon-button { position: absolute; top: 4px; height: 42px; width: 42px; display: grid; place-items: center; color: white; }
.back { left: 22px; }
.back span { width: 13px; height: 13px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(45deg); }
.more { right: 20px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.more span { width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.channel-tabs { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; z-index: 1; min-height: 43px; }
.channel-tabs button { font-size: 16px; font-weight: 400; color: #ffb8ce; position: relative; line-height: 1.4; padding: 7px 8px 16px; overflow-wrap: anywhere; }
.channel-tabs button[aria-selected=true] { color: #fff; }
.channel-tabs button[aria-selected=true]::after { content: ''; position: absolute; bottom: 6px; width: 21px; height: 2px; border-radius: 2px; background: #fff; left: calc(50% - 10.5px); }
.content { padding: 0 17px; position: relative; z-index: 2; }
.card { background: #fff; border-radius: 9px; width: 100%; }
.balance-card { padding: 24px 20px 20px; min-height: 148px; }
.balance-label { color: #727272; font-size: 12px; line-height: 18px; }
.balance-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.balance-row strong { font-family: 'Roboto Condensed Variable', sans-serif; font-size: 35px; font-weight: 750; line-height: 1; letter-spacing: -1.2px; min-width: 0; flex: 1; white-space: nowrap; }
.withdraw { flex-shrink: 0; min-width: 82px; max-width: 48%; background: #ff2f54; color: white; font-size: 17px; font-weight: 500; line-height: 1.2; padding: 7px 20px; border-radius: 30px; overflow-wrap: anywhere; }
.description { margin-top: 12px; color: #a0a0a0; font-size: 11.5px; line-height: 1.3; overflow-wrap: anywhere; }
.menu-card { margin-top: 9px; padding: 8px 20px; border-radius: 5px; }
.menu-row { display: flex; align-items: center; gap: 14px; text-align: left; min-height: 45px; width: 100%; padding: 7px 0; }
.menu-row img { height: 23px; width: 25px; object-fit: contain; flex-shrink: 0; }
.menu-row span { font-size: 16px; line-height: 1.5; flex: 1; overflow-wrap: anywhere; }
.chevron { display: inline-block; flex-shrink: 0; width: 9px; height: 9px; border-top: 1px solid #34404b; border-right: 1px solid #34404b; transform: rotate(45deg); margin-right: 5px; }
.chevron.muted { border-color: #c8c8c8; border-width: 1.5px; }
.order-card { display: flex; align-items: center; justify-content: space-between; text-align: left; gap: 12px; margin-top: 8px; padding: 14px 22px 14px 20px; min-height: 49px; border-radius: 11px; }
.order-card strong { font-size: 16px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.effects-card { margin-top: 9px; border-radius: 12px; padding: 14px 20px 28px; min-height: 329px; }
.effects-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.effects-heading h2 { font-size: 16px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.effects-heading > button { font-size: 12px; line-height: 1.4; color: #a2a2a2; display: flex; gap: 7px; align-items: center; text-align: right; max-width: 58%; overflow-wrap: anywhere; }
.notice { font-size: 12px; color: #ff4273; line-height: 1.5; margin-top: 8px; overflow-wrap: anywhere; }
.updated { color: #a1a1a1; font-size: 12px; line-height: 1.5; margin-top: 8px; overflow-wrap: anywhere; }
.type-tabs { display: flex; gap: 40px; margin-top: 18px; padding-left: 21px; }
.type-tabs button { font-size: 17px; color: #a4a8ac; padding: 0 0 10px; line-height: 1.5; position: relative; overflow-wrap: anywhere; min-width: 0; }
.type-tabs button[aria-selected=true] { color: #141414; }
.type-tabs button[aria-selected=true]::after { content: ''; position: absolute; bottom: 4px; left: 5px; width: 21px; height: 2px; border-radius: 2px; background: #ff3b71; }
.range-tabs { display: flex; gap: 12px; margin-top: 5px; flex-wrap: wrap; }
.range-tabs button { background: #f8f8f8; color: #a3a3a3; border-radius: 24px; min-width: 46px; font-size: 12px; line-height: 1.4; padding: 5px 10px; overflow-wrap: anywhere; max-width: 100%; }
.range-tabs button[aria-selected=true] { color: #ff3b71; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; row-gap: 25px; margin-top: 12px; }
.metric { min-width: 0; }
.metric-label { display: flex; gap: 4px; align-items: center; color: #a0a0a0; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.help-button { flex-shrink: 0; font-family: Arial, sans-serif; border: 1.3px solid #a5a5a5; color: #969696; border-radius: 50%; height: 14px; width: 14px; font-size: 10px; line-height: 12px; text-align: center; font-weight: 700; }
.metric-value { display: block; margin-top: 2px; font-size: 18px; line-height: 1.35; font-weight: 400; overflow-wrap: anywhere; }
.load-error { font-size: 14px; color: #a21d40; padding: 20px; text-align: center; }
dialog { border: 0; border-radius: 18px; padding: 0; width: min(340px, calc(100vw - 40px)); box-shadow: 0 20px 80px #0003; max-height: calc(100dvh - 40px); overflow-y: auto; }
dialog::backdrop { background: #0006; }
.dialog-body { padding: 25px; text-align: center; }
.dialog-body h2 { font-size: 18px; }
.dialog-body p { font-size: 14px; line-height: 1.7; color: #727272; margin: 16px 0 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dialog-body button { width: 100%; padding: 11px; border-radius: 24px; background: #ff2d63; color: #fff; font-size: 15px; }
.dialog-body .secondary { color: #727272; background: #f5f5f5; margin-top: 10px; }
.dialog-body .menu-action { margin-top: 14px; }
.install-note { font-size: 12px !important; color: #a0a0a0 !important; }
@media (min-width: 600px) { body { padding: 24px 0; } .screen { box-shadow: 0 10px 50px #18233312; border-radius: 16px; overflow: hidden; } }
