/* H5 report — lanhu pixel align */
:root {
    --blue: #2087e5;
    --blue-tab-muted: #8fcaff;
    --blue-soft-panel: #f2f9ff;
    --bg-page: #f1f1f1;
    --text: #000000;
    --label: #666666;
    --muted: #999999;
    --line: #f0f0f0;
    --border-sub: #dbdbdb;
    --card: #ffffff;
    --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --chrome-h: calc(96px + var(--safe-top));
    /* 日期条约 32px + 下延覆盖白卡上圆角 */
    --date-bar-h: 32px;
    --date-bar-overlap: 12px;
    --blue-into-card: 51px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }

body.yj-h5-redesign {
    font-family: var(--font);
    background: var(--bg-page);
    color: var(--text);
    min-height: 100vh;
    min-height: 100dvh;
}

/* 顶栏随页面滚动，叠在头图上（不 fixed） */
.yj-h5-top {
    position: relative;
    z-index: 5;
    padding: var(--safe-top) 12px 0;
    background: transparent;
}
.yj-h5-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 44px;
}
.yj-h5-nav h1 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 29px;
}

.yj-h5-head-tabs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 35px;
    min-height: 44px;
    padding: 8px 48px 8px 21px;
}
.yj-h5-head-tabs .tab {
    position: relative;
    border: 0;
    background: none;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: var(--blue-tab-muted);
    padding: 0 0 5px;
}
.yj-h5-head-tabs .tab.active {
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    color: #fff;
}
.yj-h5-head-tabs .tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 20px;
    height: 4px;
    margin-left: -10px;
    background: #fff;
    border-radius: 2px;
}
/* 设置与 TAB 文字垂直居中对齐 */
.yj-h5-share {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    padding: 4px;
    line-height: 0;
}
.yj-h5-share img {
    display: block;
    width: 20px;
    height: 19px;
    object-fit: contain;
}

.yj-h5-body {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--bg-page);
}
.yj-h5-panel { display: none; }
.yj-h5-panel.active { display: block; }

/* Hero：蓝底用 ::before，高度只到合计白卡一半 */
.yj-h5-hero {
    position: relative;
    margin-top: calc(-1 * var(--chrome-h));
    padding: calc(var(--chrome-h) + 8px) 10px 0;
    color: #fff;
    background: transparent;
    overflow: visible;
}
.yj-h5-hero::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(var(--chrome-h) + 8px + var(--date-bar-h) + var(--date-bar-overlap) + var(--blue-into-card));
    background-color: var(--blue);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100% auto;
    z-index: 0;
    pointer-events: none;
}
.yj-h5-hero-daily::before {
    background-image: url(../yj-h5/hero-daily.png);
}
.yj-h5-hero-annual::before {
    background-image: url(../yj-h5/hero-annual.png);
}

/* 半透明日期条 + 白卡（上圆角保留） */
.yj-h5-hero-panel {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* 日期 / 年份：半透明条；文字与箭头间距统一 */
.yj-h5-date-trigger,
.yj-h5-year-trigger {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 calc(-1 * var(--date-bar-overlap));
    padding: 6px 12px calc(6px + var(--date-bar-overlap));
    min-height: calc(32px + var(--date-bar-overlap));
    box-sizing: border-box;
    border: 0;
    border-radius: 10px 10px 0 0;
    background: rgba(0, 0, 0, 0.22);
    color: #fff;
    font-size: 14px;
    font-family: var(--font);
    line-height: 20px;
    text-align: left;
    gap: 0;
}
.yj-h5-date-trigger > span,
.yj-h5-year-trigger > span {
    flex: 0 0 auto;
}
.yj-h5-date-trigger .yj-h5-caret-light,
.yj-h5-year-trigger .yj-h5-caret-light {
    width: 6px;
    height: 11px;
    margin-top: 4px;
    margin-left: 16px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* 合计卡：上圆角保留，被半透明条下延盖住漏缝 */
.yj-h5-total-card,
.yj-h5-annual-summary {
    position: relative;
    z-index: 3;
    margin: 0;
    background: #fff;
    border-radius: 10px;
}
.yj-h5-total-card {
    padding: 18px 15px 16px;
}
.yj-h5-total-card-hd {
    display: flex;
    align-items: center;
    gap: 8px;
}
.yj-h5-total-ico {
    width: 22px;
    height: 20px;
    flex-shrink: 0;
}
.yj-h5-total-card .lab {
    font-size: 15px;
    line-height: 21px;
    color: var(--muted);
}
.yj-h5-total-card .val {
    margin-top: 5px;
    font-size: 30px;
    font-weight: 600;
    line-height: 42px;
    color: #000;
    letter-spacing: 0;
}

/* 年度合计：同结构，上圆角保留 */
.yj-h5-annual-summary {
    position: relative;
    padding: 18px 12px 20px;
    box-shadow: none;
}
.yj-h5-annual-summary .title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 3px;
}
.yj-h5-annual-summary .lab {
    font-size: 15px;
    line-height: 21px;
    color: var(--muted);
}
.yj-h5-annual-summary .big {
    margin: 5px 0 0 3px;
    font-size: 30px;
    font-weight: 600;
    line-height: 42px;
    color: #000;
}
.yj-h5-annual-summary .grid-wrap {
    margin-top: 20px;
    background: var(--blue-soft-panel);
    border-radius: 10px;
    padding: 9px 12px 9px 13px;
}
.yj-h5-annual-summary .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
    padding: 11px 7px;
    background: url(../yj-h5/grid-cross.png) center / 100% 100% no-repeat;
}
.yj-h5-annual-summary .grid .n {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    line-height: 28px;
}
.yj-h5-annual-summary .grid .l {
    margin-top: 6px;
    font-size: 12px;
    line-height: 17px;
    color: var(--muted);
}

