/* DCA 패널 · V.Q.S 칸 */
.menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card {
  width: min(1840px, calc(100vw - 24px)) !important;
  height: calc(100dvh - 160px) !important;
  max-height: calc(100dvh - 160px) !important;
  padding: 14px 18px 12px !important;
  overflow: hidden !important;
  position: relative !important;
  background-color: #05070d !important;
  background-image: url("/hero/talon-etf/dca-match-wall-hq.jpg?v=1") !important;
  background-size: cover !important;
  background-position: 50% 42% !important;
}
.menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.menu-panel-root[data-width="1200"] .menu-panel-wealth {
  opacity: 0 !important;
}
.menu-panel-root[data-width="1200"] .menu-panel-wealth-veil {
  background:
    linear-gradient(180deg, rgba(5, 7, 13, 0.22) 0%, rgba(5, 7, 13, 0.38) 52%, rgba(5, 7, 13, 0.58) 100%),
    linear-gradient(90deg, rgba(5, 7, 13, 0.28) 0%, rgba(5, 7, 13, 0.1) 55%, rgba(5, 7, 13, 0.22) 100%) !important;
}
.menu-panel-root[data-width="1200"]:not(.is-dormant) .menu-panel-scrim {
  background: rgba(5, 7, 13, 0.38) !important;
  backdrop-filter: blur(4px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(4px) saturate(1.05) !important;
}
.hero-root {
  contain: none !important;
}
.hero-dock,
.hero-dock-item {
  z-index: 200 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}
.menu-panel-root {
  pointer-events: none !important;
}
.menu-panel-root.is-fixed-viewport {
  padding-bottom: 88px !important;
}
.menu-panel-root .menu-panel-card,
.menu-panel-root .menu-panel-head,
.menu-panel-root .menu-panel-body,
.menu-panel-root .menu-panel-close {
  pointer-events: auto !important;
}
.menu-panel-root[data-width="1200"] .menu-panel-body {
  z-index: 0 !important;
}
.menu-panel-root[data-width="1200"].is-hide-header .menu-panel-head {
  position: absolute !important;
  top: 8px !important;
  right: 10px !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  z-index: 200 !important;
  pointer-events: none !important;
}
.menu-panel-root[data-width="1200"].is-hide-header .menu-panel-close {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 200 !important;
  pointer-events: auto !important;
}
.menu-panel-root[data-width="1200"].is-hide-header .talon-top {
  padding-right: 88px !important;
}
.mal-dock-proxy {
  position: fixed;
  left: 50%;
  bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 10px));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4.5vw, 90px);
  width: min(96vw, 960px);
  max-width: calc(100vw - 24px);
  padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.mal-dock-proxy .hero-dock-item.is-active,
body.mal-dca-open .mal-dock-proxy .hero-dock-item[data-dock="DCA"],
body.mal-plan-open .mal-dock-proxy .hero-dock-item[data-dock="PLAN"] {
  color: #d4af37;
  font-weight: 600;
}
.mal-dock-proxy .hero-dock-item.is-active::after,
body.mal-dca-open .mal-dock-proxy .hero-dock-item[data-dock="DCA"]::after,
body.mal-plan-open .mal-dock-proxy .hero-dock-item[data-dock="PLAN"]::after {
  transform: translateX(-50%) scaleX(1);
}
.menu-panel-root .menu-panel-scrim {
  pointer-events: auto !important;
  bottom: 88px !important;
}
body.mal-plan-open .plan {
  padding-bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 80px)) !important;
}
.talon-plan-weights > button,
.talon-auto button,
.talon-trade button,
.talon-trade input {
  pointer-events: auto !important;
}
.hero-dca-wall {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-dca-wall-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
  filter: saturate(1.06) brightness(0.7);
}
.hero-root:has(.hero-portal-orb) .hero-dca-wall,
.hero-root:has(.hero-menu-card:not(.is-realty)) .hero-dca-wall {
  display: none !important;
}
body.mal-dca-open .hero-root::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/hero/talon-etf/dca-match-wall-hq.jpg?v=1") 50% 42% / cover;
  filter: saturate(1.06) brightness(0.7);
}
body.mal-dca-open .hero-shot {
  opacity: 0 !important;
}
body.mal-dca-open .hero-dash-wall,
body.mal-dca-open .hero-invest-wall {
  display: none !important;
}

