/* corin2 community pass — last-layer consistency. tokens only. no new chrome. */

html body,
html body .cp-wrap {
  font-family: var(--cp-font) !important;
  font-size: var(--cp-fs-body);
  line-height: var(--cp-lh-body);
  letter-spacing: var(--cp-ls);
  background: var(--cp-bg);
  color: var(--cp-ink);
}

/* ── header ── */
.cp-head {
  background: var(--cp-head-bg);
  border-bottom: 2px solid var(--cp-brand);
  box-shadow: none;
  font-family: var(--cp-font-ui);
}
.cp-head a,
.cp-head button,
.cp-head input {
  font-family: var(--cp-font-ui);
}
.cp-head-inner {
  height: 56px;
  gap: var(--cp-4);
  padding: 0 var(--cp-4);
}
.cp-logo {
  gap: var(--cp-2);
  font-size: 22px;
  font-weight: 700;
  color: var(--cp-brand);
  border-radius: 0;
}
.cp-logo img { width: 28px; height: 28px; border-radius: 0; }
.cp-gnb li a {
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cp-sub);
  border-radius: 0;
  background: transparent;
}
.cp-gnb li a:hover,
.cp-gnb a.on,
.cp-gnb a[aria-current="page"] {
  color: var(--cp-brand);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--cp-brand);
}
.cp-gnb .cp-dd-menu {
  padding: var(--cp-1) 0;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-sm);
  box-shadow: var(--cp-shadow-pop);
  background: var(--cp-panel);
}
.cp-gnb .cp-dd-menu a {
  padding: var(--cp-2) var(--cp-4);
  border-radius: 0;
  box-shadow: none;
}
.cp-gnb .cp-dd-menu a:hover { background: var(--cp-soft-bg); color: var(--cp-brand); box-shadow: none; }
.cp-account { gap: var(--cp-2); font-size: 14px; }
.cp-account a { color: var(--cp-sub); font-weight: var(--cp-fw-semibold); }
.cp-account .cp-join {
  display: inline-flex;
  align-items: center;
  height: var(--cp-control);
  min-height: var(--cp-control);
  padding: 0 var(--cp-3);
  border-radius: var(--cp-radius-sm);
  background: var(--cp-brand);
  color: var(--cp-brand-ink);
}
.cp-account .cp-join:hover { background: var(--cp-brand-h); color: var(--cp-brand-ink); }
.cp-head-search {
  width: 200px;
  height: var(--cp-control);
  border: 1px solid var(--cp-line);
  background: var(--cp-panel);
  border-radius: var(--cp-radius-sm);
}
.cp-head-search input[type="search"] {
  height: 30px;
  min-height: 30px;
  padding: 0 var(--cp-2);
  border: 0;
  box-shadow: none;
  font-size: var(--cp-fs-caption);
}
.cp-head-search button { width: 32px; height: 30px; color: var(--cp-sub); }
.cp-theme-btn {
  width: var(--cp-control);
  height: var(--cp-control);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-sm);
  background: transparent;
}

/* ── tape ── */
.cp-global-tape {
  height: 32px;
  border-bottom: 1px solid var(--cp-line);
  background: var(--cp-panel);
}
.cp-global-tape-inner {
  height: 32px;
  padding: 0 var(--cp-4);
}
.cp-global-tape .cp-market-row {
  min-height: 32px;
  gap: var(--cp-2);
  padding: 0 var(--cp-3);
  font-size: var(--cp-fs-caption);
  border-radius: 0;
}
.cp-global-tape .up { color: var(--cp-up); }
.cp-global-tape .dn { color: var(--cp-down); }