.yj-h5-daily-body,
.yj-h5-annual-body {
    padding: 0 0 calc(12px + var(--safe-bottom));
}

/* Subtabs：选中白底蓝字，未选中灰描边灰字（设计图像素） */
.yj-h5-subtabs {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 10px 10px;
    background: var(--bg-page);
}
.yj-h5-subtabs .subtab {
    border-radius: 15px;
    border: 1px solid #dbdbdb;
    background: transparent;
    color: #999999;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font);
    line-height: 20px;
}
.yj-h5-subtabs .subtab.active {
    border-color: #ffffff;
    background: #ffffff;
    color: #2087e5;
    font-weight: 500;
    padding: 5px 16px;
}

.yj-h5-metric-card {
    margin: 0 10px 16px;
    background: #fff;
    border-radius: 10px;
    padding: 0 15px;
    overflow: hidden;
}
.yj-h5-metric-list { list-style: none; }
.yj-h5-metric-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 50px;
}
.yj-h5-metric-list li:last-child { border-bottom: 0; }
.yj-h5-metric-list .k { color: #666666; font-weight: 400; }
.yj-h5-metric-list .v { color: #000; font-weight: 500; text-align: right; }
.yj-h5-metric-list .yj-h5-empty,
.yj-h5-accordion .yj-h5-empty {
    display: block;
    text-align: center;
    color: var(--muted);
    padding: 40px 12px;
    border: 0;
    line-height: 1.4;
}

.yj-h5-accordion {
    padding: 12px 10px calc(24px + var(--safe-bottom));
}
.yj-h5-acc-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 11px;
    overflow: hidden;
}
.yj-h5-acc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 51px;
    padding: 0 16px 0 15px;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font);
    line-height: 51px;
    border: 0;
    width: 100%;
    background: #fff;
    color: #000;
    text-align: left;
}
.yj-h5-acc-head img,
.yj-h5-acc-chevron {
    flex-shrink: 0;
    object-fit: contain;
    width: 8px;
    height: 14px;
    transform: rotate(0deg);
    transition: transform 0.28s ease;
}
.yj-h5-acc-item.is-open .yj-h5-acc-head img,
.yj-h5-acc-item.is-open .yj-h5-acc-chevron {
    transform: rotate(90deg);
}
.yj-h5-acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}
.yj-h5-acc-item.is-open .yj-h5-acc-panel {
    grid-template-rows: 1fr;
}
.yj-h5-acc-clip {
    overflow: hidden;
    min-height: 0;
}
.yj-h5-acc-item:not(.is-open) .yj-h5-acc-clip {
    /* 收起静止态彻底藏住首行边框/内边距毛边 */
    visibility: hidden;
}
.yj-h5-acc-item.is-open .yj-h5-acc-clip {
    visibility: visible;
}
.yj-h5-acc-body {
    list-style: none;
    margin: 0;
    padding: 0 15px 12px;
}
.yj-h5-acc-body li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 51px;
    border-top: 1px solid #eee;
    font-size: 16px;
}
.yj-h5-acc-body .k { color: var(--label); }
.yj-h5-acc-body .v { color: #000; font-weight: 500; }
.yj-h5-acc-body li.is-acc { }
.yj-h5-acc-body li.is-acc .k {
    color: var(--blue);
    font-weight: 600;
}
.yj-h5-acc-body li.is-acc .v {
    color: var(--blue);
    font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
    .yj-h5-acc-chevron,
    .yj-h5-acc-panel {
        transition: none;
    }
}

.yj-h5-ptr {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 0;
    overflow: hidden;
    color: var(--blue);
    font-size: 12px;
    opacity: 0;
    transition: height 0.18s ease, opacity 0.18s ease;
    pointer-events: none;
}

.yj-h5-ptr.is-visible {
    opacity: 1;
}

.yj-h5-ptr-icon {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(30, 135, 229, 0.35);
    border-top-color: var(--blue);
    border-radius: 50%;
    transform: rotate(0deg);
}

.yj-h5-ptr.is-ready .yj-h5-ptr-icon,
.yj-h5-ptr.is-loading .yj-h5-ptr-icon {
    animation: yj-h5-ptr-spin 0.7s linear infinite;
}

.yj-h5-ptr.is-pulling .yj-h5-ptr-icon {
    animation: none;
}

@keyframes yj-h5-ptr-spin {
    to {
        transform: rotate(360deg);
    }
}

.yj-h5-toast {
    position: fixed;
    left: 50%;
    top: calc(56px + var(--safe-top));
    z-index: 300;
    transform: translate(-50%, -8px);
    max-width: calc(100% - 48px);
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(17, 24, 32, 0.86);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 6px 18px rgba(17, 24, 32, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.yj-h5-toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media (prefers-reduced-motion: reduce) {
    .yj-h5-toast {
        transition: none;
    }
}

.yj-h5-picker {
    position: fixed;
    inset: 0;
    z-index: 240;
}

.yj-h5-picker[hidden] {
    display: none !important;
}

.yj-h5-picker .mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 32, 0.45);
}

.yj-h5-picker .panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 28px rgba(17, 24, 32, 0.12);
}

