:root { color-scheme: light; --ink: #173e35; --muted: #60786f; --green: #087f68; --line: #dfebe5; font-family: 'Afacad', system-ui, sans-serif; color: var(--ink); background: #f7fcf9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg, img { display: block; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #267452; outline-offset: 5px; }
.page-width { width: min(100% - 32px, 1280px); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 12px; background: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.brand { display: inline-flex; align-items: center; font-size: 30px; font-weight: 700; letter-spacing: -1.2px; }
.brand-icon { display: grid; place-items: center; width: 37px; height: 37px; background: #b9f5df; color: var(--green); border-radius: 12px; margin-right: 10px; }
.brand-icon svg { width: 23px; height: 23px; }
.brand-dot { color: #13ac8c; }
.refresh-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: 15px; color: #52645a; }
.refresh-link:hover { background: #edf6ef; border-color: #b6d7c5; }
.collection-header { background: linear-gradient(75deg, #84dcc6 0%, #bdffe0 100%); border-bottom: 1px solid #70d4b7; }
.eyebrow { color: #527461; font-size: 12px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 600; }
h1 { max-width: 800px; margin-top: 12px; font-size: clamp(36px, 6vw, 62px); font-weight: 600; line-height: 1.06; letter-spacing: -1.7px; }
h1 > span { color: #43866a; }
.header-description { margin-top: 16px; color: #61796b; font-size: 17px; max-width: 440px; }
.person-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px; }
.person-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 16px; border-radius: 100px; border: 1px solid transparent; background: var(--person-tint, #ffffffbf); background-clip: border-box; color: var(--person-color, inherit); font-size: 16px; font-weight: 500; transition: background .18s, border-color .18s; }
.person-tab:hover { border-color: var(--person-color, var(--green)); }
.person-tab.is-active { background: var(--person-tint, var(--green)); border-color: var(--person-color, var(--green)); color: var(--person-color, white); box-shadow: 0 0 0 1px var(--person-color, var(--green)), 0 3px 8px #1d453212; }
.person-suzanne { --person-color: #7951ad; --person-tint: #f1eafb; }
.person-camille { --person-color: #856000; --person-tint: #fff3c4; --person-fill: #d5ac25; --person-on-fill: #3e3000; --person-dot-color: #e9b900; }
.person-pauline { --person-color: #277d99; --person-tint: #e9f4f7; }
.person-paul { --person-color: #b54855; --person-tint: #fbecef; }
h1 .person-text { color: var(--person-color); }
.person-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--person-dot-color, var(--person-color, var(--green))); }
.main-content { padding-top: 28px; padding-bottom: 48px; min-height: 40vh; }
.list-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.list-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 25px; font-weight: 600; letter-spacing: -.5px; }
.item-count { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 25px; padding: 0 8px; border: 1px solid #dce4dc; background: #edf1eb; border-radius: 8px; font-size: 14px; color: #607362; letter-spacing: 0; }
.list-heading > p { font-size: 15px; color: var(--muted); }
.list-heading > p span { padding-left: 10px; }
.wishlist-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.gift-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.gift-card:hover { border-color: #cbd8cd; box-shadow: 0 8px 24px #203c2c0a; }
.gift-visual { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 10px; margin: 8px 8px 0; border-radius: 12px; background: #f6f7f4; overflow: hidden; }
.owner-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; background: var(--person-tint); color: var(--person-color); border: 1px solid var(--person-tint); border-radius: 100px; font-size: 13px; font-weight: 600; pointer-events: none; }
.image-link { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; padding: 0 6px 6px; }
.image-link img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.gift-placeholder { display: grid; justify-items: center; gap: 12px; color: #698775; font-size: 15px; }
.gift-placeholder svg { width: 54px; height: 54px; stroke-width: 1; }
.gift-details { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.gift-details h3 { font-size: 21px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.gift-details h3 a:hover { color: var(--person-color); }
.gift-description { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.gift-bottom { margin-top: auto; padding-top: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.gift-price { font-size: 23px; font-weight: 600; letter-spacing: -.5px; }
.gift-price > span { font-size: 17px; font-weight: 400; color: #6e7e71; }
.gift-cta { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-left: auto; min-height: 44px; padding: 8px 14px; border-radius: 100px; background: var(--person-tint); color: var(--person-color); font-size: 15px; font-weight: 600; }
.gift-cta:hover { background: var(--person-fill, var(--person-color)); color: var(--person-on-fill, white); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer a { font-weight: 600; color: #536b5b; font-size: 19px; }
.site-footer a span { margin-left: 6px; color: #78a68d; }
.empty-state { grid-column: 1 / -1; padding: 48px 16px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; background: #eaf3eb; color: var(--green); border-radius: 20px; margin: 0 auto 20px; }
.empty-icon svg { width: 32px; height: 32px; }
.empty-state p, .message-panel > p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.message-panel { padding: 32px 20px; max-width: 680px; margin: 8px auto; border: 1px solid var(--line); border-radius: 24px; background: white; text-align: center; }
.message-panel h2 { font-size: 32px; line-height: 1.1; margin-top: 12px; font-weight: 600; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; padding: 13px 24px; min-height: 48px; background: var(--green); color: white; border: 0; border-radius: 100px; }
.primary-button:hover { background: #245e47; }
.text-link { display: inline-block; margin-top: 20px; text-decoration: underline; text-underline-offset: 4px; font-size: 16px; color: var(--muted); }
.refresh-form { display: flex; flex-direction: column; align-items: stretch; max-width: 360px; margin: 24px auto 0; text-align: left; }
.refresh-form label { margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.refresh-form input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b6ccbf; border-radius: 10px; background: white; color: var(--ink); font: inherit; }
.refresh-form .primary-button { margin-top: 16px; }
.refresh-form button:disabled { opacity: .65; cursor: default; }
.refresh-status { margin-top: 12px; font-size: 16px; color: var(--muted); text-align: center; }
.refresh-status:empty { display: none; }
@media (min-width: 380px) {
    .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .gift-details { padding: 14px 12px; }
    .gift-details h3 { font-size: 18px; }
    .gift-price { font-size: 21px; }
    .gift-cta { padding-inline: 12px; gap: 8px; }
}
@media (min-width: 700px) {
    .page-width { width: min(100% - 64px, 1280px); }
    .header-description { max-width: none; font-size: 20px; }
    .eyebrow { font-size: 13px; }
    .person-nav { gap: 10px; padding-block: 24px; }
    .person-tab { padding-inline: 22px; }
    .main-content { padding-block: 36px 64px; }
    .wishlist-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    .gift-details { padding: 18px; }
    .gift-details h3 { font-size: 21px; }
    .message-panel { padding: 48px; }
}
@media (min-width: 1100px) {
    .wishlist-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
    .topbar { min-height: 88px; }
    .refresh-link { padding-inline: 18px; }
    .list-heading { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