/* ── body ── */
.cp-body {
  margin: var(--cp-3) auto;
  padding: 0 var(--cp-4);
  gap: var(--cp-4);
}
.cp-content {
  padding: var(--cp-4);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: var(--cp-panel);
  box-shadow: none;
}
.cp-page-home .cp-content,
.cp-page-data .cp-content,
.cp-data-body .cp-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* ── home ── */
.cp-home { display: flex; flex-direction: column; gap: var(--cp-3); }
html body .cp-home-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--cp-line);
  background: var(--cp-panel);
}
html body .cp-tg-banner {
  display: inline-flex;
  align-items: center;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: #229ED9;
  color: #fff;
  font-family: var(--cp-font-ui);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  filter: none;
}
html body .cp-tg-banner:hover {
  color: #fff;
  background: #1b8fc7;
  transform: none;
  box-shadow: none;
  filter: none;
}
.cp-tg-banner-ic,
.cp-tg-banner-cta { display: none; }
.cp-tg-banner-text { display: inline-flex; align-items: baseline; gap: var(--cp-2); }
.cp-tg-banner-text > strong { font-size: var(--cp-fs-body); font-weight: var(--cp-fw-bold); color: inherit; text-shadow: none; }
.cp-tg-banner-text > em { font-style: normal; font-size: var(--cp-fs-caption); font-weight: var(--cp-fw-regular); color: var(--cp-faint); text-shadow: none; }
html body .cp-trending-coins {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}
html body .cp-trending-coins > strong {
  margin: 0;
  color: var(--cp-faint);
  font-size: 12px;
  font-weight: 700;
}
html body .cp-trending-coins > div { display: flex; flex-wrap: wrap; gap: 6px; }
html body .cp-trending-coins a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid var(--cp-line);
  background: var(--cp-soft-bg);
  color: var(--cp-ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
html body .cp-trending-coins a:hover {
  color: var(--cp-brand);
  border-color: var(--cp-brand-border);
  background: var(--cp-brand-soft);
}
html body .cp-trending-coins img { width: 16px; height: 16px; border-radius: 0; }

.cp-widget-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--cp-3);
}
.cpw {
  background: var(--cp-panel);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  box-shadow: none;
}
.cpw-head {
  height: 32px;
  padding: 0 var(--cp-3);
  border-bottom: 0;
  background: var(--cp-brand);
}
.cpw-head h2 {
  font-size: var(--cp-fs-ui);
  font-weight: var(--cp-fw-bold);
  color: var(--cp-brand-ink);
}
.cpw-head a { font-size: var(--cp-fs-caption); color: rgba(255,255,255,.78); }
.cpw-head a:hover { color: #fff; }
html.dark .cpw-head,
html.rx_dark .cpw-head { background: #182230; }
html.dark .cpw-head h2,
html.rx_dark .cpw-head h2 { color: var(--cp-ink); }
.cpw-list { padding: 0 var(--cp-3); }
.cpw-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--cp-nick-w) var(--cp-date-w);
  align-items: center;
  height: var(--cp-row-h);
  min-height: var(--cp-row-h);
  column-gap: var(--cp-2);
  border-bottom: 1px solid var(--cp-line);
}
.cpw-subject {
  height: var(--cp-row-h);
  font-size: var(--cp-fs-body);
  font-weight: var(--cp-fw-medium);
  line-height: var(--cp-row-h);
  letter-spacing: 0;
}
.cpw-meta { display: contents; font-size: var(--cp-fs-caption); }
.cpw-meta b,
.cpw-meta time {
  font-size: var(--cp-fs-caption);
  line-height: var(--cp-row-h);
  text-align: right;
  white-space: nowrap;
}
.cpw-empty {
  padding: var(--cp-5) var(--cp-3);
  color: var(--cp-faint);
  font-size: var(--cp-fs-caption);
  text-align: left;
}

.cpw-notice {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 64px;
  height: 32px;
  min-height: 32px;
  border: 1px solid var(--cp-line);
  background: var(--cp-panel);
}
.cpw-notice > strong {
  background: transparent;
  color: var(--cp-brand);
  font-size: var(--cp-fs-caption);
  font-weight: var(--cp-fw-bold);
  line-height: 32px;
}
.cpw-notice-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 12px;
  padding: 0 12px;
}
.cpw-notice-items a {
  font-size: var(--cp-fs-body);
  font-weight: var(--cp-fw-medium);
  line-height: 32px;
}
.cpw-notice-more {
  padding-right: 12px;
  font-size: var(--cp-fs-caption);
  line-height: 32px;
  text-align: right;
  white-space: nowrap;
}

.cpw-gallery-grid { gap: var(--cp-2); padding: var(--cp-2); }
.cpw-gallery-grid img { border-radius: 0; }
.cpw-gallery-empty { border-radius: 0; background: var(--cp-soft-bg); }

