:root {
  font-size: min(0.128vw, 1.066666667px);
  color-scheme: light;
  --red: #ff2a2e;
  --text: #1a1a1a;
  --muted: #858687;
  --line: #e4e7ed;
  --icon: #606266;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body {
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.mobile-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}

.page {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.page[hidden] {
  display: none;
}

.login-top {
  width: 100%;
  height: 72rem;
}

.login-content {
  padding: 62rem;
}

.login-title {
  margin: 0 0 174rem;
  color: #1a1a1a;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 52rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 5rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login-item {
  width: 100%;
  margin-bottom: 40rem;
}

.field-row,
.detail-row {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0 solid var(--line);
  border-bottom-width: 1rem;
  cursor: text;
}

.field-row {
  padding: 0 28rem;
}

.login-account-row {
  height: 80rem;
}

.login-password-row {
  height: 66rem;
}

.field-icon {
  flex: 0 0 32rem;
  width: 32rem;
  height: 34rem;
  margin-right: 32rem;
  color: var(--icon);
}

.login-account-row .field-icon {
  flex-basis: 26rem;
  width: 26rem;
  margin-right: 17rem;
}

.login-password-row .field-icon {
  flex-basis: 30rem;
  width: 30rem;
  margin-right: 28rem;
}

.field-icon svg,
.detail-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.field-row input,
.detail-row input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #303133;
  font-size: 28rem;
  line-height: 1.4;
}

input::placeholder {
  color: var(--muted);
  opacity: 1;
}

input::-ms-reveal,
input::-ms-clear {
  display: none;
}

.forgot-link {
  align-self: flex-end;
  color: #999;
  font-size: 28rem;
  line-height: 40rem;
  text-decoration: none;
}

.pill-button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--red);
  font-size: 26rem;
  letter-spacing: 3rem;
  text-decoration: none;
  cursor: pointer;
}

.login-button,
.secondary-button {
  width: 483rem;
  height: 87rem;
  margin-right: auto;
  margin-left: auto;
  border-radius: 44rem;
}

.login-button {
  margin-top: 108rem;
}

.secondary-button {
  margin-top: 20rem;
  background: #9e9e9e;
}

.eye-button {
  display: grid;
  flex: 0 0 44rem;
  width: 44rem;
  height: 44rem;
  margin: 0;
  padding: 7rem 4rem;
  place-items: center;
  border: 0;
  background: transparent;
  color: #c4c8cf;
  cursor: pointer;
}

.eye-button svg {
  width: 30rem;
  height: 22rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eye-button.is-visible svg circle {
  fill: currentColor;
}

.login-password-row .eye-button {
  transform: translateX(8rem);
}

.form-page .eye-button {
  transform: translateX(8rem);
}

.top-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 88rem;
  padding: 0 32rem;
  background: var(--red);
}

.top-bar h1 {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #fff;
  font-size: 36rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 3rem;
}

.back-button {
  display: grid;
  flex: 0 0 36rem;
  width: 36rem;
  height: 36rem;
  place-items: center;
  color: #fff;
}

.back-button svg {
  width: 36rem;
  height: 36rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-content {
  padding: 34rem 31rem 31rem;
  background: #fff;
}

.form-prompt {
  width: 100%;
  margin: 0 0 92rem;
  color: #1a1a1a;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 38rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 3rem;
}

.detail-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.detail-row {
  height: 68rem;
  margin-bottom: 68rem;
  padding: 0 28rem;
}

.detail-icon {
  flex: 0 0 33rem;
  width: 33rem;
  height: 38rem;
  margin-right: 25rem;
  color: var(--icon);
}

.person-edit-icon {
  height: 36rem;
}

.phone-icon {
  flex-basis: 26rem;
  width: 26rem;
  height: 37rem;
  margin-right: 30rem;
}

.shield-icon {
  height: 40rem;
}

.wide-button {
  width: 100%;
  height: 88rem;
  margin-top: 23rem;
  border-radius: 44rem;
}

.code-button {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 28rem;
  white-space: nowrap;
  cursor: pointer;
}

.code-button:disabled {
  color: #999;
  cursor: default;
}

.home-page {
  min-height: 100vh;
  padding-bottom: 116rem;
  background: #f5f5f5;
}

.home-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15rem 48rem;
  background: var(--red);
}

.home-brand {
  display: block;
  flex: 0 0 100rem;
  width: 100rem;
  height: 100rem;
  object-fit: contain;
}

.stock-search {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  height: 64rem;
  margin: 0;
  padding: 0 18rem;
  border-radius: 11rem;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(31rem);
  margin-right: 74rem;
}

.stock-search svg {
  flex: 0 0 31rem;
  width: 31rem;
  height: 31rem;
  margin-right: 86rem;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
}

.stock-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 30rem;
  font-weight: 700;
  line-height: 1;
}

.stock-search input::placeholder {
  color: #fff;
}

.stock-search input::-webkit-search-cancel-button {
  display: none;
}

.home-content {
  padding: 32rem;
  padding-bottom: 10rem;
  background: #f5f5f5;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 289rem;
  margin-bottom: 32rem;
  overflow: hidden;
  border-radius: 10rem;
  background: #fff;
}

