/* 花瑜伽 數位名片（復刻 Portaly 版型，配色與官網 css/style.css 一致）
   --blue 其實是品牌粉（官網的 --pink-deep），名稱沿用舊的，改色只要改這裡 */

:root {
  --blue: #b07878;
  --blue-deep: #9a6464;
  --page: #fbf7f4;
  --text: #4a4040;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.page { max-width: 480px; margin: 0 auto; padding: 16px 16px 48px; }

/* ===== 名片主卡 ===== */
.profile {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 22px 22px 26px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(176, 120, 120, 0.12);
}

.share {
  position: absolute;
  top: 18px;
  left: 20px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  cursor: pointer;
}
.share svg { width: 24px; height: 24px; }

.avatar {
  width: 124px;
  height: 124px;
  margin: 20px auto 14px;
  border-radius: 50%;
  object-fit: cover;
}

.profile h1 { margin: 0 0 8px; font-size: 20px; font-weight: 600; color: var(--blue); font-family: "Noto Serif TC", "Songti TC", "PMingLiU", serif; }

.bio { margin: 0 0 18px; white-space: pre-line; font-size: 16px; line-height: 1.7; }

.icons { display: flex; justify-content: center; gap: 22px; }
.icons a { color: var(--blue); width: 28px; height: 28px; }
.icons svg { width: 28px; height: 28px; }
.icons a:hover { color: var(--blue-deep); }

/* ===== 連結按鈕 ===== */
.links { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }

.link-btn {
  display: block;
  padding: 14px 18px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 28px;
}
.link-btn:hover { background: #fbf1f1; }

/* ===== 官網選單 ===== */
.menu { margin-top: 26px; }
.menu-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #8a7f7f; text-align: center; letter-spacing: 0.08em; }
.menu .links { margin-top: 0; }
.menu .link-btn { background: var(--blue); color: #fff; border-color: var(--blue); }
.menu .link-btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

/* ===== 橫幅圖 ===== */
.banner { display: block; margin-top: 26px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 2px 14px rgba(176, 120, 120, 0.12); }

/* ===== 社群卡 ===== */
.social-card { display: block; margin-top: 22px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 2px 14px rgba(176, 120, 120, 0.12); }
.social-card .head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.social-card .head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.social-card .head b { display: block; line-height: 1.3; }
.social-card .head span { font-size: 13px; color: #8a7f7f; }

.strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: 0 0 auto; width: 118px; height: 148px; object-fit: cover; border-radius: 10px; }

.thread-text { margin: 0; white-space: pre-line; font-size: 14px; line-height: 1.7; color: #6b6060; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.toast.show { opacity: 1; }