.talon-main {
  grid-template-columns: 1.4fr 0.9fr !important;
  gap: 16px !important;
}
.talon-plan {
  padding: 14px !important;
}
.talon-plan-weights {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}
.talon-plan-weights > button {
  border-radius: 16px !important;
  min-height: 280px !important;
}
.talon-plan-media {
  min-height: 220px !important;
  flex: 1 1 auto !important;
}
.talon-plan-media .talon-plan-bg {
  filter: none !important;
  transform: none !important;
  object-fit: cover !important;
  object-position: center !important;
  image-rendering: auto;
}
.talon-plan-media > i {
  background: linear-gradient(
    180deg,
    rgba(5, 7, 13, 0.04) 0%,
    rgba(5, 7, 13, 0.14) 48%,
    rgba(5, 7, 13, 0.82) 100%
  ) !important;
}
.talon-plan-body {
  padding: 10px 12px 12px !important;
}
.talon-plan-sym {
  font-size: 18px !important;
}
.talon-plan-role {
  font-size: 12px !important;
}
.talon-plan-pct {
  font-size: 12px !important;
}
.talon-plan-hold {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 750;
  color: #f4f1ea;
  letter-spacing: -0.02em;
}

@media (max-width: 720px) {
  .menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card {
    width: 100vw !important;
    height: 100dvh !important;
  }
  .talon-main {
    grid-template-columns: 1fr !important;
  }
  .talon-plan-weights > button {
    min-height: 180px !important;
  }
  .talon-plan-media {
    min-height: 140px !important;
  }
}

html:not(.mal-phone) .talon-venue {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
  padding-right: 6% !important;
}
html:not(.mal-phone) .talon-venue > button:not(.mal-dca-toss-refresh) {
  width: auto !important;
  min-width: 168px;
}
.mal-dca-toss-refresh {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  min-width: 34px !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(5, 7, 13, 0.5);
  color: #f0d78a;
  border-radius: 999px;
  cursor: pointer;
}
.mal-dca-toss-refresh svg {
  width: 16px;
  height: 16px;
  display: block;
}
.mal-dca-toss-refresh:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: rgba(212, 175, 55, 0.75);
  color: #f8e7a8;
}
.mal-dca-toss-refresh:active svg {
  animation: mal-dca-refresh-spin 0.55s linear;
}
.mal-dca-toss-refresh.is-busy svg {
  animation: mal-dca-refresh-spin 0.7s linear infinite;
}
@keyframes mal-dca-refresh-spin {
  to { transform: rotate(360deg); }
}

