/* Shared card preview for ordinary and focused devotional pages. */
.share-card-dialog { box-sizing: border-box; width: calc(100% - 32px); max-width: 620px; max-height: 85svh; border: 1px solid #dce3d9; border-radius: 14px; padding: 24px; background: #faf9f5; color: #283b30; font: 400 15px/1.8 'Noto Sans KR',sans-serif; }
.share-card-dialog * { box-sizing: border-box; }
.share-card-dialog::backdrop { background: #172b236b; }
.share-card-dialog h2 { font-size: 23px; font-weight: 700; line-height: 1.5; margin: 12px 0; }
.share-card-dialog button { font-family: inherit; cursor: pointer; touch-action: manipulation; }
.share-card-dialog button:disabled { opacity: .5; cursor: wait; }
.share-card-dialog :is(button,input,select):focus-visible { outline: 2px solid #326c5c; outline-offset: 3px; }
.share-card-dialog .text-button { display: block; margin-left: auto; min-height: 44px; border: 0; padding: 8px 0; color: #326c5c; background: transparent; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.share-card-dialog .muted { font-size: 12px; color: #667266; line-height: 1.7; margin: 10px 0 0; }
.share-card-dialog img { display: block; width: 100%; height: auto; border-radius: 8px; margin-top: 18px; }
.share-card-dialog [hidden] { display: none !important; }
.share-card-themes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.share-card-themes button { flex: 1 1 100px; min-height: 44px; padding: 8px 10px; border: 1px solid #dce3d9; border-radius: 8px; background: transparent; color: #667266; font-size: 12px; line-height: 1.6; }
.share-card-themes button[aria-pressed=true] { background: #285748; color: #fff; border-color: #285748; }
.share-card-notes { border: 0; border-top: 1px solid #dce3d9; padding: 14px 0 0; margin: 20px 0 0; }
.share-card-notes legend { font-size: 13px; font-weight: 600; padding: 0 10px 0 0; color: #285748; }
.share-card-note-options { display: flex; flex-wrap: wrap; gap: 10px; }
.share-card-note-options label { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 8px 14px; border: 1px solid #dce3d9; border-radius: 8px; font-size: 14px; cursor: pointer; }
.share-card-note-options input { width: 18px; height: 18px; accent-color: #285748; }
.share-card-note-options label:has(:checked) { background: #eef3ed; border-color: #326c5c; }
.share-card-note-options label:has(:disabled) { opacity: .5; cursor: default; }
.share-card-notes p { font-size: 12px; line-height: 1.7; color: #667266; margin: 8px 0 0; }
.share-card-actions { display: grid; gap: 10px; margin-top: 18px; }
.share-card-actions button { width: 100%; min-height: 44px; padding: 9px 14px; border: 1px solid #dce3d9; border-radius: 8px; background: transparent; color: #285748; font-size: 13px; font-weight: 500; }
.share-card-dialog #share-card-kakao { background: #fee500; color: #392020; border-color: #fee500; }
.share-card-verse-label { display: block; margin: 18px 0 6px; font-size: 12px; font-weight: 600; color: #285748; }
#share-card-verse { display: block; width: 100%; min-height: 44px; border: 1px solid #dce3d9; border-radius: 8px; padding: 8px 10px; font-family: inherit; font-size: 14px; line-height: 1.7; color: #283b30; background: white; }
body:lang(vi) .share-card-dialog { font-family: 'Be Vietnam Pro',sans-serif; }
body:lang(vi) #share-card-kakao { display: none; }
