/* 貘布 v6.9：你的生日是哪隻貘＋相處邀請連結（畫面用系統字；辰宇落雁體只在分享圖） */
.pr { min-height: 100%; }
.pr-home { color: #fff; text-decoration: none; padding: 0 12px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
.pr-main { max-width: 520px; margin: 0 auto; padding: 12px 12px calc(28px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; }
.pr .card { padding: 16px; }
.pr h1 { font-size: 21px; margin: 0 0 10px; line-height: 1.35; text-wrap: balance; }
.pr h2 { font-size: 19px; margin: 0 0 8px; }
.pr h3 { font-size: 15px; margin: 14px 0 4px; color: var(--muted); font-weight: 600; }
.pr p { margin: 0 0 8px; color: var(--ink-2); text-wrap: pretty; line-break: strict; }
.pr-loading { text-align: center; color: var(--muted); }
.pr-field { display: block; margin: 0 0 12px; }
.pr-field span { display: block; font-size: 15px; color: var(--ink-2); margin-bottom: 4px; }
.pr-field input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; font-size: 17px; -webkit-appearance: none; appearance: none; }
.pr-btn { display: block; width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: #1B2B4F; color: #fff; font-size: 16px; margin: 8px 0 0; cursor: pointer; text-align: center; text-decoration: none; line-height: 48px; padding: 0; }
.pr-btn.light { background: #fff; color: #1B2B4F; border: 1px solid rgba(27,43,79,.2); }
.pr-btn[disabled] { opacity: .5; }
.pr-link { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 15px; margin: 12px auto 0; display: block; min-height: 44px; cursor: pointer; }
.pr-small { font-size: 14px !important; color: var(--muted) !important; }
.pr-err { color: var(--warn) !important; font-size: 15px; }
.pr-ok { color: var(--ok) !important; font-size: 15px; min-height: 22px; margin: 8px 0 0 !important; text-align: center; }
.pr-hero { display: flex; justify-content: center; margin: 0 0 4px; }
.pr-hero img { width: auto; height: auto; max-width: 70%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(80,60,40,.14)); }
.pr-name { text-align: center; font-size: 28px !important; letter-spacing: .12em; margin: 4px 0 6px !important; }
.pr-one { text-align: center; font-size: 17px; color: var(--ink) !important; }
.pr-traits { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.pr-traits li { margin: 2px 0; }
.pr-btns { margin-top: 12px; }
.pr-how { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.pr-how summary { cursor: pointer; min-height: 32px; font-weight: 600; color: var(--ink-2); }
.pr-how p { margin-top: 6px; font-size: 15px; }
.pr-res > .pr-small { margin-top: 12px; text-align: center; }
.pr-bul { margin: 0 0 12px; padding-left: 1.2em; color: var(--ink-2); }
.pr-bul li { margin: 3px 0; }
.pr-switch { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; }
.pr-switch input { width: 24px; height: 24px; accent-color: #1B2B4F; margin: 0; flex: none; }
.pr-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; margin: 4px 0 8px; }
.pr-duo figure { margin: 0; text-align: center; }
.pr-duo img { width: auto; height: auto; max-width: 100%; max-height: 150px; object-fit: contain; display: block; margin: 0 auto; filter: drop-shadow(0 8px 12px rgba(80,60,40,.14)); }
.pr-duo figcaption { margin-top: 6px; font-size: 16px; font-weight: 600; white-space: nowrap; }
.pr-lines p { color: var(--ink) !important; font-size: 16px; }
.pr-foot { font-size: 14px !important; color: var(--muted) !important; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px !important; }
.nw { white-space: nowrap; }

/* 存成圖片的尺寸選擇：貼文（4:5）／限動（9:16） */
.pr-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 8px 0 0; background: rgba(27,43,79,.07); border-radius: 14px; }
.pr-seg button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: #1B2B4F; font-size: 16px; white-space: nowrap; cursor: pointer; }
.pr-seg button.on { background: #fff; font-weight: 700; box-shadow: 0 1px 4px rgba(27,43,79,.18); }
.pr-seg button:focus-visible { outline: 2px solid #1B2B4F; outline-offset: 1px; }
