.fx-strip {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
  margin: 0 0 18px;
  color: #1A1A2E;
}
.fx-strip-card,
.fx-strip-title {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  min-width: 0;
}
.fx-strip-status {
  position: relative;
  align-self: center;
  color: #1A1A2E;
}
.fx-strip-status summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  background: #ECFDF5;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.fx-strip-status summary::-webkit-details-marker { display: none; }
.fx-strip-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12B76A;
}
.fx-strip-status-label {
  color: #047857;
  font-size: 9px;
  font-weight: 700;
}
.fx-strip-status summary strong {
  color: #065F46;
  font-size: 10px;
  font-weight: 900;
}
.fx-strip-status.is-stale summary {
  border-color: #FCD34D;
  background: #FFFBEB;
}
.fx-strip-status.is-stale .fx-strip-status-dot { background: #F79009; }
.fx-strip-status.is-stale summary strong,
.fx-strip-status.is-stale .fx-strip-status-label { color: #92400E; }
.fx-strip-status.is-loading summary {
  border-color: #D1D5DB;
  background: #F9FAFB;
}
.fx-strip-status.is-loading .fx-strip-status-dot { background: #98A2B3; }
.fx-strip-status.is-loading summary strong,
.fx-strip-status.is-loading .fx-strip-status-label { color: #667085; }
.fx-strip-status.is-unavailable summary {
  border-color: #FECDCA;
  background: #FEF3F2;
}
.fx-strip-status.is-unavailable .fx-strip-status-dot { background: #F04438; }
.fx-strip-status.is-unavailable summary strong,
.fx-strip-status.is-unavailable .fx-strip-status-label { color: #B42318; }
.fx-strip-status-popover {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: 300;
  width: 260px;
  padding: 10px 11px;
  border: 1px solid #D8E0EA;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.18);
}
.fx-strip-status-popover dl {
  display: grid;
  gap: 6px;
  margin: 0;
}
.fx-strip-status-popover dl > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}
.fx-strip-status-popover dt {
  color: #6B7280;
  font-size: 10px;
}
.fx-strip-status-popover dd {
  min-width: 0;
  margin: 0;
  color: #1A1A2E;
  font-size: 10px;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: end;
}
.fx-strip-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 116px;
}
.fx-strip-title strong {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}
.fx-strip-title span {
  color: #6B7280;
  font-size: 10px;
  margin-top: 3px;
}
.fx-strip-card {
  display: grid;
  gap: 3px;
}
.fx-strip-code {
  color: #6B7280;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}
.fx-strip-value {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
  white-space: nowrap;
}
.fx-strip-meta {
  color: #6B7280;
  font-size: 10px;
  white-space: nowrap;
}
.fx-strip-topbar {
  margin: 0 14px;
  grid-template-columns: auto repeat(3, max-content);
  gap: 6px;
  flex: 1;
  justify-content: center;
}
.fx-strip-topbar .fx-strip-title { display: none; }
.fx-strip-topbar .fx-strip-card {
  padding: 6px 10px;
  border-radius: 8px;
}
.fx-strip-topbar .fx-strip-value {
  font-size: 12px;
}
.fx-strip-topbar .fx-strip-meta,
.fx-strip-topbar .fx-strip-code {
  font-size: 9px;
}
.fx-strip-sidebar {
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 0 0 18px;
}
.fx-strip-sidebar .fx-strip-title,
.fx-strip-sidebar .fx-strip-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}
.fx-strip-sidebar .fx-strip-title strong,
.fx-strip-sidebar .fx-strip-value {
  color: #fff;
}
.fx-strip-sidebar .fx-strip-title span,
.fx-strip-sidebar .fx-strip-code,
.fx-strip-sidebar .fx-strip-meta {
  color: #94A3B8;
}

/* 대시보드 상단 헤더용 — 알림(종) 버튼 옆에 작은 사이즈로 일렬 배치 */
.fx-strip-header {
  display: flex;
  gap: 6px;
  margin: 0;
  align-items: center;
}
.fx-strip-header .fx-strip-title { display: none; }
.fx-strip-header .fx-strip-card {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #fff;
}
.fx-strip-header .fx-strip-code { font-size: 10px; }
.fx-strip-header .fx-strip-value { font-size: 12px; }
.fx-strip-header .fx-strip-meta { display: none; }
.fx-strip-header .fx-commission-card {
  display: flex;
  align-items: baseline;
  gap: 5px;
  flex: 0 0 auto;
  min-width: 132px;
  padding: 5px 9px;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  background: #ECFDF5;
  white-space: nowrap;
}
.fx-commission-label {
  color: #047857;
  font-size: 10px;
  font-weight: 800;
}
.fx-commission-value {
  color: #065F46;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 900;
}
.fx-commission-meta {
  color: #047857;
  font-size: 9px;
  font-weight: 700;
}
.fx-strip-header .fx-commission-card.is-loading {
  border-color: #D1D5DB;
  background: #F9FAFB;
}
.fx-strip-header .fx-commission-card.is-loading .fx-commission-label,
.fx-strip-header .fx-commission-card.is-loading .fx-commission-value {
  color: #6B7280;
}
.fx-strip-header .fx-commission-card.is-error {
  border-color: #FCD34D;
  background: #FFFBEB;
}
.fx-strip-header .fx-commission-card.is-error .fx-commission-label,
.fx-strip-header .fx-commission-card.is-error .fx-commission-value {
  color: #92400E;
}
/* 좁은 화면에서는 헤더가 복잡해지므로 숨김 */
@media (max-width: 980px) {
  .fx-strip-header { display: none; }
}

.price-main {
  display: block;
  line-height: 1.15;
}
.price-fx-sub {
  display: block;
  margin-top: 4px;
  color: #6B7280;
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}
.fx-price-preview {
  margin-top: 7px;
  padding: 9px 10px;
  border: 1px solid #D8E0EA;
  border-radius: 8px;
  background: #F8FAFC;
  color: #17202A;
  font-family: 'Noto Sans KR', -apple-system, sans-serif;
}
.fx-price-preview.is-empty {
  border-style: dashed;
  background: #FFFFFF;
}
.fx-price-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  line-height: 1.2;
}
.fx-price-preview-top span {
  color: #6B7280;
  font-size: 11px;
  font-weight: 800;
}
.fx-price-preview-top strong {
  color: #0F172A;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.fx-price-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.fx-price-pill {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  background: #FFFFFF;
}
.fx-price-pill span {
  color: #6B7280;
  font-size: 10px;
  font-weight: 900;
}
.fx-price-pill strong {
  color: #1A1A2E;
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  word-break: keep-all;
}
.fx-price-preview-meta,
.fx-price-preview-state {
  color: #6B7280;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}
.fx-price-preview-meta {
  margin-top: 7px;
}
@media (max-width: 900px) {
  .fx-strip {
    grid-template-columns: 1fr;
  }
  .fx-strip-card,
  .fx-strip-title {
    padding: 9px 11px;
  }
  .fx-strip-topbar {
    display: none;
  }
  .fx-price-pills {
    grid-template-columns: 1fr;
  }
}
