/*
 * Royacex mobile visual layer — 2026-09-22
 * Isolated from the legacy theme so controller routes, DOM ids and AJAX hooks stay intact.
 */
:root {
  --ig-bg: #121212;
  --ig-home-bg: #131313;
  --ig-panel: #212329;
  --ig-input: #242424;
  --ig-footer: #1a1a1a;
  --ig-brand: #00d6ca;
  --ig-green: #2ebd85;
  --ig-red: #f6465d;
  --ig-text: #fff;
  --ig-muted: #868c9a;
  --ig-line: #393e49;
  --ig-disabled: #474b62;
}

html {
  background: var(--ig-bg) !important;
  color-scheme: dark;
}

html, body.ig-page {
  margin: 0 !important;
  min-height: 100%;
  background: var(--ig-bg) !important;
  color: var(--ig-text) !important;
  font-family: "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body.ig-page {
  width: 100%;
  max-width: 828px;
  margin: 0 auto !important;
  overflow-x: hidden;
  padding-bottom: calc(51px + env(safe-area-inset-bottom));
}

.ig-page *, .ig-page *::before, .ig-page *::after { box-sizing: border-box; }
.ig-page a, .ig-page a:hover, .ig-page a:focus, .ig-page a:visited { text-decoration: none; }
.ig-page button, .ig-page input { font: inherit; }
.ig-page img { max-width: 100%; }
.ig-legacy-root { display: none !important; }

/* Fixed primary navigation */
.ig-bottom-nav,
.ig-page > .footer {
  position: fixed !important;
  z-index: 10020 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 0 !important;
  transform: translateX(-50%);
  display: flex !important;
  width: min(100%, 828px) !important;
  height: calc(51px + env(safe-area-inset-bottom)) !important;
  min-height: 51px;
  padding: 0 0 env(safe-area-inset-bottom) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(26,26,26,.985) !important;
  box-shadow: 0 -1px 0 rgba(255,255,255,.025);
}

.ig-bottom-nav > a,
.ig-page > .footer > a {
  position: relative;
  display: flex !important;
  flex: 1 1 20%;
  width: 20% !important;
  min-width: 0;
  height: 51px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ig-muted) !important;
  font-size: 10.5px;
  line-height: 13px;
}

.ig-bottom-nav > a img {
  display: block;
  width: 26.4px;
  height: 26.4px;
  margin: 0 auto 0;
  object-fit: contain;
}

.ig-bottom-nav > a.active,
.ig-bottom-nav > a.active span,
.ig-bottom-nav > a.is-active,
.ig-bottom-nav > a.is-active span { color: var(--ig-brand) !important; }
.ig-bottom-nav > a.active img,
.ig-bottom-nav > a.is-active img {
  filter: brightness(0) saturate(100%) invert(66%) sepia(93%) saturate(1961%) hue-rotate(128deg) brightness(93%) contrast(101%);
}
body.ig-page-home > .footer,
body.ig-page-market > .footer { display: none !important; }

.ig-page > .footer .footer_op {
  float: none !important;
  width: 100% !important;
  height: 51px !important;
}
.ig-page > .footer .f_op_t { height: 30px !important; line-height: 30px !important; }
.ig-page > .footer .f_op_t img { width: 26px !important; height: 26px !important; object-fit: contain; }
.ig-page > .footer .f_op_b { height: 18px !important; line-height: 14px !important; }
.ig-page > .footer .f_op_b span { color: var(--ig-muted) !important; font-size: 10.5px !important; }
.ig-trade-page > .footer > a:nth-child(3) .f_op_b span { color: var(--ig-brand) !important; }
.ig-page > .footer .f_op_b span { display: inline !important; }
.ig-page > .footer .f_op_b::after { color: var(--ig-muted); font-size: 10.5px; }
.ig-page > .footer > a:nth-child(1) .f_op_b::after { content: none; }
.ig-page > .footer > a:nth-child(2) .f_op_b::after { content: none; }
.ig-page > .footer > a:nth-child(3) .f_op_b::after { content: none; }
.ig-page > .footer > a:nth-child(4) .f_op_b::after { content: none; }
.ig-page > .footer > a:nth-child(5) .f_op_b::after { content: none; }
.ig-page > .footer > a:nth-child(1) .f_op_t img { content: url('/Public/Mobile/ig/images/nav-home.png'); }
.ig-page > .footer > a:nth-child(2) .f_op_t img { content: url('/Public/Mobile/ig/images/nav-market.png'); }
.ig-page > .footer > a:nth-child(3) .f_op_t img { content: url('/Public/Mobile/ig/images/nav-trade.png'); }
.ig-page > .footer > a:nth-child(4) .f_op_t img { content: url('/Public/Mobile/ig/images/nav-contract-tab.png'); }
.ig-page > .footer > a:nth-child(5) .f_op_t img { content: url('/Public/Mobile/ig/images/nav-funds.png'); }
.ig-trade-page > .footer > a:nth-child(3) .f_op_t img { content: url('/Public/Mobile/ig/images/nav-trade-active.png'); }
.ig-trade-page > .footer > a:nth-child(3) .f_op_b::after,
.ig-assets-page > .footer > a:nth-child(5) .f_op_b::after { color: var(--ig-brand); }
.ig-assets-page > .footer > a:nth-child(5) .f_op_t img { filter: brightness(0) saturate(100%) invert(66%) sepia(93%) saturate(1961%) hue-rotate(128deg) brightness(93%) contrast(101%); }

