/* Official /bishun/ YouTube lookup. Shares blog-shell chrome; this file covers
   the search form, result cards and click-to-load embeds. */

.bishun-lookup {
  margin-top: 1.25rem;
}

.bishun-lookup__hint {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
}

.bishun-lookup__form {
  display: grid;
  gap: 0.75rem;
}

.bishun-lookup__label {
  font-weight: 600;
  color: #111827;
}

.bishun-lookup__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}

.bishun-lookup__input {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.16);
  border-radius: 0.9rem;
  font-size: 1.05rem;
  line-height: 1.5;
  background: #ffffff;
}

.bishun-lookup__input:focus {
  outline: 3px solid rgba(42, 157, 143, 0.35);
  outline-offset: 1px;
  border-color: #2a9d8f;
}

.bishun-lookup__submit {
  flex: 0 0 auto;
}

.bishun-lookup__count,
.bishun-lookup__empty,
.bishun-lookup__status {
  margin: 1rem 0 0;
  color: #374151;
  line-height: 1.7;
}

.bishun-lookup__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.bishun-lookup__chip {
  appearance: none;
  border: 1px solid rgba(42, 157, 143, 0.28);
  background: #f0fdfa;
  color: #115e59;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 1.05rem;
  cursor: pointer;
  line-height: 1.4;
}

.bishun-lookup__chip:focus {
  outline: 3px solid rgba(42, 157, 143, 0.35);
  outline-offset: 1px;
}

.bishun-lookup__results {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.bishun-lookup__heading {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #111827;
}

.bishun-lookup__card {
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 18px 50px -34px rgba(17, 24, 39, 0.32);
}

.bishun-lookup__char {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.bishun-lookup__meta {
  margin: 0 0 0.75rem;
  color: #4b5563;
}

.bishun-lookup__player {
  position: relative;
  margin: 0.5rem 0 0.9rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.bishun-lookup__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bishun-lookup__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.28);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.bishun-lookup__play:focus {
  outline: 3px solid #5eead4;
  outline-offset: -4px;
}

.bishun-lookup__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0f172a;
}

.bishun-lookup__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bishun-lookup__unmatched-item {
  margin: 0 0 0.75rem;
}

@media (max-width: 640px) {
  .bishun-lookup__submit {
    width: 100%;
  }
}


/* Official homepage download buttons and CTA band, copied from
   payment-server/templates/homepage.template.html so the lookup page
   uses the same badges, colors and mobile full-width layout. */
.bishun-lookup-page .download-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.bishun-lookup-page .download-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 210px;
    min-height: 56px;
    padding: 0.9rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.bishun-lookup-page .download-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}

.bishun-lookup-page .download-action svg {
    flex-shrink: 0;
    margin: 0;
}

.bishun-lookup-page .download-action > span {
    min-width: 0;
}

.bishun-lookup-page .download-action--apple {
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, #111827 0%, #374151 100%);
    color: #ffffff;
}

.bishun-lookup-page .download-action--google {
    border-color: rgba(66, 133, 244, 0.65);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

.bishun-lookup-page .download-action--apk {
    border-color: rgba(61, 220, 132, 0.45);
    background: linear-gradient(135deg, #3ddc84 0%, #0f9f6e 100%);
    color: #062e1d;
}

.bishun-lookup-page .download-cta {
    margin-top: 2.5rem;
    padding: 3rem 1.25rem;
    background: linear-gradient(135deg, #ecfeff 0%, #f7fee7 100%);
}

.bishun-lookup-page .download-cta__inner {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.bishun-lookup-page .download-cta__copy {
    max-width: 34rem;
}

.bishun-lookup-page .download-cta__title {
    margin-top: 0.75rem;
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
}

.bishun-lookup-page .download-cta__text {
    margin-top: 0.875rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
}

.bishun-lookup-page .download-cta__actions {
    justify-content: flex-end;
}

@media (max-width: 767px) {
    .bishun-lookup-page .download-actions {
        justify-content: center;
    }

    .bishun-lookup-page .download-action {
        width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
    }

    .bishun-lookup-page .download-cta {
        padding: 3rem 1rem;
    }

    .bishun-lookup-page .download-cta__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .bishun-lookup-page .download-cta__copy {
        max-width: none;
    }

    .bishun-lookup-page .download-cta__actions {
        justify-content: center;
    }
}

.bishun-lookup__player {
  position: relative;
  background: #f5faf8;
  border-radius: 1rem;
  overflow: hidden;
}
.bishun-lookup__video {
  display: block;
  width: 100%;
  max-height: min(70vh, 42rem);
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #f5faf8;
}
.bishun-lookup__play[hidden] { display: none; }