.hero-track,
.hero-slide {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  object-fit: fill;
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.carousel-status {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 12rem;
  margin-bottom: 32rem;
  border-radius: 12rem;
  background: #fff;
}

.carousel-current {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: #b8b8b8;
  transform: translate(-50%, -50%);
}

.carousel-more {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 20rem;
}

.carousel-more i {
  display: block;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: #d2d2d2;
}

.carousel-more i:nth-child(2) {
  width: 10rem;
  height: 10rem;
  margin: 0 5rem;
}

.quick-navigation {
  display: flex;
  width: 100%;
  margin-bottom: 64rem;
  padding: 16rem 26rem;
  border-radius: 11rem;
  background: #fff;
}

.quick-item {
  display: flex;
  width: 25%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #080808;
  cursor: pointer;
}

.quick-item img {
  display: block;
  width: auto;
  height: 54rem;
  margin-bottom: 19rem;
  object-fit: contain;
}

.quick-item:first-child img {
  width: 45rem;
}

.quick-item:nth-child(2) img {
  width: 54rem;
}

.quick-item:nth-child(3) img {
  width: 58rem;
}

.quick-item:nth-child(4) img {
  width: 56rem;
}

.quick-item span {
  font-size: 24rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2rem;
  white-space: nowrap;
}

.market-statistics {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 76rem;
}

.market-card {
  width: 30%;
  padding: 40rem 7rem;
  border-radius: 13rem;
  background: #fff;
  box-shadow: 0 7rem 10rem rgba(0, 0, 0, 0.1);
  text-align: center;
}

.market-card h2 {
  margin: 0;
  color: #111;
  font-size: 26rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.market-card strong {
  display: block;
  margin: 15rem 0;
  color: #059b00;
  font-size: 36rem;
  font-weight: 700;
  line-height: 1.1;
}

.market-card div {
  display: flex;
  justify-content: space-around;
  color: #059b00;
  font-size: 24rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.market-card.is-up strong,
.market-card.is-up div {
  color: #ec2228;
}

.market-card.is-down strong,
.market-card.is-down div {
  color: #059b00;
}

.holdings-title {
  width: 160rem;
  height: 48rem;
  margin: 0 0 33rem;
  border-bottom: 7rem solid #f32224;
  color: #000;
  font-size: 40rem;
  font-weight: 700;
  line-height: 48rem;
  white-space: nowrap;
}

.hot-list {
  overflow: hidden;
  border-radius: 6rem;
}

.hot-list-title {
  display: flex;
  align-items: center;
  padding: 11rem 31rem 17rem;
  background: #fdf4ed;
  box-shadow: 0 4rem 9rem rgba(0, 0, 0, 0.03);
  color: #896d61;
}

.hot-list-title svg {
  width: 29rem;
  height: 29rem;
  fill: none;
  stroke: #343434;
  stroke-width: 3;
}

.hot-list-title span {
  margin-left: 20rem;
  font-size: 32rem;
  font-weight: 700;
  letter-spacing: 4rem;
}

.hot-list-body {
  padding: 0 22rem;
  background: #fff;
}

.stock-row {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 37rem 0;
  border-bottom: 1rem solid #f5f5f5;
  color: #171717;
  font-size: 32rem;
  font-weight: 500;
  line-height: 1.2;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  text-align: left;
}

.stock-row[hidden],
.stock-empty[hidden] {
  display: none;
}

.stock-row span:first-child {
  width: 50%;
}

.stock-row span:nth-child(2),
.stock-row span:nth-child(3) {
  width: 25%;
  color: #ec2228;
  text-align: right;
}

.stock-row span.down {
  color: #009e0a;
}

.stock-row.is-down span:nth-child(2) {
  color: #009e0a;
}

.stock-row span.up {
  color: #ec2228;
}

.stock-row.stock-head {
  color: #909090;
  font-size: 26rem;
  font-weight: 500;
}

.stock-row.stock-head span {
  color: inherit;
}

.stock-empty {
  margin: 0;
  padding: 48rem 0;
  color: #999;
  font-size: 26rem;
  text-align: center;
}

.more-stocks {
  display: flex;
  width: calc(100% - 46rem);
  height: 82rem;
  align-items: center;
  justify-content: center;
  margin: 0 23rem 22rem;
  padding: 0;
  border: 0;
  background: #f2f2f2;
  color: var(--red);
  font-size: 32rem;
  cursor: pointer;
}

.bottom-tabs {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 110rem;
  padding-top: 7rem;
  border-top: 1rem solid #eee;
  background: #fff;
  box-shadow: 0 -2rem 8rem rgba(0, 0, 0, 0.025);
}

.bottom-tab {
  display: flex;
  width: 20%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #656565;
  cursor: pointer;
}

.bottom-tab img,
.bottom-tab svg {
  display: block;
  width: 43rem;
  height: 43rem;
  margin-bottom: 2rem;
  object-fit: contain;
}

.bottom-tab svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-tab.is-active {
  color: var(--red);
}

.bottom-tab.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}

.bottom-tab.is-active img {
  filter: brightness(0) saturate(100%) invert(24%) sepia(95%) saturate(5227%) hue-rotate(350deg) brightness(105%) contrast(103%);
}

.bottom-tab span {
  font-size: 24rem;
  line-height: 1.2;
}

.module-page {
  min-height: 100vh;
  padding-bottom: 110rem;
  background: #f5f5f5;
}

.module-header {
  position: sticky;
  z-index: 8;
  top: 0;
  display: grid;
  width: 100%;
  height: 88rem;
  grid-template-columns: 70rem 1fr 70rem;
  align-items: center;
  padding: 0 20rem;
  background: var(--red);
  color: #fff;
}

.module-header h1 {
  margin: 0;
  font-size: 34rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}

.module-back,
.module-home {
  display: grid;
  width: 54rem;
  height: 54rem;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.module-home {
  margin-left: auto;
}

.module-back svg,
.module-home svg {
  width: 35rem;
  height: 35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.module-home svg {
  width: 31rem;
  height: 31rem;
  fill: currentColor;
  stroke: currentColor;
}

.module-content {
  min-height: calc(100vh - 198rem);
  padding: 28rem 30rem 40rem;
  background: #f5f5f5;
}

.module-tabs[hidden] {
  display: none;
}

.module-search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 70rem;
  margin-bottom: 28rem;
  padding: 0 22rem;
  border-radius: 12rem;
  background: #fff;
  box-shadow: 0 3rem 9rem rgba(0, 0, 0, 0.04);
}

.module-search svg {
  width: 30rem;
  height: 30rem;
  margin-right: 18rem;
  fill: none;
  stroke: #8a8a8a;
  stroke-width: 3;
  stroke-linecap: round;
}

.module-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #222;
  font-size: 27rem;
}

.module-search button,
.compact-button {
  min-width: 90rem;
  height: 48rem;
  padding: 0 18rem;
  border: 0;
  border-radius: 24rem;
  background: var(--red);
  color: #fff;
  font-size: 23rem;
  cursor: pointer;
}

.section-card {
  width: 100%;
  margin-bottom: 28rem;
  overflow: hidden;
  border-radius: 12rem;
  background: #fff;
  box-shadow: 0 3rem 11rem rgba(0, 0, 0, 0.045);
}

.section-heading {
  display: flex;
  min-height: 76rem;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 24rem;
  border-bottom: 1rem solid #f0f0f0;
  color: #202020;
  font-size: 29rem;
  font-weight: 700;
}

.section-heading small {
  color: #999;
  font-size: 21rem;
  font-weight: 400;
}

.stock-table {
  width: 100%;
  background: #fff;
}

.stock-table-row {
  display: grid;
  width: 100%;
  min-height: 93rem;
  grid-template-columns: minmax(0, 1.55fr) 0.8fr 0.8fr;
  align-items: center;
  padding: 15rem 23rem;
  border: 0;
  border-bottom: 1rem solid #f1f1f1;
  background: #fff;
  text-align: left;
  font-size: 27rem;
}

.stock-table-row:last-child {
  border-bottom: 0;
}

.stock-table-row.is-head {
  min-height: 68rem;
  color: #999;
  font-size: 23rem;
}

.ranking-order {
  justify-self: stretch;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--red);
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.stock-table-row > :nth-child(2),
.stock-table-row > :nth-child(3) {
  text-align: right;
}

.stock-name {
  min-width: 0;
  color: #171717;
  font-weight: 600;
}

.stock-name small {
  display: block;
  margin-top: 7rem;
  color: #999;
  font-size: 20rem;
  font-weight: 400;
}

.rise {
  color: #ed2028;
}

.fall {
  color: #009d0a;
}

.rank-row {
  display: grid;
  width: 100%;
  min-height: 100rem;
  grid-template-columns: 62rem minmax(0, 1fr) 120rem;
  align-items: center;
  padding: 10rem 24rem;
  border: 0;
  border-bottom: 1rem solid #f1f1f1;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.rank-number {
  width: 42rem;
  height: 42rem;
  border-radius: 8rem;
  background: #f4f4f4;
  color: #777;
  font-size: 24rem;
  line-height: 42rem;
  text-align: center;
}

.rank-row:nth-child(-n+3) .rank-number {
  background: #fff0ed;
  color: var(--red);
  font-weight: 700;
}

.rank-meta {
  text-align: right;
}

.rank-meta strong,
.rank-meta small {
  display: block;
}

.rank-meta strong {
  font-size: 26rem;
}

.rank-meta small {
  margin-top: 6rem;
  color: #999;
  font-size: 20rem;
}

.hot-list-card {
  border-radius: 0;
}

.hot-rank-row {
  min-height: 102rem;
  grid-template-columns: 70rem minmax(0, 1fr) 105rem 135rem;
}

.hot-list-loading {
  background: #fff;
}

.hot-rank-skeleton {
  display: grid;
  min-height: 102rem;
  grid-template-columns: 70rem minmax(0, 1fr) 105rem 135rem;
  align-items: center;
  padding: 10rem 24rem;
  border-bottom: 1rem solid #f1f1f1;
  column-gap: 10rem;
}

.hot-rank-skeleton i {
  display: grid;
  width: 42rem;
  height: 42rem;
  place-items: center;
  border-radius: 8rem;
  background: #f4f4f4;
  color: #bbb;
  font-size: 22rem;
  font-style: normal;
}

.hot-rank-skeleton span {
  display: block;
  height: 24rem;
  border-radius: 6rem;
  background: #edf0f3;
  animation: detail-loading-pulse 1.1s ease-in-out infinite alternate;
}

.hot-rank-skeleton span:nth-of-type(2),
.hot-rank-skeleton span:nth-of-type(3) {
  height: 20rem;
}

.hot-stock-name,
.hot-percent {
  font-size: 27rem;
  font-weight: 700;
}

.hot-percent {
  text-align: right;
}

.hot-heat {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6rem;
  white-space: nowrap;
}

.hot-heat strong {
  font-size: 25rem;
}

.hot-heat small {
  color: #777;
  font-size: 20rem;
}

.segmented-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 26rem;
  border-radius: 10rem;
  background: #fff;
}

.segmented-tabs button {
  position: relative;
  height: 72rem;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: #555;
  font-size: 26rem;
  cursor: pointer;
}

.segmented-tabs button.is-active {
  color: var(--red);
  font-weight: 700;
}

.segmented-tabs button.is-active::after {
  position: absolute;
  right: 32%;
  bottom: 0;
  left: 32%;
  height: 5rem;
  border-radius: 3rem;
  background: var(--red);
  content: "";
}

.empty-state {
  display: grid;
  min-height: 310rem;
  place-items: center;
  padding: 45rem 20rem;
  color: #aaa;
  font-size: 25rem;
  text-align: center;
}

.empty-state svg {
  display: block;
  width: 104rem;
  height: 104rem;
  margin: 0 auto 22rem;
  fill: none;
  stroke: #d7d7d7;
  stroke-width: 2;
}

.load-more {
  width: 100%;
  height: 72rem;
  border: 0;
  background: #fff;
  color: #888;
  font-size: 24rem;
  cursor: pointer;
}

.market-load-status {
  display: flex;
  width: 100%;
  min-height: 76rem;
  align-items: center;
  justify-content: center;
  gap: 12rem;
  padding: 0 20rem;
  border: 0;
  border-top: 1rem solid #f1f1f1;
  background: #fafafa;
  color: #8a8a8a;
  font-size: 23rem;
  cursor: pointer;
}

.market-load-status.is-loading,
.market-load-status.is-finished {
  cursor: default;
}

.market-load-status.is-error {
  color: var(--red);
}

.market-load-status.is-loading span {
  width: 27rem;
  height: 27rem;
  border: 3rem solid #dedede;
  border-top-color: #aaa;
  border-radius: 50%;
  animation: market-loading-spin 700ms linear infinite;
}

@keyframes market-loading-spin {
  to { transform: rotate(360deg); }
}

.date-switcher {
  display: grid;
  height: 82rem;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  margin-bottom: 28rem;
  border-radius: 12rem;
  background: #fff;
  text-align: center;
}

.date-switcher button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 24rem;
  cursor: pointer;
}

