* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    background: #07101f;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif
}

body {
    display: flex;
    justify-content: center
}

.phone {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    background: radial-gradient(circle at 82% 0, #28104d 0, #080b18 35%, #050917 100%);
    position: relative;
    overflow: hidden
}

.phone:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 8%, rgba(126, 73, 255, .22), transparent 24%), linear-gradient(180deg, rgba(137, 80, 255, .08), transparent 25%);
    pointer-events: none
}

.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 12px 18px 112px
}

.status {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .2px
}

.signal {
    display: flex;
    gap: 5px;
    align-items: center
}

.bars i {
    display: inline-block;
    width: 4px;
    background: #fff;
    border-radius: 3px;
    margin-left: 2px
}

.bars i:nth-child(1) {
    height: 7px
}

.bars i:nth-child(2) {
    height: 10px
}

.bars i:nth-child(3) {
    height: 13px
}

.wifi {
    font-weight: 900
}

.battery {
    width: 24px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 4px;
    position: relative
}

.battery:after {
    content: '';
    position: absolute;
    right: -4px;
    top: 3px;
    width: 2px;
    height: 4px;
    background: #fff;
    border-radius: 2px
}

.top {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 25px;
    font-weight: 900
}

.logo, .ico3d {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #965bff, #5520d7 60%, #2e135f);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 12px 28px rgba(130, 70, 255, .35)
}

.logo {
    width: 36px;
    height: 36px
}

.logo svg, .ico3d svg {
    width: 55%;
    height: 55%;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, .5))
}

.actions {
    display: flex;
    gap: 14px;
    align-items: center
}

.mini {
    width: 28px;
    height: 28px;
    position: relative;
    display: grid;
    place-items: center
}

.badge {
    position: absolute;
    right: -5px;
    top: -5px;
    background: #ff3868;
    color: #fff;
    border-radius: 12px;
    font-size: 10px;
    padding: 1px 5px;
    border: 1px solid rgba(255, 255, 255, .75)
}

.titlebar {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 20px;
    font-weight: 900
}

.titlebar .back, .titlebar .right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%)
}

.titlebar .back {
    left: 0
}

.titlebar .right {
    right: 0
}

.card {
    background: linear-gradient(180deg, rgba(31, 36, 63, .88), rgba(14, 18, 36, .92));
    border: 1px solid rgba(149, 118, 255, .24);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 16px 40px rgba(0, 0, 0, .22)
}

.hero {
    height: 174px;
    border-radius: 18px;
    border: 1px solid rgba(147, 78, 255, .75);
    overflow: hidden;
    position: relative;
    background: #111a33
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.hero .txt {
    position: absolute;
    left: 22px;
    top: 28px
}

.hero h1 {
    margin: 0 0 8px;
    font-size: 42px;
    line-height: .95;
    font-weight: 950;
    letter-spacing: -1px
}

.hero h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25
}

.hero p {
    margin: 0;
    color: #e9e4ff
}

.dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px
}

.dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35)
}

.dots i:first-child {
    width: 24px;
    background: #fff
}

.notice {
    height: 46px;
    margin-top: 12px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden
}

.notice span {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px
}

.grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px 16px;
    margin: 18px 2px
}

.gitem {
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    color: #fff
}

.ico3d {
    width: 58px;
    height: 58px;
    margin: 0 auto 8px;
    border-radius: 18px
}

