.wl-shell { max-width: 1080px; margin: 0 auto 4rem; }
.wl-hero { max-width: 46rem; padding: .5rem 0 3rem; }
.wl-page-title { max-width: 18ch; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.08; letter-spacing: -.045em; margin: clamp(2rem, 6vw, 5rem) 0 1.25rem; }
[data-wishlist-private="true"] .wl-page-title { max-width: none; font-size: clamp(1.7rem, 4vw, 2.4rem); margin-top: 2rem; }
.wl-hero > p:not(.wl-eyebrow) { font-size: 1.1rem; line-height: 1.65; }
.wl-eyebrow { font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.wl-root { display: grid; gap: 1.1rem; min-width: 0; font: 400 1rem/1.6 system-ui, sans-serif; }
.wl-root *, .wl-root *::before, .wl-root *::after { box-sizing: border-box; }
.wl-root h2, .wl-root h3, .wl-root h4 { line-height: 1.25; margin: 0 0 .65rem; }
.wl-root h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.wl-root h3 { font-size: 1.15rem; }
.wl-root h4 { font-size: 1rem; }
.wl-root p { margin: .4rem 0 .8rem; }
.wl-panel { padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid #dfe2ed; border-radius: 1.05rem; background: #fff; min-width: 0; }
.wl-section-heading, .wl-actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.wl-section-heading { justify-content: space-between; }
.wl-actions { margin: .8rem 0; }
.wl-muted, .wl-help, .wl-item-meta { color: #596274; }
.wl-help { font-size: .875rem; }
.wl-status { min-height: 1.5em; font-size: .9rem; overflow-wrap: anywhere; }
.wl-status:empty { min-height: 0; margin: 0; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1rem; align-items: start; }
.wl-item { display: grid; gap: .3rem; align-content: start; }
.wl-item > h3 { font-size: 1.3rem; overflow-wrap: anywhere; }
.wl-item-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .8rem; }
.wl-kind { color: #50438a; background: #f1eefb; padding: .15rem .55rem; border-radius: 1rem; }
.wl-availability { color: #286448; font-weight: 650; }
.wl-shop { font-weight: 600; text-underline-offset: .2em; }
.wl-payment-editor, .wl-payment-details { min-width: 0; padding: .8rem; margin: .5rem 0; border: 1px solid #dfe2ed; border-radius: .7rem; background: #f8f9fd; }
.wl-payment-editor > summary, .wl-payment-details > summary { cursor: pointer; font-weight: 650; }
.wl-payment-editor .wl-field, .wl-payment-details .wl-field { margin-top: .7rem; }
.wl-payment-details input { width: 100%; min-width: 0; font: inherit; padding: .55rem; border: 1px solid #dfe2ed; border-radius: .4rem; background: #fff; color: inherit; }
.wl-user-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.wl-list-header.bf-game-invitation { padding: clamp(1.5rem, 4vw, 2.5rem); }
.wl-list-header h2 { color: inherit; }
.wl-family-photo { display: block; width: min(100%, 24rem); max-height: 22rem; object-fit: contain; border-radius: 1rem; margin: 0 auto 1rem; }
.wl-photo-editor .wl-family-photo { width: min(100%, 16rem); margin: .75rem 0; }
.wl-list-header .wl-eyebrow { margin-bottom: 1rem; }
.wl-root summary { cursor: pointer; font-weight: 650; min-height: 44px; padding: .55rem 0; }
.wl-form, .wl-reserve-form { display: grid; gap: .85rem; margin-top: .85rem; }
.wl-field { display: grid; gap: .35rem; min-width: 0; font-size: .93rem; font-weight: 600; }
.wl-root input:not([type="checkbox"]), .wl-root textarea, .wl-root select { width: 100%; border: 1px solid #aeb7c7; border-radius: .6rem; background: #fff; color: #252b38; font: inherit; padding: .7rem .8rem; min-height: 44px; }
.wl-root textarea { resize: vertical; }
.wl-root input[readonly] { font-size: .85rem; background: #f7f8fb; }
.wl-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.wl-check input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; flex: none; }
.wl-name-visibility { min-width: 0; margin: 0; padding: .85rem; border: 1px solid #dfe2ed; border-radius: .7rem; }
.wl-name-visibility legend { font-size: 1rem; font-weight: 650; padding-inline: .3rem; }
.wl-root .wl-choice { display: flex; align-items: flex-start; gap: .65rem; padding-block: .5rem; min-height: 44px; font-weight: 400; line-height: 1.5; }
.wl-root input[type="radio"] { flex: none; width: 1.1rem; height: 1.1rem; min-height: 0; padding: 0; margin: .2rem 0 0; accent-color: #6052a9; }
.wl-name-input { margin-top: .65rem; }
.wl-design { min-width: 0; margin: .5rem 0; padding: 1rem; border: 1px solid #e0dfeb; border-radius: .7rem; }
.wl-design legend { font-weight: 650; padding: 0 .3rem; }
.wl-root button, .wl-hero .button-link { min-height: 44px; padding: .7rem 1rem; border-radius: .65rem; font: 600 .95rem/1.4 system-ui, sans-serif; white-space: normal; }
.wl-root button { width: fit-content; border: 1px solid #6052a9; background: #6052a9; color: #fff; cursor: pointer; }
.wl-root button.ghost { background: #fff; color: #514487; border-color: #c5bfdc; }
.wl-root button.wl-danger { color: #913746; border-color: #dec4ca; }
.wl-root button:disabled { opacity: .55; cursor: wait; }
.wl-root .wl-item button { margin-right: .5rem; }
.wl-root :focus-visible, .wishlist-page a:focus-visible { outline: 3px solid #5e4aa2; outline-offset: 3px; }
.wl-reservation { padding: 1rem 0; border-top: 1px solid #e2e4ed; }
.wl-reservation:first-of-type { margin-top: .75rem; }
.wl-reservation button { margin: .35rem .5rem .35rem 0; }
.wl-empty { padding: 1.2rem; color: #62677a; border: 1px dashed #c7ccda; border-radius: .85rem; }
.wl-state { font-size: .85rem; font-weight: 650; }
/* The manager is a compact working list; guest invitation cards stay unchanged. */
#customerRoot #wishes.customer-panel { padding: 0; border: 0; background: transparent; }
.wl-manager-header.bf-game-invitation { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: center; padding: 1rem 1.25rem; border: 1px solid #dfe2ed; border-inline-start: 4px solid var(--invite-ink); border-radius: 1rem; gap: 1rem; }
.wl-manager-header > div { min-width: 0; }
.wl-manager-visual { display: block; width: 128px; height: 128px; max-width: 100%; border-radius: .85rem; object-fit: contain; }
.wl-manager-header .wl-eyebrow { margin: 0 0 .3rem; font-size: .875rem; letter-spacing: .055em; }
.wl-manager-header h2, #customerRoot .wl-manager-header h2 { color: inherit; font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 .4rem; letter-spacing: -.025em; }
.wl-manager-header p.wl-overview-intro { margin: 0; font-size: 1rem; }
.wl-root .wl-overview-list { list-style: none; padding: 0; margin: 0; border: 1px solid #dfe2ed; border-radius: 1rem; background: #fff; overflow: hidden; }
.wl-overview-row { padding: 1rem 1.25rem .55rem; min-width: 0; }
.wl-overview-row + .wl-overview-row { border-top: 1px solid #e3e6ee; }
.wl-row-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, .85fr); gap: .5rem 1.25rem; align-items: start; }
.wl-row-name { min-width: 0; }
.wl-row-name h3 { margin: 0 0 .4rem; font-size: 1.0625rem; line-height: 1.4; overflow-wrap: anywhere; }
.wl-overview-row .wl-item-meta { font-size: .875rem; gap: .25rem .65rem; align-items: center; }
.wl-row-status { text-align: end; min-width: 0; }
.wl-row-status p.wl-availability { margin: 0 0 .35rem; font-size: .9375rem; color: #3f4b60; }
.wl-status-badges { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.wl-status-badge { display: inline-block; border: 1px solid #cbdced; border-radius: .45rem; padding: .15rem .5rem; background: #eff6fd; color: #22537d; font-size: .875rem; font-weight: 600; overflow-wrap: anywhere; }
.wl-status-badge[data-reservation-status="purchased"] { background: #fbf4e7; color: #775016; border-color: #e8d7b3; }
.wl-status-badge[data-reservation-status="received"] { background: #ecf7ef; color: #226242; border-color: #c3dfce; }
.wl-root .wl-row-details, #customerRoot .wl-row-details { margin: .3rem 0 0; }
.wl-row-details > summary { font-size: .875rem; color: #514487; width: fit-content; max-width: 100%; }
.wl-row-details[open] > summary { margin-bottom: .5rem; }
.wl-row-details .wl-reservations { margin-top: 1rem; padding: 1rem; background: #f7f8fb; border-radius: .75rem; }
.wl-reservations .wl-reservation { padding: .65rem 0; }
.wl-reservations .wl-reservation:first-of-type { margin-top: 0; }
.wl-row-edit { border-top: 1px solid #e3e6ee; padding-top: .4rem; }
.wl-root > details.wl-panel, #customerRoot .wl-root > details.wl-panel { margin: 0; padding: .45rem 1.25rem; }
.wl-root > details.wl-panel[open], #customerRoot .wl-root > details.wl-panel[open] { padding-bottom: 1.25rem; }
.wl-root .wl-add { border-color: #c5bfdc; }
#customerRoot .wl-check { display: flex; }
@media (max-width: 600px) {
  .wl-row-heading { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .wl-row-status { text-align: start; }
  .wl-status-badges { justify-content: flex-start; }
  .wl-overview-row { padding-inline: 1rem; }
  .wl-manager-header.bf-game-invitation { padding: 1rem; grid-template-columns: 80px minmax(0, 1fr); gap: .65rem .8rem; }
  .wl-manager-visual { width: 80px; height: 80px; align-self: start; }
  .wl-manager-header > button { grid-column: 2; justify-self: start; }
}
.wl-root [hidden], .wishlist-page [hidden] { display: none !important; }
@media (max-width: 600px) { .wl-shell { width: calc(100% - 2rem); } .wl-panel { padding: 1rem; } .wl-actions > a, .wl-actions > button { width: 100%; text-align: center; } .wl-form > button { width: 100%; } }
@media (forced-colors: active) { .wl-kind, .wl-availability { color: CanvasText; } .wl-status-badge[data-reservation-status] { color: CanvasText; background: Canvas; border-color: CanvasText; } .wl-root button { border: 1px solid ButtonText; } }
