:root {
  --lbha-shell-ink: #11243f;
  --lbha-shell-muted: #667085;
  --lbha-shell-blue: #2563eb;
  --lbha-shell-blue-dark: #1d4ed8;
  --lbha-shell-blue-soft: #eaf2ff;
  --lbha-shell-line: #e3e9f1;
}

body.lbha-v2-active .lpts-fab {
  display: none !important;
}

body.lbha-shell-unified .lb-money-fallback-cta {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.lbha-shell-unified .lb2-bottom-nav .lb2-bottom-link--primary {
  color: var(--lbha-shell-ink) !important;
}

body.lbha-shell-unified .lb2-bottom-nav .lb2-bottom-link--primary::before {
  display: none !important;
  content: none !important;
  box-shadow: none !important;
}

.lbha-fortune-fab,
.lbdf-compact-link-wrap--floating {
  box-sizing: border-box;
  position: fixed;
  top: 50%;
  right: 18px;
  left: auto !important;
  z-index: 9990;
  transform: translateY(-50%);
}

.lbha-fortune-fab *,
.lbha-fortune-fab *::before,
.lbha-fortune-fab *::after {
  box-sizing: border-box;
}

.lbha-fortune-link {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 16px;
  background: var(--lbha-shell-blue-dark);
  box-shadow: 0 16px 38px rgba(37, 99, 235, .25);
  color: #fff !important;
  text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.lbha-fortune-link:hover {
  background: #173ea8;
  box-shadow: 0 18px 42px rgba(37, 99, 235, .31);
  color: #fff !important;
  transform: translateY(-2px);
}

.lbha-fortune-link:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .3);
  outline-offset: 4px;
}

.lbha-fortune-link__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .13);
}

.lbha-fortune-link__copy {
  display: flex;
  min-width: 82px;
  flex-direction: column;
}

.lbha-fortune-link__copy strong,
.lbha-fortune-link__copy small {
  display: block;
  color: #fff;
  line-height: 1.25;
}

.lbha-fortune-link__copy strong {
  font-size: .93rem;
  font-weight: 850;
  letter-spacing: -.025em;
}

.lbha-fortune-link__copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .76);
  font-size: .72rem;
  font-weight: 650;
}

.lbha-fortune-link__arrow {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  font-weight: 800;
}