.date-switcher strong {
  color: #222;
  font-size: 27rem;
}

.dragon-card {
  border-radius: 0;
}

.dragon-head,
.dragon-main {
  display: grid;
  grid-template-columns: 1.28fr 1fr 0.72fr 0.9fr;
  align-items: center;
  column-gap: 8rem;
}

.dragon-head {
  min-height: 62rem;
  padding: 0 8rem;
  border-bottom: 1rem solid #eee;
  color: #999;
  font-size: 22rem;
}

.dragon-head span:nth-child(n+2) {
  text-align: right;
}

.dragon-row {
  display: block;
  width: 100%;
  padding: 18rem 8rem;
  border: 0;
  border-bottom: 1rem solid #eee;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.dragon-main {
  font-size: 23rem;
}

.dragon-main > span:first-child {
  color: #333;
  font-size: 26rem;
  font-weight: 600;
}

.dragon-main > :nth-child(n+2) {
  text-align: right;
}

.dragon-reasons {
  display: block;
  margin-top: 10rem;
  color: var(--red);
  font-size: 20rem;
  line-height: 1.45;
}

.dragon-reasons > span {
  display: block;
}

.message-grid,
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22rem;
}

.message-card,
.action-card {
  display: flex;
  min-height: 145rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12rem;
  background: #fff;
  color: #222;
  font-size: 26rem;
  text-decoration: none;
  box-shadow: 0 3rem 11rem rgba(0, 0, 0, 0.045);
  cursor: pointer;
}

