@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body.ls-scroll-stable {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body.ls-embed-page {
  overflow-y: auto;
  scrollbar-gutter: auto;
}

.ls-embed-page .ls-main-content {
  padding-left: 0;
}

.ls-embed-page .ls-container {
  padding-left: 0;
  padding-right: 0;
}

.ls-embed-tab2 .ls-ranking-table tbody tr {
  cursor: pointer;
}

.ls-page {
  --font-sans: 'Pretendard', sans-serif;
  --color-bg: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-surface: #ffffff;
  --color-primary: #1e3a8a;
  --color-primary-strong: #1e40af;
  --shadow-soft: none;
  --shadow-inner: none;
  --radius-lg: 8px;
  --radius-md: 6px;
  --radius-pill: 9999px;
  --content-offset: 40px;
  --content-offset-sm: 20px;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

.ls-page {
  box-sizing: border-box;
}

.ls-page *,
.ls-page *::before,
.ls-page *::after {
  box-sizing: inherit;
}

.ls-page img,
.ls-page svg {
  display: block;
  max-width: 100%;
}


.ls-page input,
.ls-page select,
.ls-page textarea {
  font: inherit;
  color: inherit;
}

.ls-page button {
  border: none;
  background: none;
  cursor: pointer;
}

.ls-page a {
  color: inherit;
  text-decoration: none;
}

.ls-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 640px) {
  .ls-container {
    padding: 0 16px;
  }
}

@media (min-width: 1024px) {
  .ls-container {
    padding: 0 24px;
  }
}

.ls-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.4px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.ls-btn:active {
  transform: translateY(1px);
}

.ls-btn-link {
  padding: 6px 8px;
  color: var(--color-muted);
  font-weight: 500;
}

.ls-btn-link:hover {
  color: #111827;
}

.ls-btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.ls-btn-primary:hover {
  background: var(--color-primary-strong);
}

.ls-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid #000;
}

.ls-badge-green {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.ls-badge-red {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

.ls-badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #dbeafe;
}

.ls-badge-yellow {
  background: #fef9c3;
  color: #a16207;
  border-color: #fde68a;
}

.ls-text-right {
  text-align: right;
}

.ls-cell-strong {
  font-weight: 700;
  color: #111827;
}

.ls-cell-muted {
  color: #6b7280;
}

.ls-cell-mono {
  font-family: 'SFMono-Regular', 'Roboto Mono', 'Menlo', 'Monaco', 'Consolas',
    'Liberation Mono', 'Courier New', monospace;
}

.ls-custom-scrollbar::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.ls-custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.ls-custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.ls-custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.ls-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.ls-is-hidden {
  display: none;
}

.ls-hero {
  position: relative;
  padding: 100px 0 50px;
  background: #ffffff;
  background-color: #ffffff;
}

.ls-hero-glow {
  display: none;
}

.ls-hero-inner-left {
  text-align: left;
  margin: 0 auto;
  padding-left: var(--content-offset);
}

.ls-hero-inner-center {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  padding-left: var(--content-offset);
}

.ls-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 12px;
}

.ls-hero-dot {
  display: none;
}

.ls-hero-badge-text {
  font-size: 13.6px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #1e3a8a;
}

.ls-hero-title {
  font-size: clamp(30.4px, 3.4vw, 44.8px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ls-hero-highlight {
  color: #1e3a8a;
}

.ls-hero-desc {
  max-width: 860px;
  margin: 12px 0 0;
  font-size: 15.7px;
  color: #6b7280;
  line-height: 1.6;
  word-break: keep-all;
}

.ls-hero-desc strong {
  color: #1f2937;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

.ls-break-mobile {
  display: inline;
}

.ls-break-desktop {
  display: none;
}

@media (min-width: 768px) {
  .ls-break-mobile {
    display: none;
  }

  .ls-break-desktop {
    display: inline;
  }
}

.ls-main-content {
  padding-bottom: 48px;
  padding-left: var(--content-offset);
}

.ls-tabs-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 40px;
}

.ls-tabs {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  width: fit-content;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #e5e7eb;
}

.ls-tab-btn {
  padding: 8px 4px 10px;
  border-radius: 0;
  font-size: 14.4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
  border-bottom: 2px solid transparent;
}

.ls-tab-btn.ls-is-active {
  color: #1e3a8a;
  font-weight: 700;
  border-bottom: 3px solid #0f172a;
}

.ls-tab-btn.ls-is-inactive {
  color: #6b7280;
}

.ls-tab-btn.ls-is-inactive:hover {
  color: #374151;
}

.ls-tab-content-area {
  min-height: 500px;
  background: #ffffff;
}

.ls-tab-iframe {
  width: 100%;
  min-height: 520px;
  border: 0;
  display: block;
  background: transparent;
}

.ls-iframe-wrap {
  position: relative;
  min-height: 520px;
}

.ls-iframe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.08));
  color: #1f2937;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.ls-iframe-wrap.ls-is-loading .ls-iframe-loading {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ls-iframe-wrap.ls-is-loading .ls-tab-iframe {
  opacity: 0.45;
}

