
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang HK", "Noto Sans TC", sans-serif;
  color: #1d1d1f; background: #fff; line-height: 1.75; -webkit-font-smoothing: antialiased;
}
.page-wrap { max-width: 720px; margin: 0 auto; padding: 40px 24px 60px; }
h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 12px; }
h2 { font-size: 1.35rem; font-weight: 700; margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid #e8e8e8; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 32px 0 12px; }
p { margin-bottom: 16px; max-width: 68ch; }
.lead { font-size: 1.05rem; color: #555; margin-bottom: 28px; }
.toc { background: #f9f9fb; border: 1px solid #ececec; border-radius: 16px; padding: 24px 28px; margin: 28px 0 40px; }
.toc h2 { font-size: 1rem; margin: 0 0 12px; border: none; padding: 0; }
.toc ol { padding-left: 20px; }
.toc li { margin-bottom: 6px; }
.toc a { color: #0071e3; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.card { background: #fff; border: 1px solid #f0f0f0; border-radius: 16px; padding: 28px; margin: 20px 0; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.cta-section { text-align: center; margin: 40px 0; }
.btn-phone { display: inline-block; background: #0071e3; color: #fff; padding: 16px 32px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 1rem; min-height: 56px; line-height: 24px; margin: 6px; transition: background 0.2s; }
.btn-phone:hover { background: #005bb5; }
.btn-wa { display: inline-block; background: #25D366; color: #fff; padding: 16px 32px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 1rem; min-height: 56px; line-height: 24px; margin: 6px; transition: background 0.2s; }
.btn-wa:hover { background: #1da851; }
.alert-box { background: #fff5f5; border-left: 4px solid #e53e3e; border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 24px 0; }
.alert-box strong { color: #c53030; }
.info-box { background: #eff6ff; border-left: 4px solid #3b82f6; border-radius: 0 14px 14px 0; padding: 20px 24px; margin: 24px 0; }
.info-box strong { color: #1d4ed8; }

.grade-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.92rem; }
.grade-table th, .grade-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; text-align: left; }
.grade-table th { background: #f9f9fb; font-weight: 600; }
.grade-green { color: #16a34a; font-weight: 600; }
.grade-yellow { color: #ca8a04; font-weight: 600; }
.grade-orange { color: #ea580c; font-weight: 600; }
.grade-red { color: #dc2626; font-weight: 600; }

.breed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.breed-card { background: #f9f9fb; border-radius: 12px; padding: 14px; text-align: center; border: 1px solid #f0f0f0; font-size: 0.92rem; }

details { border: 1px solid #f0f0f0; border-radius: 14px; margin: 10px 0; overflow: hidden; }
details summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
details summary::before { content: "＋"; color: #0071e3; font-weight: 700; }
details[open] summary::before { content: "－"; }
details summary::-webkit-details-marker { display: none; }
details > div { padding: 0 20px 16px; color: #444; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.review-card { background: #f9f9fb; border-radius: 14px; padding: 20px; border: 1px solid #f0f0f0; }
.review-stars { color: #f5a623; font-size: 1rem; margin-bottom: 8px; }
.review-quote { font-style: italic; color: #333; margin-bottom: 10px; font-size: 0.95rem; }
.review-author { font-size: 0.85rem; color: #888; }

.map-wrap { border-radius: 16px; overflow: hidden; margin: 16px 0; }
.references { font-size: 12px; color: #999; margin-top: 48px; }
.references summary { font-size: 12px; color: #999; cursor: pointer; }
.references ol { padding-left: 18px; margin-top: 8px; }
.references li { margin-bottom: 4px; }
.references a { color: #888; }
.footer-links { text-align: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid #f0f0f0; }
.footer-links a { color: #0071e3; text-decoration: none; margin: 0 12px; font-size: 0.9rem; }

/* 併發症流程 */
.complication-flow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0; font-size: 0.92rem; }
.complication-flow .step { background: #f9f9fb; border: 1px solid #f0f0f0; border-radius: 10px; padding: 10px 14px; }
.complication-flow .arrow { color: #e53e3e; font-weight: 700; }

@media (max-width: 600px) {
  .page-wrap { padding: 24px 16px 40px; }
  h1 { font-size: 1.35rem; }
  .btn-phone, .btn-wa { display: block; margin: 8px 0; }
  .reviews { grid-template-columns: 1fr; }
  .breed-grid { grid-template-columns: repeat(2, 1fr); }
}
