/* 移动端：照参考站 /mobile/ 的实测尺寸复刻（390 CSS px 视口，@2x 截图逐像素量出）
   页 #081724 / 面板 #131f30 / 底栏 #20232b + 1px #303030 / 行分隔 #39393a
   涨 #35b65a 跌 #ff494a 选中 #0081cc 主按钮 #1976d2 输入下划线 hsla(0,0%,100%,.5) */
body.m-app { background: #081724; font-size: 14px; }
body.m-app #view { position: fixed; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
/* 桌面 styles.css 里那条 6px 页面滚动条是为了对齐参考满幅块 w1434；
   移动端是 fixed #view + 内滚 .m-body，真机用覆盖式滚动条不吃布局宽度，
   不还原的话每个满幅控件都会被吃掉 6px（胶囊 370→364 就是这么来的）。 */
body.m-app ::-webkit-scrollbar { width: 0; height: 0; background-color: transparent; }
.m-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }
body.m-app .site-footer, body.m-app .sim-ribbon { display: none; }
.m-up { color: #35b65a; }
.m-down { color: #ff494a; }
.m-up-bg { background: #35b65a; }
.m-down-bg { background: #ff494a; }
.m-ge { height: 5px; }

.m-header { flex: none; height: 60px; display: flex; align-items: center; padding: 10px 20px; }
.m-header .wordmark { font-size: 17px; letter-spacing: 2px; }
.m-header .wordmark .coin { width: 14px; height: 14px; }
.m-lang { margin-left: auto; background: none; border: 0; color: #c7cce6; font-size: 14px; }
body.m-app .sim-badge { right: 10px; bottom: 62px; padding: 4px 8px; font-size: 10px; line-height: 14px; z-index: 70;
  background: rgba(8, 23, 36, .88); }

.m-tabbar { flex: none; height: 54px; display: flex; background: #20232b; border-top: 1px solid #303030; color: #999; }
.m-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.m-tab i { display: flex; align-items: center; justify-content: center; height: 24px; }
.m-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.m-tab span { font-size: 12px; line-height: 18px; }
.m-tab.on { color: #0081cc; }

.m-swiper { height: 160px; overflow: hidden; position: relative; }
.m-track { display: flex; height: 160px; transition: transform .6s ease; }
.m-slide { flex: none; width: 350px; height: 160px; margin: 0 20px; border-radius: 5px;
  background-size: cover; background-position: center; transform: scale(.96); opacity: .6;
  transition: transform .3s ease, opacity .3s ease; }
.m-slide.on { transform: scale(1); opacity: 1; }
.m-slide[data-photo="1"] { background-image: url("img/hero-1.jpg?v=1"); }
.m-slide[data-photo="2"] { background-image: url("img/hero-2.jpg?v=1"); }
.m-slide[data-photo="3"] { background-image: url("img/hero-3.jpg?v=1"); }
.m-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; }
.m-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.m-dots i.on { background: #fff; }

.m-pill { display: flex; align-items: center; height: 40px; margin: 9px 10px 10px; padding: 0 15px;
  background: #131f30; border-radius: 20px; overflow: hidden; }
.m-pill-ico { flex: none; width: 16px; display: flex; align-items: center; color: #ffc90c; }
.m-pill-body { flex: 1; min-width: 0; height: 40px; overflow: hidden; }
.m-pill-date { flex: none; font-style: normal; font-size: 12px; color: #aaa; padding-left: 8px; }
.m-pill-body b { display: block; font-weight: 400; font-size: 14px; line-height: 40px; padding: 0 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-pill-body b.m-roll { animation: m-roll .5s linear; }
@keyframes m-roll { from { transform: translateY(20px); } to { transform: translateY(-2px); } }
.m-pill-go { flex: none; width: 18px; text-align: right; font-size: 18px; color: #aaa; }

.m-strip { display: flex; background: #131f30; padding: 13px 0; }
.m-strip-col { flex: 1; text-align: center; }
.m-s-pair { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.m-strip-col b { display: block; font-size: 16px; font-weight: 700; }
.m-s-chg { display: block; font-size: 14px; }
.m-strip-col em { display: block; font-style: normal; font-size: 10px; color: #aaa; }

.m-cards { display: flex; padding: 0 10px; }
.m-card-main { flex: 1; height: 85px; margin-right: 10px; background: #131f30; border-radius: 3px;
  display: flex; align-items: center; padding: 0 10px; }
.m-card-txt { display: flex; flex-direction: column; }
.m-card-main b { font-size: 16px; color: #fff; }
.m-card-main i { font-style: normal; font-size: 10px; color: #aaa; margin-top: 2px; }
.m-card-ico { width: 50px; height: 40px; margin-left: auto; display: flex; align-items: center;
  justify-content: center; color: #ffc90c; background: rgba(255, 201, 12, .12); border-radius: 3px; }
.m-card-side { width: 30%; height: 85px; background: #131f30; border-radius: 3px;
  display: flex; flex-direction: column; align-items: center; padding-top: 15px; }
.m-card-ico2 { width: 28px; height: 28px; margin-bottom: 10px; display: flex; align-items: center;
  justify-content: center; color: #00a4d8; background: rgba(0, 164, 216, .14); border-radius: 50%; }
.m-card-side b { font-size: 12px; color: #c7cce6; }

.m-menu { height: 70px; display: flex; align-items: center; background: #131f30; }
.m-menu-item { flex: 1; display: flex; flex-direction: column; align-items: center; line-height: 25px; }
.m-menu-item i { display: flex; align-items: center; justify-content: center; height: 25px; color: #00a4d8; }
.m-menu-item b { font-size: 12px; }

.m-quote { background: #131f30; min-height: 300px; padding-bottom: 6px; }
.m-quotes { background: #081724; }
.m-daybar { height: 5px; background: #39393a; }
.m-qtitle { font-size: 16px; font-weight: 700; color: #fff; line-height: 50px; padding-left: 20px; }
.m-qhead { display: flex; align-items: center; font-size: 13px; font-weight: 700; color: #aaa; padding: 10px 20px; }
.m-qhead span { flex: 1; }
.m-qhead b { flex: 2; text-align: center; font-weight: 400; }
.m-qhead i { width: 80px; text-align: right; font-style: normal; }
.m-qrow { display: flex; align-items: center; padding: 6px 20px; border-top: 1px solid #39393a; }
.m-qc1 { flex: 1; font-size: 16px; font-weight: 700; color: #fff; }
.m-qc2 { flex: 2; text-align: center; }
.m-qc2 b { display: block; font-size: 16px; font-weight: 700; line-height: 24px; }
.m-qc2 span { display: block; font-size: 10px; line-height: 15px; color: #aaa; }
.m-qc3 { width: 80px; text-align: center; }
.m-qc3 span { display: inline-block; width: 80px; height: 26px; line-height: 26px; border-radius: 3px;
  font-size: 14px; color: #fff; }

/* 登录页：参考用自写的 .newform（内容盒 x40 宽 310，灰标签 14/24，行距 75）
   注册·找回页：参考用 Muse 表单（内容盒 x20 宽 350，白标签 16/24，行距 77） */
.m-auth { padding: 0 40px 100px; }
.m-auth-top { flex: none; display: flex; align-items: flex-end; height: 70px; padding: 0 20px 14px; margin: 0 -40px 20px; }
.m-auth-lang { background: none; border: 0; padding: 0; width: 24px; height: 24px; font-size: 24px; line-height: 24px; }
.m-auth-x { margin-left: auto; font-size: 24px; color: #fff; line-height: 24px; }
.m-webhh { margin: 0; text-align: center; font-size: 21px; font-weight: 700; line-height: 50px; color: #fff;
  padding: 20px 0 30px; white-space: nowrap; }
.m-auth--mu { padding: 0 20px 100px; }
.m-auth--mu .m-auth-top { margin: 0 -20px; height: 50px; align-items: center; padding: 0 20px; }
.m-auth--mu.m-forget .m-auth-top { height: 70px; align-items: flex-end; padding: 0 20px 14px; }
.m-auth--mu h1 { font-size: 32px; font-weight: 700; color: #fff; line-height: 1.15; margin: .67em 0; }
.m-tabs { display: flex; margin-bottom: 20px; }
.m-tabs button { flex: none; background: #fff; color: #333; border: 0; font-size: 14px;
  height: 36px; line-height: 36px; padding: 0 10px; white-space: nowrap; }
.m-tabs button:first-child { border-radius: 4px 0 0 4px; }
.m-tabs button:last-child { border-radius: 0 4px 4px 0; }
.m-tabs button.on { background: #409eff; color: #fff; }
.m-onerow { margin-bottom: 15px; }
.m-lbl { line-height: 24px; font-size: 14px; color: hsla(0, 0%, 100%, .68); }
.m-ipt { width: 100%; height: 36px; background: none; border: 0; border-bottom: 1px solid hsla(0, 0%, 100%, .5);
  color: #fff; font-size: 14px; padding: 0; }
.m-ipt::placeholder { color: hsla(0, 0%, 100%, .45); }
.m-code { display: flex; align-items: flex-end; gap: 10px; }
.m-code .m-ipt { flex: 1; }
.m-code button { flex: none; height: 36px; padding: 0 12px; background: #1976d2; color: #fff; border: 0;
  border-radius: 3px; font-size: 14px; }
.m-auth--mu .m-onerow { margin-bottom: 17px; }
.m-auth--mu .m-lbl { font-size: 16px; color: #fff; }
.m-auth--mu.m-forget .m-code button { background: none; color: #1976d2; font-size: 16px; padding: 0 0 4px; }
.m-check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #666; }
.m-check a { color: #4ea3f9; text-decoration: underline; }
.m-btn { display: block; width: 100%; height: 40px; background: #1976d2; color: #fff;
  border: 0; border-radius: 4px; font-size: 16px; }
.m-btn.ghost { background: none; border: 1px solid hsla(0, 0%, 100%, .3); color: #c7cce6; }
.m-links { display: flex; height: 50px; line-height: 50px; font-size: 14px; color: #fff; }
.m-links a + a { margin-left: auto; }
.m-sim-note { font-size: 12px; line-height: 20px; color: #61688a; margin-top: 20px; }

.m-me-card { display: flex; align-items: center; background: #131f30; padding: 15px; }
.m-avatar { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #1b2b3d; color: #ffc90c;
  display: flex; align-items: center; justify-content: center; }
.m-avatar svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.m-me-id { flex: 1; min-width: 0; padding-left: 12px; }
.m-me-id b { display: block; font-size: 16px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-me-id span { display: block; font-size: 12px; color: #aaa; margin-top: 4px; }
.m-me-auth { flex: none; font-size: 12px; color: #0081cc; border: 1px solid #0081cc; border-radius: 3px; padding: 3px 8px; }
.m-me-total { padding: 15px; background: #0f1a28; }
.m-me-total span { display: block; font-size: 12px; color: #aaa; }
.m-me-total b { display: block; font-size: 24px; color: #fff; margin-top: 4px; }
.m-me-total i { font-style: normal; font-size: 12px; color: #aaa; }
.m-me-btns { display: flex; flex-wrap: wrap; background: #131f30; padding: 5px 0; }
.m-me-btn { width: 23%; margin: 5px 1%; text-align: center; font-size: 12px; color: #c7cce6; }
.m-me-btn i { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  margin: 0 auto 4px; border-radius: 6px; background: rgba(0, 164, 216, .14); color: #00a4d8;
  font-style: normal; font-size: 16px; }
.m-me-list { margin-top: 5px; background: #131f30; }
.m-me-hd { font-size: 16px; font-weight: 700; color: #fff; line-height: 50px; padding-left: 15px; }
.m-arow { display: flex; align-items: center; padding: 10px 15px; border-bottom: 3px solid rgba(0, 0, 0, .5); }
.m-arow-l { flex: 1; }
.m-arow-l b { display: block; font-size: 16px; color: #fff; }
.m-arow-l span { display: block; font-size: 12px; color: hsla(0, 0%, 100%, .6); margin-top: 4px; }
.m-arow-r { text-align: right; }
.m-arow-r .amt { display: block; font-size: 18px; color: #fff; }
.m-arow-r span { display: block; font-size: 12px; color: hsla(0, 0%, 100%, .6); margin-top: 4px; }
.m-me-empty { padding: 20px 15px; font-size: 13px; color: #61688a; }
.m-me-out { padding: 20px 40px 30px; }

.m-notice-banner { position: relative; height: 162px; background-size: cover; background-position: center;
  display: flex; align-items: flex-end; }
.m-notice-banner[data-photo="1"] { background-image: url("img/hero-1.jpg?v=1"); }
.m-notice-banner b { font-size: 24px; font-weight: 700; color: #fff; padding: 0 20px 12px; }
.m-notice-x { position: absolute; top: 16px; right: 20px; font-size: 22px; color: #fff; }
/* 公告列表：参考是 Muse-UI mu-list[textline=two-line]
   .mu-list{padding:8px 0} · .mu-item{height:72px;padding:0 16px} · content{padding:0 10px}
   title 16/24 ellipsis · sub-title 14/1.5 #aaa · 右侧 mu-icon-button 48×48 margin-right -12（无分隔线）
   参考的头像实测 36 宽 ×40 高（mu-avatar 声明 40，被 min-width:36 的 action 压扁成椭圆）；
   这里取 36 圆，让文字列起点跟参考的墨迹 62.5 对齐，不还原那个椭圆。 */
.m-notice-list { background: #081724; padding: 8px 0; }
.m-notice-row { display: flex; align-items: center; height: 72px; padding: 0 16px; }
.m-notice-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #1976d2; color: #fff;
  display: flex; align-items: center; justify-content: center; }
.m-notice-ico--amber { background: #ffc107; }
.m-notice-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; }
.m-notice-txt { flex: 1 1 auto; min-width: 1px; padding: 0 10px; }
.m-notice-txt b { display: block; height: 24px; font-weight: 400; font-size: 16px; line-height: 24px; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-notice-txt span { display: block; font-size: 14px; line-height: 1.5; color: #aaa;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-notice-go { flex: none; width: 48px; height: 48px; margin-right: -12px; padding: 12px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; color: #fff; }
.m-notice-go svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
/* 公告详情：参考用 mu-dialog[fullscreen,slide-bottom] 包 mu-appbar(color=primary) + padding:24px 正文 */
.m-dlg { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 60; background: #081724;
  display: flex; flex-direction: column; animation: m-dlg-in .45s cubic-bezier(.23, 1, .32, 1); }
@keyframes m-dlg-in { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
.m-dlg-bar { flex: none; display: flex; align-items: center; height: 56px; background: #1976d2; padding: 0 4px; color: #fff; }
.m-dlg-title { flex: 1; min-width: 1px; padding: 0 12px; font-size: 20px; font-weight: 400; line-height: 56px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-dlg-x { flex: none; width: 48px; height: 48px; padding: 12px; box-sizing: border-box; display: flex;
  align-items: center; justify-content: center; color: #fff; }
.m-dlg-x svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.m-dlg-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 24px; color: #fff; }
.m-dlg-body h1 { font-size: 20px; line-height: 30px; color: #fff; margin: 0 0 8px; }
.m-dlg-meta { font-size: 12px; color: #aaa; margin: 0 0 18px; }
.m-dlg-body p { font-size: 14px; line-height: 26px; color: #c7cce6; margin: 0 0 12px; }
.m-dlg-note { font-size: 12px; line-height: 20px; color: #aaa; }

.m-pill-ico svg, .m-card-ico svg, .m-card-ico2 svg, .m-menu-item i svg { fill: none;
  stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-pill-ico svg { width: 16px; height: 16px; }
.m-card-ico svg { width: 22px; height: 22px; }
.m-card-ico2 svg { width: 18px; height: 18px; }
.m-menu-item i svg { width: 24px; height: 24px; }
.m-coinbar { display: flex; gap: 10px; overflow-x: auto; padding: 8px 12px; background: #131f30;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.m-coinbar::-webkit-scrollbar { display: none; }
.m-coinbar .coin-row { flex: none; white-space: nowrap; padding: 4px 10px; background: #1b2b3d;
  border-radius: 3px; font-size: 13px; display: flex; gap: 8px; }
.m-coinbar .coin-row.on { background: #0081cc; color: #fff; }
.m-coinbar .coin-row .p, .m-coinbar .coin-row .c { display: none; }
body.m-app .tp { background: #081724; border-bottom: 1px solid #39393a; gap: 10px 14px; padding: 10px 15px; }
body.m-app .tp-price { font-size: 20px; }
body.m-app .tp-stat { font-size: 11px; }
body.m-app .chart-wrap { height: 240px; padding: 4px; }
body.m-app .bs-grid { padding: 14px 15px; }
body.m-app .m-book { background: #0f1a28; }
body.m-app .m-book .pane-title { padding: 10px 15px 0; }
body.m-app .m-book .book-head, body.m-app .m-book .book-row { padding-left: 15px; padding-right: 15px; }