.ico-blue {
    background: linear-gradient(145deg, #8dc9ff, #2774e8 58%, #122761)
}

.ico-green {
    background: linear-gradient(145deg, #75f0b1, #20b86d 60%, #11543f)
}

.ico-orange {
    background: linear-gradient(145deg, #ffca6c, #f06a32 60%, #743013)
}

.market {
    padding: 16px;
    margin-top: 10px;
    display: flex;
    align-items: end;
    justify-content: space-between
}

.market h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700
}

.price {
    font-size: 36px;
    font-weight: 950
}

.up {
    color: #4cff8e;
    font-weight: 900;
    margin-left: 8px
}

.chart {
    width: 45%;
    height: 84px
}

.chart svg {
    width: 100%;
    height: 100%
}

.promo {
    height: 124px;
    margin-top: 12px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #5224b8, #1a1235 55%)
}

.promo img {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    opacity: .85
}

.promo h2 {
    margin: 0 0 6px;
    font-size: 22px
}

.promo p {
    margin: 0 0 14px;
    color: #efe9ff
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    background: linear-gradient(135deg, #9c4dff, #6428df);
    height: 40px;
    padding: 0 18px;
    box-shadow: 0 12px 24px rgba(120, 66, 255, .35)
}

.section {
    margin-top: 14px;
    padding: 16px
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.section h2 {
    margin: 0;
    font-size: 22px
}

.muted {
    color: #b9c0d8
}

.tabs {
    display: flex;
    gap: 20px;
    overflow: auto;
    margin: 4px 0 12px;
    padding-bottom: 6px
}

.tabs span {
    white-space: nowrap;
    color: #c5c9dc;
    font-size: 14px
}

.tabs .on {
    color: #fff;
    font-weight: 900;
    position: relative
}

.tabs .on:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 3px;
    background: #a855ff;
    border-radius: 4px
}

.list {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    background: rgba(17, 23, 45, .72);
    border: 1px solid rgba(255, 255, 255, .06)
}

.thumb {
    width: 62px;
    height: 62px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #102d57, #6819ce)
}

.grow {
    flex: 1;
    min-width: 0
}

.grow h3 {
    margin: 0 0 6px;
    font-size: 16px
}

.grow p {
    margin: 0;
    color: #aeb5c9;
    font-size: 13px;
    line-height: 1.45
}

.tag {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 5px;
    background: #7439ff;
    color: #fff;
    margin-left: 5px
}

.tag.red {
    background: #b73558
}

.tag.green {
    background: #159c68
}

.kv {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px
}

.kv div {
    background: rgba(255, 255, 255, .04);
    border-radius: 14px;
    padding: 13px
}

.kv b {
    display: block;
    font-size: 20px;
    margin-top: 8px
}

.asset-top {
    padding: 26px 20px;
    margin-top: 8px
}

.asset-top .sum {
    font-size: 40px;
    font-weight: 950;
    margin: 22px 0 4px
}

.quick {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px;
    margin: 14px 0
}

.quick a, .quick div {
    text-decoration: none;
    color: #fff;
    text-align: center;
    font-weight: 800
}

.quick .ico3d {
    width: 54px;
    height: 54px
}

.asset-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.asset-row:last-child {
    border-bottom: 0
}

.coin {
    width: 48px;
    height: 48px;
    border-radius: 15px
}

.asset-row strong {
    font-size: 17px
}

.asset-row .num {
    margin-left: auto;
    text-align: right;
    font-size: 18px;
    font-weight: 900
}

.form {
    padding: 16px
}

.type-tabs {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px
}

.type-tabs a {
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    color: #cfd4e9;
    text-decoration: none;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .06);
    font-weight: 800
}

.type-tabs .on {
    color: #fff;
    background: linear-gradient(135deg, #7c3cff, #40209c)
}

label {
    display: block;
    margin: 12px 0 7px;
    color: #c3c8dd;
    font-size: 13px
}

.input {
    width: 100%;
    height: 48px;
    border: 1px solid rgba(149, 118, 255, .22);
    background: #10162b;
    border-radius: 14px;
    color: #fff;
    padding: 0 14px;
    font-size: 16px;
    outline: 0
}

.paybox {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 10px
}

.paybox div {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .06)
}

.qr {
    height: 120px;
    border-radius: 18px;
    background: repeating-linear-gradient(45deg, #fff 0 8px, #111 8px 16px);
    opacity: .9
}

.profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0
}

.avatar {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9b6ff, #804cff);
    box-shadow: 0 10px 25px rgba(122, 76, 255, .3)
}

.func {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 10px
}

.func a {
    height: 78px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .06);
    font-weight: 800
}

.func svg {
    width: 25px;
    height: 25px;
    color: #c69cff
}

.team-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 10px
}

.team-grid .card {
    padding: 14px
}

.rank {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.rank:last-child {
    border-bottom: 0
}

.rank .avatar {
    width: 42px;
    height: 42px
}

.tabbar {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: 82px;
    background: rgba(12, 16, 32, .92);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px 24px 0 0;
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    z-index: 20;
    padding: 8px 8px 12px;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .35)
}

.tabbar a {
    color: #c7cbe0;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px
}

.tabbar svg {
    width: 25px;
    height: 25px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35))
}

.tabbar .active {
    color: #a35cff
}

.tabbar .active svg {
    color: #a35cff;
    filter: drop-shadow(0 0 10px rgba(154, 82, 255, .7))
}

.home-ind {
    position: fixed;
    left: 50%;
    bottom: 7px;
    transform: translateX(-50%);
    width: 128px;
    height: 5px;
    border-radius: 10px;
    background: #fff;
    z-index: 21
}

.smallbtn {
    height: 34px;
    border-radius: 10px;
    padding: 0 14px
}

.full {
    width: 100%;
    height: 46px;
    margin-top: 16px
}

.subpage .page {
    padding-top: 8px
}

@media (max-width: 360px) {
    .page {
        padding-left: 14px;
        padding-right: 14px
    }

    .hero h1 {
        font-size: 36px
    }

    .grid {
        gap: 14px 8px
    }

    .ico3d {
        width: 54px;
        height: 54px
    }

    .price {
        font-size: 32px
    }
}