.message-card svg,
.action-card svg {
  width: 55rem;
  height: 55rem;
  margin-bottom: 15rem;
  fill: none;
  stroke: var(--red);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-hero {
  padding: 30rem;
  border-radius: 14rem;
  background: linear-gradient(140deg, #ff3b3e, #e91e2b);
  color: #fff;
  box-shadow: 0 10rem 24rem rgba(255, 42, 46, 0.22);
}

.account-user {
  display: flex;
  align-items: center;
  margin-bottom: 30rem;
}

.account-avatar {
  display: grid;
  width: 70rem;
  height: 70rem;
  margin-right: 18rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 31rem;
  font-weight: 700;
}

.account-user strong,
.account-user small {
  display: block;
}

.account-user strong {
  font-size: 27rem;
}

.account-user small {
  margin-top: 6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21rem;
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24rem 16rem;
}

.account-metrics span,
.account-metrics strong {
  display: block;
}

.account-metrics span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 21rem;
}

.account-metrics strong {
  margin-top: 5rem;
  font-size: 32rem;
}

.account-metrics strong + small {
  display: block;
  margin-top: 4rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17rem;
}

.account-hero .account-metrics .rise,
.account-hero .account-metrics .fall {
  color: #fff;
}

.trade-actions {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 28rem;
  overflow: hidden;
  border-radius: 12rem;
  background: #eee;
}

.trade-actions button {
  height: 104rem;
  padding: 0 4rem;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 24rem;
  cursor: pointer;
}

.trade-actions button:first-child,
.trade-actions button:nth-child(2) {
  color: var(--red);
  font-weight: 700;
}

.form-card {
  padding: 26rem;
  border-radius: 12rem;
  background: #fff;
}

.form-group {
  margin-bottom: 25rem;
}

.form-group > label,
.form-group > span {
  display: block;
  margin-bottom: 11rem;
  color: #555;
  font-size: 23rem;
}

.form-input,
.form-select {
  width: 100%;
  height: 70rem;
  padding: 0 19rem;
  border: 1rem solid #e4e4e4;
  border-radius: 9rem;
  outline: 0;
  background: #fafafa;
  color: #222;
  font-size: 26rem;
}

.form-input:focus,
.form-select:focus {
  border-color: #ff898b;
  background: #fff;
}

.trade-quote-status {
  min-height: 28rem;
  margin-top: 9rem;
  color: #777;
  font-size: 18rem;
  line-height: 1.5;
}

.trade-quote-status.is-loading {
  color: #a27755;
}

.trade-quote-status.is-error {
  color: var(--red);
}

.primary-action,
.secondary-action {
  display: flex;
  width: 100%;
  height: 78rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 39rem;
  background: var(--red);
  color: #fff;
  font-size: 27rem;
  text-decoration: none;
  cursor: pointer;
}

.secondary-action {
  margin-top: 18rem;
  background: #8c8c8c;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14rem;
  margin-bottom: 26rem;
}

.amount-options button {
  height: 58rem;
  padding: 0;
  border: 1rem solid #ececec;
  border-radius: 8rem;
  background: #fff;
  color: #555;
  font-size: 22rem;
  cursor: pointer;
}

.amount-options button.is-active {
  border-color: var(--red);
  background: #fff5f5;
  color: var(--red);
}

.amount-options button:disabled,
.primary-action:disabled,
.position-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.trade-availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24rem;
  padding: 17rem 19rem;
  border-radius: 9rem;
  background: #fff5f5;
  color: #666;
  font-size: 21rem;
}

.trade-availability strong {
  color: var(--red);
  font-size: 25rem;
}

.trade-rule {
  margin: 22rem 0;
  padding: 17rem 19rem;
  border-radius: 9rem;
  background: #f6f7f9;
  color: #777;
  font-size: 19rem;
  line-height: 1.65;
}

.rule-box {
  margin: 25rem 0;
  padding: 22rem;
  border-radius: 10rem;
  background: #fff8f2;
  color: #8d6f60;
  font-size: 22rem;
  line-height: 1.9;
}

.profile-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18rem;
  margin-top: 27rem;
}

.profile-actions .action-card {
  min-height: 122rem;
  font-size: 23rem;
}

.profile-actions .action-card svg {
  width: 42rem;
  height: 42rem;
}

.settings-list {
  overflow: hidden;
  border-radius: 12rem;
  background: #fff;
}

.settings-forms {
  display: grid;
  gap: 24rem;
}

.settings-row {
  display: flex;
  width: 100%;
  height: 86rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 24rem;
  border: 0;
  border-bottom: 1rem solid #eee;
  background: #fff;
  color: #222;
  font-size: 26rem;
  cursor: pointer;
}

.settings-row::after {
  color: #bbb;
  content: "›";
  font-size: 36rem;
}

.info-list {
  overflow: hidden;
  border-radius: 12rem;
  background: #fff;
}

.information-page {
  display: grid;
  gap: 24rem;
  padding-bottom: 12rem;
}

.information-page button {
  font: inherit;
}