#mal-dca-store {
  position: fixed;
  z-index: 90;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  pointer-events: auto;
  box-sizing: border-box;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 12px 10px !important;
}
#mal-dca-store[hidden],
body:not(.mal-dca-open) #mal-dca-store,
body.mal-dca-selling #mal-dca-store,
body:has(.talon-trade.is-selling) #mal-dca-store {
  display: none !important;
}
.mal-my-auto {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.mal-my-auto-card {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(160deg, rgba(28, 24, 14, 0.72), rgba(8, 10, 16, 0.82));
  border-radius: 12px;
  padding: 8px 10px;
  flex: 0 0 auto;
}
.mal-my-auto-card.is-locked {
  padding: 10px 12px;
}
.mal-my-auto-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mal-my-auto-card strong {
  color: #f4f1ea;
  font-size: 14px;
}
.mal-my-auto-card em {
  font-style: normal;
  font-size: 11px;
  color: #8b8f9c;
}
.mal-my-auto-card em.is-on {
  color: #d4af37;
  font-weight: 700;
}
.mal-my-auto-card p {
  margin: 4px 0 2px;
  font-size: 11px;
  color: #b7b9c4;
}
.mal-my-auto-note {
  margin: 0 0 6px !important;
  font-size: 10px !important;
  color: #8b8f9c !important;
}
.mal-my-auto-legs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}
.mal-my-auto-legs span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  color: #d4af37;
  font-weight: 700;
}
.mal-my-auto-legs b {
  color: #f4f1ea;
  font-size: 14px;
  font-weight: 750;
}
.mal-my-auto-legs i {
  font-style: normal;
  color: #8b8f9c;
  font-weight: 600;
}
.mal-usd-gauge {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.mal-usd-gauge > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8a6a28, #d4af37);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
  transition: width 0.4s ease;
}
.mal-usd-gauge-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 8px;
  font-size: 12px;
  color: #8b8f9c;
}
.mal-usd-gauge-meta b {
  color: #f4f1ea;
  font-size: 16px;
  font-weight: 750;
}
.mal-my-auto-card.is-year {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mal-year-legs {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
  gap: 8px;
  flex: 1 1 auto;
  align-content: center;
}
.mal-year-legs > li {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 10px;
  align-items: baseline;
  font-size: 13px;
  color: #d8d6ce;
}
.mal-year-legs b {
  color: #d4af37;
}
.mal-year-legs i {
  font-style: normal;
  color: #8b8f9c;
  font-size: 12px;
}
.menu-panel-root[data-width="1200"] .talon,
.menu-panel-root[data-width="1200"] .talon-main {
  overflow: hidden !important;
}
.talon-auto,
.talon-auto-records,
.mal-my-auto {
  overflow: hidden !important;
}
.talon-auto::-webkit-scrollbar,
.talon-auto-records::-webkit-scrollbar,
.mal-my-auto::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.talon-auto-records {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.talon-auto.is-embedded {
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
.talon-auto,
.talon-auto.is-embedded,
.talon-auto-records {
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
.menu-panel-root[data-width="1200"] .talon-auto-records [data-mal-my-auto] {
  display: none !important;
}
.menu-panel-root[data-width="1200"] {
  animation: none !important;
}
.menu-panel-root[data-width="1200"] .menu-panel-card {
  animation: none !important;
}
.menu-panel-root[data-width="1200"]:not(.is-dormant):not(.is-leaving) {
  opacity: 1 !important;
  visibility: visible !important;
}
body.mal-dca-open .plan-stage {
  visibility: hidden !important;
  pointer-events: none !important;
}
.talon-auto-bar {
  display: none !important;
}
.menu-panel-root[data-width="1200"] .talon-lead,
.menu-panel-root[data-width="1200"] .talon-trade .talon-label,
.menu-panel-root[data-width="1200"] .talon-trade .talon-wallet,
.menu-panel-root[data-width="1200"] .talon-trade .talon-amount,
.menu-panel-root[data-width="1200"] .talon-trade .talon-chips,
.menu-panel-root[data-width="1200"] .talon-trade .talon-split,
.menu-panel-root[data-width="1200"] .talon-trade .talon-cta,
.menu-panel-root[data-width="1200"] .talon-trade .talon-hint {
  display: none !important;
}
.menu-panel-root[data-width="1200"] .talon-trade.is-selling .talon-auto,
.menu-panel-root[data-width="1200"] .talon-trade.is-selling .talon-auto-records,
.menu-panel-root[data-width="1200"] .talon-trade.is-selling [data-mal-my-auto],
.menu-panel-root[data-width="1200"] .talon-trade.is-selling .talon-buy-pane {
  display: none !important;
}
.menu-panel-root[data-width="1200"] .talon-trade.is-selling .talon-sell-pane,
.menu-panel-root[data-width="1200"] .talon-trade.is-selling .talon-sell-pane[hidden] {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.menu-panel-root[data-width="1200"] .talon-sell-pane .talon-label,
.menu-panel-root[data-width="1200"] .talon-sell-pane .talon-hint {
  display: block !important;
}
.menu-panel-root[data-width="1200"] .talon-sell-pane .talon-amount,
.menu-panel-root[data-width="1200"] .talon-sell-pane .talon-chips {
  display: flex !important;
}
.menu-panel-root[data-width="1200"] .talon-sell-pane .talon-cta {
  display: block !important;
}
.talon-buy-pane[hidden],
.talon-sell-pane[hidden] {
  display: none !important;
}
.talon-auto-list,
.talon-auto-empty,
.talon-auto-setup,
.talon-auto-actions {
  display: none !important;
}
.mal-my-auto-card.is-cal {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.mal-dca-dday {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 4px;
}
.mal-dca-dday b {
  color: #d4af37;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mal-dca-dday span {
  color: #8b8f9c;
  font-size: 12px;
  text-align: right;
}
.mal-dca-dday span i {
  display: block;
  font-style: normal;
  color: #d8d6ce;
  font-size: 13px;
  margin-bottom: 2px;
}
.mal-dca-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 4px;
}
.mal-dca-cal-nav strong {
  font-size: 13px;
}
.mal-dca-cal-nav button {
  appearance: none;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(8, 10, 16, 0.45);
  color: #d4af37;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}
.mal-dca-cal-wd,
.mal-dca-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}
.mal-dca-cal {
  flex: 1 1 auto;
  min-height: 0;
  grid-auto-rows: 1fr;
}
.mal-dca-cal-wd span {
  text-align: center;
  font-size: 10px;
  color: #8b8f9c;
  padding-bottom: 2px;
}
.mal-dca-cal-wd span:first-child,
.mal-dca-cal-wd span:last-child {
  color: #6e5a3a;
}
.mal-dca-cal-day {
  position: relative;
  height: auto;
  min-height: 0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #d8d6ce;
  font-size: 11px;
  font-weight: 650;
  overflow: hidden;
}
.mal-dca-cal-day.is-empty {
  visibility: hidden;
}
.mal-dca-cal-day.is-sun,
.mal-dca-cal-day.is-sat {
  color: #8b8f9c;
}
.mal-dca-cal-day.is-today {
  box-shadow: inset 0 0 0 1px #d4af37;
  color: #f4f1ea;
}
.mal-dca-cal-day.is-buy {
  background: rgba(212, 175, 55, 0.16);
  color: #f4f1ea;
}
.mal-dca-cal-day.is-buy.is-done {
  background: rgba(212, 175, 55, 0.32);
}
.mal-dca-cal-day.is-dip {
  background: rgba(224, 138, 74, 0.2);
  color: #f4e4d4;
}
.mal-dca-cal-day.is-buy.is-dip {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.28), rgba(224, 138, 74, 0.28));
}
.mal-dca-cal-dots {
  display: flex;
  gap: 3px;
  height: 4px;
}
.mal-dca-cal-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4af37;
}
.mal-dca-cal-dots i.is-dip {
  background: #e08a4a;
}
.mal-dca-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 6px 0 4px;
  font-size: 10px;
  color: #8b8f9c;
}
.mal-dca-cal-legend b {
  color: #d4af37;
  font-weight: 700;
}
.mal-dca-cal-legend b.is-dip {
  color: #e08a4a;
}
.mal-dca-cal-feed {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  flex: 0 0 auto;
  overflow: hidden;
}
.mal-dca-cal-feed li {
  display: grid;
  grid-template-columns: 58px 46px 1fr;
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  color: #d8d6ce;
}
.mal-dca-cal-feed li em {
  font-style: normal;
  color: #d4af37;
  font-weight: 700;
  font-size: 11px;
}
.mal-dca-cal-feed li em.is-dip {
  color: #e08a4a;
}
.mal-dca-cal-feed li span {
  color: #b7b9c4;
}

@media (max-height: 1100px) {
  .menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card {
    width: min(1840px, calc(100vw - 24px)) !important;
    height: calc(100dvh - 160px) !important;
    max-height: calc(100dvh - 160px) !important;
    padding-bottom: 12px !important;
  }
}

html.mal-phone .menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card,
html.mal-fold .menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card {
  width: 100% !important;
  max-width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: auto !important;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
html.mal-phone .menu-panel-root[data-width="1200"] .talon,
html.mal-phone .menu-panel-root[data-width="1200"] .talon-main,
html.mal-fold .menu-panel-root[data-width="1200"] .talon,
html.mal-fold .menu-panel-root[data-width="1200"] .talon-main {
  overflow: visible !important;
  height: auto !important;
}
html.mal-phone .talon-plan-weights > button,
html.mal-fold .talon-plan-weights > button {
  min-height: 88px !important;
}

html.mal-phone .mal-my-auto-card.is-locked,
html.mal-fold .mal-my-auto-card.is-locked,
html.mal-phone .mal-my-auto-card.is-year,
html.mal-fold.mal-fold-wide .mal-my-auto-card.is-year,
html.mal-phone .mal-my-auto-note,
html.mal-fold .mal-my-auto-note {
  display: none !important;
}
html.mal-phone .menu-panel-root[data-width="1200"] .talon-auto,
html.mal-phone .menu-panel-root[data-width="1200"] .talon-auto-records,
html.mal-fold .menu-panel-root[data-width="1200"] .talon-auto,
html.mal-fold .menu-panel-root[data-width="1200"] .talon-auto-records {
  display: none !important;
}
html.mal-phone .menu-panel-root[data-width="1200"] .talon-trade:not(.is-selling),
html.mal-fold .menu-panel-root[data-width="1200"] .talon-trade:not(.is-selling) {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}
html.mal-phone #mal-dca-store,
html.mal-fold #mal-dca-store {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  z-index: 1 !important;
  overflow: visible !important;
}