.ls-iframe-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(15, 23, 42, 0.18);
  border-top-color: #1e3a8a;
  animation: lsSpin 0.9s linear infinite;
}

@keyframes lsSpin {
  to {
    transform: rotate(360deg);
  }
}

.ls-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.ls-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.ls-unit-pill {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
}

.ls-ranking-card {
  background: #ffffff;
  border: none;
  border-radius: 0;
  overflow-x: auto;
  overflow-y: hidden;
  height: 1000px;
  display: flex;
  flex-direction: column;
}

.ls-ranking-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #e5e7eb;
  min-width: 1024px;
}

.ls-ranking-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: visible;
  min-width: 1024px;
}

.ls-ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 1024px;
}

.ls-ranking-panel {
  background: #ffffff;
}

.ls-ranking-panel+.ls-ranking-panel {
  border-left: none;
}

.ls-ranking-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #1e3a8a;
}

.ls-ranking-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #e5e7eb;
}

.ls-ranking-table thead {
  background: #090a3c;
}

.ls-ranking-card .ls-ranking-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.ls-ranking-table th {
  padding: 6px 16px;
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
  color: #ffffff;
  font-weight: 600;
  background: #090a3c;
  text-align: left;
}

.ls-ranking-table td {
  padding: 0 16px;
  font-size: 12.8px;
  color: #111827;
}

.ls-ranking-table tbody tr {
  height: 30px;
  border-bottom: 1px solid #e5e7eb;
}

#tab-content-1 .ls-ranking-table tbody tr,
#tab-content-2 .ls-ranking-table tbody tr {
  cursor: pointer;
}

.ls-ranking-table tbody tr:hover {
  background: #f9fafb;
}

.ls-ranking-table tbody tr:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.ls-ranking-table.ls-table-wide {
  min-width: 1400px;
  table-layout: auto;
}

.ls-ranking-table.ls-table-wide th,
.ls-ranking-table.ls-table-wide td {
  white-space: nowrap;
  text-align: center;
}

.ls-ranking-table th.ls-text-right,
.ls-ranking-table td.ls-text-right {
  text-align: right;
}

#tab-content-3 .ls-ranking-table {
  font-size: 12.8px;
}

#tab-content-3 .ls-ranking-table th,
#tab-content-3 .ls-ranking-table td {
  font-size: inherit;
}

#tab-content-3 .ls-ranking-table .ls-badge,
#tab-content-3 .ls-ranking-table .ls-progress-value,
#tab-content-3 .ls-ranking-table .ls-address-cell {
  font-size: inherit;
}

#tab-content-3 .ls-ranking-table * {
  box-shadow: none;
}

.ls-col-rank {
  width: 15%;
  text-align: left;
}

.ls-col-name {
  width: 33%;
  text-align: left;
}

.ls-col-keywords {
  width: 30%;
  text-align: left;
}

.ls-keyword-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ls-tooltip-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ls-keyword-header .ls-tooltip-trigger {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #93c5fd;
  background: #ffffff;
  color: #1e3a8a;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.ls-keyword-header .ls-tooltip-trigger:hover {
  background: #ffffff;
  border-color: #93c5fd;
  color: #1e3a8a;
}

.ls-tooltip-trigger:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.ls-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  max-width: 260px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #f8fafc;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms ease;
  z-index: 5;
  pointer-events: none;
}

.ls-tooltip::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #0f172a transparent;
}

.ls-tooltip-wrap:hover .ls-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.ls-embed-tab2 .ls-card-title .ls-tooltip-trigger {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid #1e3a8a;
  background: #ffffff;
  color: #1e3a8a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ls-embed-tab2 .ls-tooltip-trigger:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

.ls-col-amount {
  width: 22%;
  text-align: right;
}

.ls-ranking-rank-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ls-ranking-rank-num {
  display: inline-flex;
  width: 28px;
  justify-content: center;
  font-weight: 700;
  color: #374151;
}

.ls-ranking-rank-num.ls-is-top {
  color: #1e3a8a;
}

.ls-ranking-company {
  font-weight: 600;
  color: #111827;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.ls-ranking-badges {
  text-align: left;
  overflow: hidden;
}

.ls-badge-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 2px;
  justify-content: flex-start;
}

