/* Tablet only. Phones use mal-mobile.css. */
html.mal-tablet .portal-summary:not(.portal-total) {
  bottom: max(140px, calc(env(safe-area-inset-bottom, 0px) + 132px)) !important;
}
html.mal-tablet .portal-summary.portal-total {
  top: max(48px, calc(env(safe-area-inset-top, 0px) + 40px)) !important;
  bottom: max(140px, calc(env(safe-area-inset-bottom, 0px) + 132px)) !important;
  width: min(840px, 62vw) !important;
  max-height: none !important;
}
html.mal-tablet .portal-summary.portal-total[aria-label="토스증권 요약"] {
  bottom: auto !important;
}
html.mal-tablet .portal-summary.portal-total[aria-label="토스증권 요약"] .portal-summary-body {
  overflow: visible !important;
}
html.mal-tablet .portal-total .portal-summary-hero-metric > .portal-total-delta {
  display: flex !important;
  flex-wrap: wrap !important;
  visibility: visible !important;
}
html.mal-tablet .portal-total-row {
  flex-wrap: nowrap !important;
  overflow: visible !important;
}
html.mal-tablet .portal-total-row > .portal-krw-pnl {
  display: inline !important;
  flex: 0 0 auto !important;
  visibility: visible !important;
}
html.mal-tablet .stock-slide {
  padding: 6px 14px 6px !important;
  gap: 4px !important;
  overflow: hidden !important;
}
html.mal-tablet .stock-body { gap: 5px !important; overflow: hidden !important; }
html.mal-tablet .stock-hero,
html.mal-tablet .stock-hero--split,
html.mal-tablet .stock-hero--compact { padding: 4px 8px !important; }
html.mal-tablet .stock-band--watch,
html.mal-tablet .stock-tiles--watch {
  flex: 1 1 auto !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
html.mal-tablet .stock-tiles--watch { grid-template-rows: repeat(2, minmax(0, 1fr)) !important; }
html.mal-tablet .stock-tiles--watch.is-grid-4 { grid-template-rows: minmax(0, 1fr) !important; }
html.mal-tablet .stock-tiles--watch .stock-tile,
html.mal-tablet .stock-tiles--watch.is-few .stock-tile,
html.mal-tablet .stock-tiles--watch.is-many .stock-tile,
html.mal-tablet .stock-tile { min-height: 0 !important; height: 100% !important; }
html.mal-tablet .stock-tile.has-dca-gauge,
html.mal-tablet .stock-tiles--watch .stock-tile {
  padding-bottom: 20px !important;
}
html.mal-tablet .stock-tile__chg {
  margin-bottom: 2px !important;
  line-height: 1.25 !important;
}
html.mal-tablet .stock-tile__gauge { z-index: 1 !important; padding: 0 !important; gap: 0 !important; }
html.mal-tablet .stock-tile__year-goal { display: none !important; }
html.mal-tablet .stock-tile__gauge-track {
  height: 3px !important;
  box-shadow: none !important;
  border-top: 0 !important;
  border-radius: 0 0 calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) !important;
}
html.mal-tablet .stock-tile__gauge-fill { box-shadow: none !important; }
html.mal-tablet .stock-tile__chg { position: relative; z-index: 6 !important; }
html.mal-tablet .stock-market { min-height: 48px !important; }
html.mal-tablet .stock-band--positions { margin-top: 0 !important; }
html.mal-tablet .mal-assets.solution { padding: 6px 14px 6px !important; overflow: hidden !important; }
html.mal-tablet .solution-head { flex-wrap: nowrap !important; align-items: center !important; margin-bottom: 4px !important; }
html.mal-tablet .solution-head .section-label { width: auto !important; margin-bottom: 0 !important; }
html.mal-tablet .net-worth { margin-bottom: 5px !important; padding: 6px 10px !important; }
html.mal-tablet .net-worth__part { min-height: 42px !important; }
html.mal-tablet .gold-hold { padding: 6px 10px !important; margin-bottom: 5px !important; }
html.mal-tablet .mal-assets .exchange-grid {
  gap: 6px !important;
  min-height: 0 !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-template-rows: minmax(0, 1.05fr) minmax(0, 1fr) !important;
}
html.mal-tablet .exchange-grid > .bithumb:not(.gate) {
  grid-column: span 6 !important;
  grid-row: 1 !important;
}
html.mal-tablet .exchange-grid > .bithumb.gate {
  grid-column: span 4 !important;
  grid-row: 2 !important;
}
html.mal-tablet .exchange-grid > [data-ex="gate2"] {
  display: none !important;
}
html.mal-tablet .bithumb.gate .bithumb__board {
  flex-direction: row !important;
}
html.mal-tablet .bithumb.gate .bithumb__summary {
  flex: 0 0 36% !important;
  max-width: 40% !important;
  margin-bottom: 0 !important;
}