.information-hero {
  position: relative;
  display: flex;
  min-height: 252rem;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 29rem 30rem 27rem;
  border: 0;
  border-radius: 22rem;
  background: linear-gradient(135deg, #ff4549 0%, #ff292e 56%, #e9142a 100%);
  box-shadow: 0 16rem 34rem rgba(231, 30, 48, 0.22);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.information-hero::after {
  position: absolute;
  right: -55rem;
  bottom: -72rem;
  width: 238rem;
  height: 238rem;
  border: 1rem solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.information-hero-glow {
  position: absolute;
  top: -88rem;
  right: -38rem;
  width: 230rem;
  height: 230rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2rem);
}

.information-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.information-hero-top b {
  padding: 7rem 13rem;
  border: 1rem solid rgba(255, 255, 255, 0.4);
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.13);
  font-size: 18rem;
  font-weight: 600;
  letter-spacing: 1rem;
}

.information-hero-top time {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18rem;
}

.information-hero > strong {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  max-width: 84%;
  margin-top: 24rem;
  overflow: hidden;
  font-size: 35rem;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.information-hero-summary {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  max-width: 82%;
  margin-top: 13rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.information-read-more {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9rem;
  margin-top: auto;
  padding-top: 16rem;
  font-size: 20rem;
  font-weight: 600;
}

.information-read-more b {
  display: grid;
  width: 28rem;
  height: 28rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #ef202f;
  font-size: 18rem;
}

.information-hero-lines {
  position: absolute;
  z-index: 1;
  right: 27rem;
  bottom: 29rem;
  display: flex;
  align-items: flex-end;
  gap: 7rem;
  opacity: 0.48;
}

.information-hero-lines i {
  display: block;
  width: 5rem;
  border-radius: 4rem;
  background: #fff;
}

.information-hero-lines i:nth-child(1) { height: 29rem; }
.information-hero-lines i:nth-child(2) { height: 47rem; }
.information-hero-lines i:nth-child(3) { height: 37rem; }

.information-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16rem;
}

.information-shortcuts > button {
  display: grid;
  min-width: 0;
  grid-template-columns: 48rem minmax(0, 1fr) 14rem;
  align-items: center;
  gap: 13rem;
  padding: 21rem 19rem;
  border: 1rem solid #f0f1f4;
  border-radius: 17rem;
  background: #fff;
  box-shadow: 0 7rem 20rem rgba(35, 42, 55, 0.055);
  color: #1d2433;
  text-align: left;
  cursor: pointer;
}

.information-shortcuts > button > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5rem;
}

.information-shortcuts > button strong {
  font-size: 23rem;
  font-weight: 700;
  white-space: nowrap;
}

.information-shortcuts > button small {
  overflow: hidden;
  color: #9297a2;
  font-size: 16rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.information-shortcuts > button > b {
  color: #c3c6ce;
  font-size: 28rem;
  font-weight: 400;
}

.information-shortcut-icon {
  display: grid;
  width: 48rem;
  height: 48rem;
  place-items: center;
  border-radius: 15rem;
  background: #fff0f0;
  color: #ff3037;
}

.information-shortcut-icon.is-gold {
  background: #fff6e4;
  color: #f3a31b;
}

.information-shortcut-icon svg {
  width: 29rem;
  height: 29rem;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.information-shortcut-icon.is-gold svg {
  fill: none;
}

.information-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 9rem 2rem 0;
}

.information-section-title div {
  display: flex;
  flex-direction: column;
}

.information-section-title small {
  color: #ff3439;
  font-size: 14rem;
  font-weight: 700;
  letter-spacing: 2.7rem;
}

.information-section-title h2 {
  margin: 4rem 0 0;
  color: #1d2433;
  font-size: 30rem;
  line-height: 1.2;
}

.information-section-title > span {
  color: #a1a5ae;
  font-size: 18rem;
}

.information-categories {
  display: flex;
  gap: 12rem;
  overflow-x: auto;
  padding-bottom: 2rem;
  scrollbar-width: none;
}

.information-categories::-webkit-scrollbar {
  display: none;
}

.information-categories button {
  flex: 0 0 auto;
  min-width: 83rem;
  padding: 10rem 18rem;
  border: 1rem solid #e9ebef;
  border-radius: 999rem;
  background: #fff;
  color: #707580;
  font-size: 19rem;
  cursor: pointer;
}

.information-categories button.is-active {
  border-color: #ff3338;
  background: #ff3338;
  box-shadow: 0 6rem 14rem rgba(255, 42, 46, 0.18);
  color: #fff;
  font-weight: 600;
}

.information-feed {
  overflow: hidden;
  border: 1rem solid #f0f1f4;
  border-radius: 18rem;
  background: #fff;
  box-shadow: 0 8rem 24rem rgba(35, 42, 55, 0.045);
}

.information-card {
  display: grid;
  width: 100%;
  grid-template-columns: 45rem minmax(0, 1fr) 16rem;
  align-items: center;
  gap: 16rem;
  padding: 24rem 22rem;
  border: 0;
  border-bottom: 1rem solid #f0f1f4;
  background: #fff;
  color: #222936;
  text-align: left;
  cursor: pointer;
}

.information-card:last-child {
  border-bottom: 0;
}

.information-card-number {
  align-self: flex-start;
  padding-top: 3rem;
  color: #d6d9df;
  font-size: 21rem;
  font-weight: 700;
  letter-spacing: 1rem;
}

.information-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.information-card-meta {
  display: flex;
  align-items: center;
  gap: 12rem;
  margin-bottom: 8rem;
}

.information-card-meta b {
  padding: 4rem 9rem;
  border-radius: 6rem;
  background: #fff0f0;
  color: #fb3238;
  font-size: 15rem;
  font-weight: 600;
}

.information-card-meta time {
  color: #a5a9b1;
  font-size: 16rem;
}

.information-card-body > strong {
  overflow: hidden;
  font-size: 24rem;
  font-weight: 700;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.information-card-body > span:last-child {
  display: -webkit-box;
  margin-top: 7rem;
  overflow: hidden;
  color: #8b909a;
  font-size: 18rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.information-card-arrow {
  color: #c6c9d0;
  font-size: 29rem;
}

.information-up-to-date {
  display: flex;
  min-height: 112rem;
  align-items: center;
  justify-content: center;
  gap: 15rem;
  color: #6f7480;
}

.information-up-to-date > span {
  display: grid;
  width: 38rem;
  height: 38rem;
  place-items: center;
  border-radius: 50%;
  background: #effaf4;
  color: #23a868;
  font-size: 20rem;
  font-weight: 700;
}

.information-up-to-date.is-empty > span {
  background: #f4f5f7;
  color: #a1a5ad;
}

.information-up-to-date div {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.information-up-to-date strong {
  font-size: 20rem;
}

.information-up-to-date small {
  color: #a2a6ae;
  font-size: 17rem;
}

.information-empty {
  display: flex;
  min-height: 230rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1rem dashed #e1e4e9;
  border-radius: 20rem;
  background: #fff;
  color: #858a94;
}

.information-empty > span {
  margin-bottom: 14rem;
  padding: 6rem 13rem;
  border-radius: 999rem;
  background: #f4f5f7;
  font-size: 16rem;
}

.information-empty strong {
  color: #454b56;
  font-size: 25rem;
}

.information-empty p {
  margin: 9rem 0 0;
  font-size: 18rem;
}

.information-skeleton {
  display: flex;
  min-height: 252rem;
  flex-direction: column;
  gap: 15rem;
  padding: 30rem;
  border-radius: 22rem;
  background: linear-gradient(135deg, #ffe3e4, #fff0f0);
}

.information-skeleton span,
.information-skeleton i,
.information-feed-skeleton i {
  display: block;
  border-radius: 999rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.45));
  background-size: 220% 100%;
  animation: information-shimmer 1.3s linear infinite;
}

.information-skeleton span { width: 92rem; height: 28rem; }
.information-skeleton i:nth-child(2) { width: 75%; height: 32rem; margin-top: 17rem; }
.information-skeleton i:nth-child(3) { width: 57%; height: 32rem; }
.information-skeleton i:nth-child(4) { width: 40%; height: 18rem; margin-top: 12rem; }

.information-feed-skeleton {
  display: grid;
  gap: 18rem;
  padding: 25rem;
}

.information-feed-skeleton i {
  height: 25rem;
  background-color: #f3f4f6;
}

.article-detail {
  overflow: hidden;
  border: 1rem solid #f0f1f4;
  border-radius: 20rem;
  background: #fff;
  box-shadow: 0 9rem 28rem rgba(35, 42, 55, 0.055);
}

.article-detail header {
  padding: 37rem 31rem 29rem;
  background: linear-gradient(180deg, #fff6f6 0%, #fff 100%);
}

.article-detail-category {
  display: inline-block;
  padding: 6rem 12rem;
  border-radius: 999rem;
  background: #ff3439;
  color: #fff;
  font-size: 16rem;
  font-weight: 600;
}

.article-detail h2 {
  margin: 18rem 0 10rem;
  color: #1d2433;
  font-size: 35rem;
  line-height: 1.35;
}

.article-detail time {
  color: #a1a5ae;
  font-size: 17rem;
}

.article-detail-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16rem;
  margin-top: 12rem;
  color: #858b97;
  font-size: 16rem;
}

.article-detail-source a {
  flex: none;
  color: #5969ef;
  font-weight: 600;
  text-decoration: none;
}

.article-detail header p {
  margin: 24rem 0 0;
  padding: 18rem 20rem;
  border-left: 4rem solid #ff3439;
  border-radius: 0 10rem 10rem 0;
  background: #f7f8fa;
  color: #777d88;
  font-size: 20rem;
  line-height: 1.7;
}

.article-detail-rule {
  display: flex;
  align-items: center;
  gap: 14rem;
  padding: 0 31rem;
}

.article-detail-rule span {
  height: 1rem;
  flex: 1;
  background: #eef0f3;
}

.article-detail-rule b {
  color: #a1a5ae;
  font-size: 16rem;
  font-weight: 500;
}

.article-detail-body {
  min-height: 190rem;
  padding: 28rem 31rem 36rem;
  color: #3d434e;
  font-size: 23rem;
  line-height: 1.9;
}

.article-detail-body p {
  margin: 0 0 22rem;
}

.article-detail-body p:last-child {
  margin-bottom: 0;
}

.article-detail footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20rem 31rem;
  border-top: 1rem solid #f0f1f4;
  background: #fafbfc;
  color: #ff3439;
  font-size: 18rem;
  font-weight: 600;
}

.article-detail footer small {
  color: #a5a9b1;
  font-size: 16rem;
  font-weight: 400;
}

@keyframes information-shimmer {
  to { background-position: -220% 0; }
}

.info-item {
  display: block;
  padding: 24rem;
  border-bottom: 1rem solid #eee;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.message-list {
  padding-top: 16rem;
}

.message-read-all {
  display: block;
  margin: 0 18rem 12rem auto;
}

.message-unread h3::before {
  margin-right: 9rem;
  color: var(--red);
  content: "●";
  font-size: 14rem;
}

.info-item h3 {
  margin: 0 0 10rem;
  color: #222;
  font-size: 27rem;
}

.info-item p {
  margin: 0;
  color: #888;
  font-size: 22rem;
  line-height: 1.55;
}

.info-item time {
  display: block;
  margin-top: 11rem;
  color: #bbb;
  font-size: 19rem;
}

.info-item h3 small {
  color: #999;
  font-size: 19rem;
  font-weight: 400;
}

.order-status {
  color: #777;
}

.status-filled {
  color: #00a310;
}

.status-submitted,
.status-partiallyfilled {
  color: #e59000;
}

.status-cancelled,
.status-rejected {
  color: #999;
}

.position-list {
  display: grid;
  gap: 18rem;
  margin-top: 24rem;
}

.position-card {
  overflow: hidden;
  border-radius: 12rem;
  background: #fff;
  box-shadow: 0 4rem 14rem rgba(0, 0, 0, 0.04);
}

.position-title {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 12rem;
  padding: 22rem 24rem 12rem;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.position-title strong {
  color: #222;
  font-size: 27rem;
}

.position-title small {
  color: #999;
  font-size: 19rem;
}

.position-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17rem 12rem;
  padding: 12rem 24rem 22rem;
}

.position-metrics span,
.position-metrics strong {
  display: block;
}

.position-metrics span {
  margin-bottom: 5rem;
  color: #999;
  font-size: 18rem;
}

.position-metrics strong {
  color: #333;
  font-size: 21rem;
}

.position-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1rem solid #eee;
}

.position-actions button {
  height: 62rem;
  border: 0;
  background: #fff;
  color: var(--red);
  font-size: 22rem;
  cursor: pointer;
}

.position-actions button + button {
  border-left: 1rem solid #eee;
}

.detail-quote {
  padding: 26rem;
  border-radius: 12rem;
  background: #fff;
}

.detail-quote-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.detail-quote-head h2 {
  margin: 0;
  font-size: 31rem;
}

.detail-price strong {
  display: block;
  font-size: 45rem;
}

.detail-price span {
  display: block;
  margin-top: 5rem;
  font-size: 23rem;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18rem 10rem;
  margin-top: 28rem;
  padding-top: 24rem;
  border-top: 1rem solid #eee;
}

.quote-grid span,
.quote-grid strong {
  display: block;
}

.quote-grid span {
  color: #999;
  font-size: 20rem;
}

.quote-grid strong {
  margin-top: 5rem;
  font-size: 23rem;
}

.fake-chart {
  position: relative;
  height: 270rem;
  margin-top: 25rem;
  overflow: hidden;
  border-radius: 10rem;
  background: linear-gradient(to bottom, #fff 0, #fff 24%, #f3f3f3 25%, #fff 26%, #fff 49%, #f3f3f3 50%, #fff 51%, #fff 74%, #f3f3f3 75%, #fff 76%);
}

.fake-chart svg {
  position: absolute;
  inset: 18rem;
  width: calc(100% - 36rem);
  height: calc(100% - 36rem);
}

.order-book {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18rem;
  margin-top: 24rem;
}

.order-book > div {
  padding: 18rem;
  border-radius: 10rem;
  background: #fff;
}

.order-level {
  display: grid;
  grid-template-columns: 45rem 1fr 1fr;
  padding: 7rem 0;
  color: #777;
  font-size: 20rem;
}

.order-level span:not(:first-child) {
  text-align: right;
}

.neutral {
  color: #777;
}

.detail-loading {
  overflow: hidden;
  min-height: 560rem;
  background: #fff;
}

.detail-loading-hero {
  display: grid;
  min-height: 210rem;
  align-content: center;
  gap: 22rem;
  padding: 35rem 30rem;
  background: var(--red);
}

.detail-loading-hero i,
.detail-loading-grid i {
  display: block;
  border-radius: 7rem;
  animation: detail-loading-pulse 1.1s ease-in-out infinite alternate;
}

.detail-loading-hero i {
  width: 180rem;
  height: 48rem;
  background: rgba(255, 255, 255, 0.46);
}

.detail-loading-hero i + i {
  width: 240rem;
  height: 25rem;
  background: rgba(255, 255, 255, 0.32);
}

.detail-loading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30rem 24rem;
  padding: 34rem 30rem 24rem;
}

.detail-loading-grid i {
  height: 35rem;
  background: #edf0f3;
}

.detail-loading p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12rem;
  margin: 28rem 0;
  color: #999;
  font-size: 22rem;
}

.detail-loading p span {
  width: 20rem;
  height: 20rem;
  border: 3rem solid #eee;
  border-top-color: var(--red);
  border-radius: 50%;
  animation: detail-loading-spin 0.8s linear infinite;
}

@keyframes detail-loading-pulse {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

@keyframes detail-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hot-rank-skeleton span,
  .detail-loading-hero i,
  .detail-loading-grid i,
  .detail-loading p span {
    animation: none;
  }
}

.detail-hero {
  position: relative;
  min-height: 210rem;
  padding: 35rem 30rem;
  border-radius: 0;
  background: var(--red);
  color: #fff;
}

.detail-hero > strong {
  display: block;
  font-size: 55rem;
  font-weight: 500;
}

.detail-change {
  display: flex;
  gap: 20rem;
  margin-top: 18rem;
  color: #fff;
  font-size: 27rem;
}

.detail-hero .rise,
.detail-hero .fall {
  color: #fff;
}

.detail-hero > button {
  position: absolute;
  right: 26rem;
  bottom: 25rem;
  display: grid;
  justify-items: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22rem;
  cursor: pointer;
}

.detail-hero > button span {
  display: grid;
  width: 32rem;
  height: 32rem;
  margin-bottom: 5rem;
  place-items: center;
  border: 2rem solid #fff;
  font-size: 27rem;
  line-height: 1;
}

.detail-stat-card,
.detail-market-card {
  padding: 25rem;
  background: #fff;
}

.detail-stat-card {
  margin-bottom: 20rem;
}

.detail-grid {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.chart-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -5rem 0 15rem;
}

.chart-tabs button {
  height: 54rem;
  border: 0;
  border-bottom: 4rem solid transparent;
  background: #fff;
  color: #333;
  font-size: 24rem;
}

.chart-tabs button.is-active {
  border-bottom-color: var(--red);
  color: var(--red);
  font-weight: 600;
}

.minute-chart {
  overflow: hidden;
  border: 1rem solid #edf0f3;
  background: #fff;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12rem;
  padding: 10rem;
  color: #777;
  font-size: 18rem;
}

.minute-chart svg {
  display: block;
  width: 100%;
  height: auto;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 24.5%, #edf0f3 25%, transparent 25.5%);
}

.minute-chart svg text {
  fill: #777;
  font-size: 14px;
}

.chart-reference {
  stroke: #8ea3b6;
  stroke-dasharray: 7 7;
  stroke-width: 1.5;
}

.chart-area {
  fill: rgba(70, 170, 240, 0.28);
}

.chart-price-line {
  fill: none;
  stroke: #22aeee;
  stroke-width: 2;
}

.chart-average-line {
  fill: none;
  stroke: #f3cd00;
  stroke-width: 2;
}

.kline-chart svg {
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 24.5%, #edf0f3 25%, transparent 25.5%);
}

.ma-line {
  fill: none;
  stroke-width: 1.7;
}

.ma-five {
  stroke: #f2bf00;
}

.ma-ten {
  stroke: #22aeee;
}

.ma-twenty {
  stroke: #c842c8;
}

.detail-hero > button.is-watched span {
  border-radius: 50%;
}

.detail-market-card .order-book {
  border-top: 1rem solid #eee;
}

.detail-actions {
  grid-template-columns: repeat(3, 1fr);
}

.demo-banner,
.simulation-notice {
  margin-bottom: 22rem;
  padding: 14rem 18rem;
  border: 1rem solid #ffe0ad;
  border-radius: 9rem;
  background: #fff8e9;
  color: #9a6b19;
  font-size: 20rem;
  line-height: 1.55;
}

.simulation-notice {
  display: flex;
  align-items: flex-start;
  gap: 12rem;
  border-color: #ffd4d5;
  background: #fff5f5;
  color: #8a5556;
}

.simulation-notice strong {
  flex: 0 0 auto;
  padding: 2rem 9rem;
  border-radius: 10rem;
  background: var(--red);
  color: #fff;
  font-size: 17rem;
}

@media (max-width: 420px) {
  .module-content {
    padding-right: 24rem;
    padding-left: 24rem;
  }
}

.module-content.is-support-content {
  padding: 18rem;
  background: #eef1f5;
}

.support-chat {
  display: grid;
  min-height: calc(100vh - 190rem);
  max-height: calc(100vh - 130rem);
  grid-template-rows: auto minmax(300rem, 1fr) auto;
  overflow: hidden;
  border: 1rem solid #e8ebf0;
  border-radius: 22rem;
  background: #f3f5f8;
  box-shadow: 0 10rem 30rem rgba(32, 43, 63, 0.07);
}

.support-chat-head {
  display: flex;
  min-height: 88rem;
  align-items: center;
  gap: 15rem;
  padding: 15rem 21rem;
  border-bottom: 1rem solid #eceef2;
  background: #fff;
}

.support-chat-avatar {
  position: relative;
  display: grid;
  width: 52rem;
  height: 52rem;
  flex: 0 0 52rem;
  place-items: center;
  border-radius: 17rem;
  background: linear-gradient(145deg, #ff5559, #ff282e);
  box-shadow: 0 7rem 15rem rgba(255, 42, 46, 0.2);
  color: #fff;
  font-size: 23rem;
  font-weight: 700;
}

.support-chat-avatar i {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 14rem;
  height: 14rem;
  border: 3rem solid #fff;
  border-radius: 50%;
  background: #28bf73;
}

.support-chat-head > div {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 5rem;
}

.support-chat-head strong {
  color: #1c2433;
  font-size: 23rem;
}

.support-chat-head small {
  display: flex;
  align-items: center;
  gap: 7rem;
  color: #969ca7;
  font-size: 16rem;
}

.support-chat-head small i {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: #28bf73;
}

.support-chat-state {
  padding: 6rem 11rem;
  border-radius: 999rem;
  background: #eefaf4;
  color: #28a966;
  font-size: 16rem;
}

.support-message-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 26rem 20rem 30rem;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}

.support-message-list::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 155rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent);
  content: "";
}