.ig-kline-bar {
  position: fixed;
  z-index: 10015;
  left: 50%;
  bottom: calc(51px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(100%, 828px);
  height: 26px;
  padding: 0 15px;
  border: 1px solid #18335f;
  background: #000;
  color: #fff;
  font-size: 10px;
  line-height: 24px;
}
.ig-kline-chevron { color: #fff; font-size: 17px; line-height: 1; }

/* Home */
.ig-home-page, .ig-page-home { background: var(--ig-home-bg) !important; }
.ig-home-app { min-height: 100vh; padding-bottom: 51px; background: var(--ig-home-bg); color: #fff; }
.ig-home-header {
  display: flex; align-items: center; justify-content: space-between;
  height: 49px; padding: 9px 15px 6px;
}
.ig-home-header .ig-brand-logo, .ig-home-header > img:first-child,
.ig-home-header a:first-child img { width: 34px; height: 34px; object-fit: contain; }
.ig-home-header .ig-user-icon, .ig-home-header > a:last-child img,
.ig-home-header > img:last-child { width: 29px; height: 29px; object-fit: contain; }
.ig-home-hero {
  position: relative; aspect-ratio: 2 / 1; height: auto; margin: 9px 15px 0;
  overflow: hidden; border-radius: 4px; background: #070a16; touch-action: pan-y;
}
.ig-home-hero-track, .ig-home-hero-slide { position: absolute; inset: 0; }
.ig-home-hero-slide {
  z-index: 0; opacity: 0; visibility: hidden; transition: opacity .42s ease, visibility .42s ease;
}
.ig-home-hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.ig-home-hero-slide img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
  user-select: none; -webkit-user-drag: none;
}
.ig-home-hero-dots {
  position: absolute; z-index: 2; left: 50%; bottom: 7px; display: flex; align-items: center;
  gap: 5px; transform: translateX(-50%);
}
.ig-home-hero-dots button {
  display: block; width: 5px; height: 5px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.48); box-shadow: none; transition: width .2s ease, border-radius .2s ease, background .2s ease;
}
.ig-home-hero-dots button.is-active { width: 14px; border-radius: 4px; background: #fff; }
.ig-home-hero-dots button:only-child { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ig-home-hero-slide, .ig-home-hero-dots button { transition: none; }
}
.ig-notice-bar {
  display: flex; align-items: center; height: 28px; padding: 0 15px;
  color: #fff; font-size: 11px; overflow: hidden;
}
.ig-notice-bar > img:first-child { width: 18px; height: 18px; margin-right: 10px; object-fit: contain; }
.ig-notice-bar .ig-notice-text, .ig-notice-items { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ig-notice-items { position: relative; height: 18px; line-height: 18px; }
.ig-notice-items a {
  position: absolute; top: 0; left: 0; display: block; width: 100%; height: 18px;
  overflow: hidden; color: #fff !important; white-space: nowrap; text-overflow: ellipsis;
  opacity: 0; pointer-events: none; transform: translateY(100%);
  transition: opacity .32s ease, transform .32s ease;
}
.ig-notice-items:not(.is-rotating) a:first-child,
.ig-notice-items a.is-active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ig-notice-items a.is-leaving { opacity: 0; pointer-events: none; transform: translateY(-100%); }
.ig-notice-bar > img:last-child, .ig-notice-bar .ig-notice-more { width: 16px; height: 16px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .ig-notice-items a { transition: none; }
}
.ig-home-panel {
  min-height: calc(100vh - 230px); padding: 30px 0 0;
  border-radius: 30px 30px 0 0; background: var(--ig-panel);
}
.ig-shortcut-grid { display: grid; grid-template-columns: repeat(4,1fr); row-gap: 17px; padding: 12px 7px 28px; }
.ig-shortcut-grid a { min-width: 0; color: #fff !important; text-align: center; font-size: 10.5px; line-height: 16px; }
.ig-shortcut-grid a img { display: block; width: 36px; height: 36px; margin: 0 auto 6px; object-fit: contain; }
.ig-quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 5px; height: 68px; }
.ig-quick-actions > a {
  position: relative; display: flex; align-items: center; min-width: 0; height: 68px;
  padding: 0 10px; overflow: hidden; color: #fff !important;
  background: #272a3d center/cover no-repeat;
}
.ig-quick-actions > a:first-child { background-image: url('/Public/Mobile/ig/images/deposit-bg.png'); }
.ig-quick-actions > a:last-child { background-image: url('/Public/Mobile/ig/images/withdraw-bg.png'); }
.ig-quick-actions .ig-quick-icon, .ig-quick-actions > a > img:first-child { width: 43px; height: 43px; object-fit: contain; flex: 0 0 auto; }
.ig-quick-actions strong { margin-left: 4px; color: #fff; font-size: 13px; font-weight: 700; }
.ig-quick-actions .ig-quick-arrow, .ig-quick-actions > a > img:last-child { width: 23px; height: 23px; margin-left: auto; object-fit: contain; }
.ig-quick-left { display: flex; align-items: center; min-width: 0; }
.ig-quick-left img { width: 43px; height: 43px; flex: 0 0 auto; object-fit: contain; }
.ig-quick-left b { margin-left: 4px; color: #fff; font-size: 13px; white-space: nowrap; }

.ig-market-tabs { display: flex; height: 61px; align-items: flex-end; }
.ig-market-tabs button, .ig-market-tabs a {
  position: relative; flex: 1; height: 46px; border: 0; background: transparent;
  color: var(--ig-muted) !important; text-align: center; font-size: 14px;
}
.ig-market-tabs .active, .ig-market-tabs .is-active { color: #fff !important; }
.ig-market-tabs .active::after, .ig-market-tabs .is-active::after {
  position: absolute; content: ""; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ig-brand);
}
.ig-market-table-head, .ig-market-row {
  display: grid; grid-template-columns: 1.45fr .8fr .72fr; align-items: center;
  margin: 0 15px; padding: 0 0; border-bottom: 1px solid #30333a;
}
.ig-market-table-head { height: 52px; color: var(--ig-muted); font-size: 12px; }
.ig-market-table-head > :nth-child(2), .ig-market-row > :nth-child(2) { text-align: right; }
.ig-market-table-head > :nth-child(3), .ig-market-row > :nth-child(3) { text-align: right; }
.ig-market-row { height: 81px; color: #fff; }
.ig-market-row .ig-market-pair { display: flex; align-items: center; min-width: 0; text-align: left; }
.ig-market-row .ig-market-pair img { width: 36px; height: 36px; margin-right: 7px; border-radius: 50%; object-fit: cover; }
.ig-market-row strong, .ig-market-row b { color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; }
.ig-market-row small { display: block; margin-top: 7px; color: var(--ig-muted); font-size: 11.5px; white-space: nowrap; }
.ig-market-price { color: #fff; font-size: 15.5px; font-weight: 700; }
.ig-market-change { justify-self: end; min-width: 72px; padding: 8px 6px; border-radius: 4px; color: #fff; text-align: center; font-size: 15px; }
.ig-market-change.up, .ig-market-change.positive { background: var(--ig-green); }
.ig-market-change.down, .ig-market-change.negative { background: var(--ig-red); }
.ig-home-app .ig-market-table-head > :nth-child(2),
.ig-home-app .ig-market-price { transform: translateX(-14px); }
.ig-home-app .ig-market-table-head > :nth-child(3),
.ig-home-app .ig-market-change { transform: translateX(6px); }

/* Market / quotes */
.ig-market-page, .ig-page-market, .ig-market-app { min-height: 100vh; background: var(--ig-bg) !important; }
.ig-market-search { height: 40px; padding: 6px 15px; }
.ig-market-search > div, .ig-market-search form {
  display: flex; align-items: center; height: 28px; padding: 0 10px;
  border-radius: 999px; background: var(--ig-input);
}
.ig-market-search { position: relative; display: flex; align-items: center; margin: 0; }
.ig-market-search > svg { position: absolute; z-index: 1; left: 24px; width: 16px; height: 16px; margin: 0; fill: none; stroke: var(--ig-muted); stroke-width: 2.5; }
.ig-market-search > input { width: 100%; height: 28px; padding: 0 12px 0 30px; border: 0; border-radius: 999px; outline: 0; background: var(--ig-input); color: #fff; font-size: 14px; }
.ig-market-search input { flex: 1; min-width: 0; height: 28px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; }
.ig-market-search input::placeholder { color: #d2d6de; opacity: 1; }
.ig-search-icon { width: 15px; margin-right: 6px; color: var(--ig-muted); font-size: 16px; }
.ig-market-primary-tabs { display: flex; height: 33px; }
.ig-market-primary-tabs a, .ig-market-primary-tabs button {
  position: relative; flex: 1; border: 0; background: transparent; color: var(--ig-muted) !important; text-align: center; font-size: 14px;
}
.ig-market-primary-tabs .active, .ig-market-primary-tabs .is-active { color: #fff !important; }
.ig-market-primary-tabs .active::after, .ig-market-primary-tabs .is-active::after {
  content: ""; position: absolute; left: 28.5%; right: 28.5%; bottom: 0; height: 3px; border-radius: 3px; background: var(--ig-brand);
}
.ig-market-page .ig-market-tabs, .ig-page-market .ig-market-tabs { height: 46px; margin: 0 15px; align-items: stretch; }
.ig-market-page .ig-market-tabs > *, .ig-page-market .ig-market-tabs > * { height: 46px; padding-top: 10px; }
.ig-market-page .ig-market-table-head, .ig-page-market .ig-market-table-head { height: 76px; margin: 0 15px; padding: 0 15px; }
.ig-market-page .ig-market-row, .ig-page-market .ig-market-row { margin: 0 15px; padding: 0 15px; }
.ig-market-table-head em { display: block; font-style: normal; }
.ig-sort-arrows { display: inline-flex; margin-left: 3px; flex-direction: column; font-style: normal; font-size: 8px; line-height: 6px; vertical-align: middle; }
.ig-market-change .market-list-info { display: block !important; width: 72px !important; height: 34px !important; border-radius: 4px !important; color: #fff !important; text-align: center !important; line-height: 34px !important; background: var(--ig-green); }
.ig-market-change .bred { background: var(--ig-red) !important; }
.ig-market-change .bgreen { background: var(--ig-green) !important; }
.ig-market-search > input { padding-left: 33px; background: var(--ig-input) !important; }
.ig-market-price > b, .ig-market-price > b * { color: #fff !important; }
.ig-market-price > small, .ig-market-price > small * { color: var(--ig-muted) !important; font-weight: 400 !important; }
.ig-page-market .ig-market-table-head > :nth-child(2),
.ig-page-market .ig-market-price { transform: translateX(-14px); }
.ig-page-market .ig-market-table-head > :nth-child(3),
.ig-page-market .ig-market-change { transform: translateX(6px); }
.ig-page-market .ig-market-row { position: relative; border-bottom: 0; }
.ig-page-market .ig-market-row::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 0; height: 1px; background: #30333a;
}

/* Spot trade — retain all legacy IDs/handlers, change only geometry and paint */
.ig-trade-page { padding-bottom: 77px; }
.ig-trade-page .container-fluid { width: 100% !important; min-height: 100vh; background: var(--ig-bg) !important; }
.ig-trade-page .no_header { display: none !important; }
.ig-trade-page .content_title {
  position: relative !important; top: auto !important; z-index: 2 !important;
  height: 42px !important; margin-top: 0 !important; padding: 0 14px !important;
  border: 0 !important; background: var(--ig-bg) !important; line-height: 42px !important;
}
.ig-trade-page .content_title_l { width: 78% !important; height: 42px !important; line-height: 42px !important; }
.ig-trade-page .content_title_r { width: 22% !important; height: 42px !important; line-height: 42px !important; }
.ig-trade-page .content_title #marketbox { color: #fff !important; font-size: 16px !important; }
.ig-trade-page #changebox { margin-left: 8px; color: var(--ig-green) !important; font-size: 14px; }
.ig-trade-page .contentbox { margin-top: 0 !important; padding: 14px !important; background: var(--ig-bg) !important; }
.ig-trade-page .tradebox { height: 416px !important; background: transparent !important; }
.ig-trade-page .tradebox_l { display: none !important; width: 58.3% !important; height: 402px !important; }
.ig-trade-page .tradebox_r { width: 37.8% !important; height: 402px !important; }
.ig-trade-page .tradebox_l_btn { height: 31px !important; background: var(--ig-input); }
.ig-trade-page .tradebox_l_buybtn, .ig-trade-page .tradebox_l_sellbtn {
  width: 50% !important; height: 31px !important; border-radius: 2px !important; line-height: 31px !important;
}
.ig-trade-page .bggreen { background: var(--ig-green) !important; }
.ig-trade-page .bgred { background: var(--ig-red) !important; }
.ig-trade-page .bghc { background: var(--ig-input) !important; }
.ig-trade-page .c000, .ig-trade-page .fcc { color: var(--ig-muted) !important; }
.ig-trade-page .fe6, .ig-trade-page .fe6im, .ig-trade-page .cfff { color: #fff !important; }
.ig-trade-page .green { color: var(--ig-green) !important; }
.ig-trade-page .red { color: var(--ig-red) !important; }
.ig-trade-page .fcy { color: var(--ig-brand) !important; }
.ig-trade-page .formbox { height: 360px !important; margin-top: 10px !important; }
.ig-trade-page .formbox_op { height: 34px !important; background: #1e1e1e; }
.ig-trade-page .formbox_op_list { height: 34px !important; line-height: 34px !important; }
.ig-trade-page .inputbox {
  height: 34px !important; margin-top: 10px !important; border: 0 !important; border-radius: 0 !important; background: var(--ig-input) !important;
}
.ig-trade-page .inputbox_float { height: 34px !important; background: var(--ig-input) !important; }
.ig-trade-page .xjinput {
  height: 32px !important; margin-top: 1px !important; padding: 0 8px !important;
  border: 0 !important; background: transparent !important; color: #fff !important;
}
.ig-trade-page .input_bi { height: 28px !important; margin-top: 3px !important; line-height: 28px !important; }
.ig-trade-page .borderright { border-right-color: #36383e !important; }
.ig-trade-page .blbox { height: 28px !important; margin-top: 15px !important; }
.ig-trade-page .blbox_1, .ig-trade-page .blbox_2 { width: 23% !important; height: 25px !important; margin-right: 2.66% !important; }
.ig-trade-page .blbox_2 { margin-right: 0 !important; }
.ig-trade-page .blbox_3 { height: 24px !important; background: var(--ig-input) !important; }
.ig-trade-page .blbox_4 { position: relative; margin-top: -23px; line-height: 23px !important; }
.ig-trade-page .trade_listbox { height: 148px !important; padding: 3px 0 !important; }
.ig-trade-page .trade_listbox > div, .ig-trade-page .trade_list { height: 23px !important; line-height: 23px !important; }
.ig-trade-page .trade_list { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-trade-page .trade_list span { font-size: 11px; }
.ig-trade-page .trade_listpricebox { height: 34px !important; padding: 0 !important; color: var(--ig-red); text-align: center; line-height: 26px !important; font-size: 17px; font-weight: 700; }
.ig-trade-page .tradebox_title { color: var(--ig-muted); font-size: 11px; }
.ig-spot-depth-select {
  display: flex; align-items: center; width: 104px; height: 33px; margin: 15px 0 0 7px;
  padding: 0 8px; background: var(--ig-input); color: #fff; font-size: 13px;
}
.ig-spot-depth-select i { width: 0; height: 0; margin-left: auto; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--ig-muted); }
.ig-spot-depth-select img { width: 18px; height: 15px; margin-left: 10px; object-fit: contain; }
.ig-book-placeholder { display: flex; width: 100%; }
.ig-book-placeholder span { width: 50%; }
.ig-book-placeholder span:last-child { text-align: right; }
.ig-trade-page .fccbox { width: 100% !important; height: 47px !important; margin: 0; background: var(--ig-bg) !important; }
.ig-trade-order-tabs { display: flex; align-items: flex-start; width: 100%; height: 39px; padding: 0 14px; border-bottom: 1px solid var(--ig-line); background: var(--ig-bg); }
.ig-trade-order-tabs span, .ig-trade-order-tabs a { height: 38px; margin-right: 28px; color: var(--ig-muted) !important; font-size: 14px; line-height: 32px; white-space: nowrap; }
.ig-trade-order-tabs .active { padding: 0 5px; background: var(--ig-brand); color: #fff !important; }
.ig-trade-order-tabs img { width: 17px; height: 18px; margin: 8px 0 0 auto; object-fit: contain; }
.ig-trade-page .wtlistbox { margin: 0; width: 100% !important; min-height: 260px; padding: 0 14px !important; background: var(--ig-bg) !important; border-top: 1px solid #30343d; }
.ig-trade-page .wtlistbox > .o_title_box { display: none !important; }
.ig-trade-page .o_title_box { height: 39px !important; line-height: 39px !important; border-bottom: 1px solid var(--ig-line) !important; background: transparent !important; }
.ig-trade-page .order_title { color: #fff !important; font-weight: 400 !important; }
.ig-trade-page .noordersvg {
  position: relative; top: 142px; width: 66px; height: 66px; padding-top: 0 !important;
  background: url('/Public/Mobile/ig/images/no-data.png') center/66px 66px no-repeat;
}
.ig-trade-page .noordersvg > * { display: none !important; }

/* Spot order facade; values and actions are bridged to the retained legacy form. */
.ig-spot-order-panel { position: relative; float: left; width: 58.3%; height: 402px; color: #fff; }
.ig-spot-order-panel button, .ig-spot-order-panel input { border: 0; outline: 0; }
.ig-spot-side-tabs { position: absolute; inset: 0 0 auto; display: flex; height: 31px; background: var(--ig-input); }
.ig-spot-side-tabs button { flex: 1; padding: 0; background: transparent; color: var(--ig-muted); font-size: 13px; }
.ig-spot-side-tabs button.is-active { background: var(--ig-green); color: #fff; }
.ig-spot-side-tabs button:first-child.is-active { clip-path: polygon(0 0,100% 0,95% 100%,0 100%); }
.ig-spot-side-tabs button:last-child.is-active { background: var(--ig-red); clip-path: polygon(5% 0,100% 0,100% 100%,0 100%); }
.ig-spot-order-type, .ig-spot-price-field, .ig-spot-market-label, .ig-spot-amount-field {
  position: absolute; left: 0; width: 100%; height: 34px; background: var(--ig-input); color: #fff;
}
.ig-spot-order-type { top: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; font-size: 14px; text-align: left; }
.ig-spot-order-type i { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--ig-muted); }
.ig-spot-price-field { top: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 9px; font-size: 14px; }
.ig-spot-price-field b { font-size: 13px; font-weight: 700; }
.ig-spot-market-label { top: 130px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ig-spot-value-tabs { position: absolute; left: 0; top: 175px; display: flex; width: 100%; height: 34px; background: var(--ig-input); }
.ig-spot-value-tabs button { flex: 1; padding: 0; background: transparent; color: #fff; font-size: 12px; }
.ig-spot-value-tabs button.is-active { background: #50546d; }
.ig-spot-amount-field { top: 220px; display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 0 9px; }
.ig-spot-amount-field input { min-width: 0; width: 75%; height: 32px; padding: 0; background: transparent; color: #fff; font-size: 14px; }
.ig-spot-amount-field input::placeholder { color: #d6d9e0; opacity: 1; }
.ig-spot-amount-field b { font-size: 13px; }
.ig-spot-percentages { position: absolute; left: 0; top: 269px; display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; width: 100%; height: 24px; }
.ig-spot-percentages button { padding: 0; border-radius: 3px; background: var(--ig-input); color: var(--ig-muted); font-size: 11px; }
.ig-spot-available { position: absolute; left: 0; top: 314px; display: flex; align-items: center; width: 100%; height: 20px; color: var(--ig-muted); font-size: 11px; }
.ig-spot-available b { margin-left: 8px; color: #fff; font-size: 11px; font-weight: 700; }
.ig-spot-available i { margin-left: auto; color: #00a9ff; font-size: 17px; font-style: normal; }
.ig-spot-submit { position: absolute; left: 0; top: 360px; display: block; width: 100%; height: 42px; border: 0; border-radius: 3px; background: var(--ig-green); color: #fff !important; text-align: center; font-size: 13px; line-height: 42px; }
.ig-spot-order-panel[data-side="sell"] .ig-spot-submit { background: var(--ig-red); }

/* Anonymous perpetual contract facade; legacy contract DOM remains in-page for its JS and logged-in workflow. */
.ig-contract-page { display: block !important; height: auto !important; place-items: initial !important; padding-bottom: 77px; }
.ig-contract-page .ig-contract-guest ~ .ig-contract-legacy { display: none !important; }
.ig-contract-guest { width: 100%; min-height: 950px; padding-bottom: 100px; background: var(--ig-bg); color: #fff; }
.ig-contract-head { padding: 0 14px; }
.ig-contract-symbol-line { display: flex; align-items: flex-end; height: 42px; padding-top: 17px; font-size: 14px; }
.ig-switch-mark { width: 20px; color: #fff; font-size: 19px; font-weight: 700; }
.ig-contract-symbol-line strong { color: #fff; font-size: 15px; }
.ig-contract-change { margin-left: 9px; color: var(--ig-green); font-size: 14px; }
.ig-contract-symbol-line img { width: 19px; height: 18px; margin-left: auto; object-fit: contain; }
.ig-contract-type-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding-top: 16px; }
.ig-contract-type-tabs button { height: 35px; border: 1px solid #8f929a; border-radius: 2px; background: transparent; color: var(--ig-muted); }
.ig-contract-type-tabs button.active { border-color: var(--ig-brand); background: var(--ig-brand); color: #fff; }
.ig-contract-options { display: flex; align-items: center; height: 44px; padding: 16px 14px 0; font-size: 12px; }
.ig-contract-options span:first-child { width: 85px; height: 28px; background: var(--ig-input); text-align: center; line-height: 28px; }
.ig-contract-options span:nth-child(2) { margin-left: 25px; }
.ig-contract-options .ig-caret { margin-left: 27px; color: var(--ig-muted); }
.ig-contract-options img { width: 19px; height: 18px; margin-left: auto; }
.ig-contract-order { display: grid; grid-template-columns: minmax(0,207px) minmax(0,1fr); gap: 14px; padding: 14px; }
.ig-contract-form { min-width: 0; }
.ig-side-tabs { display: flex; height: 31px; }
.ig-side-tabs button { flex: 1; border: 0; background: transparent; color: var(--ig-muted); }
.ig-side-tabs button.active { background: var(--ig-green); color: #fff; }
.ig-form-select, .ig-form-input, .ig-total-input {
  display: flex; align-items: center; justify-content: space-between; height: 36px; margin-top: 14px;
  padding: 0 10px; border-radius: 4px; background: var(--ig-input); color: #fff; font-size: 12px;
}
.ig-form-select > span:first-child { color: var(--ig-muted); font-size: 10px; }
.ig-form-select > span:last-child { color: var(--ig-muted); }
.ig-form-input b { font-weight: 400; }
.ig-total-input { padding: 0; }
.ig-total-input button { width: 39px; height: 36px; border: 0; background: transparent; color: var(--ig-muted); font-size: 20px; }
.ig-total-input span { color: #d7d9e2; }
.ig-available { display: flex; justify-content: space-between; margin-top: 21px; color: var(--ig-muted); font-size: 11px; }
.ig-available strong { color: #fff; font-size: 11px; }
.ig-slider { position: relative; display: flex; justify-content: space-between; margin-top: 19px; height: 13px; }
.ig-slider::before { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 2px; background: #fff; }
.ig-slider i { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #a7aab2; }
.ig-slider i:first-child { width: 14px; height: 14px; margin-top: -2px; }
.ig-slider-labels { display: flex; justify-content: space-between; margin-top: 7px; color: #fff; font-size: 11px; }
.ig-risk-copy { margin: 56px 0 0; color: #fff; font-size: 12px; line-height: 19px; }
.ig-login-cta { display: block; height: 38px; margin-top: 21px; border-radius: 3px; background: var(--ig-disabled); color: #fff !important; text-align: center; line-height: 38px; }
.ig-orderbook { min-width: 0; }
.ig-order-head { display: flex; justify-content: space-between; height: 31px; color: var(--ig-muted); font-size: 10.5px; line-height: 17px; }
.ig-order-head span:last-child { text-align: right; }
.ig-book { height: 150px; padding-top: 5px; }
.ig-book p { display: flex; justify-content: space-between; height: 28px; margin: 0; font-size: 11px; }
.ig-book p b { color: #fff; font-weight: 700; }
.ig-book-green p span { color: var(--ig-green); }
.ig-book-red p span { color: var(--ig-red); }
.ig-mid-price { height: 47px; text-align: center; }
.ig-mid-price strong { display: block; color: var(--ig-red); font-size: 17px; line-height: 25px; }
.ig-mid-price small { color: var(--ig-muted); font-size: 9px; }
.ig-depth-select { display: flex; align-items: center; height: 47px; margin-top: 2px; padding-left: 8px; background: var(--ig-input); }
.ig-depth-select span:nth-child(2) { margin-left: auto; color: var(--ig-muted); }
.ig-depth-select img { width: 18px; height: 15px; margin-left: 10px; }
.ig-position-panel { margin-top: 22px; padding: 0 14px; }
.ig-position-tabs { display: flex; align-items: flex-start; height: 35px; border-bottom: 1px solid var(--ig-line); color: var(--ig-muted); }
.ig-position-tabs span { height: 34px; margin-right: 29px; line-height: 34px; }
.ig-position-tabs span.active { padding: 0 5px; background: var(--ig-brand); color: #fff; }
.ig-position-tabs img { width: 17px; height: 18px; margin: 8px 0 0 auto; }

/* Logged-in legacy contract gets the same palette and non-rounded fixed chrome. */
.ig-contract-page .ig-contract-legacy { background: var(--ig-bg) !important; }
.ig-contract-page .ig-contract-legacy .no_header,
.ig-contract-page .ig-contract-legacy .klinebox,
.ig-contract-page .ig-contract-legacy .klinetitle,
.ig-contract-page .ig-contract-legacy .wtlistbox,
.ig-contract-page .ig-contract-legacy .o_title_box { background: var(--ig-bg) !important; }
.ig-contract-page .ig-contract-legacy .no_header { box-shadow: none !important; }
.ig-contract-page .ig-contract-legacy .btnbox { bottom: 77px !important; border-radius: 0 !important; background: rgba(26,26,26,.97) !important; }
.ig-contract-page .ig-contract-legacy .btnbox_l { background: var(--ig-green) !important; }
.ig-contract-page .ig-contract-legacy .btnbox_r { background: var(--ig-red) !important; }

/* Login / register / password recovery */
.ig-auth-page { min-height: 100vh; padding-bottom: 0; background: var(--ig-bg) !important; }
body.ig-page.ig-auth-page { padding-bottom: 0 !important; }
.ig-auth-shell { position: relative; width: 100%; max-width: 828px; min-height: 100vh; padding: 14px 14px 50px; margin: 0 auto; color: #fff; }
.ig-auth-close { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; color: #b9bec8 !important; font-size: 31px; font-weight: 200; line-height: 1; }
.ig-auth-close { padding: 0; border: 0; background: transparent; }
.ig-auth-close svg { width: 25px; height: 25px; fill: none; stroke: #b9bec8; stroke-width: 1.6; }
.ig-auth-language { position: absolute; top: 20px; right: 16px; display: block !important; color: var(--ig-brand) !important; font-size: 12px; line-height: 24px; }
.ig-auth-title { margin: 24px 0 30px; color: #fff; font-size: 24.5px; line-height: 32px; font-weight: 700; }
.ig-login-page .ig-auth-title { margin-top: 24px; }
.ig-auth-tabs { display: flex; height: 32px; margin-bottom: 18px; }
.ig-auth-tab { width: 68px; height: 32px; border: 0; border-radius: 3px; background: transparent; color: #91a0be !important; text-align: center; line-height: 32px; font-size: 12px; }
.ig-auth-tab.is-active, .ig-auth-tab.active { background: var(--ig-input); }
.ig-auth-form { margin: 0; }
.ig-auth-label { display: block; margin: 0 0 8px; color: #fff; font-size: 12px; line-height: 17px; }
.ig-auth-field { position: relative; display: flex; align-items: center; height: 42px; margin: 0 0 21px; padding: 0 10px; border-radius: 3px; background: var(--ig-input); }
.ig-auth-field input { width: 100%; height: 40px; padding: 0 10px; border: 0 !important; outline: 0 !important; background: transparent !important; color: #fff !important; font-size: 12px; }
.ig-auth-field input::placeholder { color: #91a0be !important; opacity: 1; }
.ig-field-icon, .ig-field-clear, .ig-password-clear, .ig-password-toggle { flex: 0 0 auto; color: #a8afba; font-size: 14px; }
.ig-input-action { display: flex; width: 22px; height: 32px; padding: 0; border: 0; align-items: center; justify-content: center; background: transparent; color: #a8afba; }
.ig-input-action svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.ig-auth-help { display: block; margin: -11px 0 17px; color: var(--ig-brand) !important; font-size: 11px; }
.ig-auth-submit { width: 100%; height: 42px; border: 0; border-radius: 5px; background: var(--ig-brand); color: #fff; text-align: center; font-size: 16px; line-height: 42px; }
.ig-auth-switch { margin-top: 20px; color: #fff; font-size: 12px; }
.ig-auth-switch a { color: var(--ig-brand) !important; }
.ig-auth-switch button { padding: 0; border: 0; background: transparent; color: var(--ig-brand); }
.ig-auth-steps { position: relative; display: grid; grid-template-columns: repeat(3,1fr); height: 64px; margin: 31px 9px 24px; }
.ig-auth-steps::before { content: ""; position: absolute; top: 19px; left: 14%; right: 14%; height: 1px; background: #333; }
.ig-auth-step { position: relative; z-index: 1; color: #fff; text-align: center; font-size: 12px; }
.ig-auth-step b { display: flex; width: 38px; height: 38px; margin: 0 auto 8px; align-items: center; justify-content: center; border-radius: 50%; background: #8b93a2; color: #fff; font-size: 18px; font-weight: 400; }
.ig-register-page .ig-auth-title { margin: 0 0 30px; }
.ig-register-page .ig-auth-field { margin-bottom: 20px; }
.ig-auth-agree { display: flex; align-items: center; margin: 0 0 16px; color: #fff; font-size: 12px; }
.ig-auth-agree input { margin-right: 8px; accent-color: var(--ig-brand); }
.ig-auth-agree a { color: var(--ig-brand) !important; }
.ig-stepper {
  position: relative; display: grid; grid-template-columns: repeat(3,1fr);
  width: 294px; max-width: calc(100vw - 20px); height: 64px; margin: 31px 0 24px -20px; padding: 0; list-style: none;
}
.ig-stepper::before { content: ""; position: absolute; top: 19px; left: 13%; right: 13%; height: 1px; background: #333; }
.ig-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; color: #fff; font-size: 12px; }
.ig-step-dot { display: flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: #8b93a2; color: #fff; font-size: 18px; }
.ig-step-label { margin-top: 8px; }
.ig-register-page .ig-auth-card > .ig-auth-title,
.ig-findpwd-page .ig-auth-card > .ig-auth-title { margin: 0 0 30px; }
.ig-register-page .ig-auth-field,
.ig-findpwd-page .ig-auth-field {
  display: block; height: 87px; margin: 0; padding: 0 0 20px;
  border-radius: 0; background: transparent;
}
.ig-register-page .ig-auth-field > label,
.ig-findpwd-page .ig-auth-field > label { display: block; height: 25px; margin: 0; color: #fff; font-size: 12px; line-height: 18px; }
.ig-register-page .ig-auth-form { padding-top: 5px; }
.ig-register-page .ig-auth-field > label:first-child { display: flex; justify-content: space-between; align-items: flex-start; }
.ig-register-page .ig-auth-field > label[for="invit"] { justify-content: flex-start; gap: 4px; }
.ig-auth-page .pml { text-indent: 0 !important; }
.ig-code-trigger { display: none; padding: 0; border: 0; background: transparent; color: var(--ig-brand); font-size: 11px; line-height: 16px; }
.ig-register-page .ig-verification-field { display: none !important; }
.ig-register-page .ig-verification-field.is-open { display: block !important; }
.ig-auth-input-shell {
  display: flex; align-items: center; width: 100%; height: 42px;
  padding: 0 10px; border-radius: 3px; background: var(--ig-input);
}
.ig-auth-input-shell .ig-auth-input { flex: 1; min-width: 0; height: 40px; padding: 0 10px; border: 0 !important; outline: 0 !important; background: transparent !important; color: #fff !important; font-size: 12px; }
.ig-auth-code-row .ig-send-code { flex: 0 0 auto; height: 32px; padding: 0 8px; border: 0; border-left: 1px solid #40434a; background: transparent; color: var(--ig-brand); font-size: 12px; }
.ig-auth-consent { display: flex; align-items: center; min-height: 26px; margin: -4px 0 13px; color: #fff; font-size: 12px; }
.ig-auth-consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.ig-consent-check { width: 14px; height: 14px; margin-right: 8px; border-radius: 50%; background: #fff; }
.ig-auth-consent input:checked + .ig-consent-check::after { content: "✓"; display: block; color: #727986; text-align: center; font-size: 10px; line-height: 14px; }
.ig-auth-consent a { color: var(--ig-brand) !important; }
.ig-login-page > .container-fluid { display: none; }

/* Asset center */
.ig-assets-page { min-height: 100vh; background: var(--ig-bg) !important; color: #fff; }
.ig-assets-shell { min-height: 100vh; padding-bottom: 60px; }
.ig-assets-tabs { display: flex; height: 40px; padding: 14px 24px 0; border-bottom: 1px solid #30343d; }
.ig-assets-tab { position: relative; flex: 1; height: 26px; color: #91a0be !important; text-align: center; font-size: 14px; }
.ig-assets-tab.is-active, .ig-assets-tab.active { color: #fff !important; }
.ig-assets-tab.is-active::after, .ig-assets-tab.active::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -1px; height: 2px; background: var(--ig-brand); }
.ig-assets-panel { padding-top: 30px; }
.ig-assets-summary { padding: 0 15px; }
.ig-assets-summary-head { display: flex; align-items: center; color: #91a0be; font-size: 14px; }
.ig-assets-total-label { display: flex; align-items: center; }
.ig-assets-summary-head button, .ig-assets-summary-head a { padding: 0; border: 0; background: transparent; color: var(--ig-muted) !important; }
.ig-assets-eye { width: 16px; height: 12px; margin-left: 7px; object-fit: contain; }
.ig-assets-info { margin-left: 7px; }
.ig-assets-profile { margin-left: auto; font-size: 20px; }
.ig-assets-total { margin-top: 4px; color: #fff; font-size: 31px; line-height: 42px; font-weight: 700; }
.ig-assets-fiat { color: #91a0be; font-size: 14px; font-weight: 400; }
.ig-assets-actions { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 20px 15px 0; }
.ig-assets-action { display: flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 4px; background: var(--ig-input); color: #fff !important; font-size: 13px; }
.ig-assets-action-icon { width: 20px; height: 20px; margin-right: 8px; object-fit: contain; }
.ig-assets-section-title { margin: 29px 14px 15px; color: #b9ccf4; font-size: 17px; }
.ig-portfolio-list { padding: 0 14px; }
.ig-portfolio-row { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 62px; padding: 0; border: 0; background: transparent; color: #fff !important; font-size: 14px; text-align: left; }
.ig-portfolio-name { display: flex; align-items: center; }
.ig-portfolio-name i { width: 22px; margin-right: 7px; color: var(--ig-muted); text-align: center; }
.ig-portfolio-name img { width: 22px; height: 22px; margin-right: 8px; object-fit: contain; }
.ig-portfolio-value { color: #fff; text-align: right; font-weight: 700; }
.ig-portfolio-value small { display: block; margin-top: 7px; color: #91a0be; font-weight: 400; }
.ig-assets-coin-panel { padding: 0 14px 70px; }
.ig-assets-coin-head { display: flex; align-items: center; min-height: 48px; color: #fff; }
.ig-assets-back { margin-right: 12px; color: #fff !important; }
.ig-coin-list-row, .ig-coin-row { display: block; min-height: 72px; padding: 13px 0; border-bottom: 1px solid #30343d; color: #fff !important; }
.ig-coin-row-head { display: flex; justify-content: space-between; color: #fff; font-weight: 700; }
.ig-coin-balances { display: flex; justify-content: space-between; margin-top: 10px; color: var(--ig-muted); font-size: 12px; }

/* Personal center */
.ig-profile-page, .ig-profile-shell { min-height: 100vh; background: var(--ig-bg) !important; color: #fff; }
.ig-profile-header { height: 45px; padding: 0 15px; line-height: 45px; }
.ig-profile-content { padding: 0 15px 70px; }
.ig-profile-hero { display: flex; align-items: center; min-height: 105px; }
.ig-profile-avatar { width: 58px; height: 58px; margin-right: 14px; border-radius: 50%; object-fit: cover; }
.ig-profile-identity { min-width: 0; color: #fff; }
.ig-profile-menu { border-top: 1px solid #2d3038; }
.ig-profile-row { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid #2d3038; color: #fff !important; }
.ig-profile-row::after { content: "›"; margin-left: auto; color: var(--ig-muted); font-size: 22px; }
.ig-profile-logout { width: 100%; height: 42px; margin-top: 25px; border: 0; border-radius: 4px; background: var(--ig-brand); color: #fff; }

/* Embedded chart and contract order list */
.ig-kline-page { min-height: 100%; padding: 0; background: var(--ig-bg) !important; }
.ig-kline-page .changInterval { background: var(--ig-bg); }
.ig-kline-page .interval-item { color: var(--ig-muted) !important; }
.ig-kline-page .interval-item.active { border-bottom-color: var(--ig-brand) !important; color: #fff !important; }
.ig-contract-bill-page { padding: 0; background: var(--ig-bg) !important; }
.ig-contract-bill-page .contentbox, .ig-contract-bill-page #list_box { background: var(--ig-bg) !important; }
.ig-contract-bill-page .listbox { border-radius: 4px !important; background: var(--ig-input) !important; }

@media (max-width: 370px) {
  .ig-contract-order { grid-template-columns: minmax(0,56%) minmax(0,44%); gap: 10px; }
  .ig-market-change { min-width: 65px; }
  .ig-shortcut-grid a { font-size: 9.5px; }
}

/* Keep taps responsive without triggering iOS/Android double-tap page zoom. */
html { touch-action: manipulation; }
a, button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"] { touch-action: manipulation; }

/* C2C mobile marketplace -------------------------------------------------- */
.c2c-page { margin: 0; min-height: 100vh; background: #0e0f12 !important; color: #f5f7fb; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif; }
.c2c-page *, .c2c-page *::before, .c2c-page *::after { box-sizing: border-box; }
.c2c-page a { color: inherit; text-decoration: none; }
.c2c-page button, .c2c-page input, .c2c-page select, .c2c-page textarea { font: inherit; }
.c2c-app { width: 100%; max-width: 520px; min-height: 100vh; margin: 0 auto; padding-bottom: calc(28px + env(safe-area-inset-bottom)); background: #111216; }
.c2c-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; height: 56px; padding: 0 15px; border-bottom: 1px solid #24272e; background: rgba(17,18,22,.97); }
.c2c-header-centered { justify-content: center; }
.c2c-header h1 { margin: 0; font-size: 17px; font-weight: 650; }
.c2c-back { display: grid; position: absolute; left: 12px; width: 34px; height: 42px; place-items: center; color: #fff !important; font-size: 32px; font-weight: 300; line-height: 1; }
.c2c-mode-button { display: flex; align-items: center; min-width: 0; margin-left: 42px; gap: 7px; padding: 0; border: 0; background: transparent; color: #fff; font-size: 17px; font-weight: 700; white-space: nowrap; }
.c2c-mode-button span { color: #8791a6; font-size: 12px; }
.c2c-header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.c2c-fiat-form select { min-width: 58px; height: 32px; padding: 0 20px 0 7px; border: 1px solid #323640; border-radius: 5px; outline: 0; background: #1c1e24; color: #eef1f7; font-size: 12px; }
.c2c-order-link { display: grid; width: 30px; height: 34px; place-items: center; color: #c4cad7 !important; font-size: 20px; }
.c2c-surface { min-height: calc(100vh - 56px); }
.c2c-side-tabs { display: flex; gap: 26px; height: 48px; padding: 0 16px; border-bottom: 1px solid #20232a; }
.c2c-side-tabs a { position: relative; display: grid; height: 48px; place-items: center; color: #929bad; font-size: 15px; font-weight: 650; }
.c2c-side-tabs a.is-active { color: #fff; }
.c2c-side-tabs a.is-active::after { position: absolute; right: 3px; bottom: 0; left: 3px; height: 3px; border-radius: 2px 2px 0 0; background: #168bff; content: ""; }
.c2c-asset-tabs { display: flex; gap: 9px; overflow-x: auto; padding: 13px 15px; scrollbar-width: none; }
.c2c-asset-tabs::-webkit-scrollbar, .c2c-filter-tabs-scroll::-webkit-scrollbar { display: none; }
.c2c-asset-tabs a { flex: 0 0 84px; padding: 9px 10px; border: 1px solid #2c3038; border-radius: 6px; background: #181a20; color: #98a1b2; }
.c2c-asset-tabs a b { display: block; color: inherit; font-size: 14px; }
.c2c-asset-tabs a small { display: block; margin-top: 4px; font-size: 10px; }
.c2c-asset-tabs a.is-active { border-color: #238cff; background: rgba(22,139,255,.12); color: #fff; }
.c2c-mode-sheet[hidden] { display: none; }
.c2c-mode-sheet { position: fixed; z-index: 60; top: 56px; left: 50%; display: grid; width: min(100%,520px); padding: 13px 15px 18px; transform: translateX(-50%); border-bottom: 1px solid #323640; background: #1d2026; box-shadow: 0 20px 45px rgba(0,0,0,.55); grid-template-columns: 1fr 1fr; gap: 10px; }
.c2c-mode-sheet::before { position: fixed; z-index: -1; top: 100%; right: 0; bottom: -100vh; left: 0; background: rgba(0,0,0,.56); content: ""; }
.c2c-mode-sheet > a { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 13px; border: 1px solid #343943; border-radius: 7px; background: #252831; }
.c2c-mode-sheet > a b { color: #2592ff; font-size: 21px; }
.c2c-sheet-close { position: absolute; top: -45px; right: 9px; width: 38px; height: 38px; border: 0; background: transparent; color: #aeb5c3; font-size: 25px; }
.c2c-filter-bar { display: grid; padding: 0 15px 12px; grid-template-columns: 1.15fr 1fr auto; gap: 7px; }
.c2c-filter-bar input, .c2c-filter-bar select, .c2c-filter-bar button { min-width: 0; height: 36px; padding: 0 9px; border: 1px solid #2c3038; border-radius: 5px; outline: 0; background: #1b1d23; color: #c9cfda; font-size: 12px; }
.c2c-filter-bar button { border-color: #343943; background: #262932; }
.c2c-offer-list { border-top: 7px solid #0d0e11; }
.c2c-offer-card { padding: 16px 15px 15px; border-bottom: 7px solid #0d0e11; background: #15171c; }
.c2c-merchant-row { display: flex; align-items: center; min-width: 0; gap: 8px; }
.c2c-merchant-row > b { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.c2c-merchant-row > i { color: #168bff; font-size: 10px; font-style: normal; }
.c2c-merchant-row > small { margin-left: auto; color: #818a9d; font-size: 10px; white-space: nowrap; }
.c2c-avatar { display: grid; overflow: hidden; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; place-items: center; background: linear-gradient(145deg,#2e86ff,#6749d8); color: #fff; font-size: 12px; font-weight: 700; }
.c2c-avatar img { width: 100%; height: 100%; object-fit: cover; }
.c2c-avatar-small { flex-basis: 28px; width: 28px; height: 28px; font-size: 9px; }
.c2c-offer-grid { display: grid; margin-top: 15px; grid-template-columns: 1.35fr 1fr; gap: 11px 8px; }
.c2c-offer-grid > div:first-child { grid-row: span 2; }
.c2c-offer-grid small { display: block; margin-bottom: 5px; color: #7f899b; font-size: 10px; }
.c2c-offer-grid strong { display: block; color: #fff; font-size: 22px; letter-spacing: -.4px; }
.c2c-offer-grid strong em { color: #9da5b5; font-size: 11px; font-style: normal; font-weight: 500; }
.c2c-offer-grid span { color: #d4d9e2; font-size: 12px; }
.c2c-offer-footer { display: flex; align-items: flex-end; gap: 10px; margin-top: 13px; }
.c2c-method-tags { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 5px; }
.c2c-method-tags span { padding-left: 6px; border-left: 2px solid #f0b543; color: #abb3c2; font-size: 10px; }
.c2c-preorder-contact { flex: 0 0 auto; color: #2996ff !important; font-size: 10px; white-space: nowrap; }
.c2c-contact-form { flex: 0 0 auto; margin: 0; }
.c2c-contact-form .c2c-preorder-contact { padding: 3px 0; border: 0; outline: 0; background: transparent; cursor: pointer; }
.c2c-deal-button { min-width: 76px; padding: 8px 14px; border-radius: 4px; background: #16a37a; color: #fff !important; font-size: 12px; font-weight: 700; text-align: center; }
.c2c-deal-button.is-sell, .c2c-primary.is-sell { background: #e94e62; }
.c2c-empty { display: grid; min-height: 150px; padding: 24px; place-items: center; align-content: center; color: #717a8e; text-align: center; }
.c2c-empty b { color: #515969; font-size: 30px; font-weight: 400; }
.c2c-empty p { margin: 10px 0 0; font-size: 13px; }
.c2c-empty-large { min-height: 300px; }
.c2c-quick-panel { margin: 4px 15px 20px; padding: 19px 15px; border-radius: 7px; background: #1b1d23; }
.c2c-field-label { display: block; margin: 3px 0 9px; color: #afb6c4; font-size: 12px; }
.c2c-amount-input { display: flex; align-items: center; height: 54px; border-bottom: 1px solid #343944; }
.c2c-amount-input > span { flex: 0 0 auto; margin-right: 10px; color: #fff; font-size: 22px; font-weight: 650; }
.c2c-amount-input input { min-width: 0; flex: 1 1 auto; border: 0; outline: 0; background: transparent; color: #fff; font-size: 25px; font-weight: 650; }
.c2c-amount-input input::placeholder { color: #626b7b; font-size: 13px; font-weight: 400; }
.c2c-quote-row { display: flex; justify-content: space-between; margin-top: 10px; color: #828c9e; font-size: 11px; }
.c2c-quote-row button { padding: 0; border: 0; background: transparent; color: #2290ff; font-size: 11px; }
.c2c-preset-list { display: grid; margin: 18px 0 13px; grid-template-columns: repeat(3,1fr); gap: 8px; }
.c2c-preset-list button { min-height: 36px; border: 1px solid #30343e; border-radius: 4px; background: #24272e; color: #dce1e9; font-size: 12px; }
.c2c-primary, .c2c-secondary { width: 100%; min-height: 44px; border: 0; border-radius: 4px; background: #168bff; color: #fff; font-size: 14px; font-weight: 700; }
.c2c-primary:disabled, .c2c-secondary:disabled, .c2c-page button:disabled { cursor: not-allowed; opacity: .5; }
.c2c-secondary { border: 1px solid #3a3f49; background: transparent; color: #d3d8e2; }
.c2c-confirm-summary { display: grid; padding: 17px 15px; border-bottom: 7px solid #0d0e11; background: #15171c; grid-template-columns: 1fr 1fr; gap: 10px; }
.c2c-confirm-summary div:last-child { text-align: right; }
.c2c-confirm-summary span, .c2c-calculation span { display: block; margin-bottom: 6px; color: #7f899b; font-size: 11px; }
.c2c-confirm-summary b { font-size: 14px; }
.c2c-confirm-card { padding: 18px 15px; border-bottom: 7px solid #0d0e11; background: #15171c; }
.c2c-input-tabs { display: flex; gap: 22px; }
.c2c-input-tabs button { position: relative; padding: 0 0 8px; border: 0; background: transparent; color: #7f899b; font-size: 13px; }
.c2c-input-tabs button.is-active { color: #fff; }
.c2c-input-tabs button.is-active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: #168bff; content: ""; }
.c2c-amount-input-large { margin-top: 13px; }
.c2c-calculation { display: grid; margin: 16px 0; padding: 12px; border-radius: 5px; background: #1e2128; grid-template-columns: 1fr 1fr; gap: 10px; }
.c2c-calculation div:nth-child(even) { text-align: right; }
.c2c-calculation b { font-size: 12px; }
.c2c-select, .c2c-form-card select { width: 100%; height: 43px; margin-bottom: 16px; padding: 0 10px; border: 1px solid #333844; border-radius: 4px; outline: 0; background: #20232a; color: #fff; }
.c2c-form-warning { margin-bottom: 16px; padding: 11px; border: 1px solid rgba(238,184,72,.35); border-radius: 4px; background: rgba(238,184,72,.08); color: #d7b66e; font-size: 12px; }
.c2c-form-warning a { color: #2996ff !important; }
@font-face { font-family: "FontAwesome"; src: url("/Public/Home/fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"); font-weight: normal; font-style: normal; }
.c2c-risk-notice { display: flex; align-items: center; min-height: 48px; margin: 7px 15px 0; padding: 12px 14px; border: 1px solid #1d2128; border-radius: 4px; background: #111318; color: #f0f3f7; font-size: 13px; line-height: 1.45; }
.c2c-risk-notice .fa { flex: 0 0 auto; margin-right: 9px; color: #168bff; font-size: 17px; }
.c2c-info-card { margin-top: 7px; padding: 17px 15px; background: #15171c; }
.c2c-info-card h2, .c2c-section-block h2, .c2c-form-card h2 { margin: 0 0 14px; color: #fff; font-size: 15px; }
.c2c-info-card > div { display: flex; justify-content: space-between; padding: 9px 0; color: #8d96a8; font-size: 12px; }
.c2c-info-card > div b { color: #e9edf4; font-weight: 500; text-align: right; }
.c2c-instruction p { margin: 0; color: #929bad; font-size: 12px; line-height: 1.7; }

/* C2C order list and detail */
.c2c-filter-tabs { display: flex; background: #15171c; }
.c2c-filter-tabs a { position: relative; display: grid; min-height: 44px; place-items: center; color: #8c95a7; font-size: 12px; white-space: nowrap; }
.c2c-filter-tabs a.is-active { color: #fff; }
.c2c-filter-tabs a.is-active::after { position: absolute; right: 20%; bottom: 0; left: 20%; height: 2px; background: #168bff; content: ""; }
.c2c-filter-tabs-primary a { flex: 1 1 0; font-size: 14px; }
.c2c-filter-tabs-scroll { overflow-x: auto; border-top: 1px solid #24272e; }
.c2c-filter-tabs-scroll a { flex: 0 0 auto; padding: 0 14px; }
.c2c-order-list { padding-top: 7px; background: #0d0e11; }
.c2c-order-card { display: block; margin-bottom: 7px; padding: 15px; background: #17191f; color: #fff !important; }
.c2c-order-card-head { display: flex; align-items: center; gap: 8px; }
.c2c-order-card-head > b { font-size: 13px; }
.c2c-status { margin-left: auto; color: #e1ad4a; font-size: 12px; font-style: normal; }
.c2c-status-20 { color: #2ca5ff; }
.c2c-status-40 { color: #36c695; }
.c2c-status-50, .c2c-status-51 { color: #727c8f; }
.c2c-status-30 { color: #ee6879; }
.c2c-order-card-main { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 15px; }
.c2c-order-card-main strong { font-size: 15px; }
.c2c-order-card-main > b { font-size: 18px; }
.c2c-order-card-grid { display: grid; margin-top: 14px; grid-template-columns: 1fr 1fr; }
.c2c-order-card-grid span { color: #7f899b; font-size: 10px; }
.c2c-order-card-grid span:last-child { text-align: right; }
.c2c-order-card-grid b { display: block; margin-top: 5px; color: #cad0db; font-size: 11px; font-weight: 500; }
.c2c-order-card-foot { display: flex; justify-content: space-between; margin-top: 13px; padding-top: 11px; border-top: 1px solid #292c34; color: #687285; font-size: 9px; }
.c2c-order-mask { margin-top: 8px; color: #788296; font-size: 10px; }
.c2c-order-hero { display: flex; align-items: center; justify-content: space-between; min-height: 132px; padding: 20px 20px 18px; background: linear-gradient(135deg,#14385b,#131820 66%); }
.c2c-order-hero span { color: #9dacbf; font-size: 11px; }
.c2c-order-hero h2 { margin: 7px 0 9px; color: #fff; font-size: 25px; }
.c2c-order-hero p { margin: 0; color: #a9b4c5; font-size: 11px; }
.c2c-order-hero p b { color: #fff; }
.c2c-order-hero-icon { display: grid; width: 52px; height: 52px; border: 1px solid rgba(40,151,255,.5); border-radius: 50%; place-items: center; background: rgba(21,139,255,.13); color: #2996ff !important; font-size: 25px !important; }
.c2c-order-hero-40 { background: linear-gradient(135deg,#13473b,#131820 66%); }
.c2c-order-hero-50, .c2c-order-hero-51 { background: linear-gradient(135deg,#2e323b,#131820 66%); }
.c2c-escrow-note { padding: 10px 15px; border-bottom: 7px solid #0d0e11; background: #18231f; color: #39c395; font-size: 11px; }
.c2c-escrow-note span { margin-left: 6px; color: #a9b5af; }
.c2c-detail-card { margin-bottom: 7px; padding: 15px; background: #17191f; }
.c2c-detail-card h3 { margin: 0 0 13px; font-size: 14px; }
.c2c-merchant-detail { display: flex; align-items: center; gap: 9px; padding-bottom: 13px; border-bottom: 1px solid #2b2e36; }
.c2c-merchant-detail > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.c2c-merchant-detail b { font-size: 13px; }
.c2c-merchant-detail small { margin-top: 4px; color: #248eff; font-size: 10px; }
.c2c-merchant-detail em { color: #747e91; font-size: 23px; font-style: normal; }
.c2c-detail-total { display: flex; align-items: flex-end; justify-content: space-between; padding: 18px 0; }
.c2c-detail-total span { color: #8a94a7; font-size: 12px; }
.c2c-detail-total strong { font-size: 22px; }
.c2c-detail-list { margin: 0; }
.c2c-detail-list > div { display: flex; justify-content: space-between; padding: 8px 0; gap: 14px; }
.c2c-detail-list dt { color: #7d879a; font-size: 11px; }
.c2c-detail-list dd { overflow-wrap: anywhere; margin: 0; color: #d6dbe4; font-size: 11px; text-align: right; }
.c2c-payment-detail { padding-top: 3px; }
.c2c-sensitive { color: #fff !important; font-size: 13px !important; font-weight: 700; user-select: all; }
.c2c-payment-extra { max-width: 68%; white-space: pre-wrap; word-break: break-word; }
.c2c-payment-qr { margin-top: 13px; padding-top: 13px; border-top: 1px solid #292d35; }
.c2c-payment-qr > span { display: block; margin-bottom: 9px; color: #7d879a; font-size: 11px; }
.c2c-payment-qr img { display: block; width: min(210px,70vw); max-height: 260px; border: 1px solid #343943; border-radius: 5px; background: #fff; object-fit: contain; }

.c2c-muted { color: #8993a5; font-size: 12px; }
.c2c-support-pair { display: grid; margin-bottom: 7px; background: #17191f; grid-template-columns: 1fr 1fr; }
.c2c-support-pair > a, .c2c-support-pair > div { display: flex; align-items: center; min-height: 66px; padding: 11px 15px; gap: 9px; }
.c2c-support-pair > * + * { border-left: 1px solid #2a2d35; }
.c2c-support-pair > * > b { display: grid; width: 30px; height: 30px; border-radius: 50%; place-items: center; background: #222b38; color: #258fff; }
.c2c-support-pair > * > span { display: flex; font-size: 12px; font-weight: 650; flex-direction: column; }
.c2c-support-pair small { margin-top: 3px; color: #758094; font-size: 9px; font-weight: 400; }
.c2c-action-dock { position: sticky; bottom: 0; display: grid; padding: 11px 15px calc(11px + env(safe-area-inset-bottom)); border-top: 1px solid #2b2e36; background: rgba(18,19,23,.98); grid-template-columns: 1fr 1fr; gap: 10px; }
.c2c-action-dock form { min-width: 0; }
.c2c-waiting-action { display: grid; min-height: 44px; padding: 4px; place-items: center; color: #8791a4; font-size: 11px; text-align: center; }
.c2c-release-dock { position: sticky; bottom: 0; padding: 12px 15px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #2b2e36; background: rgba(18,19,23,.98); }
.c2c-release-dock label { display: flex; align-items: center; justify-content: space-between; color: #c8ced9; font-size: 12px; }
.c2c-release-dock input { width: 62%; height: 38px; padding: 0 10px; border: 1px solid #343943; border-radius: 4px; outline: 0; background: #20232a; color: #fff; }
.c2c-release-dock p { margin: 8px 0 10px; color: #e3a752; font-size: 10px; }
.c2c-appeal-form { margin-top: 12px; padding-top: 12px; border-top: 1px solid #2b2e36; }
.c2c-appeal-form textarea { width: 100%; min-height: 52px; margin-bottom: 9px; padding: 9px 10px; border: 1px solid #343943; border-radius: 4px; outline: 0; resize: vertical; background: #20232a; color: #fff; font-size: 11px; }

/* C2C receiving methods and merchant chat */
.c2c-section-block { padding: 17px 15px; border-bottom: 7px solid #0d0e11; background: #15171c; }
.c2c-payment-card { display: flex; align-items: center; margin-top: 9px; padding: 12px; border: 1px solid #2e323b; border-radius: 6px; background: #1c1f25; gap: 11px; }
.c2c-payment-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; place-items: center; background: rgba(22,139,255,.14); color: #2995ff; font-weight: 700; }
.c2c-payment-card > div { min-width: 0; }
.c2c-payment-card b { display: block; font-size: 12px; }
.c2c-payment-card b em { margin-left: 5px; color: #31bd91; font-size: 9px; font-style: normal; }
.c2c-payment-card p, .c2c-payment-card small { overflow: hidden; display: block; margin: 5px 0 0; color: #8c96a8; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.c2c-form-card { margin-top: 7px; padding: 17px 15px 25px; background: #15171c; }
.c2c-form-card > label { display: block; margin-bottom: 14px; }
.c2c-form-card > label > span { display: block; margin-bottom: 7px; color: #969fb0; font-size: 11px; }
.c2c-form-card input[type="text"], .c2c-form-card input[type="password"] { width: 100%; height: 43px; padding: 0 10px; border: 1px solid #333844; border-radius: 4px; outline: 0; background: #20232a; color: #fff; }
.c2c-form-card select { margin: 0; }
.c2c-form-card .c2c-checkbox { display: flex; align-items: center; gap: 8px; }
.c2c-form-card .c2c-checkbox input { accent-color: #168bff; }
.c2c-form-card .c2c-checkbox span { margin: 0; }
.c2c-chat-page { display: flex; overflow: hidden; height: 100vh; padding-bottom: 0; flex-direction: column; }
.c2c-chat-header { position: relative; flex: 0 0 60px; height: 60px; padding-left: 53px; gap: 9px; }
.c2c-chat-header .c2c-back { left: 8px; }
.c2c-chat-header h1 { font-size: 14px; }
.c2c-chat-header small { display: block; overflow: hidden; max-width: 250px; margin-top: 3px; color: #788397; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.c2c-chat-separation { display: flex; flex: 0 0 36px; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid #282c34; background: #1a1d23; color: #8f99aa; font-size: 10px; }
.c2c-chat-separation a { color: #2996ff !important; }
.c2c-chat-status { flex: 0 0 28px; padding: 7px 13px; border-bottom: 1px solid #282c34; background: #15181d; color: #8d98aa; font-size: 9px; }
.c2c-chat-status-0 { color: #e6a947; }
.c2c-chat-status-1 { color: #32bd91; }
.c2c-chat-status-2 { color: #778194; }
.c2c-message-list { overflow-y: auto; flex: 1 1 auto; padding: 15px 13px; background: #111216; }
.c2c-chat-greeting { max-width: 86%; margin: 10px auto 18px; padding: 12px 14px; border: 1px solid #2e333d; border-radius: 7px; background: #1b1e24; color: #d0d5de; }
.c2c-chat-greeting b { display: block; margin-bottom: 5px; font-size: 11px; }
.c2c-chat-greeting p { margin: 0; color: #919bad; font-size: 10px; line-height: 1.6; }
.c2c-message { display: flex; align-items: flex-start; margin-bottom: 17px; gap: 8px; }
.c2c-message > div { max-width: 72%; }
.c2c-message p { margin: 0; padding: 10px 12px; border-radius: 2px 10px 10px 10px; background: #22252c; color: #f0f2f6; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.c2c-message time { display: block; margin-top: 4px; color: #606a7c; font-size: 8px; }
.c2c-message.is-mine { flex-direction: row-reverse; }
.c2c-message.is-mine > div { display: flex; align-items: flex-end; flex-direction: column; }
.c2c-message.is-mine p { border-radius: 10px 2px 10px 10px; background: #167cdf; }
.c2c-system-message { margin: 8px auto 15px; color: #697487; font-size: 9px; text-align: center; }
.c2c-chat-compose { display: flex; flex: 0 0 auto; align-items: flex-end; padding: 9px 10px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid #292d35; background: #191b20; gap: 8px; }
.c2c-chat-compose textarea { min-height: 38px; max-height: 92px; padding: 9px 10px; border: 1px solid #343943; border-radius: 5px; outline: 0; flex: 1 1 auto; resize: none; background: #24272e; color: #fff; font-size: 12px; }
.c2c-chat-compose button { flex: 0 0 62px; height: 38px; border: 0; border-radius: 4px; background: #168bff; color: #fff; font-size: 12px; font-weight: 700; }
.c2c-chat-closed { flex: 0 0 auto; padding: 13px; border-top: 1px solid #292d35; background: #191b20; color: #7f899a; font-size: 11px; text-align: center; }

@media (max-width: 370px) {
  .c2c-offer-grid strong { font-size: 19px; }
  .c2c-filter-bar { grid-template-columns: 1fr 1fr; }
  .c2c-filter-bar button { grid-column: span 2; }
  .c2c-support-pair a { padding-right: 8px; padding-left: 8px; }
}

/* C2C 订单详情精简版：商家卡片 + 联系商家按钮 + 订单号复制 */
.c2c-merchant-card .c2c-merchant-detail { padding-bottom: 12px; }
.c2c-merchant-card .c2c-merchant-detail small { color: #7d879a; }
.c2c-contact-pill { flex: 0 0 auto; max-width: 48%; overflow: hidden; padding: 7px 14px; border: 0; border-radius: 16px; background: #1e8bff; color: #fff !important; font-size: 12px; font-weight: 600; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.c2c-assurance { margin: 0; padding: 10px 0 0; list-style: none; }
.c2c-assurance li { color: #c4cad5; font-size: 12px; }
.c2c-assurance li > a, .c2c-assurance li { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.c2c-assurance li > a { flex: 1; padding: 0; color: inherit !important; }
.c2c-assurance i { display: grid; width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%; place-items: center; background: #1fb57f; color: #fff; font-size: 10px; font-style: normal; }
.c2c-assurance span { flex: 1; }
.c2c-assurance em { color: #747e91; font-size: 18px; font-style: normal; }
.c2c-detail-title { display: flex; align-items: center; gap: 6px; }
.c2c-detail-title .is-buy { color: #1fb57f; }
.c2c-detail-title .is-sell { color: #f0546a; }
.c2c-order-summary > div { padding: 11px 0; border-bottom: 1px solid #262930; }
.c2c-order-summary > div:last-child { border-bottom: 0; }
.c2c-order-summary dt, .c2c-order-summary dd { font-size: 13px; }
.c2c-order-summary .is-total dd { color: #fff; font-size: 18px; font-weight: 700; }
.c2c-copy-row { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.c2c-copy-button { display: inline-grid; width: 24px; height: 24px; flex: 0 0 24px; padding: 0; border: 0; place-items: center; background: transparent; color: #9aa4b5; cursor: pointer; }
.c2c-copy-button:active { color: #2996ff; }
.c2c-toast { position: fixed; z-index: 9999; top: 45%; left: 50%; padding: 9px 18px; border-radius: 8px; background: rgba(0,0,0,.82); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, -50%); transition: opacity .2s; }
.c2c-toast.is-visible { opacity: 1; }
