/* Desktop nav items become links (LINE contact, ecosystem); keep Framer's look. */
.framer-ClnPf .framer-e9auup > a {
  color: inherit;
  text-decoration: none;
}

/* LINE OA popup (/th/assets/js/line-oa.js) */
html.tc-line-open {
  overflow: hidden;
}

.tc-line-dialog {
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: rgb(24, 24, 24);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  overflow: auto;
}

.tc-line-dialog::backdrop {
  background: rgba(15, 15, 17, 0.6);
}

.tc-line-dialog[open] {
  animation: tc-line-in 0.2s ease-out;
}

@keyframes tc-line-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-line-dialog[open] { animation: none; }
}

.tc-line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 24px 24px;
  font-family: "Noto Sans Thai", Inter, sans-serif;
  text-align: center;
}

.tc-line-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgb(113, 113, 122);
  cursor: pointer;
}

.tc-line-close:hover {
  background: rgb(244, 244, 245);
  color: rgb(24, 24, 24);
}

.tc-line-logo {
  color: #06c755;
}

.tc-line-title {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.tc-line-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgb(82, 82, 91);
}

.tc-line-qr {
  display: block;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgb(228, 228, 231);
  border-radius: 16px;
  line-height: 0;
}

.tc-line-qr img {
  display: block;
  width: 180px;
  height: 180px;
}

.tc-line-id {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.tc-line-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.tc-line-button:hover {
  background: #05b04c;
}

.tc-line-close:focus-visible,
.tc-line-qr:focus-visible,
.tc-line-button:focus-visible {
  outline: 2px solid #06c755;
  outline-offset: 2px;
}
