/* Preserve the Stitch layout and scope form typography and autofill controls. */
.application-note { display:flex; align-items:flex-start; gap:10px; padding:14px 16px; border-radius:12px; background:#f8f1ff; }
.application-note > .material-symbols-outlined { flex:none; font-size:21px; line-height:1.5; color:#6644bd; }
.application-note p { margin:0; font:500 14px/1.55 Pretendard,Inter,-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; color:#494553; word-break:keep-all; }
.application-note p + p { margin-top:3px; font-weight:400; }
#adoptionForm input:not([type="checkbox"]) { font-size:16px; padding-right:48px; }
#adoptionForm input::-webkit-contacts-auto-fill-button,
#adoptionForm input::-webkit-credentials-auto-fill-button { visibility:hidden; display:none !important; pointer-events:none; }
.live-details { margin:16px; padding:16px; border-radius:12px; background:white; font-size:14px; line-height:1.6; }
.live-details dl,.live-details dd { margin:0; }
.live-details dl > div + div { margin-top:12px; }
.live-details dt { color:#6644bd; font-weight:600; }
.live-details dd { white-space:pre-wrap; overflow-wrap:anywhere; }
.live-status { font-weight:600; color:#6644bd; }
.age-consent { display:flex; gap:10px; align-items:center; font-size:15px; }
.age-consent input { width:20px; height:20px; accent-color:#6644bd; }
.application-message { margin:16px; padding:16px; border-radius:12px; background:#f8f1ff; color:#494553; line-height:1.6; }
.application-message[hidden],#adoptionForm[hidden],[hidden] { display:none !important; }
.form-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.live-consent { font-size:14px; line-height:1.7; }
.screen-message { max-width:560px; margin:100px auto; padding:24px; text-align:center; }
.screen-message h1 { font-size:22px; margin-bottom:12px; }
.screen-message a { display:inline-block; margin-top:20px; color:#6644bd; text-decoration:underline; }
@media (min-width: 768px) {
  body[data-stitch-screen] > header > div {
    max-width: 1200px;
    height: 72px;
    margin-inline: auto;
    padding-inline: 32px;
  }
  body[data-stitch-screen] > main {
    margin-inline: auto;
    padding-top: 96px;
  }
  body[data-stitch-screen="list"] > main { max-width: 1200px; }
  body[data-stitch-screen="list"] > main > .flex > section {
    padding-inline: 32px;
  }
  body[data-stitch-screen="list"] > main > .flex > section:first-child > div {
    padding: 32px;
    gap: 20px;
  }
  body[data-stitch-screen="list"] h1 { font-size: 32px; line-height: 1.4; }
  body[data-stitch-screen="list"] > main > .flex > section:nth-of-type(2) {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 12px;
    margin-bottom: 24px;
  }
  body[data-stitch-screen="list"] > main > .flex > section:nth-of-type(2) > div:first-child {
    max-width: 420px;
    flex: 1;
  }
  body[data-stitch-screen="list"] > main > .flex > section:nth-of-type(2) > div:last-child { gap: 24px; }
  #items-feed-container:not(.hidden) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
  }
  #items-feed-container article { min-width: 0; }
  body[data-stitch-screen="apply"] > main { max-width: 720px; padding-bottom: 48px; }
  body[data-stitch-screen="apply"] > header > div { max-width: 720px; }
  body[data-stitch-screen="apply"] > main > div > section,
  body[data-stitch-screen="apply"] #adoptionForm { padding-inline: 32px; }
  body[data-stitch-screen="complete"] > main { max-width: 640px; }
  body[data-stitch-screen="complete"] > header > div { max-width: 720px; }
  body[data-stitch-screen="complete"] > .fixed.bottom-0 {
    background: linear-gradient(transparent, #fdf7ff 30%);
    padding-top: 24px;
    padding-bottom: 24px;
  }
  body[data-stitch-screen="list"] [id^="sheet-content-"] {
    top: 50%;
    bottom: auto;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    border-radius: 24px;
    transform: translateY(-50%);
  }
}
@media (min-width: 1100px) {
  #items-feed-container:not(.hidden) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.advance-notice{margin:16px 0;padding:20px;border:1px solid #ddd0f3;border-radius:16px;background:#fff}.advance-notice h2{font-size:18px;font-weight:700;margin:0 0 12px}.advance-notice p{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.notice-confirm{display:flex;align-items:center;gap:12px;min-height:56px;margin-top:18px;padding:14px 16px;border:2px solid #cfb8ee;border-radius:12px;cursor:pointer;font-size:16px;font-weight:700;color:#542a96;background:#faf6ff}.notice-confirm:has(input:checked){background:#eee3fc;border-color:#7140b6}.notice-confirm input{width:24px;height:24px;flex-shrink:0;accent-color:#7140b6}.notice-confirm:focus-within{outline:3px solid #b098d8;outline-offset:3px}
.advance-notice{margin-left:16px;margin-right:16px}
.age-notice{padding:18px;border:1px solid #e8defa;border-radius:14px;background:#f8f1ff;word-break:keep-all}
.age-notice h3{margin:0 0 8px;font-size:16px;font-weight:700;color:#512ba6}
.age-notice p{margin:0 0 16px;font-size:14px;line-height:1.65;color:#494553}
.age-notice .age-consent{min-height:48px;padding:12px;background:#fff;border-radius:10px;cursor:pointer;font-weight:600}
.age-consent input{flex-shrink:0}
.selection-sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:560px;max-height:90dvh;overflow-y:auto;border:0;border-radius:24px 24px 0 0;padding:20px 24px max(24px,env(safe-area-inset-bottom));background:#fff;color:#1d182c;box-shadow:0 -8px 40px #1d182c22;word-break:keep-all}
.selection-sheet::backdrop{background:#1d182c99;backdrop-filter:blur(3px)}
.selection-handle{width:48px;height:6px;margin:0 auto 18px;border-radius:99px;background:#dfd9e7}
.selection-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;margin-left:auto;margin-bottom:12px;color:#7a7584;border-radius:50%;cursor:pointer}
.selection-close:focus-visible{outline:2px solid #6644bd;outline-offset:2px}
.selection-sheet h2{font-size:22px;line-height:1.4;font-weight:700;margin:0 0 10px}
#selection-description{font-size:15px;line-height:1.7;color:#494553;margin:0 0 20px}
.selection-item{display:flex;gap:12px;align-items:center;background:#f8f1ff;border:1px solid #e8defa;border-radius:12px;padding:12px;margin-bottom:18px}
.selection-item img{width:56px;height:56px;object-fit:cover;border-radius:8px;flex-shrink:0}
.selection-item h3{font-size:16px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.selection-item p{font-size:13px;line-height:1.6;color:#6644bd;font-weight:600}
.selection-affiliate{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 12px;border-radius:12px;background:#6f32e6;color:#fff;text-align:center;box-shadow:0 2px 4px #1d182c18}
.selection-affiliate small{font-size:10px;line-height:1.4;color:#ffffffe0}.selection-affiliate strong{display:flex;align-items:center;justify-content:center;gap:5px;font-size:15px;line-height:1.5}.selection-affiliate .material-symbols-outlined{font-size:18px}
@media(min-width:768px){.selection-sheet{inset:0;margin:auto;border-radius:24px;height:fit-content;padding:20px 24px 24px}}

.legal-summary{padding:20px;background:#f7f2ff;border:1px solid #e6dcfa;border-radius:16px;line-height:1.75;margin:20px 0;color:#282033;font-size:14px}.legal-summary h3{font-size:16px;font-weight:700;margin:0 0 8px}.legal-summary a{display:inline-block;color:#6540bd;text-decoration:underline;margin-top:10px}.legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:24px 20px 110px;font-size:13px;color:#6540bd}.legal-links a{text-decoration:underline}
.social-participation-note{font-size:14px;line-height:1.6;color:#62576e}.privacy-notice>div{margin:10px 0}.privacy-notice dt{font-weight:700}.privacy-notice dd{margin:4px 0 0;line-height:1.6}