html.mal-tablet .menu-panel-root[data-width="1200"].is-fixed-viewport {
  place-items: end center !important;
  padding-bottom: 88px !important;
}
html.mal-tablet .menu-panel-root[data-width="1200"].is-fixed-viewport .menu-panel-card {
  width: min(1840px, calc(100vw - 16px)) !important;
  height: calc(100dvh - 160px) !important;
  max-height: calc(100dvh - 160px) !important;
  padding: 10px 12px 12px !important;
  overflow: hidden !important;
}
html.mal-tablet .menu-panel-root[data-width="1200"] .talon,
html.mal-tablet .menu-panel-root[data-width="1200"] .talon-main,
html.mal-tablet .menu-panel-root[data-width="1200"] .talon-plan {
  min-height: 0 !important;
  overflow: hidden !important;
}
html.mal-tablet .talon-main {
  gap: 10px !important;
}
html.mal-tablet .talon-plan {
  padding: 8px !important;
}
html.mal-tablet .talon-plan-weights {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  height: 100% !important;
  min-height: 0 !important;
  gap: 8px !important;
}
html.mal-tablet .talon-plan-weights > button {
  min-height: 0 !important;
  height: auto !important;
}
html.mal-tablet .talon-plan-media {
  min-height: 0 !important;
  flex: 1 1 auto !important;
}
html.mal-tablet .talon-plan-body {
  padding: 6px 8px 8px !important;
}
html.mal-tablet .mal-my-auto-card.is-cal {
  display: none !important;
}
html.mal-tablet .mal-my-auto-note {
  display: none !important;
}
html.mal-tablet .mal-my-auto {
  gap: 5px !important;
}
html.mal-tablet .mal-my-auto-card {
  padding: 7px 8px !important;
}
html.mal-tablet .mal-my-auto-card.is-locked,
html.mal-tablet .mal-my-auto-card.is-deposit {
  flex: 0 0 auto !important;
  padding: 8px 10px !important;
}
html.mal-tablet .mal-my-auto-legs {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px 8px !important;
}
html.mal-tablet .mal-my-auto-card.is-locked p {
  margin: 2px 0 2px !important;
}
html.mal-tablet .mal-usd-gauge {
  height: 8px !important;
}
html.mal-tablet .mal-usd-gauge-meta {
  margin-top: 4px !important;
}
html.mal-tablet .mal-my-auto-card.is-year {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  padding: 8px 10px 22px !important;
  overflow: visible !important;
}
html.mal-tablet .mal-my-auto-card.is-year > p {
  display: none !important;
}
html.mal-tablet .mal-year-legs {
  gap: 8px !important;
  padding: 6px 0 8px !important;
}
html.mal-tablet .mal-year-legs > li {
  line-height: 1.45 !important;
  padding: 2px 0 !important;
}
html.mal-tablet .mal-year-legs > li:last-child {
  padding-bottom: 6px !important;
}

html.mal-tablet .stock-hero--compact .stock-hero__value {
  font-size: clamp(1.28rem, 2.4vw, 1.72rem) !important;
}
html.mal-tablet .stock-hero__holds.is-dip-gauges .stock-hero__holds-head {
  display: none !important;
}
html.mal-tablet .stock-tile__soldout {
  z-index: 9 !important;
  left: 50% !important;
  top: 48% !important;
  font-size: clamp(0.58rem, 1.5vw, 0.88rem) !important;
  letter-spacing: 0.08em !important;
  text-indent: 0.08em !important;
  padding: 0.18em 0.34em !important;
  max-width: calc(100% - 10px);
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
html.mal-tablet .stock-tile.is-soldout .stock-tile__soldout:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
html.mal-tablet .plan-hold-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  min-height: 0 !important;
  gap: 10px !important;
}
html.mal-tablet .plan-hold-card {
  min-height: 156px !important;
  padding: 20px 16px 18px !important;
  grid-column: span 2 !important;
}
html.mal-tablet .plan-hold-card.is-half {
  grid-column: span 3 !important;
}
html.mal-tablet .plan-hold-card.is-wide {
  grid-column: span 3 !important;
}
html.mal-tablet .plan-hold-amt { font-size: 24px !important; }
html.mal-tablet .plan-hold-name { font-size: 16px !important; }
