:root {
    --page-bg: #FFFFFF;
    --ink: #282828;
    --yellow: #ffd733;
    --yellow-dark: #e5b900;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: #000;
    color: var(--ink);
    font-family: "Kufam", sans-serif;
    line-height: 1.35;
}

button {
    font-family: inherit;
}

#app {
    width: 100%;
    overflow: hidden;
}

.mobile-page {
    width: 3.93rem;
    min-height: 100vh;
    margin: 0 auto;
    background: var(--page-bg);
    direction: rtl;
    overflow: hidden;
    position: relative;
}

.hero {
    position: relative;
    height: 4.47rem;
    padding: .64rem .16rem 0;
    text-align: center;
    overflow: hidden;
    font-size: 0;
    background-image: url(../images/hero-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.menu-btn {
    display: flex;
    position: absolute;
    top: .24rem;
    right: .26rem;
    z-index: 4;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: .035rem;
    width: .22rem;
    height: .22rem;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-btn span {
    display: none;
    width: .16rem;
    height: .015rem;
    border-radius: .02rem;
    background: #777;
}

.menu-btn::before {
    content: "";
    display: block;
    width: .18rem;
    height: .12rem;
    background:
        linear-gradient(#666, #666) 0 0 / 100% .02rem no-repeat,
        linear-gradient(#666, #666) 0 .05rem / 100% .02rem no-repeat,
        linear-gradient(#666, #666) 0 .1rem / 100% .02rem no-repeat;
}

.menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .46);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.menu-scrim.active {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(.035rem);
}

.side-menu {
    position: fixed;
    top: 0;
    right: max(0px, calc((100vw - 3.93rem) / 2));
    z-index: 90;
    width: 2rem;
    height: 100vh;
    min-height: 6.58rem;
    padding: .24rem;
    background: var(--yellow);
    transform: translateX(105%);
    transition: transform .24s ease;
    box-shadow: -.08rem 0 .18rem rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
}

.side-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

.drawer-close {
    top: .24rem;
    right: .2rem;
}

.drawer-nav {
    display: flex;
    min-height: 3.3rem;
    margin-top: .56rem;
    flex-direction: column;
    gap: .4rem;
    direction: ltr;
    align-items: flex-end;
    flex: 1;
}

.drawer-nav a {
    color: #1f1f1f;
    font-size: .15rem;
    font-weight: 500;
    line-height: 1.15;
    text-decoration: none;
    text-align: end;
}

.drawer-nav a:first-child {
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: .08rem;
    direction: rtl;
}

.drawer-brand {
    height: 0.24rem;
    width: auto;
    margin-left: auto;
}

.hero h1 span {
    display: block;
}

.hero-kicker {
    margin: .16rem 0 0;
    font-size: .1rem;
    color: #555;
}

.hero h1 {
    position: relative;
    z-index: 2;
    width: 3.61rem;
    margin: .32rem auto 0;
    color: #252525;
    font-size: .28rem;
    font-weight: 900;
    line-height: 1.05;
}

.hero-desc {
    position: absolute;
    left: .16rem;
    right: .16rem;
    bottom: .28rem;
    z-index: 2;
    margin: 0;
    color: #9c9c9c;
    font-size: .09rem;
    line-height: 1.55;
}

.arrow-down {
    width: 0.2rem;
    height: 0.2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}


.swiper-pagination-bullet {
    width: .05rem;
    height: .05rem;
    border-radius: 50%;
    background: #8D9299;
    opacity: 1;
    pointer-events: all;
}

.swiper-pagination-bullet-active {
    background: var(--yellow-dark);
}

.rank-section,
.content-section {
    padding: .48rem 0 .18rem;
    background: var(--page-bg);
}

.rank-section h2,
.content-section h2 {
    position: relative;
    margin: 0 auto .28rem;
    color: #242424;
    font-size: .3rem;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    direction: ltr;
}

.rank-section h2 {
    direction: rtl;
}

.rank-section h2::after,
.content-section h2::after {
    content: "";
    display: block;
    width: .36rem;
    height: .04rem;
    margin: .14rem auto 0;
    border-radius: .04rem;
    background: var(--yellow);
}

.tabs {
    display: flex;
    width: 100%;
    padding: 0 .16rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar {
    display: none;
}

.tabs button {
    flex: 0 0 auto;
    width: .8rem;
    padding: .08rem .1rem;
    border: 0;
    border-radius: 999rem;
    background: transparent;
    color: #555;
    font-size: .1rem;
    line-height: 1.25;
    text-align: right;
}

.tabs button:not([data-width="0"]) {
    width: attr(data-width rem);
}

.tabs button.active {
    background: var(--yellow);
    color: #111;
    font-weight: 800;
}

.section-copy {
    width: 3.61rem;
    margin: .08rem auto .24rem;
    color: #777;
    font-size: .09rem;
    line-height: 1.55;
    text-align: right;
}

.table-scroll {
    width: 3.93rem;
    overflow-x: auto;
    direction: rtl;
    -webkit-overflow-scrolling: touch;
}

.ranking-table {
    width: 3.93rem;
    border-collapse: collapse;
    table-layout: fixed;
    direction: rtl;
    font-size: .09rem;
}

.ranking-table.movement-table {
    width: max-content;
}

.ranking-table th {
    height: .3rem;
    background: #1f1f1f;
    color: #fff;
    font-weight: 400;
    text-align: center;
}

.ranking-table td {
    height: .56rem;
    color: #333;
    background: #fff;
}

.ranking-table th,
.ranking-table td {
    vertical-align: middle;
    text-align: center;
}

.ranking-table td.table-cell {
    padding: 0 .06rem;
}

.ranking-table tbody tr:nth-child(even) td {
    background: #F7F7F8;
}

.ranking-table tbody tr .comments-cell {
    font-weight: 800;
    font-size: .12rem;
    line-height: 140%;
}

.score-table tbody tr td:nth-child(-n + 2),
.movement-table tbody tr td:nth-child(-n + 2),
.ranking-table tbody tr td:nth-child(-n + 2) {
    background: #F2F2F2;
}

.score-table th:nth-child(1),
.score-table td:nth-child(1) {
    width: .48rem;
}

.score-table th:nth-child(2),
.score-table td:nth-child(2) {
    width: 1.2rem;
}

.movement-table th:nth-child(1),
.movement-table td:nth-child(1) {
    width: .48rem;
}

.movement-table th:nth-child(2),
.movement-table td:nth-child(2) {
    width: 1.2rem;
}

.movement-table th:nth-child(3),
.movement-table td:nth-child(3) {
    width: .78rem;
}

.movement-table th:nth-child(4),
.movement-table td:nth-child(4) {
    width: .7rem;
    text-align: right;
}

.broker-cell {
    padding: 0 .08rem;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.12rem;
}

.broker-icon {
    max-width: 100%;
    max-height: 90%;
    margin: auto;
}

.broker-info {
    display: flex;
    min-height: .56rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.table-cell.broker-cell {
    padding: 0 .08rem;
    text-align: right;
    vertical-align: middle;
}

.broker-cell strong,
.table-cell.broker-cell strong {
    display: block;
    color: #1f1f1f;
    font-size: .11rem;
    font-weight: 500;
    line-height: 1.1;
}

.broker-button {
    min-width: .64rem;
    height: .22rem;
    padding: 0 .08rem;
    border: .01rem solid #cfcfcf;
    border-radius: .06rem;
    color: #000;
    font-size: .08rem;
    cursor: pointer;
    background: #FFD733;
    border-color: #FFD733;
}

.ranking-table td.broker-cell {
    line-height: normal;
}

.reason-cell {
    padding: 0 .08rem;
    color: #555;
    font-size: .09rem;
    line-height: 1.35;
}

.positive,
.negative {
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.12rem;
    gap: 0.04rem;
}

.positive strong,
.negative strong {
    margin-top: .05rem;
    direction: ltr;
}


.rank-pill {
    display: inline-grid;
    min-width: .16rem;
    height: .16rem;
    place-items: center;
    border-radius: .04rem;
    background: #222;
    color: #fff;
    font-size: .09rem;
    font-weight: 700;
    line-height: .16rem;
    font-family: "PingFang SC", "Microsoft YaHei", "Microsoft Jhenghei", -apple-system, system-ui, "Hiragino Sans GB", STHeitiTC-Light, tahoma, arial, sans-serif;
}

.rank-pill.ad {
    min-width: .2rem;
    background: transparent;
    color: #282828;
    border: .004rem solid #282828;
    font-size: .08rem;
    border-radius: .04rem;
    font-weight: 400;
}

.banner-section {
    padding: .06rem .16rem .38rem;
    background: var(--page-bg);
}

.banner-swiper {
    position: relative;
    width: 3.61rem;
    overflow: hidden;
}

.swiper-slide-con {
    background: #FFD733;
    padding: .16rem .2rem;
    border-radius: .12rem;
    display: flex;
    flex-direction: column;
    height: 1.1rem;
    color: #000;
}

.swiper-slide-con h2 {
    font-weight: 700;
    font-size: .12rem;
    line-height: 140%;
    text-align: center;
}

.swiper-slide-con p {
    font-weight: 400;
    font-size: .09rem;
    line-height: 140%;
    text-align: center;
    margin: 0.04rem 0 0.08rem;
}

.yellow-cta a,
.swiper-slide-con a {
    text-decoration: none;
    font-size: 0;
    max-width: max-content;
    margin: 0 auto;
    display: block;
}

.swiper-slide-con button {
    font-weight: 700;
    font-size: .09rem;
    line-height: 140%;
    background: #282828;
    color: #fff;
    border-radius: 999rem;
    padding: .05rem .4rem;
    width: max-content;
    cursor: pointer;
    margin: auto;
}

.banner-swiper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: .1rem;
}

.banner-swiper .swiper-slide {
    padding: .02rem;
}

.banner-swiper .swiper-pagination,
.yellow-swiper .swiper-pagination {
    position: absolute;
    top: .13rem;
    pointer-events: none;
}

.content-section {
    padding-left: .16rem;
    padding-right: .16rem;
    padding-bottom: 0.4rem;
}

.rights-section {
    padding-bottom: 0;
}

.rights-section h2 {
    margin-bottom: 0;
}

.metric-card,
.complaint-box,
.warning-box {
    width: 3.29rem;
    margin: .12rem auto;
    padding: .14rem .16rem;
    border-radius: .08rem;
    background: var(--yellow);
}

.metric-card {
    position: relative;
    padding: .24rem;
}

.metric-card img {
    position: absolute;
    left: .08rem;
    top: .08rem;
}

.metric-card strong {
    display: block;
    color: #2a2a2a;
    font-size: .26rem;
    font-weight: 900;
    line-height: 1;
    direction: ltr;
    text-align: right;
    transition: transform .25s ease, opacity .25s ease;
    will-change: contents;
}

.metric-card strong span {
    font-size: .14rem;
    margin-right: .02rem;
}

.metric-card h3,
.complaint-box h3,
.warning-box h3 {
    margin: .12rem 0 .04rem;
    color: #2a2a2a;
    font-size: .12rem;
    font-weight: 800;
}

.warning-box h3 {
    font-size: .1rem;
    font-weight: 500;
    margin: .12rem 0 .16rem;
    color: #282828;
}

.metric-card p {
    margin: 0;
    color: #7b6415;
    font-size: .09rem;
    line-height: 1.5;
}

.complaint-box,
.warning-box {
    padding: .12rem .16rem .14rem;
    background: #fff9e6;
}

.complaint-box h3 {
    margin: 0 0 .08rem;
    font-weight: 500;
    font-size: 0.1rem;
}

.complaint-row {
    display: grid;
    grid-template-columns: .24rem 1fr .48rem;
    gap: .1rem;
    align-items: center;
    padding: .08rem 0 .06rem;
    border-top: 0;
    color: #777;
    font-size: .09rem;
}

.complaint-row img {
    width: 0.24rem;
    height: 0.24rem;
}

.complaint-row strong {
    color: #333;
    font-size: .16rem;
    text-align: left;
    font-weight: 800;
}

.complaint-main {
    min-width: 0;
}

.complaint-main>span {
    display: block;
    color: #8D9299;
    font-size: .09rem;
    line-height: 1.2;
    text-align: right;
}

.progress-track {
    position: relative;
    width: 100%;
    height: .04rem;
    margin-top: .08rem;
    border-radius: .04rem;
    background: #e1e1e1;
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--yellow);
    transition: width 1.1s cubic-bezier(.22, 1, .36, 1);
}

.warning-row {
    display: grid;
    grid-template-columns: .2rem .32rem 1fr .32rem;
    gap: .1rem;
    align-items: center;
    padding: .12rem 0;
    border-bottom: .01rem dashed #ddd;
}

.warning-row:last-child {
    border-bottom: none;
}

.warning-row img {
    width: .32rem;
    height: .32rem;
    border-radius: .04rem;
}

.warning-row strong {
    display: block;
    color: #222;
    font-size: .14rem;
    line-height: 1;
    font-weight: 700;
    font-family: "PingFang SC", "Microsoft YaHei", "Microsoft Jhenghei", -apple-system, system-ui, "Hiragino Sans GB", STHeitiTC-Light, tahoma, arial, sans-serif;
}

.warning-row p {
    margin: .06rem 0 0;
    color: #777;
    font-size: .09rem;
}

.warning-row svg {
    width: 0.32rem;
    height: auto;
}

.yellow-con {
    margin: .08rem auto;
    padding: .18rem .16rem .16rem;
}

.yellow-cta {
    border-radius: .1rem;
    background: var(--yellow);
    text-align: center;
}

.yellow-cta a {
    padding: .18rem .16rem .16rem;
}

.yellow-cta h2 {
    margin: 0;
    color: #202020;
    font-size: .12rem;
    font-weight: 800;
    line-height: 1.45;
}

.yellow-cta button {
    display: inline-block;
    min-width: 1.24rem;
    height: .28rem;
    margin: .12rem auto 0;
    padding: 0 .24rem;
    border: 0;
    border-radius: .16rem;
    background: #222;
    color: #fff;
    font-size: .09rem;
    font-weight: 800;
    cursor: pointer;
}

.experts-section h2 {
    width: 2.9rem;
}

.experts-section {
    background: var(--page-bg);
    padding-top: 0.56rem;
}

.expert-card {
    display: flex;
    flex-direction: column;
    margin: 0 .16rem;
    padding-bottom: 0.16rem;
    border-bottom: .01rem dashed #ddd;
}

.expert-card:last-child {
    margin-top: 0.16rem;
}

.expert-card-top {
    display: flex;
    gap: .12rem;
    align-items: start;
}

.expert-card img {
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    object-fit: cover;
}

.expert-card h3 {
    margin-bottom: 0.08rem;
    color: #222;
    font-size: .16rem;
    font-weight: 700;
    font-family: "PingFang SC", "Microsoft YaHei", "Microsoft Jhenghei", -apple-system, system-ui, "Hiragino Sans GB", STHeitiTC-Light, tahoma, arial, sans-serif;
}

.expert-card strong {
    display: block;
    color: #FFD733;
    font-size: .12rem;
    border: .004rem solid #FFD733;
    background: #FFD7331A;
    font-weight: 600;
    padding: .04rem .08rem .02rem;
    border-radius: .04rem;
    width: max-content;
}

.expert-card span {
    display: block;
    margin-top: .08rem;
    color: #282828;
    font-weight: 300;
    font-size: .1rem;
    line-height: 140%;
    text-align: right;
    font-family: "PingFang SC", "Microsoft YaHei", "Microsoft Jhenghei", -apple-system, system-ui, "Hiragino Sans GB", STHeitiTC-Light, tahoma, arial, sans-serif;
}

.expert-quote {
    margin: .12rem 0 0;
    color: #8D9299;
    font-size: .11rem;
    line-height: 1.55;
}

.page-footer {
    padding: .36rem .32rem .42rem;
    background: #202020;
    color: #aaa;
    font-size: .09rem;
    line-height: 1.65;
}

.page-footer h2 {
    margin: 0 0 .12rem;
    color: #8D9299;
    font-size: .09rem;
    font-weight: 600;
}

.page-footer p {
    padding: 0 0 .16rem;
}

.page-footer .footer-note {
    color: #8D9299;
    font-size: .1rem;
    font-weight: 600;
    padding: .16rem 0;
    border-top: .01rem dashed #BFC2C7;
    border-bottom: .01rem dashed #BFC2C7;
}

.page-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .12rem .22rem;
    padding-top: .22rem;
}

.page-footer a {
    color: #d4d4d4;
    font-size: .11rem;
    text-decoration: underline;
}

.footer-logo {
    height: 0.32rem;
    width: auto;
    margin: 0.4rem auto 0;
    display: block;
}

/* Figma market-insights block appended at the bottom of the mobile page. */
.market-insights-section {
    padding: .08rem .24rem .06rem;
    background: #fff;
    color: #282828;
    direction: rtl;
}

.market-section-heading {
    margin-bottom: 0.28rem;
    text-align: center;
}

.market-section-heading h2 {
    margin: 0;
    color: #282828;
    font-size: .3rem;
    font-weight: 700;
    line-height: 1.2;
}

.market-section-heading::after {
    content: "";
    display: block;
    width: .4rem;
    height: .04rem;
    margin: .06rem auto 0;
    border-radius: .04rem;
    background: var(--yellow);
}

.market-trading-panel h3,
.market-gold-panel h3 {
    margin: 0 0 .22rem;
    color: #282828;
    font-size: .2rem;
    font-weight: 600;
    line-height: 1.05;
    text-align: right;
}

.market-trading-panel {
    display: flex;
    flex-direction: column;
}

.market-icon {
    width: 100%;
    height: auto;
}

.market-currency-list {
    display: flex;
    width: 3.45rem;
    margin: 0 auto;
    flex-direction: column;
    gap: .18rem;
}

.market-currency-row {
    display: flex;
    width: 3.45rem;
    height: .16rem;
    align-items: center;
    direction: ltr;
}

.market-currency-bar {
    flex: 0 0 1.72rem;
    width: 1.72rem;
    height: .16rem;
    margin-right: .16rem;
    overflow: hidden;
    border-radius: .04rem;
    background: #f1f1f1;
}

.market-currency-bar span {
    display: block;
    height: 100%;
    border-radius: .4rem 5rem 5rem .4rem;
    background: var(--yellow);
    transition: width 1.1s cubic-bezier(.22, 1, .36, 1);
}

.market-currency-label {
    display: flex;
    width: 1.57rem;
    height: .16rem;
    align-items: center;
    justify-content: space-between;
    color: #282828;
    direction: ltr;
}

.market-pair {
    display: inline-flex;
    align-items: center;
    gap: .04rem;
    white-space: nowrap;
}

.market-pair b {
    font-size: .12rem;
    font-weight: 600;
    line-height: 1;
}

.market-currency-label strong {
    font-family: "PingFang SC", "Microsoft YaHei", "Microsoft Jhenghei", -apple-system, system-ui, "Hiragino Sans GB", STHeitiTC-Light, tahoma, arial, sans-serif;
    font-size: .16rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.market-flags {
    display: inline-flex;
    width: .23rem;
    height: .16rem;
    align-items: center;
    overflow: visible;
    margin-right: 0.06rem;
}

.market-flags img {
    width: 0.22rem;
    height: 0.16rem;
}

.market-gold-panel {
    margin-top: .39rem;
    padding-top: .36rem;
    border-top: .01rem solid #d7d7d7;
    display: flex;
    flex-direction: column;
}

.market-gold-panel h3 {
    margin: 0 0 .03rem;
}

.market-gold-img {
    width: 100%;
    height: auto;
    margin-top: 0.32rem;
}

.market-gold-caption {
    margin: 0;
    color: #a6a9ad;
    font-size: .09rem;
    line-height: 1.4;
    text-align: right;
}

.market-outlook {
    width: 3.45rem;
    margin: .16rem auto 0;
    text-align: right;
}

.market-outlook h4 {
    margin: 0 0 .08rem;
    color: #282828;
    font-size: .14rem;
    font-weight: 600;
    line-height: 1.4;
}

.market-outlook p {
    margin: 0;
    color: #474747;
    font-size: .09rem;
    line-height: 1.45;
}

.market-field-card-grid {
    display: grid;
    width: 3.45rem;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .08rem;
    direction: ltr;
}

.market-field-card {
    display: flex;
    min-height: 1.13rem;
    padding: .24rem;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    border-radius: .16rem;
    text-align: right;
}

.market-field-card strong {
    display: block;
    font-family: "PingFang SC", "Microsoft YaHei", "Microsoft Jhenghei", -apple-system, system-ui, "Hiragino Sans GB", STHeitiTC-Light, tahoma, arial, sans-serif;
    font-size: .26rem;
    font-weight: 800;
    line-height: 1.15;
    direction: ltr;
}

.market-field-card p {
    margin: .06rem 0 0;
    font-size: .1rem;
    line-height: 1.4;
}

.market-field-card--risk {
    border: .01rem solid #ff5a52;
    background: #fff5f5;
    color: #ef4d45;
    padding: .24rem .16rem;
}

.market-field-card--visits {
    background: #fffbed;
    color: #282828;
}


.download-app {
    position: fixed;
    right: -.2rem;
    bottom: 1rem;
    z-index: 99;
    transform: scale(.6);
    display: flex;
}

.download-app a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-app .download-icon {
    width: 1.46rem;
    display: block;
    height: auto;
    margin-bottom: 0.06rem;
}

.download-app div {
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 0.2rem;
    width: 1.66rem;
    height: .32rem;
    background-color: rgb(255 245 238 / 1);
    border-radius: 28px;
    color: rgb(40 40 40 / 1);
}

.download-icon-sm {
    width: .24rem;
    margin-left: .12rem;
}

.close-icon {
    width: .2rem;
    height: .2rem;
    display: block;
    position: relative;
    cursor: pointer;
}

.close-icon::before {
    content: '';
    position: absolute;
    width: .2rem;
    height: .2rem;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4l12 12M16 4L4 16' fill='none' stroke='%23ccc' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


@media (min-width: 768px) {
    .download-app {
        transform: scale(.5);
    }

    .mobile-page {
        box-shadow: 0 0 .3rem rgba(0, 0, 0, .35);
    }
}