/* =========================================================
   LIFF連携表示
========================================================= */
.liff-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 199, 85, 0.1);
  color: #13562f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.2);
}

.liff-status[hidden] {
  display: none !important;
}

.liff-status[data-liff-state="loading"] {
  background: rgba(64, 40, 16, 0.08);
  color: #6c4b22;
  box-shadow: inset 0 0 0 1px rgba(64, 40, 16, 0.12);
}

.liff-status[data-liff-state="guest"] {
  background: rgba(255, 244, 219, 0.95);
  color: #8a5200;
  box-shadow: inset 0 0 0 1px rgba(191, 130, 52, 0.24);
}

.liff-status[data-liff-state="error"] {
  background: rgba(196, 48, 43, 0.08);
  color: #9d211c;
  box-shadow: inset 0 0 0 1px rgba(196, 48, 43, 0.16);
}

.liff-status__avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #06c755;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.liff-status__text {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.liff-status__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
}

.liff-status__button--ghost {
  background: rgba(255, 255, 255, 0.88);
  color: #13562f;
  box-shadow: inset 0 0 0 1px rgba(6, 199, 85, 0.24);
}

.liff-status__button:disabled,
.liff-share-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.liff-share-button[hidden] {
  display: none !important;
}

@media (max-width: 720px) {
  .liff-status {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .liff-status__text {
    max-width: min(58vw, 260px);
  }
}

/* Legal page links in footer */
.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.footer-links a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
}

/* LINEトーク送信 */
.liff-talk-button[hidden],
.liff-talk-note[hidden] {
  display: none !important;
}

.liff-talk-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.liff-talk-note {
  flex-basis: 100%;
  margin: 0.15rem 0 0;
  color: #6b5b45;
  font-size: 0.86rem;
  line-height: 1.6;
}


.liff-talk-note[data-liff-note-state="error"] {
  color: #a0211c;
  font-weight: 700;
}

.liff-talk-note[data-liff-note-state="loading"] {
  color: #6c4b22;
  font-weight: 700;
}

.liff-talk-note[data-liff-note-state="connected"] {
  color: #13562f;
  font-weight: 700;
}