.support-welcome {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 500rem;
  align-self: center;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
  padding: 35rem 31rem;
  border: 1rem solid #e8ebef;
  border-radius: 20rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8rem 24rem rgba(40, 49, 67, 0.05);
  text-align: center;
}

.support-welcome > span {
  display: grid;
  width: 58rem;
  height: 58rem;
  place-items: center;
  margin-bottom: 17rem;
  border-radius: 19rem;
  background: #fff0f0;
  color: #ff3036;
  font-size: 25rem;
  font-weight: 700;
}

.support-welcome strong {
  color: #252c39;
  font-size: 24rem;
}

.support-welcome p {
  margin: 11rem 0 0;
  color: #8d939e;
  font-size: 18rem;
  line-height: 1.65;
}

.support-message {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 88%;
  align-items: flex-start;
  gap: 11rem;
}

.support-message.is-own {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.support-message.is-service {
  align-self: flex-start;
}

.support-avatar {
  display: grid;
  width: 40rem;
  height: 40rem;
  flex: 0 0 40rem;
  place-items: center;
  border-radius: 13rem;
  background: #fff;
  box-shadow: 0 4rem 12rem rgba(40, 49, 67, 0.08);
  color: #ff3036;
  font-size: 17rem;
  font-weight: 700;
}

.support-message.is-own .support-avatar {
  background: #ff383d;
  color: #fff;
}

.support-message > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.support-message > div > small {
  margin: 0 5rem 7rem;
  color: #9ca1aa;
  font-size: 15rem;
}

.support-message.is-own > div > small,
.support-message.is-own time {
  align-self: flex-end;
}

.support-message > div > section {
  overflow: hidden;
  border: 1rem solid #e8eaef;
  border-radius: 6rem 18rem 18rem;
  background: #fff;
  box-shadow: 0 5rem 14rem rgba(40, 49, 67, 0.055);
}

.support-message.is-own > div > section {
  border-color: #ff383d;
  border-radius: 18rem 6rem 18rem 18rem;
  background: linear-gradient(145deg, #ff454a, #ff2c32);
  color: #fff;
}

.support-message section > p {
  margin: 0;
  padding: 16rem 19rem;
  font-size: 20rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.support-message time {
  margin: 7rem 5rem 0;
  color: #b0b4bc;
  font-size: 14rem;
}

.support-image {
  display: block;
  max-width: 330rem;
  padding: 5rem;
  background: #fff;
}

.support-image img {
  display: block;
  max-width: 100%;
  max-height: 360rem;
  border-radius: 12rem;
  object-fit: cover;
}

.support-file {
  display: grid;
  min-width: 300rem;
  grid-template-columns: 45rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 12rem;
  padding: 15rem 17rem;
  color: inherit;
  text-decoration: none;
}

.support-file svg {
  width: 42rem;
  height: 42rem;
  fill: none;
  stroke: #ff383d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.support-message.is-own .support-file svg {
  stroke: #fff;
}

.support-file > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5rem;
}

.support-file strong {
  overflow: hidden;
  font-size: 18rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-file small {
  color: #999fa9;
  font-size: 15rem;
}

.support-message.is-own .support-file small {
  color: rgba(255, 255, 255, 0.72);
}

.support-file > b {
  color: #ff383d;
  font-size: 16rem;
}

.support-message.is-own .support-file > b {
  color: #fff;
}

.support-composer {
  position: relative;
  z-index: 2;
  padding: 14rem 16rem 12rem;
  border-top: 1rem solid #e6e9ee;
  background: #fff;
}

.support-composer form {
  display: grid;
  grid-template-columns: 45rem minmax(0, 1fr) 48rem;
  align-items: end;
  gap: 10rem;
}

.support-attach {
  display: grid;
  width: 45rem;
  height: 45rem;
  place-items: center;
  color: #69717f;
  cursor: pointer;
}

.support-attach input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.support-attach svg {
  width: 31rem;
  height: 31rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.support-composer textarea {
  width: 100%;
  min-height: 45rem;
  max-height: 112rem;
  resize: none;
  padding: 11rem 15rem;
  border: 1rem solid #dfe3e9;
  border-radius: 15rem;
  outline: 0;
  background: #f6f7f9;
  color: #262d39;
  font: inherit;
  font-size: 19rem;
  line-height: 1.35;
}

.support-composer textarea:focus {
  border-color: #ff5a5e;
  background: #fff;
  box-shadow: 0 0 0 3rem rgba(255, 42, 46, 0.08);
}

.support-composer button {
  display: grid;
  width: 48rem;
  height: 45rem;
  place-items: center;
  border: 0;
  border-radius: 14rem;
  background: #ff3036;
  box-shadow: 0 5rem 13rem rgba(255, 42, 46, 0.2);
  color: #fff;
  cursor: pointer;
}

.support-composer button:disabled {
  opacity: 0.55;
}

.support-composer button svg {
  width: 26rem;
  height: 26rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.support-composer > p {
  margin: 9rem 4rem 0 55rem;
  color: #a1a6af;
  font-size: 14rem;
}

.support-upload-progress {
  margin-bottom: 12rem;
  padding: 11rem 14rem;
  border: 1rem solid #ffd7d8;
  border-radius: 12rem;
  background: #fff7f7;
}

.support-upload-progress[hidden] {
  display: none;
}

.support-upload-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12rem;
  color: #565d69;
  font-size: 16rem;
}

.support-upload-progress > div span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.support-upload-progress > div strong {
  color: #ff3036;
}

.support-upload-progress > i {
  display: block;
  height: 6rem;
  margin-top: 9rem;
  overflow: hidden;
  border-radius: 999rem;
  background: #ffe3e4;
}

.support-upload-progress > i b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #ff3036;
  transition: width 120ms linear;
}

.support-upload-progress > small {
  display: block;
  margin-top: 7rem;
  color: #9ba0aa;
  font-size: 14rem;
}

.toast {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 50%;
  max-width: min(560rem, 82vw);
  padding: 20rem 28rem;
  border-radius: 8rem;
  background: rgba(0, 0, 0, 0.76);
  color: #fff;
  font-size: 26rem;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

