@charset "UTF-8";

.body-container {
    max-width: 640px;
    margin:auto;
    color: #444;
    font-size: 1rem;
}

/* iPhone 适配底部安全区域 */
.safe-area-inset-bottom {
    padding-bottom: 0;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

/* 头部导航 */
.nav-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 50px;
    color: #333;
    overflow: hidden;
    background-color: #fff;
    position: relative;
}

/* 冻结在顶部 */
.nav-header.fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
}

/* 主题色 */
.nav-header.primary {
    color: #fff;
    background-color: #ff7f14;
}

/* 透明背景 */
.nav-header.transparent {
    color: #fff;
    background-color: transparent;
}

/* 导航底部边框 */
.nav-header.border {
    border-bottom: 1px solid #eee;
}

/* 导航阴影 */
.nav-header.shadow {
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

/* 导航标题样式 */
.nav-header .nav-title {
    flex: 1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 80px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 导航搜索框 */
.nav-header .nav-title input {
    display: block;
    width: 100%;
    height: 34px;
    line-height: 34px;
    background-color: #fff;
    padding: 0 12px;
    font-size: 14px;
    font-weight: normal;
    border: none;
    border-radius: 5px;
}

.nav-header .nav-title input::placeholder {
    color: #aaa;
}

/* 导航功能区域 */
.nav-header .nav-box {
    display: flex;
    align-items: center;
    padding: 0 10px;
    min-width: 0;
    max-width: 80px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 999;
}

/* 导航左边功能区域 */
.nav-header .nav-box.nav-left-box {
    left: 0;
    padding-left: 15px;
}

/* 导航右边功能区域 */
.nav-header .nav-box.nav-right-box {
    right: 0;
    padding-right: 15px;
}

.nav-header .spk-btn {
    height: 34px;
    line-height: 34px;
    color: #fff;
    background-color: transparent;
}

.nav-header .spk-btn.hover {
    color: #ff7f14;
    background-color: #fff;
}

/* 导航默认返回按钮 */
.nav-header .nav-back.hover {
    opacity: .5;
}

/* 界面内容展示区域 */
.page-context.fix-header {
    padding-top: 50px;
}

.nav-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    height: 56px;
    background-color: #fff;
    color: #aaa;
    overflow: hidden;
}

.nav-footer .nav-button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    align-content: center;
    transition: all .1s;
}

.nav-footer .nav-button.hover {
    opacity: .5;
}

.nav-footer .nav-button.active {
    color: #ff6e3b;
}

.nav-footer .nav-button .button-icon {
    font-size: 20px;
    height: 20px;
    line-height: 20px;
}

.nav-footer .nav-button .button-text {
    height: 18px;
    line-height: 18px;
    margin-top: 2px;
    font-size: 0.75rem;
}

/* 等级图样式 */

.lv-chart {
    display: flex;
    flex-direction: column;
    height: 200px;
    padding: 30px 8px 20px;
}

.lv-chart .lv-chart-column {
    flex: 1;
    display: grid;
    grid-column-gap: 2px;
}

.lv-chart-column .chart-column {
    grid-row-start: 1;
    grid-row-end: 20;
    border-radius: 2px;
    background: linear-gradient(-45deg, #f0f0f0, #ccc);
    position: relative;
}

.lv-chart-column .chart-column .lv-spot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    position: absolute;
    top: -35px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

.lv-chart-column .chart-column .lv-spot:before {
    content: '';
    display: block;
    height: 0;
    width: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid transparent;
    position: absolute;
    bottom: -5px;
    left: 50%;
    z-index: 2;
    transform: translateX(-50%);
}

.lv-spot .lv-text-cn {
    color: #888;
    font-size: 12px;
    height: 14px;
    line-height: 14px;
}

.lv-spot .lv-text {
    font-size: 14px;
    height: 16px;
    line-height: 16px;
}

.lv-chart-column .chart-column.active:nth-child(-n+4) {
    background: linear-gradient(-45deg, #00ffe2, #008979);
}

.lv-chart-column .chart-column:nth-child(-n+4) .lv-spot:before {
    border-bottom: 5px solid #008979;
}

.lv-chart-column .chart-column.active:nth-child(-n+8):nth-child(n+5) {
    background: linear-gradient(-45deg, #64e2ff, #0094b6);
}

.lv-chart-column .chart-column:nth-child(-n+8):nth-child(n+5) .lv-spot:before {
    border-bottom: 5px solid #0094b6;
}

.lv-chart-column .chart-column.active:nth-child(-n+12):nth-child(n+9) {
    background: linear-gradient(-45deg, #ffb9c1, #de4555);
}

.lv-chart-column .chart-column:nth-child(-n+12):nth-child(n+9) .lv-spot:before {
    border-bottom: 5px solid #de4555;
}

.lv-chart-column .chart-column.active:nth-child(-n+16):nth-child(n+13) {
    background: linear-gradient(-45deg, #ffe5b9, #de8b00);
}

.lv-chart-column .chart-column:nth-child(-n+16):nth-child(n+13) .lv-spot:before {
    border-bottom: 5px solid #de8b00;
}

.lv-chart-column .chart-column:nth-child(1) {
    grid-row-start: 16;
}

.lv-chart-column .chart-column:nth-child(2) {
    grid-row-start: 15;
}

.lv-chart-column .chart-column:nth-child(3) {
    grid-row-start: 14;
}

.lv-chart-column .chart-column:nth-child(4) {
    grid-row-start: 13;
}

.lv-chart-column .chart-column:nth-child(5) {
    grid-row-start: 12;
}

.lv-chart-column .chart-column:nth-child(6) {
    grid-row-start: 11;
}

.lv-chart-column .chart-column:nth-child(7) {
    grid-row-start: 10;
}

.lv-chart-column .chart-column:nth-child(8) {
    grid-row-start: 9;
}

.lv-chart-column .chart-column:nth-child(9) {
    grid-row-start: 8;
}

.lv-chart-column .chart-column:nth-child(10) {
    grid-row-start: 7;
}

.lv-chart-column .chart-column:nth-child(11) {
    grid-row-start: 6;
}

.lv-chart-column .chart-column:nth-child(12) {
    grid-row-start: 5;
}

.lv-chart-column .chart-column:nth-child(13) {
    grid-row-start: 4;
}

.lv-chart-column .chart-column:nth-child(14) {
    grid-row-start: 3;
}

.lv-chart-column .chart-column:nth-child(15) {
    grid-row-start: 2;
}

.lv-chart-column .chart-column:nth-child(16) {
    grid-row-start: 1;
}

.lv-label-box {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    margin-top: 8px;
}

.lv-label-box .lv-label-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    justify-content: center;
    color: #777;
}

.lv-label-item .lv-text {
    font-size: 14px;
    line-height: 1em;
}

/* 按钮样式 */
.spk-btn {
    display: inline-block;
    padding: 8px 12px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all .1s ease-in-out;
}

.spk-btn.hover {
    opacity: .7;
}

.spk-btn.primary {
    color: #fff;
    background-color: #ff7f14;
}

.spk-btn.large {
    padding: 12px;
}

.spk-btn.round {
    border-radius: 40px;
}

.spk-btn.block {
    width: 100%;
}

.spk-btn.primary.disabled, .spk-btn.primary[disabled],
.spk-btn.hover.primary.disabled, .spk-btn.hover.primary[disabled] {
    opacity: 1;
    background-color: #ffbf89;
    cursor: not-allowed;
}