body.lbha-shell-unified .lb2-site-header,
body.lbha-shell-unified .lbch-header {
  border-bottom: 1px solid var(--lbha-shell-line) !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.lbha-shell-unified .lb2-branding .custom-logo-link,
body.lbha-shell-unified .lbch-logo-mark {
  display: none !important;
}

body.lbha-shell-unified .lb2-site-title,
body.lbha-shell-unified .lbch-brand,
body.lbha-shell-unified .lbch-logo-text {
  color: var(--lbha-shell-ink) !important;
}

body.lbha-shell-unified .lbch-brand {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 2px !important;
  text-decoration: none !important;
}

body.lbha-shell-unified .lbch-logo-text {
  font-size: clamp(26px, 2.1vw, 34px) !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
  line-height: 1 !important;
}

body.lbha-shell-unified .lbch-brand::after {
  color: #66758b;
  content: "불편은 줄이고, 비용은 아끼고, 즐거움은 더합니다.";
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: nowrap;
}

body.lbha-shell-unified .lbch-desktop-nav a,
body.lbha-shell-unified .lb2-desktop-nav a {
  color: #26364d !important;
}

body.lbha-shell-unified .lbch-desktop-nav a:hover,
body.lbha-shell-unified .lb2-desktop-nav a:hover,
body.lbha-shell-unified .lbch-desktop-nav a[aria-current="page"],
body.lbha-shell-unified .lb2-desktop-nav a[aria-current="page"] {
  color: var(--lbha-shell-blue) !important;
}

body.lbha-shell-unified .lbch-icon-button,
body.lbha-shell-unified .lb2-icon-button {
  border-color: #dce4ef !important;
  background: #fff !important;
  color: var(--lbha-shell-ink) !important;
}

body.lbha-shell-unified .lbch-money-button,
body.lbha-shell-unified .lbch-drawer-money {
  border-color: var(--lbha-shell-blue) !important;
  background: var(--lbha-shell-blue) !important;
  color: #fff !important;
}

body.lbha-shell-unified .lbch-menu-drawer,
body.lbha-shell-unified .lbch-panel,
body.lbha-shell-unified .lb2-mobile-menu,
body.lbha-shell-unified .lbch-mobile-bottom,
body.lbha-shell-unified .lb2-bottom-nav {
  background: #fff !important;
  color: var(--lbha-shell-ink) !important;
}

body.lbha-shell-unified .lbch-drawer-nav a:not(.lbch-drawer-money),
body.lbha-shell-unified .lb2-mobile-menu a,
body.lbha-shell-unified .lbch-mobile-bottom a,
body.lbha-shell-unified .lbch-mobile-bottom button,
body.lbha-shell-unified .lb2-bottom-nav a,
body.lbha-shell-unified .lb2-bottom-nav button {
  color: var(--lbha-shell-ink) !important;
}

body.lbha-shell-unified .lbch-mobile-bottom .is-primary,
body.lbha-shell-unified .lbch-drawer-nav a[aria-current="page"],
body.lbha-shell-unified .lb2-mobile-menu a[aria-current="page"],
body.lbha-shell-unified .lb2-bottom-nav .is-active,
body.lbha-shell-unified .lb2-bottom-nav [aria-current="page"] {
  color: var(--lbha-shell-blue) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf {
  width: min(1040px, calc(100% - 36px)) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-hero {
  padding-block: clamp(30px, 5vw, 56px) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-hero h2 {
  color: var(--lbha-shell-ink) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-eyebrow,
body.lbha-shell-unified.lb-money-context .lbmf-badge,
body.lbha-shell-unified.lb-money-context .lbmf-rank {
  background: var(--lbha-shell-blue-soft) !important;
  color: var(--lbha-shell-blue-dark) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-search-btn,
body.lbha-shell-unified.lb-money-context .lbmf-profile-apply,
body.lbha-shell-unified.lb-money-context .lbmf-official {
  border-color: var(--lbha-shell-blue) !important;
  background: var(--lbha-shell-blue) !important;
  color: #fff !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-money-links,
body.lbha-shell-unified.lb-money-context .lbmf-flow {
  display: none !important;
}

body.lbha-shell-unified.lb-money-context #lbp1-money-summary {
  display: none !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-personalize {
  margin-top: 22px !important;
  border-color: #cfdced !important;
  background: #f8fbff !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-personalize summary strong,
body.lbha-shell-unified.lb-money-context .lbmf-summary-cta {
  color: var(--lbha-shell-blue-dark) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-filters {
  margin-top: 18px !important;
  border-color: var(--lbha-shell-line) !important;
  background: #fff !important;
}

body.lbha-shell-unified.lb-money-context .lbha-money-results-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  margin: 28px 0 14px;
  padding: 17px 19px;
  border: 1px solid #ccdaef;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5f9ff, #fff);
}

body.lbha-shell-unified.lb-money-context .lbha-money-results-intro > span,
body.lbha-shell-unified.lb-money-context .lbha-money-rank-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--lbha-shell-blue) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
}

body.lbha-shell-unified.lb-money-context .lbha-money-results-intro strong {
  display: block;
  color: var(--lbha-shell-ink);
  font-size: 20px;
  font-weight: 900;
}

body.lbha-shell-unified.lb-money-context .lbha-money-results-intro p {
  margin: 3px 0 0 !important;
  color: var(--lbha-shell-muted) !important;
  font-size: 13px !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-decision-head {
  margin-top: 0 !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
}

body.lbha-shell-unified.lb-money-context:not(.lbha-money-expanded) .lbmf-card.lbha-money-extra {
  display: none !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-card {
  padding: 22px !important;
  border-color: var(--lbha-shell-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(17, 36, 63, .05) !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-card-top {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px !important;
  align-items: center;
}

body.lbha-shell-unified.lb-money-context .lbmf-card h3 {
  margin-top: 14px !important;
  color: var(--lbha-shell-ink) !important;
  font-size: clamp(20px, 2.4vw, 27px) !important;
  line-height: 1.35 !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.lbha-shell-unified.lb-money-context .lbmf-meta {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 13px;
}

body.lbha-shell-unified.lb-money-context .lbmf-meta > div {
  min-width: 0;
  padding: 11px 12px !important;
  border: 0 !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-meta > div + div {
  border-left: 1px solid #edf1f6 !important;
}

body.lbha-shell-unified.lb-money-context .lbmf-meta dt,
body.lbha-shell-unified.lb-money-context .lbmf-meta dd {
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.lbha-shell-unified.lb-money-context .lbmf-detail {
  color: var(--lbha-shell-blue-dark) !important;
}

body.lbha-shell-unified.lb-money-context .lbha-money-more {
  display: flex;
  min-height: 52px;
  width: min(420px, 100%);
  align-items: center;
  justify-content: center;
  margin: 22px auto 0;
  padding: 12px 20px;
  border: 1px solid #b8c9e3;
  border-radius: 14px;
  background: #fff;
  color: var(--lbha-shell-blue-dark);
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

body.lbha-shell-unified.lb-money-context .lbha-money-more:hover {
  border-color: var(--lbha-shell-blue);
  background: var(--lbha-shell-blue-soft);
}

body.lbha-shell-unified.lb-money-context .lbha-money-more[hidden] {
  display: none !important;
}

body.lbha-shell-unified .lbha-money-more:focus-visible,
body.lbha-shell-unified .lbch-header a:focus-visible,
body.lbha-shell-unified .lbch-header button:focus-visible {
  outline: 3px solid var(--lbha-shell-blue);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  body.lbha-shell-unified.lb-money-context .lbmf-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-meta > div + div {
    border-left: 0 !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-meta > div:nth-child(even) {
    border-left: 1px solid #edf1f6 !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-meta > div:nth-child(n+3) {
    border-top: 1px solid #edf1f6 !important;
  }
}

@media (max-width: 979px) {
  body.lbha-shell-unified .lbch-brand::after {
    display: none;
  }

  body.lbha-shell-unified .lbch-logo-text {
    font-size: 25px !important;
  }

  body.lbha-shell-unified .lbch-desktop-nav,
  body.lbha-shell-unified .lbch-money-button {
    display: none !important;
  }

  body.lbha-shell-unified .lbch-mobile-only {
    display: grid !important;
    place-items: center;
  }
}

@media (max-width: 782px) {
  .lbha-fortune-fab,
  .lbdf-compact-link-wrap--floating {
    top: auto;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(76px + env(safe-area-inset-bottom));
    left: auto !important;
    transform: none;
  }

  .lbha-fortune-link {
    min-height: 52px;
    padding: 7px 13px 7px 8px;
    border-radius: 999px;
  }

  .lbha-fortune-link__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 50%;
  }

  .lbha-fortune-link__copy small,
  .lbha-fortune-link__arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  body.lbha-shell-unified.lb-money-context .lbmf {
    width: min(100% - 24px, 1040px) !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-hero {
    padding-block: 26px !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-card {
    padding: 17px !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-meta {
    grid-template-columns: 1fr !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-meta > div:nth-child(even),
  body.lbha-shell-unified.lb-money-context .lbmf-meta > div:nth-child(n+3) {
    border-left: 0 !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-meta > div + div {
    border-top: 1px solid #edf1f6 !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.lbha-shell-unified.lb-money-context .lbmf-actions a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media print {
  .lbha-fortune-fab,
  .lbdf-compact-link-wrap--floating,
  .lpts-fab {
    display: none !important;
  }
}
