/*
 * Seojan Search Live for Elementor
 * Frontend component styles
 *
 * Architecture: base layout, interaction modes, responsive behavior,
 * results, promotional content, Elementor sizing hooks, and Gemini panels.
 */

.hoshi-lse-widget {
  --hoshi-lse-radius: 18px;
  --hoshi-lse-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  --hoshi-lse-border: 1px solid rgba(15, 23, 42, 0.08);
  --hoshi-lse-muted: #64748b;
  --hoshi-lse-text: #0f172a;
  --hoshi-lse-bg: #ffffff;
  --hoshi-lse-soft: #f8fafc;
  --hoshi-lse-accent: #2563eb;
  position: relative;
  z-index: 20;
  font-family: inherit;
}

.hoshi-lse-trigger-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hoshi-lse-trigger-button,
.hoshi-lse-trigger-field {
  appearance: none;
  color: var(--hoshi-lse-text);
  cursor: pointer;
  font: inherit;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.hoshi-lse-trigger-button {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0;
  box-shadow: none;
}

.hoshi-lse-trigger-field {
  min-height: 38px;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 0 10px;
  background: #f1f2f4;
  color: #62666d;
  text-align: start;
}

.hoshi-lse-trigger-button:hover,
.hoshi-lse-trigger-button:focus {
  background: transparent;
  color: var(--hoshi-lse-accent);
  outline: none;
}

.hoshi-lse-trigger-field:hover {
  background: #eef0f3;
  border-color: rgba(15, 23, 42, 0.08);
}

.hoshi-lse-trigger-button svg,
.hoshi-lse-trigger-field svg,
.hoshi-lse-form-icon svg,
.hoshi-lse-trigger-button i,
.hoshi-lse-trigger-field i,
.hoshi-lse-form-icon i {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hoshi-lse-default-icon {
  color: currentColor;
  stroke: currentColor;
  flex: 0 0 auto;
}

.hoshi-lse-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.hoshi-lse-widget.is-open .hoshi-lse-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hoshi-lse-overlay {
  display: none;
}

.hoshi-lse-panel-inner {
  width: min(760px, calc(100vw - 24px));
  max-height: min(78vh, 760px);
  overflow: auto;
  background: var(--hoshi-lse-bg);
  border: var(--hoshi-lse-border);
  border-radius: var(--hoshi-lse-radius);
  box-shadow: var(--hoshi-lse-shadow);
  padding: 12px;
  color: var(--hoshi-lse-text);
  transform: translateY(8px) scale(0.98);
  transform-origin: top center;
  transition: transform 0.22s ease;
}

.hoshi-lse-widget.is-open .hoshi-lse-panel-inner {
  transform: translateY(0) scale(1);
}

.hoshi-lse-mode-dropdown .hoshi-lse-panel {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
}

.hoshi-lse-mode-left .hoshi-lse-panel,
.hoshi-lse-mode-right .hoshi-lse-panel {
  position: absolute;
  top: 50%;
  width: max-content;
  max-width: calc(100vw - 24px);
}

.hoshi-lse-mode-left .hoshi-lse-panel {
  inset-inline-end: calc(100% + 8px);
}

.hoshi-lse-mode-right .hoshi-lse-panel {
  inset-inline-start: calc(100% + 8px);
}

.hoshi-lse-mode-left .hoshi-lse-panel-inner,
.hoshi-lse-mode-right .hoshi-lse-panel-inner {
  width: min(560px, calc(100vw - 24px));
  max-height: min(72vh, 640px);
  padding: 10px;
}

.hoshi-lse-mode-left .hoshi-lse-panel-inner {
  transform: translate(16px, -50%) scaleX(0.92);
  transform-origin: center right;
}

.hoshi-lse-mode-right .hoshi-lse-panel-inner {
  transform: translate(-16px, -50%) scaleX(0.92);
  transform-origin: center left;
}

.hoshi-lse-mode-left.is-open .hoshi-lse-panel-inner,
.hoshi-lse-mode-right.is-open .hoshi-lse-panel-inner {
  transform: translate(0, -50%) scaleX(1);
}

.hoshi-lse-mode-left .hoshi-lse-results,
.hoshi-lse-mode-right .hoshi-lse-results {
  grid-template-columns: 1fr;
}

.hoshi-lse-mode-topbar .hoshi-lse-panel {
  position: fixed;
  z-index: 99991;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 18px clamp(12px, 4vw, 56px);
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}

.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
  width: min(1120px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transform: translateY(-14px);
}

.hoshi-lse-mode-topbar.is-open .hoshi-lse-panel-inner {
  transform: translateY(0);
}

.hoshi-lse-mode-topbar .hoshi-lse-form {
  max-width: 760px;
  margin-inline: auto;
}

.hoshi-lse-mode-lightbox .hoshi-lse-panel {
  position: fixed;
  z-index: 99990;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 8vh 16px 16px;
}

.hoshi-lse-mode-lightbox .hoshi-lse-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
}

.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100vw - 24px));
}

.hoshi-lse-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  background: #f1f2f4;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 3px 10px;
  margin: 0;
}

.hoshi-lse-form-icon {
  color: var(--hoshi-lse-muted);
  display: inline-flex;
}

.hoshi-lse-input {
  width: 100%;
  min-height: 32px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent;
  color: var(--hoshi-lse-text);
  font: inherit;
  font-size: 15px;
  padding: 0;
}

.hoshi-lse-input::placeholder {
  color: #81858b;
  opacity: 1;
}

.hoshi-lse-input::-webkit-search-cancel-button {
  display: none;
}

.hoshi-lse-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #62666d;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.hoshi-lse-close[hidden],
.hoshi-lse-clear[hidden] {
  display: none !important;
}

.hoshi-lse-close:hover,
.hoshi-lse-close:focus {
  background: transparent;
  color: #0f172a;
  outline: none;
}