/* ── sidebar ── */
.cp-side { width: 260px; gap: var(--cp-3); }
.cp-card {
  padding: var(--cp-3);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: var(--cp-panel);
  box-shadow: none;
}
.cp-card-head {
  margin: calc(-1 * var(--cp-3)) calc(-1 * var(--cp-3)) var(--cp-2);
  padding: var(--cp-2) var(--cp-3);
  border-bottom: 0;
  background: var(--cp-brand);
  color: var(--cp-brand-ink);
  font-size: var(--cp-fs-ui);
  font-weight: var(--cp-fw-bold);
}
.cp-card-head a { color: rgba(255,255,255,.78); }
.cp-card-head a:hover { color: #fff; }
html.dark .cp-card-head,
html.rx_dark .cp-card-head { background: #182230; color: var(--cp-ink); }
.cp-side-link {
  padding: var(--cp-2);
  border-radius: 0;
  font-size: var(--cp-fs-body);
  font-weight: var(--cp-fw-medium);
}
.cp-side-btn {
  padding: 0 var(--cp-3);
  min-height: var(--cp-control);
  line-height: var(--cp-control);
  border-radius: var(--cp-radius-sm);
  background: var(--cp-brand);
  color: var(--cp-brand-ink);
  font-size: var(--cp-fs-ui);
  font-weight: var(--cp-fw-semibold);
}
.cp-side-note { font-size: var(--cp-fs-caption); color: var(--cp-sub); margin: 0 0 var(--cp-2); }
.cp-rk-row { height: var(--cp-row-h); padding: 0; border-radius: 0; }
.cp-rk-row.cp-rk-top1,
.cp-rk-row.cp-rk-top2,
.cp-rk-row.cp-rk-top3 { background: transparent; }
.cp-rk-num { border-radius: var(--cp-radius-sm); }

/* ── wing ── */
.cp-wad {
  display: block;
  padding: var(--cp-3);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius);
  background: var(--cp-panel);
  color: var(--cp-ink);
  text-align: left;
  box-shadow: none;
  transform: none;
}
.cp-wad:hover { transform: none; box-shadow: none; color: var(--cp-brand); }
.cp-wad-tg,
.cp-wad-ev { background: var(--cp-panel); color: var(--cp-ink); }
.cp-wad-ic,
.cp-wad-btn,
.cp-wad-badge { display: none; }
.cp-wad strong { font-size: var(--cp-fs-body); font-weight: var(--cp-fw-bold); line-height: var(--cp-lh-tight); }
.cp-wad-sub { font-size: var(--cp-fs-caption); color: var(--cp-faint); }

/* ── cta / vitals leftovers ── */
.cp-cta,
.cp-vitals,
.cp-community-intro,
.cp-home-h1 { display: none; }

/* ── tool nav ── */
.cp-tool-nav {
  min-height: 40px;
  border: 1px solid var(--cp-line);
  border-bottom: 0;
  background: var(--cp-panel);
  border-radius: 0;
}
.cp-tool-nav-title {
  padding: 0 var(--cp-3);
  background: var(--cp-soft-bg);
  font-size: var(--cp-fs-body);
}
.cp-tool-nav a {
  min-height: 40px;
  padding: 0 var(--cp-3);
  font-size: var(--cp-fs-body);
  background: transparent;
}
.cp-tool-nav a.on,
.cp-tool-nav a:hover {
  background: transparent;
  color: var(--cp-brand);
}
.cp-tool-nav a.on::after {
  height: 2px;
  background: var(--cp-brand);
  left: var(--cp-3);
  right: var(--cp-3);
}
.cp-data-discuss {
  display: block;
  min-height: 0;
  margin-top: var(--cp-3);
  padding: var(--cp-2) 0 0;
  border: 0;
  border-top: 1px solid var(--cp-line);
  background: transparent;
}
.cp-data-discuss strong,
.cp-data-discuss span { display: none; }
.cp-data-discuss a {
  padding: 0;
  border: 0;
  color: var(--cp-brand);
  font-size: var(--cp-fs-caption);
  font-weight: var(--cp-fw-semibold);
  background: transparent;
}
.cp-data-discuss a:hover { background: transparent; text-decoration: underline; }

/* ── data heads: typography, not filled bars ── */
.cp-data-body .cp-oc-dashboard > .cp-oc-head,
.cp-data-body .cp-oc-kimp > .cp-oc-head,
.cp-data-body .cp-oc-ind > .ind-head,
.cp-data-body .cp-oc-whale-v2 > .oc2-page-head,
.cp-data-body .cp-oc-poschart > .cp-oc-head,
.cp-data-body .cp-oc-liq > .cp-oc-head,
.cp-data-body .cp-oc-liqmap > .cp-oc-head,
.cp-data-body .cp-oc-smart > .cp-oc-head,
.cp-data-body .cp-oc-alarm > .al-head {
  min-height: 40px;
  margin: 0;
  padding: var(--cp-2) var(--cp-3);
  border: 1px solid var(--cp-line);
  background: var(--cp-panel);
  color: var(--cp-ink);
  border-radius: 0;
}
.cp-data-body .cp-oc-dashboard > .cp-oc-head .md-title,
.cp-data-body .cp-oc-kimp > .cp-oc-head .cp-oc-title,
.cp-data-body .cp-oc-ind > .ind-head .ind-title,
.cp-data-body .cp-oc-whale-v2 > .oc2-page-head h1,
.cp-data-body .cp-oc-poschart > .cp-oc-head .pc-title,
.cp-data-body .cp-oc-liq > .cp-oc-head .cp-oc-title,
.cp-data-body .cp-oc-liqmap > .cp-oc-head .cp-oc-title,
.cp-data-body .cp-oc-smart > .cp-oc-head .cp-oc-title,
.cp-data-body .cp-oc-alarm > .al-head .al-title {
  color: var(--cp-ink);
  font-size: var(--cp-fs-title);
  font-weight: var(--cp-fw-bold);
}
.cp-data-body .cp-oc-dashboard > .cp-oc-head small,
.cp-data-body .cp-oc-kimp > .cp-oc-head small,
.cp-data-body .cp-oc-ind > .ind-head small,
.cp-data-body .cp-oc-whale-v2 > .oc2-page-head .oc2-subtitle,
.cp-data-body .cp-oc-whale-v2 > .oc2-page-head .oc2-eyebrow,
.cp-data-body .cp-oc-poschart > .cp-oc-head small,
.cp-data-body .cp-oc-liq > .cp-oc-head small,
.cp-data-body .cp-oc-liqmap > .cp-oc-head small,
.cp-data-body .cp-oc-smart > .cp-oc-head small,
.cp-data-body .cp-oc-alarm > .al-head small,
.cp-data-body .cp-oc-poschart > .cp-oc-head .pc-meta,
.cp-data-body .cp-oc-liq > .cp-oc-head .cp-oc-meta,
.cp-data-body .cp-oc-liqmap > .cp-oc-head .cp-oc-meta,
.cp-data-body .cp-oc-smart > .cp-oc-head .cp-oc-meta,
.cp-data-body .cp-oc-alarm > .al-head .al-meta {
  color: var(--cp-sub);
  font-size: var(--cp-fs-caption);
}
.cp-data-body .cp-oc-dashboard > .cp-oc-head button,
.cp-data-body .cp-oc-kimp > .cp-oc-head button,
.cp-data-body .cp-oc-whale-v2 > .oc2-page-head button,
.cp-data-body .cp-oc-whale-v2 > .oc2-page-head .oc2-export,
.cp-data-body .cp-oc-poschart > .cp-oc-head button,
.cp-data-body .cp-oc-liq > .cp-oc-head button,
.cp-data-body .cp-oc-liqmap > .cp-oc-head button,
.cp-data-body .cp-oc-smart > .cp-oc-head button {
  min-height: var(--cp-control);
  padding: 0 var(--cp-3);
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-sm);
  background: var(--cp-panel);
  color: var(--cp-ink);
}