.yj-h5-picker .bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid #eef0f3;
}

.yj-h5-picker .bar .title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.yj-h5-picker .bar .btn-cancel,
.yj-h5-picker .bar .btn-ok {
    border: 0;
    background: transparent;
    font-size: 15px;
    font-family: var(--font);
    padding: 8px 4px;
}

.yj-h5-picker .bar .btn-cancel {
    color: #8a8f98;
}

.yj-h5-picker .bar .btn-ok {
    color: var(--blue);
    font-weight: 600;
}

.yj-h5-picker .wheels {
    position: relative;
    display: flex;
    height: 220px;
    overflow: hidden;
    touch-action: pan-y;
}

.yj-h5-picker .highlight {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 50%;
    height: 40px;
    margin-top: -20px;
    border-radius: 8px;
    background: rgba(30, 135, 229, 0.08);
    pointer-events: none;
    z-index: 1;
}

.yj-h5-picker .col {
    position: relative;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
    z-index: 2;
}

.yj-h5-picker .col::-webkit-scrollbar {
    display: none;
}

.yj-h5-picker .col ul {
    list-style: none;
    margin: 0;
    padding: 90px 0;
}

.yj-h5-picker .col li {
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    color: #333;
    scroll-snap-align: center;
    user-select: none;
}

.yj-h5-picker .col li.is-disabled {
    color: #c5c9d0;
}

.yj-h5-date-pill select {
    width: calc(10ch + 22px);
    min-width: 0;
    padding: 0 14px 0 8px;
    background-position: right 4px center;
    field-sizing: content;
}

.yj-h5-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: #f4f5f7;
    font-size: 12px;
    color: #9b9b9b;
}

.yj-h5-meta.is-title {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.35;
}

.yj-h5-meta.is-title #yj-h5-meta-sub {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.yj-h5-meta.is-title .info {
    display: none;
}

.yj-h5-meta .info {
    width: 13px;
    height: 13px;
    border: 1px solid #c5c5c5;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    line-height: 1;
    color: #b0b0b0;
    font-style: italic;
    font-family: Georgia, serif;
}

