:root {
  --gp-blue: #0867ff;
  --gp-red: #ef4444;
  --gp-green: #20b26b;
  --gp-text: #111827;
  --gp-muted: #7b8494;
  --gp-line: rgba(15, 23, 42, 0.09);
  --gp-soft: #f5f7fb;
  --gp-card: #ffffff;
}

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

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background: #fff;
  color: var(--gp-text);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.trade-page {
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.page-panel {
  display: none;
}

.page-panel.is-active {
  display: block;
  animation: pageIn 0.38s ease both;
}

.trade-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.trade-hero {
  position: relative;
  height: 165px;
  min-height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.status-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58)),
    url("/assets/img/review-silver-hero.jpg") center / cover no-repeat;
}

.profit-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.62)),
    url("/assets/img/profit-money-hero.jpg") center / cover no-repeat;
}

.trade-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(255, 255, 255, 0.12),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.25),
      transparent 42%,
      rgba(0, 0, 0, 0.25)
    );
  pointer-events: none;
}

.trade-hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 28px 16px;
}

.trade-hero-inner h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 1000;
  line-height: 1.15;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.trade-hero-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -0.035em;
}

.status-section {
  padding: 50px 0 74px;
  background: #fafafa;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 82px;
}

.asset-card {
  min-height: 146px;
  padding: 28px 24px 22px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.asset-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.13);
}

.asset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.asset-head span {
  color: rgba(17, 24, 39, 0.64);
  font-size: 14px;
  font-weight: 900;
}

.asset-head i {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef4ff;
  color: var(--gp-blue);
  font-size: 14px;
  font-style: normal;
  font-weight: 1000;
}

.asset-head i.red {
  background: #fff1f2;
  color: var(--gp-red);
}

.asset-head i.green {
  background: #eafaf1;
  color: var(--gp-green);
}

.asset-card strong {
  display: block;
  margin-bottom: 9px;
  color: #111827;
  font-size: 26px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.06em;
}

.asset-card strong.red {
  color: var(--gp-red);
}

.asset-card strong.blue {
  color: var(--gp-blue);
}

.asset-card p {
  margin: 0;
  color: rgba(17, 24, 39, 0.5);
  font-size: 13px;
  font-weight: 800;
}

.asset-card p b {
  color: var(--gp-red);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.dash-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.dash-head {
  min-height: 64px;
  padding: 22px 26px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dash-head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: -0.05em;
}

.dash-head span,
.dash-head a {
  color: rgba(17, 24, 39, 0.42);
  font-size: 12px;
  font-weight: 850;
}

.chart-empty,
.empty-state {
  min-height: 250px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(17, 24, 39, 0.42);
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}

.recent-profit-list {
  padding: 18px 26px 22px;
}

.recent-profit-list .empty-state {
  min-height: 210px;
  padding: 20px;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.portfolio-card {
  min-height: 250px;
}

.filterbar {
  display: flex;
  gap: 10px;
  padding: 18px 24px 0;
  align-items: center;
}

.search {
  flex: 1;
  min-width: 0;
}

.search input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  outline: none;
  color: #111827;
  font-size: 13px;
  font-weight: 850;
}

.pbtn {
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.table-wrap,
.detail-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table-wrap {
  padding: 20px 24px 24px;
}

.table-wrap table,
.detail-table-wrap table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.table-wrap th,
.table-wrap td,
.detail-table-wrap th,
.detail-table-wrap td {
  padding: 17px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  color: rgba(17, 24, 39, 0.72);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
  white-space: nowrap;
}

.table-wrap th,
.detail-table-wrap th {
  color: rgba(17, 24, 39, 0.55);
  font-size: 12px;
  font-weight: 1000;
}

.empty-td {
  padding: 72px 16px !important;
  color: rgba(17, 24, 39, 0.42) !important;
  text-align: center !important;
}

.portfolio-count {
  padding: 0 24px 24px;
  color: rgba(17, 24, 39, 0.42);
  font-size: 12px;
  font-weight: 850;
}

.notice-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: #eef4ff;
  color: #17408c;
  box-shadow: 0 16px 34px rgba(8, 103, 255, 0.08);
}

.notice-card b {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 1000;
}

.notice-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.65;
}

.profit-section {
  padding: 70px 0 100px;
  background: #fff;
}

.profit-summary-grid {
  width: min(980px, 100%);
  margin: 0 auto 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.profit-summary-card {
  min-height: 170px;
  padding: 34px 24px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.profit-summary-card:hover,
.profit-summary-card.active {
  transform: translateY(-8px);
  border-color: rgba(8, 103, 255, 0.38);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.11);
}

.profit-summary-card i {
  width: 46px;
  height: 46px;
  margin: 0 auto 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f6ff;
  color: var(--gp-blue);
  font-style: normal;
  font-weight: 1000;
}

.profit-summary-card span {
  display: block;
  margin-bottom: 12px;
  color: rgba(17, 24, 39, 0.52);
  font-size: 13px;
  font-weight: 900;
}

.profit-summary-card strong {
  display: block;
  color: #111827;
  font-size: 28px;
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.06em;
}

.profit-summary-card strong.red {
  color: var(--gp-red);
}

.profit-summary-card strong.blue {
  color: var(--gp-blue);
}

.profit-table-section {
  width: min(980px, 100%);
  margin: 0 auto;
}

.profit-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 2px solid #111827;
}