.cp-oc-dashboard .md-card,
.cp-oc-dashboard .qs-card,
.cp-oc-dashboard .md-chart-wrap,
.cp-oc-dashboard .md-table-wrap,
.cp-oc-kimp [class*="card"],
.cp-oc-ind [class*="card"] {
  border-radius: 0 !important;
  box-shadow: none;
}
.cp-oc-dashboard .qs-dot,
.cp-oc-dashboard .qs-item {
  border-radius: var(--cp-radius-sm);
}
.cp-oc-dashboard .pos,
.cp-oc-dashboard .up,
.cp-oc-dashboard .md-card-val.pos,
.cp-oc-dashboard .md-card-sub.pos { color: var(--cp-up) !important; }
.cp-oc-dashboard .neg,
.cp-oc-dashboard .dn,
.cp-oc-dashboard .md-card-val.neg,
.cp-oc-dashboard .md-card-sub.neg { color: var(--cp-down) !important; }

/* ── auth ── */
.cp-page-auth .cp-body { justify-content: flex-start; }
.cp-page-auth .cp-content {
  width: 100%;
  max-width: 400px;
  margin: var(--cp-5) auto var(--cp-6);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.cp-auth-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.cp-auth-hero {
  margin: 0 0 16px;
  line-height: 0;
  overflow: hidden;
  border: 1px solid var(--cp-line);
  background: #24496f;
}
.cp-auth-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.cp-wrap.cp-page-auth .cp-content {
  max-width: 440px;
}
.cp-auth-head {
  padding: 0 0 var(--cp-3);
  border: 0;
  border-bottom: 2px solid var(--cp-ink);
  background: transparent;
  text-align: left;
  min-height: 0;
}
.cp-auth-title {
  font-size: var(--cp-fs-title);
  font-weight: var(--cp-fw-bold);
  color: var(--cp-ink);
}
.cp-auth-sub.cp-auth-sub--show {
  margin: var(--cp-2) 0 0;
  font-size: var(--cp-fs-caption);
  color: var(--cp-sub);
  line-height: var(--cp-lh-body);
}
.cp-auth-sub a { color: var(--cp-brand); }
.cp-auth-form { padding: var(--cp-4) 0 0; }
.cp-auth .signin,
.cp-auth .xm .signin,
.cp-auth .xm .auth {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.cp-auth .xm .signin input[type="text"],
.cp-auth .xm .signin input[type="email"],
.cp-auth .xm .signin input[type="password"],
.cp-auth .xm .form-horizontal input[type="text"],
.cp-auth .xm .form-horizontal input[type="email"],
.cp-auth .xm .form-horizontal input[type="password"] {
  height: var(--cp-control-lg);
  min-height: var(--cp-control-lg);
  border-radius: var(--cp-radius-sm);
}
.cp-auth .xm .signin .submit,
.cp-auth .xm .form-horizontal .btnArea .btn,
.cp-auth .xm .auth__btn--primary {
  height: var(--cp-control-lg);
  min-height: var(--cp-control-lg);
  border-radius: var(--cp-radius-sm);
  background: var(--cp-brand) !important;
  border-color: var(--cp-brand) !important;
  color: var(--cp-brand-ink) !important;
}
.cp-social-login { padding: var(--cp-3) 0 0; gap: var(--cp-2); }
.cp-sso-btn {
  min-height: var(--cp-control-lg);
  border-radius: var(--cp-radius-sm);
  font-size: var(--cp-fs-ui);
  box-shadow: none;
}
.cp-auth .auth .auth__hero,
.cp-auth .sns-signup__hero { display: none !important; }
.cp-native-search { max-width: 980px; margin: 0 auto; padding: 16px 0 48px; }
.cp-native-search h1 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.cp-native-search > .desc { margin: 0 0 16px; color: var(--cp-sub); font-size: 13px; }
.cp-search-form { display: flex; gap: 8px; }
.cp-search-form input {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px;
  border: 1px solid var(--cp-line); background: var(--cp-panel); color: inherit; font-size: 16px;
}
.cp-search-form button {
  height: 44px; padding: 0 16px; border: 0; background: #24496f; color: #fff; font-weight: 700; cursor: pointer;
}
.cp-search-summary { min-height: 24px; margin: 16px 0 8px; color: var(--cp-sub); font-size: 13px; }
.cp-search-results { display: grid; gap: 8px; }
.cp-search-item {
  display: block; padding: 14px 16px; border: 1px solid var(--cp-line); background: var(--cp-panel);
}
.cp-search-item a { color: inherit; text-decoration: none; }
.cp-search-item h2 { margin: 0 0 6px; font-size: 16px; line-height: 24px; }
.cp-search-item p { margin: 0; color: var(--cp-sub); font-size: 13px; line-height: 20px; }
.cp-search-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; color: var(--cp-faint); font-size: 12px; }
.cp-search-board { color: var(--cp-brand); font-weight: 700; }
.cp-search-nick a { color: var(--cp-ink); }
.cp-search-pages { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.cp-search-pages button { min-width: 36px; height: 32px; border: 1px solid var(--cp-line); background: var(--cp-panel); cursor: pointer; }
.cp-search-pages button.active { background: #24496f; color: #fff; border-color: #24496f; }
.cp-search-empty { padding: 48px 16px; text-align: center; border: 1px dashed var(--cp-line); color: var(--cp-sub); }
#popup_menu_area { z-index: 10000; }

/* ── trade head ── */
.cp-trade-embed-head { margin: 0 0 var(--cp-3); padding: 0 0 var(--cp-3); gap: var(--cp-2); }
.cp-trade-embed-head h1 { font-size: var(--cp-fs-title); font-weight: var(--cp-fw-bold); }
.cp-trade-embed-demo {
  padding: 0 var(--cp-2);
  height: 20px;
  line-height: 20px;
  border-radius: var(--cp-radius-sm);
  background: var(--cp-warn);
  color: #fff;
  font-size: 11px;
}
.cp-trade-embed-sub { flex: 1 1 100%; margin: 0; font-size: var(--cp-fs-caption); color: var(--cp-sub); }

/* ── guide ── */
.cp-guide { --g-navy: var(--cp-brand); --g-navy2: var(--cp-brand-h); --g-teal: var(--cp-brand); }
.cp-guide-head {
  min-height: 0;
  padding: var(--cp-4);
  border: 1px solid var(--cp-line);
  background: var(--cp-panel);
  color: var(--cp-ink);
}
.cp-guide-head h1 { color: var(--cp-ink) !important; font-size: var(--cp-fs-title) !important; font-weight: var(--cp-fw-bold) !important; }
.cp-guide-head p { color: var(--cp-sub) !important; font-size: var(--cp-fs-caption) !important; }
.cp-guide-nav a { padding: var(--cp-3) var(--cp-4) !important; font-size: var(--cp-fs-body) !important; }
.cp-guide-nav a.is-active,
.cp-guide-nav a:hover { color: var(--cp-brand) !important; }
.cp-guide-card,
.cp-guide-quick,
.cp-guide-principles { border-radius: 0; box-shadow: none; }
.cp-guide-section-head { border-left-color: var(--cp-brand); padding: 0 0 var(--cp-2) var(--cp-3); }

/* ── footer ── */
.cp-foot { margin-top: var(--cp-5); border-top: 1px solid var(--cp-line); background: var(--cp-head-bg); }
.cp-foot-inner { min-height: 40px; padding: var(--cp-2) var(--cp-4); gap: var(--cp-2) var(--cp-3); }
.cp-foot-brand { font-size: var(--cp-fs-body); color: var(--cp-brand); }
.cp-foot-text,
.cp-foot-copy,
.cp-foot-contact { font-size: var(--cp-fs-caption); }
.cp-foot-legal a { font-size: var(--cp-fs-caption); }

/* ── mobile nav ── */
.cp-mobile-nav {
  border-radius: 0;
  box-shadow: var(--cp-shadow-pop);
}
.cp-mnav-head { padding: var(--cp-3); }
.cp-mnav-section a,
.cp-mnav-account a {
  min-height: 44px;
  padding: var(--cp-3);
  border-radius: 0;
  font-size: var(--cp-fs-ui);
}
.cp-mnav-account a.cp-mnav-join {
  background: var(--cp-brand);
  color: var(--cp-brand-ink);
  text-align: center;
}

/* ── amina leftovers ── */
.corin2-amina.widget-index .widget-box {
  border: 1px solid var(--cp-line);
  border-radius: 0;
  background: var(--cp-panel);
}
.corin2-amina.widget-index .widget-box.is-notice-box { background: var(--cp-panel); }

@media (min-width: 48rem) {
  .cp-widget-grid { grid-template-columns: 1fr 1fr; }
  .cp-home-entry { display: flex; }
}
@media (max-width: 56.25rem) {
  .cp-body { margin: var(--cp-2) auto; padding: 0 var(--cp-4); flex-direction: column; align-items: stretch; }
  .cp-content { width: 100%; max-width: 100%; }
  .cp-side { width: 100%; }
  .cp-head-inner { height: 52px; padding: 0 var(--cp-3); gap: 0; }
  .cp-logo { font-size: 18px; }
  .cp-gnb li a { font-size: 14px; padding: 8px; }
  .cp-account .cp-join,
  .cp-account .cp-login { min-height: 44px; height: 44px; padding: 0 var(--cp-3); }
  .cp-page-auth .cp-content { margin: var(--cp-4) auto var(--cp-5); }
  .cp-auth .xm .signin input[type="text"],
  .cp-auth .xm .signin input[type="email"],
  .cp-auth .xm .signin input[type="password"] {
    height: 44px;
    min-height: 44px;
    font-size: 16px;
  }
}
@media (max-width: 37.5rem) {
  .cp-widget-grid { grid-template-columns: 1fr; }
  .cp-trending-coins { width: 100%; }
  .cp-tg-banner-text > em { display: none; }
}

.cp-wrap.cp-trade-mode .cp-content { border: 0; box-shadow: none; }


.cpw-head h2,
.cp-card-head,
.cp-page-hero {
  font-family: var(--cp-font-ui);
}
.cp-wing-ad { display: none !important; }
.cp-head-inner,
.cp-foot-inner,
.cp-shell,
.cp-shell-main,
.cp-shell .cp-body,
.cp-shell .cp-content {
  box-sizing: border-box;
}
.cp-head-inner,
.cp-foot-inner {
  max-width: 1880px;
  padding-left: 20px;
  padding-right: 20px;
}
.cp-shell {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 280px;
  gap: 16px;
  width: 100%;
  max-width: 1880px;
  margin: 0 auto;
  padding: 12px 20px 24px;
  align-items: start;
}
.cp-shell-main { min-width: 0; max-width: 100%; }
.cp-shell .cp-content { max-width: 100%; }
.cp-wing {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 68px;
}
.cp-wing-l { width: 180px; }
.cp-wing-r { width: 280px; }
.cp-wing-adimg {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--cp-line);
  background: #24496f;
  color: #fff;
  text-decoration: none;
}
.cp-wing-adimg:hover { color: #fff; text-decoration: none; opacity: .94; }
.cp-wing-l .cp-wing-adimg { width: 180px; }
.cp-wing-r .cp-wing-adimg { width: 280px; height: 168px; }
.cp-wing-adimg img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}
.cp-wing-r .cp-wing-adimg img {
  height: 168px;
  object-fit: cover;
  object-position: center 70%;
}
.cp-wing-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 12px;
  font-family: var(--cp-font-ui);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20,40,64,.88) 0%, rgba(20,40,64,.2) 100%);
}
.cp-wing-r .cp-wing-copy {
  top: auto;
  bottom: 0;
  background: linear-gradient(0deg, rgba(20,40,64,.92) 0%, rgba(20,40,64,.15) 100%);
}
.cp-wing-copy b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.cp-wing-copy em {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  color: rgba(255,255,255,.88);
}
.cp-wing-links {
  border: 1px solid var(--cp-line);
  background: var(--cp-panel);
}
.cp-wing-links strong {
  display: block;
  height: 32px;
  padding: 0 12px;
  background: #24496f;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 32px;
}
.cp-wing-links a {
  display: block;
  height: 32px;
  padding: 0 12px;
  border-top: 1px solid var(--cp-line);
  color: var(--cp-ink);
  font-size: 13px;
  line-height: 32px;
  background: var(--cp-panel);
}
.cp-wing-links a:hover { color: var(--cp-brand); text-decoration: none; background: var(--cp-soft-bg); }
.cp-wing-r .cp-side { width: 100%; }
.cp-shell .cp-body {
  display: block;
  max-width: none;
  margin: 12px 0 0;
  padding: 0;
}
.cp-shell .cp-content { width: 100%; }
.cp-page-hero {
  background: transparent;
  overflow: hidden;
  line-height: 0;
}
.cp-page-hero img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cp-wrap.cp-trade-mode .cp-shell,
.cp-wrap.cp-page-data .cp-shell,
.cp-wrap.cp-page-auth .cp-shell {
  display: block;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 110rem;
  padding: 0 16px;
}
.cp-wrap.cp-trade-mode .cp-wing,
.cp-wrap.cp-page-data .cp-wing,
.cp-wrap.cp-page-auth .cp-wing { display: none; }
@media (max-width: 1199px) {
  .cp-head-inner,
  .cp-foot-inner,
  .cp-shell {
    max-width: 100%;
  }
  .cp-shell {
    display: block;
    grid-template-columns: none;
    width: 100%;
    padding: 0 16px 24px;
  }
  .cp-wing { display: none !important; }
}
.cp-wrap.cp-trade-mode .cp-page-hero { display: none; }