.ls-ranking-amount {
  text-align: right;
  font-family: 'SFMono-Regular', 'Roboto Mono', 'Menlo', 'Monaco', 'Consolas',
    'Liberation Mono', 'Courier New', monospace;
  letter-spacing: -0.01em;
}

.ls-badge-empty {
  font-size: 10px;
  color: #cbd5e1;
}

.ls-change {
  font-size: 10.4px;
  font-weight: 700;
}

.ls-change--neutral {
  color: #9ca3af;
  font-weight: 500;
}

.ls-change--up {
  color: #ef4444;
}

.ls-change--down {
  color: #3b82f6;
}

.ls-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .ls-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ls-card {
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.ls-card-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.ls-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ls-icon-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.8px;
}

.ls-icon-badge.ls-is-danger {
  background: #fee2e2;
  color: #dc2626;
}

.ls-icon-badge.ls-is-info {
  background: #dbeafe;
  color: #2563eb;
}

.ls-value {
  text-align: right;
  font-weight: 600;
  color: #1f2937;
}

.ls-value-danger {
  color: #dc2626;
  font-weight: 700;
}

.ls-value-warning {
  color: #f97316;
  font-weight: 700;
}

.ls-value-info {
  color: #2563eb;
  font-weight: 700;
}

.ls-card-large {
  background: #ffffff;
  border-radius: 0;
  border: none;
  padding: 0;
  margin-bottom: 16px;
}

.ls-filter-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .ls-filter-bar {
    flex-direction: row;
    align-items: center;
  }
}

.ls-filter-date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

.ls-filter-label {
  font-size: 13.6px;
  font-weight: 700;
  color: #6b7280;
}

.ls-filter-sep {
  color: #9ca3af;
}

.ls-filter-input {
  border: none;
  background: transparent;
  font-size: 14.8px;
  color: #374151;
  font-family: 'SFMono-Regular', 'Roboto Mono', 'Menlo', 'Monaco', 'Consolas',
    'Liberation Mono', 'Courier New', monospace;
}

.ls-filter-input:focus {
  outline: none;
}

.ls-filter-input[type='date']::-webkit-datetime-edit,
.ls-filter-input[type='date']::-webkit-datetime-edit-fields-wrapper,
.ls-filter-input[type='date']::-webkit-datetime-edit-text,
.ls-filter-input[type='date']::-webkit-datetime-edit-month-field,
.ls-filter-input[type='date']::-webkit-datetime-edit-day-field,
.ls-filter-input[type='date']::-webkit-datetime-edit-year-field {
  font-size: 14.8px;
}

.ls-filter-input[type='date']::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
}

.ls-search-field {
  position: relative;
  flex: 1;
}

.ls-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #9ca3af;
}

.ls-search-input {
  width: 100%;
  padding: 8px 12px 8px 38px;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 16px;
  height: 40px;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.ls-search-input::placeholder {
  color: #9ca3af;
  font-size: 16px;
}

.ls-filter-bar .ls-search-input,
.ls-filter-bar .ls-search-input::placeholder {
  font-size: 16px;
}

.ls-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: #ffffff;
}

.ls-page .ls-btn-search {
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 700;
  padding: 0 18px;
  border-radius: 4px;
  height: 40px;
  line-height: 1;
}

.ls-page .ls-btn-search:hover {
  background: #1e40af;
}

.ls-table-shell {
  border: none;
  border-radius: 0;
  overflow: hidden;
}

.ls-table-scroll {
  overflow-x: auto;
}

.ls-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 0;
  flex-wrap: wrap;
}

.ls-page-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ls-page-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ls-page-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #1e3a8a;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ls-page-btn:hover {
  border-color: #cbd5f5;
}

.ls-page-btn:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.ls-page-btn.is-active {
  background: #1e3a8a;
  color: #ffffff;
  border-color: #1e3a8a;
}

.ls-page-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  display: block;
}

.ls-page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.ls-address-cell {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  word-break: normal;
  max-width: none;
}

.ls-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.ls-progress-track {
  width: 96px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.ls-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: #2563eb;
}

.ls-progress-fill.ls-is-green {
  background: #22c55e;
}

.ls-progress-fill.ls-is-gray {
  background: #d1d5db;
}

.ls-progress-value {
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
}

.ls-progress-value.ls-is-green {
  color: #16a34a;
}

.ls-progress-value.ls-is-gray {
  color: #6b7280;
}

@media (max-width: 640px) {
  .ls-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ls-tab-btn {
    font-size: 13.6px;
    padding: 6px 4px 8px;
  }

  .ls-hero {
    padding-top: 32px;
  }

  .ls-main-content {
    padding-left: var(--content-offset-sm);
  }

  .ls-ranking-card {
    height: 640px;
  }

  .ls-card-large {
    padding: 12px;
  }
}