.profit-table-head h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.055em;
}

.profit-table-head span {
  color: rgba(17, 24, 39, 0.42);
  font-size: 12px;
  font-weight: 850;
}

.detail-table-wrap table {
  min-width: 940px;
}

.detail-table-wrap td strong {
  color: #111827;
  font-weight: 1000;
}

.time-badge {
  display: inline-flex;
  margin-left: 6px;
  padding: 4px 6px;
  border-radius: 4px;
  background: #eef4ff;
  color: var(--gp-blue);
  font-size: 12px;
  font-weight: 1000;
}

.type-badge {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  color: rgba(17, 24, 39, 0.7);
  font-size: 12px;
  font-weight: 900;
}

.profit-pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.profit-pager button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 6px;
  background: #fff;
  color: rgba(17, 24, 39, 0.55);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.profit-pager button.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.rt-modal-ov {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(5px);
}

.rt-modal-ov.show {
  display: flex;
}

.rt-modal {
  width: min(720px, 100%);
  max-height: min(760px, calc(100dvh - 40px));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.rt-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.rt-modal-title {
  margin: 0;
  color: #111827;
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: -0.04em;
}

.rt-modal-close {
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.rt-modal-body {
  padding: 24px;
  overflow-y: auto;
}

.rt-modal-text {
  white-space: pre-line;
  color: rgba(15, 23, 42, 0.72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
  letter-spacing: -0.025em;
}

.rt-modal-foot {
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.rt-modal-ok {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--gp-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 1000;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000000;
  display: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transform: translateX(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(7px);
  transition:
    opacity 0.78s ease,
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.78s ease;
}

.reveal.from-left {
  transform: translateX(-38px);
}

.reveal.from-right {
  transform: translateX(38px);
}

.reveal.show {
  opacity: 1;
  transform: translate(0, 0);
  filter: blur(0);
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .trade-container {
    width: min(100% - 32px, 720px);
  }

  .trade-hero {
    height: 150px;
    min-height: 150px;
  }

  .asset-grid,
  .dashboard-grid,
  .portfolio-layout,
  .profit-summary-grid {
    grid-template-columns: 1fr;
  }

  .status-section {
    padding: 34px 0 60px;
  }

  .asset-grid {
    gap: 14px;
    margin-bottom: 34px;
  }

  .dashboard-grid,
  .portfolio-layout {
    gap: 18px;
  }

  .profit-section {
    padding: 56px 0 78px;
  }

  .profit-summary-grid {
    margin-bottom: 44px;
  }

  .filterbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .trade-container {
    width: min(100% - 28px, 420px);
  }

  .trade-hero-inner h1 {
    font-size: 28px;
  }

  .trade-hero-inner p {
    font-size: 13px;
  }

  .asset-card {
    padding: 24px 20px 20px;
  }

  .asset-card strong {
    font-size: 24px;
  }

  .dash-head {
    padding: 18px 20px 14px;
  }

  .table-wrap {
    padding: 16px 18px 20px;
  }

  .profit-table-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
.notice-card-top {
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 24px 28px !important;
  border: 1px solid rgba(8, 103, 255, 0.16) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 8% 20%, rgba(8, 103, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #eef4ff, #f8fbff) !important;
  box-shadow: 0 22px 54px rgba(8, 103, 255, 0.14) !important;
}

.notice-card-top b {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
  color: #0f3f91 !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
}

.notice-card-top b::before {
  content: "✓";
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0867ff;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.notice-card-top p {
  margin: 0 !important;
  color: #17408c !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.7 !important;
}

.asset-grid {
  margin-bottom: 24px !important;
}

.dashboard-grid {
  align-items: start !important;
  margin-bottom: 24px !important;
}

.chart-empty {
  min-height: 150px !important;
  padding: 22px 30px !important;
}

.recent-profit-list {
  max-height: 360px !important;
  overflow: hidden !important;
  padding: 16px 26px 18px !important;
}

.recent-profit-list > *:nth-child(n + 4) {
  display: none !important;
}

.recent-card {
  align-self: start !important;
}

.portfolio-layout {
  margin-top: 0 !important;
}

@media (max-width: 980px) {
  .notice-card-top {
    padding: 20px 22px !important;
    margin-bottom: 18px !important;
  }

  .notice-card-top b {
    font-size: 16px !important;
  }

  .notice-card-top p {
    font-size: 13px !important;
  }

  .recent-profit-list {
    max-height: none !important;
  }
}
.status-section {
  padding-top: 42px !important;
}

.status-section > .trade-container > .notice-card {
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 22px 28px !important;
  border: 1px solid rgba(8, 103, 255, 0.16) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 8% 20%, rgba(8, 103, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #eef4ff, #f8fbff) !important;
  box-shadow: 0 18px 42px rgba(8, 103, 255, 0.12) !important;
}

.status-section > .trade-container > .notice-card b {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
  color: #0f3f91 !important;
  font-size: 18px !important;
  font-weight: 1000 !important;
}

.status-section > .trade-container > .notice-card b::before {
  content: "✓";
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0867ff;
  color: #fff;
  font-size: 14px;
  font-weight: 1000;
}

.status-section > .trade-container > .notice-card p {
  margin: 0 !important;
  color: #17408c !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  line-height: 1.55 !important;
}

.asset-grid {
  margin-bottom: 22px !important;
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1fr) 340px !important;
  gap: 22px !important;
  align-items: start !important;
  margin-bottom: 22px !important;
}

.chart-empty {
  min-height: 126px !important;
  padding: 20px 28px !important;
}

.chart-card {
  align-self: start !important;
}

.recent-card {
  align-self: start !important;
  max-height: 252px !important;
  overflow: hidden !important;
}

.recent-card .dash-head {
  min-height: 58px !important;
  padding: 18px 24px 12px !important;
}

.recent-profit-list {
  max-height: 190px !important;
  overflow: hidden !important;
  padding: 14px 24px 16px !important;
}

.recent-profit-list > *:nth-child(n + 4) {
  display: none !important;
}

.recent-profit-list > * {
  margin: 0 0 8px !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}

.recent-profit-list b,
.recent-profit-list strong {
  display: inline !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

.recent-profit-list p,
.recent-profit-list span,
.recent-profit-list div {
  line-height: 1.35 !important;
}

.portfolio-layout {
  display: block !important;
  margin-top: 0 !important;
}

.portfolio-card {
  width: 100% !important;
  min-height: 0 !important;
}

.table-wrap {
  padding-bottom: 14px !important;
}

.portfolio-count {
  padding-bottom: 18px !important;
}

@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .recent-card {
    max-height: none !important;
  }

  .recent-profit-list {
    max-height: none !important;
  }

  .portfolio-layout {
    display: block !important;
  }
}
.footer-grid {
  display: grid !important;
  grid-template-columns: 130px minmax(0, 1fr) 240px !important;
  gap: 28px !important;
  align-items: flex-start !important;
}

.footer-cs-box {
  width: 240px !important;
  min-width: 240px !important;
  margin-left: auto !important;
  padding-top: 2px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  align-items: flex-start !important;
}

.footer-cs-item {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.footer-cs-item span {
  display: block !important;
  margin: 0 0 6px !important;
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.035em !important;
}

.footer-cs-item strong {
  display: block !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.04em !important;
}

.footer-kakao-card,
#kakaoLink.footer-kakao-card {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 2px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  color: rgba(255, 255, 255, 0.88) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  text-decoration: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.footer-kakao-card:hover,
#kakaoLink.footer-kakao-card:hover {
  transform: none !important;
  background: transparent !important;
  border-color: transparent !important;
}

.footer-kakao-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: transparent !important;
}

.footer-kakao-icon svg,
#kakaoLink.footer-kakao-card svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

.footer-kakao-text {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.footer-kakao-text b {
  display: block !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.04em !important;
}

.footer-kakao-text em {
  display: block !important;
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.46) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.035em !important;
}

.footer-kakao-card:hover .footer-kakao-text b,
#kakaoLink.footer-kakao-card:hover .footer-kakao-text b {
  color: #fee500 !important;
}

.footer-kakao-only,
.social.footer-kakao-only {
  display: none !important;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .footer-cs-box {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    padding-top: 4px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px 18px !important;
    align-items: start !important;
  }

  .footer-kakao-card,
  #kakaoLink.footer-kakao-card {
    grid-column: 1 / -1 !important;
  }

  .footer-cs-item span {
    font-size: 11.5px !important;
  }

  .footer-cs-item strong {
    font-size: 14px !important;
  }
}

@media (max-width: 520px) {
  .footer-main {
    padding: 26px 0 42px !important;
  }

  .footer-cs-box {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding-top: 2px !important;
  }

  .footer-kakao-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
  }

  .footer-kakao-icon svg,
  #kakaoLink.footer-kakao-card svg {
    width: 22px !important;
    height: 22px !important;
  }
}
.my-grade-line {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

.my-grade-line b {
  color: #0057ff !important;
  font-weight: 1000 !important;
}

.my-grade-line span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: rgba(0, 87, 255, 0.08) !important;
  color: #0057ff !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
}
#myInvestAmountText {
  display: none !important;
}