.yj-h5-panel {
    display: none;
    background: var(--bg-page);
}

.yj-h5-panel.active {
    display: block;
}

.yj-h5-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.yj-h5-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.yj-h5-table th {
    background: var(--th-bg);
    color: var(--text-header);
    font-weight: 600;
    font-size: 11px;
    line-height: 1.35;
    padding: 10px 8px;
    text-align: center;
    white-space: normal;
    min-width: 72px;
    border: none;
}

.yj-h5-table th:first-child,
.yj-h5-table td:first-child {
    text-align: left;
    padding-left: 15px;
    min-width: 88px;
}

.yj-h5-table-daily {
    width: 100%;
}

.yj-h5-table-daily th:nth-child(2),
.yj-h5-table-daily th:nth-child(3),
.yj-h5-table-daily td:nth-child(2),
.yj-h5-table-daily td:nth-child(3) {
    text-align: left;
}

.yj-h5-table-daily td.m,
.yj-h5-table-daily td.v {
    text-align: left;
}

.yj-h5-table td {
    padding: 16px 8px;
    text-align: center;
    color: #333;
    border: none;
    border-bottom: 1px solid #f2f2f2;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    background: #fff;
}

/* 每日盈亏：适中行高，一屏能看完 */
.yj-h5-table.yj-h5-table-daily {
    font-size: 13px;
}

.yj-h5-table.yj-h5-table-daily th,
.yj-h5-table.yj-h5-table-daily td {
    min-width: 0;
    padding: 7px 8px;
    line-height: 1.3;
}

.yj-h5-table.yj-h5-table-daily th {
    padding: 8px;
    font-size: 11px;
}

.yj-h5-table.yj-h5-table-daily th:first-child,
.yj-h5-table.yj-h5-table-daily td:first-child {
    padding-left: 12px;
    min-width: 64px;
}

/* 放在通用 td 规则之后，避免被 center 覆盖 */
.yj-h5-table.yj-h5-table-annual th,
.yj-h5-table.yj-h5-table-annual td {
    text-align: left;
}

.yj-h5-table tbody tr:nth-child(even) td {
    background: var(--stripe);
}

.yj-h5-table tbody tr.is-total td {
    font-weight: 600;
    color: #222;
}

.yj-h5-table th,
.yj-h5-table td {
    cursor: pointer;
}

.yj-h5-table tbody tr.is-row-hl td,
.yj-h5-table .is-col-hl {
    background: var(--blue-soft) !important;
}

.yj-h5-empty td {
    text-align: center !important;
    color: var(--text-muted);
    padding: 56px 12px !important;
    background: #fff !important;
}

.yj-h5-sheet {
    position: fixed;
    inset: 0;
    z-index: 300;
    visibility: hidden;
    pointer-events: none;
}

.yj-h5-sheet.show {
    visibility: visible;
    pointer-events: auto;
}

.yj-h5-sheet .mask {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 32, 0.38);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.yj-h5-sheet.show .mask {
    opacity: 1;
}

.yj-h5-sheet .panel {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: calc(10px + var(--safe-bottom));
    padding: 0;
    background: transparent;
    transform: translateY(12px);
    transition: transform 0.24s ease;
}

.yj-h5-sheet.show .panel {
    transform: translateY(0);
}

.yj-h5-sheet .sheet-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(17, 24, 32, 0.12);
}

.yj-h5-sheet .handle {
    width: 36px;
    height: 4px;
    margin: 8px auto 0;
    border-radius: 2px;
    background: #d8dbe0;
}

.yj-h5-sheet .sheet-title {
    padding: 10px 16px 4px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #8a8f98;
}

.yj-h5-sheet .sheet-form {
    padding: 4px 16px 16px;
}

.yj-h5-sheet .sheet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 2px 0;
    border-bottom: 1px solid #f0f1f3;
}

.yj-h5-sheet .sheet-row[hidden] {
    display: none !important;
}

.yj-h5-sheet .sheet-row:last-of-type {
    border-bottom: none;
}

.yj-h5-sheet .lab {
    font-size: 15px;
    color: #333;
    flex-shrink: 0;
}

.yj-h5-sheet .seg {
    display: flex;
    padding: 2px;
    border: none;
    border-radius: 8px;
    background: #f1f3f6;
}