.hoshi-lse-popular {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.hoshi-lse-popular-title {
  width: 100%;
  color: var(--hoshi-lse-muted);
  font-size: 13px;
  margin-bottom: 2px;
}

.hoshi-lse-keyword,
.hoshi-lse-term {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  color: #334155;
  text-decoration: none !important;
  padding: 8px 12px;
  font-size: 13px;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.hoshi-lse-keyword:hover,
.hoshi-lse-term:hover {
  background: #f1f5f9;
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.hoshi-lse-status {
  margin-top: 14px;
  color: var(--hoshi-lse-muted);
  font-size: 14px;
}

.hoshi-lse-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.hoshi-lse-terms-title,
.hoshi-lse-results-title {
  width: 100%;
  font-size: 13px;
  color: var(--hoshi-lse-muted);
  margin-bottom: 2px;
}

.hoshi-lse-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.hoshi-lse-results-title {
  grid-column: 1 / -1;
}

.hoshi-lse-result {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  color: inherit;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 10px;
  text-decoration: none !important;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.hoshi-lse-result:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.hoshi-lse-result.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.hoshi-lse-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}

.hoshi-lse-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hoshi-lse-result-body {
  min-width: 0;
}

.hoshi-lse-result-title {
  display: block;
  color: var(--hoshi-lse-text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hoshi-lse-price {
  display: block;
  margin-top: 3px;
  color: var(--hoshi-lse-accent);
  font-weight: 700;
  font-size: 13px;
}

.hoshi-lse-excerpt {
  display: block;
  margin-top: 3px;
  color: var(--hoshi-lse-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hoshi-lse-type {
  display: inline-flex;
  margin-top: 4px;
  color: #94a3b8;
  font-size: 11px;
}

.hoshi-lse-view-all {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
  min-height: 42px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}

.hoshi-lse-view-all[hidden],
.hoshi-lse-results[hidden],
.hoshi-lse-terms[hidden],
.hoshi-lse-popular[hidden],
.hoshi-lse-status[hidden] {
  display: none !important;
}


/* cleaner desktop field and dropdown behavior */
.hoshi-lse-form:focus-within {
  background: #f6f7f9;
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
}

.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner {
  border-radius: 20px;
  padding: 12px;
}

.hoshi-lse-trigger-icon.hoshi-lse-mode-dropdown .hoshi-lse-panel {
  top: calc(100% + 10px);
}

.hoshi-lse-trigger-icon.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner {
  width: min(520px, calc(100vw - 24px));
}

.hoshi-lse-trigger-icon.hoshi-lse-mode-dropdown .hoshi-lse-form {
  width: 100%;
}

body.admin-bar .hoshi-lse-mode-topbar .hoshi-lse-panel {
  top: 32px;
}

.hoshi-lse-mode-topbar .hoshi-lse-panel {
  min-height: auto;
  padding-top: 14px;
  padding-bottom: 18px;
}

.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
  width: min(1180px, 100%);
  padding: 4px 0 0;
}

.hoshi-lse-mode-topbar .hoshi-lse-form {
  min-height: 46px;
  border-radius: 12px;
  padding: 4px 12px;
}

.hoshi-lse-mode-topbar .hoshi-lse-popular,
.hoshi-lse-mode-topbar .hoshi-lse-terms,
.hoshi-lse-mode-topbar .hoshi-lse-results,
.hoshi-lse-mode-topbar .hoshi-lse-status,
.hoshi-lse-mode-topbar .hoshi-lse-view-all {
  max-width: 960px;
  margin-inline: auto;
}

.hoshi-lse-result-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (max-width: 1024px) {
  .hoshi-lse-close {
    display: inline-flex;
  }

  .hoshi-lse-results {
    grid-template-columns: 1fr;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel,
  .hoshi-lse-mode-left .hoshi-lse-panel,
  .hoshi-lse-mode-right .hoshi-lse-panel {
    position: fixed;
    z-index: 99990;
    inset: 0;
    display: grid;
    place-items: start center;
    padding: 12px;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(6px);
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-mode-right .hoshi-lse-panel-inner {
    width: min(680px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    transform: translateY(0) scale(1);
  }

  .hoshi-lse-mode-left.is-open .hoshi-lse-panel-inner,
  .hoshi-lse-mode-right.is-open .hoshi-lse-panel-inner {
    transform: translateY(0) scale(1);
  }

  .hoshi-lse-mode-topbar .hoshi-lse-panel {
    padding: 12px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .hoshi-lse-mode-topbar .hoshi-lse-panel {
    top: 46px;
  }
}

@media (max-width: 480px) {
  .hoshi-lse-trigger-field {
    min-width: 160px;
  }

  .hoshi-lse-panel-inner {
    padding: 10px;
    border-radius: 16px;
  }

  .hoshi-lse-result {
    grid-template-columns: 60px minmax(0, 1fr);
  }

  .hoshi-lse-result.no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .hoshi-lse-thumb {
    width: 60px;
    height: 60px;
  }
}

/* Removed visual labels requested by Seojan UI review */
.hoshi-lse-results-title,
.hoshi-lse-type {
  display: none !important;
}

/* topbar redesign - no clipped header/search box */
.hoshi-lse-widget.hoshi-lse-mode-topbar {
  z-index: 2147482500;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147482500;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 4vw, 64px) clamp(18px, 2.4vw, 30px);
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: saturate(145%) blur(14px);
  -webkit-backdrop-filter: saturate(145%) blur(14px);
  max-height: 84vh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

body.admin-bar .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
  top: 32px !important;
  max-height: calc(84vh - 32px);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
  width: min(1120px, calc(100vw - 28px));
  max-height: none;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(0) scale(1);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar.is-open .hoshi-lse-panel-inner {
  animation: hoshi-lse-topbar-enter 0.22s ease both;
}

@keyframes hoshi-lse-topbar-enter {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
  width: min(820px, 100%);
  max-width: 100%;
  min-height: 58px;
  margin-inline: auto;
  padding: 0 18px;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 20px;
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.96) inset;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow:
    0 18px 46px rgba(37, 99, 235, 0.13),
    0 0 0 5px rgba(37, 99, 235, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.98) inset;
  transform: translateY(-1px);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form-icon {
  color: #54708f;
  width: 30px;
  min-width: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form-icon svg,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form-icon i {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
  min-height: 54px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input::placeholder {
  color: #8a97a8;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close {
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-popular,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-terms,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-results,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-status,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all {
  width: min(1060px, 100%);
  margin-inline: auto;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-popular {
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-popular-title {
  text-align: center;
  font-size: 12px;
  color: #738195;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-keyword,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-term {
  min-height: 36px;
  padding: 7px 14px;
  background: #ffffff;
  border-color: rgba(203, 213, 225, 0.8);
  color: #26364a;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-keyword:hover,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-term:hover {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.08);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-results {
  margin-top: 18px;
  gap: 12px;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-result {
  border-radius: 18px;
  padding: 12px;
  border-color: rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-result:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all {
  min-height: 50px;
  border-radius: 18px;
  margin-top: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.18);
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    padding: 12px;
    max-height: 100vh;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    width: min(720px, calc(100vw - 24px));
    border-radius: 0;
    padding: 0;
    overflow-y: auto;
    max-height: calc(100vh - 24px);
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
    min-height: 52px;
    border-radius: 16px;
    padding: 0 12px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
    min-height: 48px;
    font-size: 16px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close {
    display: inline-flex !important;
  }
}

@media (max-width: 782px) {
  body.admin-bar .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    top: 46px !important;
    max-height: calc(100vh - 46px);
  }
}

@media (max-width: 480px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    padding: 10px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    width: calc(100vw - 20px);
    border-radius: 0;
    padding: 0;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
    min-height: 50px;
  }
}

/* load-more first, then full results */
.hoshi-lse-trigger-wrap {
  position: relative;
  max-width: 100%;
}

.hoshi-lse-trigger-field {
  min-height: 46px;
  min-width: min(360px, 100%);
  width: 100%;
  max-width: 100%;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  background: #f0f0f1;
  color: #6b7280;
  box-shadow: none;
  overflow: hidden;
}

.hoshi-lse-trigger-field:hover,
.hoshi-lse-trigger-field:focus {
  background: #e9eaee;
  border-color: rgba(148, 163, 184, 0.22);
  color: #475569;
  outline: none;
}

.hoshi-lse-trigger-field:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.hoshi-lse-trigger-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7b8794;
  flex: 0 0 auto;
}

.hoshi-lse-trigger-field-text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
}

.hoshi-lse-trigger-button {
  color: inherit;
}

.hoshi-lse-form {
  min-height: 44px;
  border-radius: 12px;
  background: #f5f6f8;
  border-color: rgba(203, 213, 225, 0.48);
  padding: 4px 12px;
}

.hoshi-lse-form:focus-within {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.32);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.07);
}

@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-left,
  .hoshi-lse-widget.hoshi-lse-mode-right {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: 100%;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-panel {
    position: absolute !important;
    top: 50% !important;
    z-index: 99992;
    width: auto;
    max-width: none;
    transform: translateY(-50%);
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-panel {
    inset-inline-end: calc(100% + 10px) !important;
    inset-inline-start: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-panel {
    inset-inline-start: calc(100% + 10px) !important;
    inset-inline-end: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-panel-inner {
    width: clamp(300px, 32vw, 460px) !important;
    max-height: none;
    overflow: visible;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.18s ease;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-panel-inner {
    transform: translateX(16px) scaleX(0.94) !important;
    transform-origin: center right;
  }

  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-panel-inner {
    transform: translateX(-16px) scaleX(0.94) !important;
    transform-origin: center left;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left.is-open .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-right.is-open .hoshi-lse-panel-inner {
    transform: translateX(0) scaleX(1) !important;
    opacity: 1;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-form {
    width: 100%;
    min-height: 42px;
    padding: 3px 12px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-form:focus-within,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-form:focus-within {
    border-color: rgba(59, 130, 246, 0.42);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1), 0 0 0 4px rgba(59, 130, 246, 0.07);
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-input {
    min-height: 34px;
    font-size: 14px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-results {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-popular {
    gap: 6px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-terms {
    border-top: 1px solid rgba(226, 232, 240, 0.95);
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-results {
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: min(62vh, 520px);
    overflow: auto;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-result,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-result {
    grid-template-columns: 54px minmax(0, 1fr);
    border-radius: 12px;
    padding: 8px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-result.no-image,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-result.no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-thumb,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-thumb {
    width: 54px;
    height: 54px;
    border-radius: 10px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-left .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-mode-right .hoshi-lse-view-all {
    width: 100%;
    min-height: 40px;
    border-radius: 12px;
    margin-top: 8px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
  }
}


.hoshi-lse-view-all.is-loading {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}


/* the x button inside the search field clears typed text instead of closing the panel. */
.hoshi-lse-form .hoshi-lse-clear {
  margin-inline-start: 2px;
}

.hoshi-lse-form .hoshi-lse-clear:hover {
  background: transparent;
}


/* roomier desktop search, compact 20px responsive spacing */
@media (min-width: 1025px) {
  .hoshi-lse-trigger-field {
    min-width: min(520px, 100%);
    min-height: 52px;
    padding: 0 18px;
    gap: 12px;
    border-radius: 14px;
  }

  .hoshi-lse-trigger-field-text {
    font-size: 15px;
  }

  .hoshi-lse-panel-inner {
    width: min(900px, calc(100vw - 96px));
    padding: 18px;
  }

  .hoshi-lse-form {
    min-height: 56px;
    padding: 0 18px;
    gap: 14px;
    border-radius: 16px;
  }

  .hoshi-lse-input {
    min-height: 52px;
    font-size: 16px;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner {
    width: min(860px, calc(100vw - 96px));
    padding: 20px;
  }

  .hoshi-lse-trigger-icon.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner {
    width: min(680px, calc(100vw - 96px));
  }

  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    width: min(1040px, calc(100vw - 96px));
    padding: 22px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    padding: 28px clamp(48px, 6vw, 96px) 36px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    width: min(1280px, calc(100vw - 96px)) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
    width: min(980px, 100%) !important;
    min-height: 66px !important;
    padding: 0 24px !important;
    gap: 16px;
    border-radius: 22px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
    min-height: 62px !important;
    font-size: 18px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all {
    width: min(1180px, 100%);
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-trigger-field {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel,
  .hoshi-lse-mode-left .hoshi-lse-panel,
  .hoshi-lse-mode-right .hoshi-lse-panel,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    padding: 20px !important;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-mode-right .hoshi-lse-panel-inner,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    width: min(720px, calc(100vw - 40px)) !important;
    max-height: calc(100vh - 40px);
    padding: 12px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    padding: 0 !important;
  }

  .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
    min-height: 50px !important;
    padding: 0 14px !important;
    gap: 10px;
    border-radius: 15px;
  }

  .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
    min-height: 46px !important;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-mode-right .hoshi-lse-panel-inner,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    width: calc(100vw - 40px) !important;
  }
}


/* redesigned standalone search field trigger - Digikala-style clean header search */
.hoshi-lse-widget.hoshi-lse-trigger-field {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-wrap {
  width: auto;
  max-width: 100%;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field {
  width: clamp(380px, 46vw, 760px);
  max-width: calc(100vw - 40px);
  min-height: 54px;
  padding: 0 20px;
  gap: 13px;
  border: 0;
  border-radius: 14px;
  background: #f0f0f1;
  color: #6b7280;
  box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.18);
  text-align: right;
  justify-content: flex-start;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:focus {
  background: #ffffff;
  color: #475569;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.34), 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.42), 0 0 0 4px rgba(59, 130, 246, 0.08), 0 10px 28px rgba(15, 23, 42, 0.08);
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon {
  width: 26px;
  height: 26px;
  color: #9ca3af;
  opacity: 1;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon svg,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon i {
  width: 26px;
  height: 26px;
  font-size: 26px;
  color: currentColor;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-text {
  color: #7a7f87;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  opacity: 1;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:hover .hoshi-lse-trigger-field-icon,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:focus .hoshi-lse-trigger-field-icon {
  color: #64748b;
}

@media (min-width: 1280px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field {
    width: clamp(480px, 48vw, 820px);
    min-height: 56px;
    padding-inline: 22px;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field {
    width: 100%;
  }

  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-wrap,
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field {
    width: 100%;
  }

  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field {
    max-width: calc(100vw - 40px);
    min-height: 48px;
    padding: 0 16px;
    border-radius: 13px;
    gap: 10px;
  }

  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-text {
    font-size: 14px;
  }

  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon,
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon svg,
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon i {
    width: 22px;
    height: 22px;
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field {
    min-height: 46px;
    max-width: calc(100vw - 32px);
    padding: 0 14px;
    border-radius: 12px;
  }
}

/* field behavior modes + cleaner hover */
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline {
  display: block;
  width: 100%;
  max-width: 100%;
}

.hoshi-lse-mode-inline .hoshi-lse-panel {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  width: 100%;
  transition: none;
}

.hoshi-lse-mode-inline .hoshi-lse-panel-inner,
.hoshi-lse-mode-inline.is-open .hoshi-lse-panel-inner {
  width: 100%;
  max-width: 100%;
  max-height: none;
  overflow: visible;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.hoshi-lse-mode-inline .hoshi-lse-overlay {
  display: none !important;
}

.hoshi-lse-mode-inline .hoshi-lse-form {
  width: min(760px, 100%);
  min-height: 58px;
  margin: 0;
  padding: 0 20px;
  gap: 14px;
  border-radius: 16px;
  background: #f0f0f1;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.hoshi-lse-mode-inline .hoshi-lse-form:hover {
  background: #f3f4f6;
  border-color: rgba(203, 213, 225, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.hoshi-lse-mode-inline .hoshi-lse-form:focus-within {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.95);
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12), 0 16px 36px rgba(15, 23, 42, 0.08);
}

.hoshi-lse-mode-inline .hoshi-lse-input {
  min-height: 54px;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
}

.hoshi-lse-mode-inline .hoshi-lse-form-icon {
  color: #8b95a5;
}

.hoshi-lse-mode-inline .hoshi-lse-close {
  color: #8b95a5;
  font-size: 22px;
}

.hoshi-lse-mode-inline .hoshi-lse-popular,
.hoshi-lse-mode-inline .hoshi-lse-status,
.hoshi-lse-mode-inline .hoshi-lse-terms,
.hoshi-lse-mode-inline .hoshi-lse-results,
.hoshi-lse-mode-inline .hoshi-lse-view-all {
  width: min(760px, 100%);
}

.hoshi-lse-mode-inline .hoshi-lse-popular,
.hoshi-lse-mode-inline .hoshi-lse-status,
.hoshi-lse-mode-inline .hoshi-lse-terms,
.hoshi-lse-mode-inline .hoshi-lse-results {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  padding: 14px;
}

.hoshi-lse-mode-inline .hoshi-lse-popular {
  margin-top: 12px;
}

.hoshi-lse-mode-inline .hoshi-lse-status,
.hoshi-lse-mode-inline .hoshi-lse-terms,
.hoshi-lse-mode-inline .hoshi-lse-results {
  margin-top: 12px;
}

.hoshi-lse-mode-inline .hoshi-lse-view-all {
  margin-top: 12px;
}

.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field {
  background: #f0f0f1 !important;
  color: #6b7280 !important;
  border: 1px solid rgba(226, 232, 240, 0.75) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36) !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:focus {
  background: #f3f4f6 !important;
  color: #475569 !important;
  border-color: rgba(203, 213, 225, 0.95) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
  transform: none !important;
  outline: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:focus-visible {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 3px rgba(148, 163, 184, 0.14) !important;
}

@media (min-width: 1280px) {
  .hoshi-lse-mode-inline .hoshi-lse-form,
  .hoshi-lse-mode-inline .hoshi-lse-popular,
  .hoshi-lse-mode-inline .hoshi-lse-status,
  .hoshi-lse-mode-inline .hoshi-lse-terms,
  .hoshi-lse-mode-inline .hoshi-lse-results,
  .hoshi-lse-mode-inline .hoshi-lse-view-all {
    width: min(860px, 100%);
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-mode-inline .hoshi-lse-form {
    width: 100%;
    min-height: 50px !important;
    padding: 0 14px !important;
    gap: 10px;
    border-radius: 14px;
  }

  .hoshi-lse-mode-inline .hoshi-lse-input {
    min-height: 46px !important;
    font-size: 15px;
  }

  .hoshi-lse-mode-inline .hoshi-lse-popular,
  .hoshi-lse-mode-inline .hoshi-lse-status,
  .hoshi-lse-mode-inline .hoshi-lse-terms,
  .hoshi-lse-mode-inline .hoshi-lse-results,
  .hoshi-lse-mode-inline .hoshi-lse-view-all {
    width: 100%;
  }
}

/* fully isolated PCMag-style side expansion.
   Left/right modes are a plain horizontal search field only; no suggestion/result box. */
@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
    vertical-align: middle !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left .hoshi-lse-trigger-wrap,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right .hoshi-lse-trigger-wrap {
    flex: 0 0 auto !important;
    order: 1 !important;
    margin: 0 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right .hoshi-lse-panel {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 1 !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    transition: width 0.24s ease, max-width 0.24s ease, opacity 0.16s ease, visibility 0.16s ease !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left .hoshi-lse-panel {
    order: 0 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right .hoshi-lse-panel {
    order: 2 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left.is-open .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right.is-open .hoshi-lse-panel {
    width: clamp(260px, 34vw, 430px) !important;
    max-width: min(430px, calc(100vw - 42px)) !important;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-left.is-open .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-side-only.hoshi-lse-mode-right.is-open .hoshi-lse-panel-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-overlay,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-clear {
    display: none !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-side-only.is-open .hoshi-lse-form {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 14px !important;
    gap: 9px !important;
    display: flex !important;
    align-items: center !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-form:hover,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-form:focus-within {
    background: #ffffff !important;
    border-color: rgba(148, 163, 184, 0.92) !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-form-icon,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-form-icon svg,
  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-form-icon i {
    width: 20px !important;
    height: 20px !important;
    font-size: 20px !important;
    color: #64748b !important;
    flex: 0 0 auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-input {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 40px !important;
    color: #111827 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-only .hoshi-lse-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
  }
}

/* Seojan 1.2.5 requested fixes: safer mobile layers, pill fields, neon focus, side live option */
.hoshi-lse-trigger-field,
.hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
.hoshi-lse-mode-inline .hoshi-lse-form {
  border-radius: 999px;
}

.hoshi-lse-mode-dropdown .hoshi-lse-form,
.hoshi-lse-mode-topbar .hoshi-lse-form,
.hoshi-lse-mode-lightbox .hoshi-lse-form {
  border: 0;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.06), 0 14px 34px rgba(14, 165, 233, 0.12), 0 0 26px rgba(45, 212, 191, 0.09);
}

.hoshi-lse-mode-dropdown .hoshi-lse-form:hover,
.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
.hoshi-lse-mode-lightbox .hoshi-lse-form:hover {
  border: 0;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 16px 38px rgba(14, 165, 233, 0.14), 0 0 30px rgba(45, 212, 191, 0.10);
}

.hoshi-lse-mode-dropdown .hoshi-lse-form:focus-within,
.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within,
.hoshi-lse-mode-lightbox .hoshi-lse-form:focus-within {
  border: 0;
  outline: 0;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16), 0 18px 46px rgba(37, 99, 235, 0.16), 0 0 36px rgba(45, 212, 191, 0.18);
  transform: none;
}

.hoshi-lse-mode-dropdown .hoshi-lse-input:focus,
.hoshi-lse-mode-topbar .hoshi-lse-input:focus,
.hoshi-lse-mode-lightbox .hoshi-lse-input:focus {
  outline: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (min-width: 1025px) {
  .hoshi-lse-mode-dropdown .hoshi-lse-panel {
    top: calc(100% + 18px);
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    padding: 34px clamp(42px, 6vw, 100px) 34px;
  }

  .hoshi-lse-mode-lightbox .hoshi-lse-panel {
    padding-top: 11vh;
    padding-inline: clamp(48px, 7vw, 100px);
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    padding-top: 42px !important;
    padding-inline: clamp(56px, 7vw, 110px) !important;
    padding-bottom: 44px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-mode-dropdown .hoshi-lse-form,
  .hoshi-lse-mode-lightbox .hoshi-lse-form {
    border-radius: 999px !important;
  }
}

.hoshi-lse-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 0;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(45, 212, 191, 0.10));
  color: #0f3f5f;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.10);
  overflow: hidden;
}

.hoshi-lse-promo-image {
  display: inline-flex;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
}

.hoshi-lse-promo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hoshi-lse-promo-text {
  min-width: 0;
  line-height: 1.8;
}

.hoshi-lse-promo:hover {
  color: #075985;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.14);
}

.hoshi-lse-promo[hidden] {
  display: none !important;
}


@media (max-width: 480px) {
  .hoshi-lse-promo {
    justify-content: flex-start;
    padding: 10px 12px;
  }

  .hoshi-lse-promo-image {
    width: 48px;
    height: 48px;
  }
}

/* PCMag style: icon becomes close button while side field is open */
.hoshi-lse-widget.hoshi-lse-mode-left.is-open .hoshi-lse-trigger-button,
.hoshi-lse-widget.hoshi-lse-mode-right.is-open .hoshi-lse-trigger-button {
  position: relative;
}

.hoshi-lse-widget.hoshi-lse-mode-left.is-open .hoshi-lse-trigger-button > *,
.hoshi-lse-widget.hoshi-lse-mode-right.is-open .hoshi-lse-trigger-button > * {
  opacity: 0;
}

.hoshi-lse-widget.hoshi-lse-mode-left.is-open .hoshi-lse-trigger-button::before,
.hoshi-lse-widget.hoshi-lse-mode-right.is-open .hoshi-lse-trigger-button::before {
  content: "×";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: currentColor;
}

.hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-popular,
.hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-terms {
  display: none !important;
}

@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-view-all {
    width: 100%;
  }
}

/* Mobile/tablet: make every opened popup visible above all header/menu elements */
@media (max-width: 1024px) {
  .hoshi-lse-widget {
    z-index: 2147483000;
  }

  .hoshi-lse-widget:not(.hoshi-lse-mode-inline).is-open .hoshi-lse-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2147483000 !important;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel,
  .hoshi-lse-mode-left .hoshi-lse-panel,
  .hoshi-lse-mode-right .hoshi-lse-panel,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel {
    position: fixed !important;
    inset: 0 !important;
    display: grid !important;
    place-items: start center !important;
    padding: 20px !important;
    background: rgba(15, 23, 42, 0.35) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-mode-right .hoshi-lse-panel-inner,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    width: min(720px, calc(100vw - 40px)) !important;
    max-height: calc(100vh - 40px) !important;
    overflow: auto !important;
    transform: none !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    z-index: 2147483000 !important;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-form,
  .hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-mode-lightbox .hoshi-lse-form,
  .hoshi-lse-mode-left .hoshi-lse-form,
  .hoshi-lse-mode-right .hoshi-lse-form {
    border-radius: 999px !important;
  }
}

.hoshi-lse-view-all[data-action="load-more"] {
  position: sticky;
  bottom: 10px;
  z-index: 5;
}

/* Seojan 1.2.6 fixes: dropdown width, load-more spacing, stable side-live layout */
.hoshi-lse-view-all[data-action="load-more"] {
  position: static !important;
  bottom: auto !important;
  z-index: auto !important;
  margin-top: 22px !important;
  clear: both;
}

.hoshi-lse-view-all[data-action="load-more"]:not([hidden]) {
  display: flex !important;
}

@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner {
    width: min(1020px, calc(100vw - 72px)) !important;
    padding: 34px clamp(18px, 2.2vw, 32px) 34px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-form {
    width: min(760px, 100%) !important;
    margin-inline: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-promo {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-results {
    gap: 12px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-result {
    padding: 10px !important;
    gap: 10px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-result-title {
    font-size: 13.5px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  /* Side live mode: keep the input aligned with the icon and place results below it. */
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-left,
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-right {
    display: inline-flex !important;
    align-items: flex-start !important;
    position: relative !important;
    width: auto !important;
    max-width: 100% !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-left .hoshi-lse-trigger-wrap,
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-right .hoshi-lse-trigger-wrap {
    position: relative !important;
    z-index: 3 !important;
    flex: 0 0 auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-left .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-right .hoshi-lse-panel {
    position: absolute !important;
    top: 0 !important;
    transform: none !important;
    width: clamp(340px, 38vw, 540px) !important;
    max-width: min(540px, calc(100vw - 48px)) !important;
    z-index: 99993 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-left .hoshi-lse-panel {
    inset-inline-end: calc(100% + 12px) !important;
    inset-inline-start: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-right .hoshi-lse-panel {
    inset-inline-start: calc(100% + 12px) !important;
    inset-inline-end: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-left .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-right .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-left.is-open .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-side-live.hoshi-lse-mode-right.is-open .hoshi-lse-panel-inner {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-form {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-results {
    width: 100% !important;
    margin-top: 10px !important;
    padding: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.96) !important;
    border-radius: 16px !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14) !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-results {
    grid-template-columns: 1fr !important;
    max-height: min(62vh, 520px) !important;
    overflow: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-side-live .hoshi-lse-view-all {
    position: static !important;
    width: 100% !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-view-all[data-action="load-more"] {
    position: static !important;
    bottom: auto !important;
    margin-top: 18px !important;
  }
}


/* burgundy load-more and fixed form/button with scrollable results for dropdown + lightbox */
.hoshi-lse-view-all[data-action="load-more"] {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 52%, #5f1216 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(127, 29, 29, 0.24) !important;
}

.hoshi-lse-view-all[data-action="load-more"]:hover,
.hoshi-lse-view-all[data-action="load-more"]:focus {
  background: linear-gradient(135deg, #8f1d1d 0%, #b91c1c 52%, #68151a 100%) !important;
  box-shadow: 0 16px 38px rgba(127, 29, 29, 0.30) !important;
  outline: none !important;
}

.hoshi-lse-view-all[data-action="load-more"].is-loading {
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 52%, #5f1216 100%) !important;
  opacity: 0.82;
}

.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.hoshi-lse-mode-dropdown .hoshi-lse-form,
.hoshi-lse-mode-lightbox .hoshi-lse-form,
.hoshi-lse-mode-dropdown .hoshi-lse-popular,
.hoshi-lse-mode-lightbox .hoshi-lse-popular,
.hoshi-lse-mode-dropdown .hoshi-lse-promo,
.hoshi-lse-mode-lightbox .hoshi-lse-promo,
.hoshi-lse-mode-dropdown .hoshi-lse-status,
.hoshi-lse-mode-lightbox .hoshi-lse-status,
.hoshi-lse-mode-dropdown .hoshi-lse-terms,
.hoshi-lse-mode-lightbox .hoshi-lse-terms,
.hoshi-lse-mode-dropdown .hoshi-lse-view-all,
.hoshi-lse-mode-lightbox .hoshi-lse-view-all {
  flex: 0 0 auto !important;
}

.hoshi-lse-mode-dropdown .hoshi-lse-results,
.hoshi-lse-mode-lightbox .hoshi-lse-results {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  padding-inline-end: 4px;
  scrollbar-width: thin;
}

.hoshi-lse-mode-dropdown .hoshi-lse-view-all,
.hoshi-lse-mode-lightbox .hoshi-lse-view-all {
  margin-top: 16px !important;
}

@media (min-width: 1025px) {
  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner {
    max-height: min(82vh, 780px) !important;
  }

  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    max-height: min(82vh, 820px) !important;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-results {
    max-height: min(50vh, 500px) !important;
  }

  .hoshi-lse-mode-lightbox .hoshi-lse-results {
    max-height: min(54vh, 560px) !important;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    max-height: calc(100vh - 40px) !important;
  }

  .hoshi-lse-mode-dropdown .hoshi-lse-results,
  .hoshi-lse-mode-lightbox .hoshi-lse-results {
    max-height: calc(100vh - 240px) !important;
  }
}

/* mobile/tablet load controls, visible load-more footer, reliable mobile close */
@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel {
    z-index: 2147483600 !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100dvh - 28px) !important;
    overflow: hidden !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-promo,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-promo,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-promo,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-view-all {
    flex: 0 0 auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    padding-bottom: 8px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-view-all:not([hidden]),
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all:not([hidden]),
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-view-all:not([hidden]) {
    display: flex !important;
    position: relative !important;
    bottom: auto !important;
    z-index: 3 !important;
    width: 100% !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close {
    display: inline-flex !important;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    max-height: calc(100dvh - 20px) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results {
    max-height: none !important;
  }
}


/* wider desktop lightbox + fixed topbar footer/load-more with scrollable results */
@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    width: min(1180px, calc(100vw - 96px)) !important;
    max-width: min(1180px, calc(100vw - 96px)) !important;
    max-height: min(84vh, 860px) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results {
    max-height: min(56vh, 600px) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
    overflow: hidden !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(84vh - 96px) !important;
    overflow: hidden !important;
  }

  body.admin-bar .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
    max-height: calc(84vh - 128px) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-promo,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all {
    flex: 0 0 auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-results {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    padding-inline-end: 4px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all:not([hidden]) {
    display: flex !important;
    position: relative !important;
    bottom: auto !important;
    z-index: 4 !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all:not([hidden]) {
    margin-bottom: 14px !important;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-view-all:not([hidden]) {
    margin-bottom: 18px !important;
  }
}

/* promo banner image upload/render support */

/* topbar close button like lightbox + slimmer search field height/padding */
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close:not([hidden]) {
  display: inline-flex !important;
}

.hoshi-lse-form .hoshi-lse-clear.is-close-only,
.hoshi-lse-form .hoshi-lse-close.is-close-only {
  background: transparent;
  color: #7f1d1d;
}

.hoshi-lse-form .hoshi-lse-clear.is-close-only:hover,
.hoshi-lse-form .hoshi-lse-close.is-close-only:hover,
.hoshi-lse-form .hoshi-lse-clear.is-close-only:focus,
.hoshi-lse-form .hoshi-lse-close.is-close-only:focus {
  background: transparent;
  color: #450a0a;
}

@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-form {
    min-height: 52px !important;
    padding-block: 2px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-input {
    min-height: 46px !important;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-form {
    min-height: 46px !important;
    padding: 2px 10px !important;
    gap: 7px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-input {
    min-height: 40px !important;
    font-size: 15px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form-icon,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form-icon,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-form-icon {
    width: 24px !important;
    min-width: 24px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-clear {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    font-size: 22px !important;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-form {
    min-height: 44px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-dropdown .hoshi-lse-input {
    min-height: 38px !important;
  }
}


/* cleaner initial search field + topbar field border like lightbox */
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-wrap {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field {
  min-height: 42px !important;
  height: auto !important;
  padding: 0 14px !important;
  gap: 9px !important;
  background: #ffffff !important;
  color: #64748b !important;
  border: 1px solid rgba(203, 213, 225, 0.95) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:focus,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:focus {
  background: #ffffff !important;
  color: #334155 !important;
  border-color: rgba(56, 189, 248, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.09) !important;
  outline: none !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:focus-visible,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:focus-visible {
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.11) !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon svg,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon i {
  color: #94a3b8 !important;
}

/* Inline search field: remove the extra gray form feeling; leave one clean white field. */
.hoshi-lse-mode-inline .hoshi-lse-form {
  width: min(760px, 100%);
  min-height: 44px !important;
  padding: 0 14px !important;
  gap: 9px !important;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 999px;
  box-shadow: none;
}

.hoshi-lse-mode-inline .hoshi-lse-form:hover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.95);
  box-shadow: none;
}

.hoshi-lse-mode-inline .hoshi-lse-form:focus-within {
  background: #ffffff;
  border-color: rgba(56, 189, 248, 0.75);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.10), 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hoshi-lse-mode-inline .hoshi-lse-input {
  min-height: 38px !important;
  font-size: 15px;
  font-weight: 500;
}

.hoshi-lse-mode-inline .hoshi-lse-form-icon {
  color: #94a3b8;
}

.hoshi-lse-mode-inline .hoshi-lse-close {
  color: #94a3b8;
}

/* Topbar opened search field: same clean rounded border style as the lightbox field. */
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
  width: min(820px, 100%);
  min-height: 48px !important;
  padding: 0 14px !important;
  gap: 9px !important;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transform: none;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:hover {
  background: #ffffff;
  border-color: rgba(148, 163, 184, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within {
  background: #ffffff;
  border-color: rgba(56, 189, 248, 0.78);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.10), 0 16px 38px rgba(15, 23, 42, 0.10);
  transform: none;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
  min-height: 42px !important;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field,
  .hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field {
    min-height: 40px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .hoshi-lse-mode-inline .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
    min-height: 42px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .hoshi-lse-mode-inline .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
    min-height: 36px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field,
  .hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field {
    min-height: 38px !important;
    padding: 0 11px !important;
    max-width: calc(100vw - 28px) !important;
  }

  .hoshi-lse-mode-inline .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
    min-height: 40px !important;
    padding: 0 10px !important;
  }

  .hoshi-lse-mode-inline .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input {
    min-height: 34px !important;
  }
}


/* remove the extra gray shell around the field trigger and make the field taller/cleaner. */
.hoshi-lse-widget.hoshi-lse-trigger-field,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-wrap,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-trigger-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-wrap::before,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-wrap::after,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field::before,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field::after {
  content: none !important;
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field {
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 20px !important;
  gap: 10px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #64748b !important;
  border: 1px solid rgba(203, 213, 225, 0.96) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field:focus,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: rgba(56, 189, 248, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.10) !important;
  color: #334155 !important;
  outline: 0 !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-text {
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon svg,
.hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field-icon i {
  width: 24px !important;
  height: 24px !important;
  font-size: 24px !important;
}

/* Inline field mode: no outer form/background shell; only the white rounded search field remains. */
.hoshi-lse-widget.hoshi-lse-mode-inline,
.hoshi-lse-widget.hoshi-lse-mode-inline .hoshi-lse-panel,
.hoshi-lse-widget.hoshi-lse-mode-inline .hoshi-lse-panel-inner {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hoshi-lse-mode-inline .hoshi-lse-form {
  min-height: 52px !important;
  height: 52px !important;
  padding: 0 20px !important;
  gap: 10px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(203, 213, 225, 0.96) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.hoshi-lse-mode-inline .hoshi-lse-form:hover,
.hoshi-lse-mode-inline .hoshi-lse-form:focus-within {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: rgba(56, 189, 248, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.10) !important;
}

.hoshi-lse-mode-inline .hoshi-lse-input {
  min-height: 46px !important;
  height: 46px !important;
  font-size: 15px !important;
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field,
  .hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field,
  .hoshi-lse-mode-inline .hoshi-lse-form {
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 16px !important;
  }

  .hoshi-lse-mode-inline .hoshi-lse-input {
    min-height: 42px !important;
    height: 42px !important;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field .hoshi-lse-trigger-field,
  .hoshi-lse-widget.hoshi-lse-trigger-field:not(.hoshi-lse-field-behavior-inline) .hoshi-lse-trigger-field,
  .hoshi-lse-mode-inline .hoshi-lse-form {
    min-height: 46px !important;
    height: 46px !important;
    padding: 0 14px !important;
    max-width: calc(100vw - 24px) !important;
  }

  .hoshi-lse-mode-inline .hoshi-lse-input {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 14px !important;
  }
}


/* premium clean topbar field border + remove glow/gradient haze under the opened topbar input. */
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form {
  border: 2px solid transparent !important;
  background:
    linear-gradient(var(--hoshi-lse-field-bg, #ffffff), var(--hoshi-lse-field-bg, #ffffff)) padding-box,
    linear-gradient(135deg, var(--hoshi-lse-form-gradient-start, rgba(34, 211, 238, 0.96)) 0%, var(--hoshi-lse-form-gradient-end, rgba(59, 130, 246, 0.92)) 58%, rgba(124, 58, 237, 0.78) 100%) border-box !important;
  box-shadow: none !important;
  filter: none !important;
  outline: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within {
  border: 2px solid transparent !important;
  background:
    linear-gradient(var(--hoshi-lse-field-bg, #ffffff), var(--hoshi-lse-field-bg, #ffffff)) padding-box,
    linear-gradient(135deg, var(--hoshi-lse-form-gradient-start, rgba(14, 165, 233, 1)) 0%, var(--hoshi-lse-form-gradient-end, rgba(37, 99, 235, 0.98)) 58%, rgba(139, 92, 246, 0.92) 100%) border-box !important;
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
  outline: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form::after {
  content: none !important;
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
  background-image: none !important;
}

/* Keep the topbar field crisp on mobile too. */
@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within {
    border-width: 1.5px !important;
    box-shadow: none !important;
  }
}

/* inline/simple field search results must stay directly under the field, single-column, same width as the field. */
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-panel,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-panel-inner {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-popular,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-promo,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-status,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-terms,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-results,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-view-all {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-results {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  margin-top: 10px !important;
  padding: 10px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.92) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-results[hidden] {
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-result {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 9px !important;
  border-radius: 14px !important;
  min-height: 84px !important;
  box-sizing: border-box !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-result.no-image {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 56px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-thumb {
  width: 66px !important;
  height: 66px !important;
  border-radius: 12px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-result-title {
  font-size: 14px !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 2 !important;
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-results {
    gap: 7px !important;
    padding: 8px !important;
    border-radius: 16px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-result {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    min-height: 76px !important;
    padding: 8px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-thumb {
    width: 58px !important;
    height: 58px !important;
  }
}

/* inline/simple field live results must behave like a dropdown popover, not expand the header. */
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline {
  position: relative !important;
  overflow: visible !important;
  z-index: 1000;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-panel,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-panel-inner {
  position: relative !important;
  overflow: visible !important;
  min-height: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form {
  position: relative !important;
  z-index: 2 !important;
}

.hoshi-lse-inline-popover {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  inset-inline: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  z-index: 99999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  pointer-events: auto !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hoshi-lse-inline-popover[hidden] {
  display: none !important;
}

.hoshi-lse-inline-popover .hoshi-lse-terms,
.hoshi-lse-inline-popover .hoshi-lse-terms:not([hidden]) {
  display: none !important;
}

.hoshi-lse-inline-popover .hoshi-lse-product-action {
  flex: 0 0 auto;
  min-height: 36px;
  max-width: 150px;
  padding: 7px 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 11px !important;
  background: #0f172a !important;
  color: #ffffff !important;
  font: inherit;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14) !important;
}

.hoshi-lse-product-action:hover,
.hoshi-lse-product-action:focus {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 11px 24px rgba(15, 23, 42, 0.20) !important;
}

.hoshi-lse-cart-button {
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.hoshi-lse-cart-button.is-loading,
.hoshi-lse-cart-button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.hoshi-lse-cart-button.is-added {
  background: #15803d !important;
}

.hoshi-lse-status:not([hidden]) {
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.92) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

.hoshi-lse-inline-popover .hoshi-lse-popular:not([hidden]),
.hoshi-lse-inline-popover .hoshi-lse-promo:not([hidden]) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 16px !important;
}

.hoshi-lse-inline-popover .hoshi-lse-results:not([hidden]) {
  width: 100% !important;
  max-width: 100% !important;
  max-height: min(68vh, 520px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 10px !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.94) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14) !important;
  box-sizing: border-box !important;
}

.hoshi-lse-inline-popover .hoshi-lse-results[hidden] {
  display: none !important;
}

.hoshi-lse-inline-popover .hoshi-lse-result {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 78px !important;
  padding: 8px !important;
  border-radius: 13px !important;
  box-sizing: border-box !important;
}

.hoshi-lse-inline-popover .hoshi-lse-result.no-image {
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 54px !important;
}

.hoshi-lse-inline-popover .hoshi-lse-thumb {
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px !important;
}

.hoshi-lse-inline-popover .hoshi-lse-result-title {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 2 !important;
}

.hoshi-lse-inline-popover .hoshi-lse-view-all:not([hidden]) {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .hoshi-lse-inline-popover {
    top: calc(100% + 8px) !important;
    gap: 7px !important;
  }

  .hoshi-lse-inline-popover .hoshi-lse-results:not([hidden]) {
    max-height: min(64vh, 420px) !important;
    padding: 8px !important;
    gap: 7px !important;
    border-radius: 15px !important;
  }

  .hoshi-lse-inline-popover .hoshi-lse-result {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    min-height: 72px !important;
    padding: 8px !important;
  }

  .hoshi-lse-inline-popover .hoshi-lse-thumb {
    width: 58px !important;
    height: 58px !important;
  }
}

/* compact inline/simple field padding and force visible search icon. */
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form {
  padding-inline-start: 12px !important;
  padding-inline-end: 10px !important;
  gap: 7px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon svg,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  color: #64748b !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon svg {
  stroke: currentColor !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input {
  padding: 0 2px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-close {
  width: 30px !important;
  height: 30px !important;
  flex: 0 0 30px !important;
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form {
    padding-inline-start: 10px !important;
    padding-inline-end: 8px !important;
    gap: 6px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon,
  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon svg,
  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form-icon i {
    flex-basis: 20px !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
  }
}


/* inline/simple field polish - fix input corner overflow and remove promo banner only in this mode. */
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-form {
  overflow: hidden !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  align-items: center !important;
  background: #ffffff !important;
  background-image: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input:focus-visible {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input::-webkit-search-decoration,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input::-webkit-search-cancel-button,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input::-webkit-search-results-button,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-input::-webkit-search-results-decoration {
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-promo,
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-promo {
  display: none !important;
  visibility: hidden !important;
}


/* compact two-column popular keywords in inline/simple search mode. */
.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-popular:not([hidden]) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 7px !important;
  padding: 10px !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-popular-title {
  grid-column: 1 / -1 !important;
  width: auto !important;
  margin: 0 0 2px !important;
  font-size: 12.5px !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
  color: #475569 !important;
  text-align: center !important;
}

.hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-keyword {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 32px !important;
  padding: 5px 8px !important;
  font-size: 12px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-popular:not([hidden]) {
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 13px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-popular-title {
    font-size: 12px !important;
    font-weight: 700 !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-inline.hoshi-lse-trigger-field.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-keyword {
    min-height: 30px !important;
    padding: 4px 7px !important;
    font-size: 11.5px !important;
  }
}


/* Seojan 1.4.3 audit: keep inline popover layout stable and let Elementor dynamic style values win where they are set. */
.hoshi-lse-widget .hoshi-lse-panel-inner,
.hoshi-lse-widget .hoshi-lse-form,
.hoshi-lse-widget .hoshi-lse-trigger-field,
.hoshi-lse-widget .hoshi-lse-result,
.hoshi-lse-widget .hoshi-lse-view-all {
  box-sizing: border-box;
}


/* fix opened search field when trigger type is field and behavior is topbar/lightbox. */
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  isolation: isolate !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  gap: 10px !important;
  border: 1.5px solid rgba(34, 211, 238, 0.42) !important;
  border-radius: 999px !important;
  background: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-color: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-image: none !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.09), 0 12px 28px rgba(15, 23, 42, 0.06) !important;
  filter: none !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form:focus-within {
  border-color: rgba(14, 165, 233, 0.58) !important;
  background: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-color: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-image: none !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12), 0 14px 32px rgba(15, 23, 42, 0.08) !important;
}

/* If Elementor's gradient-border option is enabled, render it as a pseudo border instead of painting the form background. */
.hoshi-lse-widget .hoshi-lse-form::before {
  pointer-events: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  padding: var(--hoshi-lse-form-gradient-width, 0px) !important;
  background: linear-gradient(135deg, var(--hoshi-lse-form-gradient-start, transparent), var(--hoshi-lse-form-gradient-end, transparent)) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  opacity: 1 !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form > *,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form > * {
  position: relative !important;
  z-index: 1 !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-input:focus {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 44px !important;
  padding: 0 4px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form-icon,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form-icon {
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  color: #64748b !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-clear,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-clear {
  display: inline-flex !important;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #7f1d1d !important;
}

.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-close[hidden],
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-clear[hidden],
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-close[hidden],
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-clear[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form {
    min-height: 48px !important;
    padding: 0 10px !important;
    gap: 7px !important;
  }

  .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-input {
    min-height: 38px !important;
    font-size: 14px !important;
  }
}

/* apply the opened-field repair to icon trigger mode too (topbar + lightbox). */
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  isolation: isolate !important;
  min-height: 54px !important;
  padding: 0 16px !important;
  gap: 10px !important;
  border: 1.5px solid rgba(34, 211, 238, 0.42) !important;
  border-radius: 999px !important;
  background: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-color: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-image: none !important;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.09), 0 12px 28px rgba(15, 23, 42, 0.06) !important;
  filter: none !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form:focus-within {
  border-color: rgba(14, 165, 233, 0.58) !important;
  background: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-color: var(--hoshi-lse-field-bg, #ffffff) !important;
  background-image: none !important;
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12), 0 14px 32px rgba(15, 23, 42, 0.08) !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form > *,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form > * {
  position: relative !important;
  z-index: 1 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input:focus-visible,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input:focus-visible {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 44px !important;
  padding: 0 4px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form-icon,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form-icon {
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  color: #64748b !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear {
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #7f1d1d !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear:not([hidden]) {
  display: inline-flex !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close[hidden],
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear[hidden],
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close[hidden],
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form {
    min-height: 48px !important;
    padding: 0 10px !important;
    gap: 7px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input {
    min-height: 38px !important;
    font-size: 14px !important;
  }
}

/* make the lightbox results area wider on desktop without affecting tablet/mobile. */
@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    width: min(1440px, calc(100vw - 48px)) !important;
    max-width: min(1440px, calc(100vw - 48px)) !important;
    padding: 32px clamp(18px, 2.2vw, 34px) 34px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form {
    width: min(940px, 100%) !important;
    max-width: min(940px, 100%) !important;
    margin-inline: auto !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-promo {
    width: min(1340px, 100%) !important;
    max-width: min(1340px, 100%) !important;
    margin-inline: auto !important;
    box-sizing: border-box !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-result {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 12px 16px !important;
    min-height: 108px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-result.no-image {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 70px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-thumb {
    width: 92px !important;
    height: 92px !important;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    width: min(100%, calc(100vw - 24px)) !important;
    max-width: min(100%, calc(100vw - 24px)) !important;
  }
}


/* reduce desktop lightbox result spacing so cards use more useful width. */
@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    padding-left: clamp(12px, 1.4vw, 22px) !important;
    padding-right: clamp(12px, 1.4vw, 22px) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results {
    gap: 10px !important;
    padding-inline-end: 2px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-result {
    gap: 10px !important;
    padding: 8px 10px !important;
    min-height: 100px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-thumb {
    width: 90px !important;
    height: 90px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-result-title {
    line-height: 1.55 !important;
  }
}


/* Elementor controls for lightbox and lightbox results width */
@media (min-width: 1025px) {
  .hoshi-lse-widget.hoshi-lse-mode-lightbox {
    --hoshi-lse-lightbox-width: 1260px;
    --hoshi-lse-lightbox-results-width: 100%;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
    width: min(var(--hoshi-lse-lightbox-width), calc(100vw - 56px)) !important;
    max-width: min(var(--hoshi-lse-lightbox-width), calc(100vw - 56px)) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-view-all,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-status {
    width: var(--hoshi-lse-lightbox-results-width) !important;
    max-width: 100% !important;
  }
}


/* controllable promo banner image size. */
.hoshi-lse-promo.hoshi-lse-promo-has-image {
  width: min(100%, 600px);
  max-width: 100%;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.hoshi-lse-promo.hoshi-lse-promo-has-image .hoshi-lse-promo-image {
  width: 100% !important;
  height: 150px;
  display: block;
  flex: 0 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(248, 250, 252, 0.95);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.hoshi-lse-promo.hoshi-lse-promo-has-image .hoshi-lse-promo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hoshi-lse-promo.hoshi-lse-promo-has-image .hoshi-lse-promo-text {
  display: block;
  padding: 6px 10px 0;
  color: #0f3f5f;
  text-align: center;
}

.hoshi-lse-promo.hoshi-lse-promo-image-only .hoshi-lse-promo-text {
  display: none !important;
}

@media (max-width: 767px) {
  .hoshi-lse-promo.hoshi-lse-promo-has-image {
    width: 100% !important;
  }

  .hoshi-lse-promo.hoshi-lse-promo-has-image .hoshi-lse-promo-image {
    height: 120px;
    border-radius: 14px;
  }
}

/* --------------------------------------------------------------------------
   Responsive sizing foundation
   -------------------------------------------------------------------------- */
.hoshi-lse-trigger-button,
.hoshi-lse-trigger-field,
.hoshi-lse-form,
.hoshi-lse-form-icon,
.hoshi-lse-input {
  box-sizing: border-box;
}

.hoshi-lse-trigger-wrap,
.hoshi-lse-trigger-field,
.hoshi-lse-form {
  max-width: 100%;
}

.hoshi-lse-trigger-field-icon,
.hoshi-lse-form-icon {
  flex: 0 0 auto;
}

.hoshi-lse-trigger-field-text,
.hoshi-lse-input {
  min-width: 0;
}

.hoshi-lse-input {
  flex: 1 1 auto;
}

/* --------------------------------------------------------------------------
   Gemini background: Top Bar and Lightbox
   Values are exposed through Elementor CSS custom properties.
   -------------------------------------------------------------------------- */
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
  position: fixed !important;
  isolation: isolate !important;
  overflow-x: hidden !important;
  overflow-x: clip !important;
  background-color: var(--hoshi-lse-gradient-middle, #f7fbff) !important;
  background-image: linear-gradient(
    180deg,
    var(--hoshi-lse-gradient-top, #eef8ff) 0%,
    var(--hoshi-lse-gradient-middle, #f7fbff) var(--hoshi-lse-gradient-middle-stop, 32%),
    var(--hoshi-lse-gradient-bottom, #ffffff) var(--hoshi-lse-gradient-bottom-stop, 92%)
  ) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel::before,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
  inset: 0 !important;
  opacity: var(--hoshi-lse-glow-opacity, 1) !important;
  background-image: radial-gradient(
    ellipse var(--hoshi-lse-glow-width, 118%) var(--hoshi-lse-glow-height, 116%)
      at 50% var(--hoshi-lse-glow-position-y, -10%),
    var(--hoshi-lse-glow-primary, rgba(125, 211, 252, 0.72)) 0%,
    var(--hoshi-lse-glow-secondary, rgba(186, 230, 253, 0.52)) 24%,
    var(--hoshi-lse-glow-fade, rgba(219, 234, 254, 0.34)) 48%,
    rgba(239, 246, 255, 0.16) 68%,
    rgba(255, 255, 255, 0) var(--hoshi-lse-glow-fade-stop, 100%)
  ) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner {
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  background-color: var(--hoshi-lse-gradient-middle, #f7fbff) !important;
  background-image: linear-gradient(
    180deg,
    var(--hoshi-lse-gradient-top, #eef8ff) 0%,
    var(--hoshi-lse-gradient-middle, #f7fbff) var(--hoshi-lse-gradient-middle-stop, 28%),
    var(--hoshi-lse-gradient-bottom, #ffffff) var(--hoshi-lse-gradient-bottom-stop, 88%)
  ) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner::before {
  border-radius: inherit !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner::before,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner::after,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner::after {
  content: none !important;
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-panel-inner > *,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel-inner > * {
  position: relative !important;
  z-index: 1 !important;
}

/* --------------------------------------------------------------------------
   Opened search field: shared Top Bar and Lightbox presentation
   -------------------------------------------------------------------------- */
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form {
  position: relative !important;
  z-index: 2 !important;
  isolation: isolate !important;
  min-height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 62px)) !important;
  height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 62px)) !important;
  padding: 0 18px !important;
  gap: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(203, 213, 225, 0.80) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  background-clip: padding-box !important;
  box-shadow:
    0 18px 46px rgba(56, 189, 248, 0.18),
    0 6px 18px rgba(15, 23, 42, 0.08) !important;
  outline: 0 !important;
  transform: none !important;
  filter: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form:focus-within,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form:focus-within,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form:focus-within {
  border-color: rgba(125, 211, 252, 0.98) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow:
    0 0 0 4px rgba(186, 230, 253, 0.52),
    0 22px 56px rgba(56, 189, 248, 0.22),
    0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form::after,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form::after,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form::after,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form::after {
  content: none !important;
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input:focus {
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 6px !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form-icon,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form-icon {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  flex-basis: 30px !important;
  color: #64748b !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  flex-basis: 38px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #475569 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close:hover,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close:focus,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear:hover,
.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear:focus,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close:hover,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close:focus,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear:hover,
.hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear:focus {
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a !important;
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-lightbox .hoshi-lse-form {
    min-height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 52px)) !important;
    height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 52px)) !important;
    padding: 0 12px !important;
    gap: 8px !important;
    box-shadow:
      0 10px 28px rgba(56, 189, 248, 0.14),
      0 4px 12px rgba(15, 23, 42, 0.06) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-input {
    min-height: 0 !important;
    height: 100% !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-clear,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-lightbox .hoshi-lse-clear {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    flex-basis: 34px !important;
  }
}


/* --------------------------------------------------------------------------
   Seojan 1.7.3: mobile popup stacking-context protection
   A large z-index on the field alone cannot escape an Elementor/Astra parent
   stacking context. JavaScript marks the complete ancestor chain while open.
   -------------------------------------------------------------------------- */
html.hoshi-lse-popup-open,
body.hoshi-lse-popup-open {
  isolation: auto !important;
}

body.hoshi-lse-popup-open .hoshi-lse-layer-ancestor {
  position: relative !important;
  z-index: 2147483645 !important;
  overflow: visible !important;
  isolation: auto !important;
}

body.hoshi-lse-popup-open .hoshi-lse-widget.hoshi-lse-layer-root {
  position: relative !important;
  z-index: 2147483646 !important;
  isolation: auto !important;
}

body.hoshi-lse-popup-open .hoshi-lse-widget.hoshi-lse-layer-root > .hoshi-lse-panel {
  z-index: 2147483647 !important;
}

@media (max-width: 1024px) {
  body.hoshi-lse-topbar-open,
  body.hoshi-lse-lightbox-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
  }

  /* Mobile navigation toggles must sit behind a full search popup. */
  body.hoshi-lse-topbar-open .ast-mobile-menu-trigger-minimal,
  body.hoshi-lse-topbar-open .main-header-menu-toggle,
  body.hoshi-lse-topbar-open .ast-button-wrap .menu-toggle,
  body.hoshi-lse-topbar-open .elementor-menu-toggle,
  body.hoshi-lse-topbar-open button.menu-toggle,
  body.hoshi-lse-lightbox-open .ast-mobile-menu-trigger-minimal,
  body.hoshi-lse-lightbox-open .main-header-menu-toggle,
  body.hoshi-lse-lightbox-open .ast-button-wrap .menu-toggle,
  body.hoshi-lse-lightbox-open .elementor-menu-toggle,
  body.hoshi-lse-lightbox-open button.menu-toggle {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .hoshi-lse-widget.hoshi-lse-layer-root.hoshi-lse-mode-topbar .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-layer-root.hoshi-lse-mode-lightbox .hoshi-lse-panel {
    z-index: 2147483647 !important;
  }
}

/* Seojan 1.8.0: smart WooCommerce filters and richer product result cards. */
.hoshi-lse-filters[hidden] {
  display: none !important;
}

.hoshi-lse-filters {
  width: min(1060px, 100%);
  margin: 12px auto 0;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hoshi-lse-filter-control {
  display: inline-flex;
  flex: 1 1 150px;
  min-width: 120px;
  max-width: 230px;
  margin: 0;
}

.hoshi-lse-filter-price {
  flex-basis: 112px;
  min-width: 96px;
  max-width: 150px;
}

.hoshi-lse-filter-control select,
.hoshi-lse-filter-control input {
  width: 100%;
  min-height: 40px;
  margin: 0 !important;
  padding: 7px 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.38) !important;
  border-radius: 12px !important;
  outline: 0 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #334155 !important;
  font: inherit;
  font-size: 13px !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hoshi-lse-filter-control select:focus,
.hoshi-lse-filter-control input:focus {
  border-color: rgba(14, 165, 233, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.10) !important;
  background: #ffffff !important;
}

.hoshi-lse-filter-toggle {
  min-height: 40px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.hoshi-lse-filter-toggle input {
  width: 16px;
  height: 16px;
  margin: 0 !important;
  accent-color: #0ea5e9;
}

.hoshi-lse-filter-reset {
  min-height: 40px;
  padding: 7px 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.38) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #64748b !important;
  font: inherit;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.hoshi-lse-filter-reset:hover,
.hoshi-lse-filter-reset:focus-visible {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: rgba(14, 165, 233, 0.55) !important;
  outline: 0 !important;
}

.hoshi-lse-result {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.hoshi-lse-result-link {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: inherit !important;
  text-decoration: none !important;
}

.hoshi-lse-result.no-image .hoshi-lse-result-link {
  grid-template-columns: minmax(0, 1fr);
}

.hoshi-lse-media {
  position: relative;
  display: block;
  width: 72px;
  min-width: 72px;
  height: 72px;
}

.hoshi-lse-result.no-image .hoshi-lse-media:empty {
  display: none;
}

.hoshi-lse-media .hoshi-lse-thumb {
  display: block;
}

.hoshi-lse-sale-badge {
  position: absolute;
  top: -5px;
  inset-inline-start: -5px;
  z-index: 2;
  min-width: 34px;
  min-height: 24px;
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.22);
}

.hoshi-lse-product-meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
}

.hoshi-lse-product-meta .hoshi-lse-price {
  margin-top: 0;
}

.hoshi-lse-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #d97706;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.hoshi-lse-rating small {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 500;
}

.hoshi-lse-stock {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.hoshi-lse-stock.is-instock {
  color: #15803d;
}

.hoshi-lse-stock.is-outofstock {
  color: #b91c1c;
}

.hoshi-lse-status:not([hidden]) {
  display: block;
}

@media (max-width: 767px) {
  .hoshi-lse-filters {
    padding: 8px;
    gap: 6px;
    justify-content: stretch;
  }

  .hoshi-lse-filter-control {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    max-width: none;
  }

  .hoshi-lse-filter-category,
  .hoshi-lse-filter-stock,
  .hoshi-lse-filter-sort,
  .hoshi-lse-filter-toggle,
  .hoshi-lse-filter-reset {
    flex-basis: 100%;
    width: 100%;
    max-width: none;
  }

  .hoshi-lse-result {
    align-items: stretch !important;
    flex-wrap: wrap;
  }

  .hoshi-lse-result-link {
    width: 100%;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px;
  }

  .hoshi-lse-product-action {
    width: 100%;
    max-width: none;
    min-height: 34px;
  }

  .hoshi-lse-media,
  .hoshi-lse-thumb {
    width: 62px !important;
    min-width: 62px;
    height: 62px !important;
  }

}


/* Seojan 1.8.2: configurable action buttons, clean close icon and lighter price text. */
.hoshi-lse-widget .hoshi-lse-search-submit {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.hoshi-lse-widget .hoshi-lse-search-submit:hover,
.hoshi-lse-widget .hoshi-lse-search-submit:focus {
  background: transparent;
  box-shadow: none;
  outline: none;
}

.hoshi-lse-widget .hoshi-lse-close,
.hoshi-lse-widget .hoshi-lse-clear,
.hoshi-lse-widget .hoshi-lse-close:hover,
.hoshi-lse-widget .hoshi-lse-close:focus,
.hoshi-lse-widget .hoshi-lse-clear:hover,
.hoshi-lse-widget .hoshi-lse-clear:focus {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.hoshi-lse-widget .hoshi-lse-terms {
  border-top: 0 !important;
  padding-top: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel {
  border-bottom: 0 !important;
}

.hoshi-lse-widget .hoshi-lse-price,
.hoshi-lse-widget .hoshi-lse-price * {
  font-weight: 400 !important;
}

.hoshi-lse-widget .hoshi-lse-price ins,
.hoshi-lse-widget .hoshi-lse-price ins * {
  font-weight: 500 !important;
}


/* Seojan 1.8.3: force the in-field close/clear button to remain backgroundless in every display mode and theme state. */
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close:hover,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close:focus,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close:focus-visible,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close:active,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close.is-close-only,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close.is-close-only:hover,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close.is-close-only:focus,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close.is-close-only:active {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  filter: none !important;
  text-shadow: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close::before,
html body .hoshi-lse-widget .hoshi-lse-form button.hoshi-lse-clear.hoshi-lse-close::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* Seojan 1.8.5: one consistent results action button for short and long result sets. */
html body .hoshi-lse-widget .hoshi-lse-view-all[data-action="load-more"],
html body .hoshi-lse-widget .hoshi-lse-view-all[data-action="view-all"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 48px !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #7f1d1d 0%, #991b1b 52%, #5f1216 100%) !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 34px rgba(127, 29, 29, 0.24) !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
}

html body .hoshi-lse-widget .hoshi-lse-view-all[data-action="load-more"]:hover,
html body .hoshi-lse-widget .hoshi-lse-view-all[data-action="load-more"]:focus,
html body .hoshi-lse-widget .hoshi-lse-view-all[data-action="view-all"]:hover,
html body .hoshi-lse-widget .hoshi-lse-view-all[data-action="view-all"]:focus {
  color: #ffffff !important;
  background: linear-gradient(135deg, #8f1d1d 0%, #b91c1c 52%, #68151a 100%) !important;
  box-shadow: 0 16px 38px rgba(127, 29, 29, 0.30) !important;
  outline: 0 !important;
}

html body .hoshi-lse-widget .hoshi-lse-view-all.is-loading {
  opacity: 0.82 !important;
  pointer-events: none !important;
}

/* Keep available products before unavailable products even if a stale cached
 * response or third-party script changes the incoming array order. */
.hoshi-lse-widget .hoshi-lse-results > .hoshi-lse-result.is-available-result {
  order: 1 !important;
}

.hoshi-lse-widget .hoshi-lse-results > .hoshi-lse-result.is-outofstock-result {
  order: 2 !important;
}

/* Safe title fallback for the simple-field mobile popover. Elementor's widget
 * title color control remains stronger because it is scoped to the wrapper. */
.hoshi-lse-widget.hoshi-lse-field-behavior-inline .hoshi-lse-inline-popover .hoshi-lse-result-title {
  color: var(--hoshi-lse-text, #0f172a) !important;
}


/* Seojan 1.9.1: compact mobile WooCommerce result cards.
 * Responsive Elementor controls in Results Style can override these defaults. */
@media (max-width: 767px) {
  .hoshi-lse-widget .hoshi-lse-result.is-product {
    padding: 7px !important;
    gap: 6px !important;
    align-items: center !important;
    border-radius: 12px;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-result-link {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: center !important;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-media,
  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-thumb {
    width: 50px !important;
    min-width: 50px !important;
    height: 50px !important;
    border-radius: 10px;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-result-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-product-meta {
    margin-top: 2px !important;
    gap: 2px 6px !important;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-price,
  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-price * {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-stock {
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
  }

  .hoshi-lse-widget .hoshi-lse-result.is-product .hoshi-lse-rating {
    font-size: 10.5px !important;
  }
}


/* Seojan 1.9.4: the dedicated responsive Top Bar height is authoritative.
 * The extra specificity also neutralizes stale Elementor CSS generated by the
 * old global field-height control until Elementor CSS is regenerated. */
html body .elementor-widget-container .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel .hoshi-lse-panel-inner .hoshi-lse-form,
html body .elementor-widget-container .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-panel .hoshi-lse-panel-inner .hoshi-lse-form {
  height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 62px)) !important;
  min-height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 62px)) !important;
  max-height: none !important;
}

html body .elementor-widget-container .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel .hoshi-lse-panel-inner .hoshi-lse-form > .hoshi-lse-input,
html body .elementor-widget-container .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-panel .hoshi-lse-panel-inner .hoshi-lse-form > .hoshi-lse-input {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  line-height: normal !important;
}

@media (max-width: 767px) {
  html body .elementor-widget-container .hoshi-lse-widget.hoshi-lse-mode-topbar .hoshi-lse-panel .hoshi-lse-panel-inner .hoshi-lse-form,
  html body .elementor-widget-container .hoshi-lse-widget.hoshi-lse-trigger-field.hoshi-lse-mode-topbar .hoshi-lse-panel .hoshi-lse-panel-inner .hoshi-lse-form {
    height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 52px)) !important;
    min-height: var(--hoshi-lse-topbar-field-height, var(--hoshi-lse-topbar-field-height-legacy, 52px)) !important;
  }
}


/* --------------------------------------------------------------------------
   Seojan 2.1.0: DJI-inspired expanding header search
   A dedicated icon mode that opens a clean full-width panel from the top,
   auto-focuses the field, shows suggested searches in the empty state and
   keeps the existing live-results engine, filters and full-results behavior.
   -------------------------------------------------------------------------- */
.hoshi-lse-widget.hoshi-lse-mode-dji {
  --hoshi-lse-dji-panel-bg: #ffffff;
  --hoshi-lse-dji-content-width: 1120px;
  --hoshi-lse-dji-field-width: 760px;
  --hoshi-lse-dji-field-height: 58px;
  --hoshi-lse-dji-line: #d7d9dd;
  --hoshi-lse-dji-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: block !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-overlay {
  display: block !important;
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  background: rgba(0, 0, 0, 0.34) !important;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.hoshi-lse-widget.hoshi-lse-mode-dji.is-open .hoshi-lse-overlay {
  opacity: 1;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel-inner {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: 82vh !important;
  min-height: 178px;
  margin: 0 !important;
  padding: 28px clamp(18px, 4vw, 64px) 34px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  color: #111827;
  background: var(--hoshi-lse-dji-panel-bg) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22) !important;
  transform: translate3d(0, -104%, 0) !important;
  transform-origin: top center !important;
  opacity: 0.98;
  transition: transform 0.42s var(--hoshi-lse-dji-ease), opacity 0.24s ease !important;
  scrollbar-gutter: stable;
}

.hoshi-lse-widget.hoshi-lse-mode-dji.is-open .hoshi-lse-panel-inner {
  transform: translate3d(0, 0, 0) !important;
  opacity: 1;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel-inner::before,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel-inner::after {
  display: none !important;
  content: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: min(var(--hoshi-lse-dji-field-width), calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  height: var(--hoshi-lse-dji-field-height) !important;
  min-height: var(--hoshi-lse-dji-field-height) !important;
  margin: 0 auto !important;
  padding: 0 2px !important;
  gap: 12px !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hoshi-lse-dji-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form:focus-within {
  background: transparent !important;
  background-image: none !important;
  border-color: #8a8f98 !important;
  box-shadow: none !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form::after {
  display: none !important;
  content: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form > * {
  position: relative;
  z-index: 1;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form-icon {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #202124 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form-icon svg,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form-icon i {
  width: 22px !important;
  height: 22px !important;
  font-size: 22px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-input:focus-visible {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  color: #111827 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.25 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-input::placeholder {
  color: #8b9098 !important;
  opacity: 1 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-clear {
  position: static !important;
  inset: auto !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #202124 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  font-size: 30px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-close:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-clear:hover {
  background: #f1f3f5 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-close[hidden],
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-clear[hidden] {
  display: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-filters,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-promo,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-status,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-terms,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-results,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-view-all {
  width: min(var(--hoshi-lse-dji-content-width), calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  margin-inline: auto !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-filters:not([hidden]) {
  margin-top: 20px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular:not([hidden]) {
  margin-top: 26px !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  column-gap: clamp(18px, 2.4vw, 34px) !important;
  row-gap: 2px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular-title {
  flex: 0 0 100% !important;
  width: 100% !important;
  display: block !important;
  margin: 0 0 8px !important;
  color: #777d86 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[dir="rtl"] .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular-title,
.rtl .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular-title {
  letter-spacing: 0;
  text-transform: none;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-keyword {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  padding: 8px 0 !important;
  color: #181b20 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  transition: color 0.16s ease, transform 0.16s ease;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-keyword:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-keyword:focus-visible {
  color: #3568d4 !important;
  background: transparent !important;
  transform: translateY(-1px);
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-promo:not([hidden]) {
  margin-top: 24px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-status:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-terms:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-results:not([hidden]) {
  margin-top: 22px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-results {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  max-height: min(48vh, 520px) !important;
  padding-inline: 1px;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-result {
  border: 1px solid #edf0f3 !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-result:hover {
  border-color: #dce1e7 !important;
  background: #fafbfc !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07) !important;
  transform: translateY(-1px);
}

.hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-view-all:not([hidden]) {
  margin-top: 18px !important;
  width: fit-content !important;
  max-width: calc(100vw - 40px) !important;
  min-width: 180px;
}

body.hoshi-lse-dji-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.hoshi-lse-dji-open .ast-mobile-menu-trigger-minimal,
body.hoshi-lse-dji-open .main-header-menu-toggle,
body.hoshi-lse-dji-open .ast-button-wrap .menu-toggle,
body.hoshi-lse-dji-open .elementor-menu-toggle,
body.hoshi-lse-dji-open button.menu-toggle {
  z-index: 1 !important;
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel-inner {
    max-height: 88vh !important;
    padding: 24px 22px 30px !important;
    border-radius: 0 !important;
  }

}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji {
    --hoshi-lse-dji-field-height: 52px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel-inner {
    width: 100% !important;
    min-height: 100dvh;
    max-height: 100dvh !important;
    padding: max(18px, env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-filters,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-promo,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-status,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-terms,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-results,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-view-all {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form {
    gap: 8px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-input:focus {
    font-size: 17px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-form-icon {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-clear {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    flex-basis: 32px !important;
    font-size: 27px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-popular:not([hidden]) {
    column-gap: 18px !important;
    row-gap: 0 !important;
    margin-top: 20px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-results {
    grid-template-columns: 1fr;
    max-height: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-overlay,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-dji .hoshi-lse-keyword {
    transition: none !important;
  }
}


/* --------------------------------------------------------------------------
   Seojan 2.2.2: New DJI Search, compact suggestions and desktop columns
   The top search bar is a full-width sticky white strip. Suggestions and live
   results live inside one separate white box attached directly under the bar.
   -------------------------------------------------------------------------- */
.hoshi-lse-widget.hoshi-lse-mode-dji_new {
  --hoshi-lse-dji-new-bg: #ffffff;
  --hoshi-lse-dji-new-width: 920px;
  --hoshi-lse-dji-new-results-width: 880px;
  --hoshi-lse-dji-new-field-height: 64px;
  --hoshi-lse-dji-new-line: #e2e4e7;
  --hoshi-lse-dji-new-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  background: rgba(0, 0, 0, 0.12) !important;
  opacity: 0;
  transition: opacity 0.22s ease !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new.is-open .hoshi-lse-overlay {
  opacity: 1;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel-inner {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #17191d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 0;
  transform: translate3d(0, -18px, 0) !important;
  transform-origin: top center !important;
  transition: transform 0.30s var(--hoshi-lse-dji-new-ease), opacity 0.18s ease !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new.is-open .hoshi-lse-panel-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel-inner::before,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel-inner::after {
  display: none !important;
  content: none !important;
}

/* Full-width white header strip. */
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-bar {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  height: var(--hoshi-lse-dji-new-field-height) !important;
  min-height: var(--hoshi-lse-dji-new-field-height) !important;
  margin: 0 !important;
  padding: 0 clamp(16px, 3vw, 48px) !important;
  background: var(--hoshi-lse-dji-new-bg) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--hoshi-lse-dji-new-line) !important;
  border-radius: 0 !important;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form {
  position: relative !important;
  display: block !important;
  width: min(var(--hoshi-lse-dji-new-width), calc(100vw - 40px)) !important;
  max-width: calc(100vw - 40px) !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 0 48px !important;
  overflow: visible !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form:focus-within {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form::before,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form::after {
  display: none !important;
  content: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-input,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-input:focus,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-input:focus-visible {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #202124 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  text-align: start !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-input::placeholder {
  color: #7d828a !important;
  opacity: 1 !important;
}

/* Exact physical DJI layout: search at left, close at right in both LTR/RTL. */
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form-icon,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-clear {
  position: absolute !important;
  top: 50% !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #202124 !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  transform: translateY(-50%) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form-icon {
  left: 0 !important;
  right: auto !important;
  cursor: pointer !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-close,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-clear {
  right: 0 !important;
  left: auto !important;
  flex: none !important;
  font-size: 29px !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form-icon:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-close:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-clear:hover {
  color: #000000 !important;
  background: #f3f4f6 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form-icon svg,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form-icon i {
  width: 21px !important;
  height: 21px !important;
  font-size: 21px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-close[hidden],
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-clear[hidden],
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell[hidden] {
  display: none !important;
}

/* One attached dropdown contains suggestions, status, terms and live results. */
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell {
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
  width: min(var(--hoshi-lse-dji-new-results-width), calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: calc(100dvh - var(--hoshi-lse-dji-new-field-height) - 20px) !important;
  margin-block: 0 !important;
  margin-inline-start: max(16px, calc((100vw - var(--hoshi-lse-dji-new-width)) / 2)) !important;
  margin-inline-end: auto !important;
  padding: 26px 46px 30px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  color: #17191d !important;
  background: var(--hoshi-lse-dji-new-bg) !important;
  border: 0 !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16) !important;
  transform-origin: top center !important;
  animation: hoshi-lse-dji-new-shell-in 0.24s var(--hoshi-lse-dji-new-ease) both;
}

@keyframes hoshi-lse-dji-new-shell-in {
  from { opacity: 0; transform: translate3d(0, -8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-filters,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-popular,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-promo,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-status,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-terms,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-results,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > .hoshi-lse-view-all {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

/* DJI-style recommended list: label + one clean item per row. */
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular-title {
  display: block !important;
  width: 100% !important;
  margin: 0 0 3px !important;
  color: #8a9098 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

[dir="rtl"] .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular-title,
.rtl .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular-title {
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: normal !important;
  color: #17191d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: start !important;
  text-decoration: none !important;
  transition: color 0.16s ease, transform 0.16s ease !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword:hover,
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword:focus-visible {
  color: #2f65d5 !important;
  background: transparent !important;
  transform: translateX(3px) !important;
}

[dir="rtl"] .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword:hover,
.rtl .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword:hover,
[dir="rtl"] .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword:focus-visible,
.rtl .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword:focus-visible {
  transform: translateX(-3px) !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-filters:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-promo:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-status:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-terms:not([hidden]),
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-results:not([hidden]) {
  margin-top: 0 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-status:not([hidden]) {
  padding: 4px 0 12px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-terms:not([hidden]) {
  margin-bottom: 10px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-results {
  display: grid;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-result {
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid #eceff2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-result:first-child {
  border-top: 1px solid #eceff2 !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-result:hover {
  background: #fafbfc !important;
  border-color: #e1e5ea !important;
  box-shadow: none !important;
  transform: none !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-view-all:not([hidden]) {
  width: fit-content !important;
  min-width: 170px !important;
  margin: 18px auto 0 !important;
}

body.hoshi-lse-dji_new-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.admin-bar .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel {
  top: 32px !important;
  bottom: 0 !important;
}

@media (max-width: 782px) {
  body.admin-bar .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel {
    top: 46px !important;
  }
}

@media (max-width: 1024px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji_new {
    --hoshi-lse-dji-new-field-height: 62px;
    --hoshi-lse-dji-new-results-width: 640px;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji_new {
    --hoshi-lse-dji-new-field-height: 58px;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-bar {
    padding-inline: 12px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 42px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-input,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-input:focus {
    font-size: 15px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-form-icon,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-close,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-clear {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell {
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100dvh - var(--hoshi-lse-dji-new-field-height)) !important;
    padding: 22px 20px calc(24px + env(safe-area-inset-bottom)) !important;
    border-radius: 0 !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword {
    font-size: 14px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-overlay,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel-inner,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-keyword {
    animation: none !important;
    transition: none !important;
  }
}


/* Seojan 2.2.2: New DJI compact popular row, two-column desktop results, plain loading text. */
.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 10px !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular-items {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 22px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 3px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular-items .hoshi-lse-keyword {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
}

.hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-status:not([hidden]) {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 4px 0 12px !important;
  color: var(--hoshi-lse-muted) !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

@media (min-width: 768px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-results {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-result:nth-child(-n + 2) {
    border-top: 1px solid #eceff2 !important;
  }
}

@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-results {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-popular-items {
    gap: 16px !important;
  }
}

/* Seojan 2.2.4: force a true edge-to-edge New DJI mobile results area. */
@media (max-width: 767px) {
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel,
  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-panel-inner {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-bar {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell {
    position: relative !important;
    inset-inline: 0 !important;
    left: 0 !important;
    right: 0 !important;
    inline-size: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    margin-inline: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .hoshi-lse-widget.hoshi-lse-mode-dji_new .hoshi-lse-dji-new-results-shell > * {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