.yj-h5-sheet .seg-item {
    position: relative;
    cursor: pointer;
}

.yj-h5-sheet .seg-item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.yj-h5-sheet .seg-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
    color: #666;
}

.yj-h5-sheet .seg-item input:checked + span {
    color: var(--blue);
    background: #fff;
    box-shadow: 0 0.5px 1.5px rgba(17, 24, 32, 0.12);
}

.yj-h5-sheet .sheet-select {
    height: 32px;
    min-width: 72px;
    padding: 0 24px 0 12px;
    border: none;
    border-radius: 8px;
    background: #f1f3f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5 9 4.5' fill='none' stroke='%23999' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8px center;
    appearance: none;
    -webkit-appearance: none;
    font-size: 14px;
    font-family: var(--font);
    color: #333;
}

.yj-h5-sheet .sheet-hint {
    margin: 8px 0 14px;
    font-size: 11px;
    line-height: 1.45;
    color: #a0a4ab;
}

.yj-h5-sheet .sheet-save {
    display: block;
    width: 100%;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: var(--blue);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
}

.yj-h5-sheet .sheet-save:disabled {
    opacity: 0.65;
}

.yj-h5-sheet .item {
    display: block;
    width: 100%;
    height: 42px;
    margin: 10px 0 0;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #f1f3f6;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font);
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .yj-h5-sheet .mask,
    .yj-h5-sheet .panel {
        transition: none;
    }
}

.yj-h5-a2hs-tip {
    position: fixed;
    left: calc(12px + var(--safe-left));
    right: calc(12px + var(--safe-right));
    bottom: calc(12px + var(--safe-bottom));
    z-index: 200;
    background: rgba(30, 135, 229, 0.96);
    color: #fff;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    display: none;
}

.yj-h5-a2hs-tip.show {
    display: block;
}

.yj-h5-a2hs-tip .close {
    margin-top: 10px;
    width: 100%;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
}

@media (display-mode: standalone) {
    .yj-h5-a2hs-tip {
        display: none !important;
    }
}

body.yj-h5-login {
    padding: 0;
    background: #fff;
}

.yj-h5-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(86px + var(--safe-top)) 32px calc(40px + var(--safe-bottom));
    background:
        radial-gradient(ellipse 90% 55% at 8% -8%, rgba(255, 176, 120, 0.62) 0%, rgba(255, 210, 170, 0.18) 38%, transparent 62%),
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(120, 168, 255, 0.55) 0%, rgba(180, 210, 255, 0.18) 42%, transparent 64%),
        linear-gradient(180deg, #f7fbff 0%, #ffffff 46%);
}

.yj-h5-login-hero {
    margin-bottom: 54px;
}

.yj-h5-login-hero .hello {
    font-size: 42px;
    font-weight: 800;
    font-style: italic;
    color: #111;
    letter-spacing: 0.4px;
    line-height: 1.05;
}

.yj-h5-login-hero .welcome {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #111;
}

.yj-h5-login-hero h1 {
    margin-top: 4px;
    font-size: 36px;
    font-weight: 800;
    color: #4d8ef5;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.yj-h5-login-form {
    background: transparent;
}

.yj-h5-login-input {
    display: block;
    width: 100%;
    height: 50px;
    margin-bottom: 14px;
    padding: 0 20px;
    border: none;
    border-radius: 25px;
    background: #eef1f7;
    font-size: 15px;
    font-family: var(--font);
    color: #222;
    outline: none;
}

.yj-h5-login-input::placeholder {
    color: #a0a7b4;
}

.yj-h5-login-keep {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 2px 0;
    font-size: 13px;
    color: #8a8a8a;
    user-select: none;
}

.yj-h5-login-keep input {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #4d8ef5;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    position: relative;
}

.yj-h5-login-keep input:checked {
    background: #4d8ef5;
}

.yj-h5-login-keep input:checked::after {
    content: "";
    position: absolute;
    left: 4.5px;
    top: 1.5px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.yj-h5-login-btn {
    display: block;
    width: 100%;
    height: 50px;
    margin-top: 36px;
    border: none;
    border-radius: 25px;
    background: #4d8ef5;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
}

.yj-h5-login-btn:disabled {
    opacity: 0.65;
}

.yj-h5-login-page .yj-h5-alert {
    margin: 0 0 16px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff1f0;
    color: #cf1322;
    font-size: 13px;
}
