/* Invitee polish: the at-a-glance card under the title, sleepover-spot notes. */

/* The five-second answer: when, sleepover, where, what to bring. */
.glance{list-style:none;margin:20px auto 0;padding:14px 16px;max-width:420px;display:grid;gap:10px;text-align:left;
  border-radius:22px;background:#00000030;border:1px solid var(--pillow-edge)}
.glance li{display:grid;grid-template-columns:30px 5.4em 1fr;gap:10px;align-items:baseline;line-height:1.35}
.glance .gi{align-self:start;display:grid;place-items:center;width:30px;height:30px;margin-top:-4px;border-radius:50%;background:#ffe3941f;color:var(--butter)}
.glance .gi .ic{width:17px;height:17px;vertical-align:0}
.glance li:nth-child(2) .gi{background:#c8b4ff24;color:var(--lav)} .glance li:nth-child(3) .gi{background:#ffaecf24;color:var(--pink)} .glance li:nth-child(4) .gi{background:#9ff0d01f;color:var(--mint)}
.glance span:not(.gi){font-weight:800;font-size:16px;color:var(--ink)}
/* Small phones and big text settings: label over value, next to the icon, instead of squeezing. */
@media (max-width:400px){.glance li{grid-template-columns:30px 1fr;gap:0 10px}.glance .gi{grid-row:span 2;margin-top:2px}.glance b{line-height:1.5}}

.note.cap{color:var(--butter);font-weight:700;margin:2px 0 0}
.choice.off > span{opacity:.45;text-decoration:line-through}
.choice.off input{cursor:not-allowed}

/* "Text me reminders" is a yes/no setting, not a packing-list item: never cross it out when ticked
   (it read as "no reminders"). */
.chk.remind input:checked ~ .lbl{color:var(--ink);text-decoration:none}

/* Host preview: unmistakable, sticky, readable in a dark room. */
.host-banner{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;justify-content:space-between;
  padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));background:#ffe394;color:#3a2600;box-shadow:0 6px 18px #0006;font-size:15px;line-height:1.3}
.host-banner p{margin:0;flex:1 1 220px}
.host-banner b{font-family:var(--display);font-weight:600}
.host-banner .hb-sub{display:block;font-weight:700;font-size:14px;opacity:.85}
.host-banner select{min-height:44px;max-width:100%;border-radius:999px;border:2px solid #3a2600;background:#fff8dc;color:#3a2600;font:inherit;font-weight:800;padding:8px 14px}
/* Anything the page scrolls to clears the (taller) host banner. */
body.has-host-banner :is(section,#rsvp){scroll-margin-top:150px}
.host-banner .ic{width:18px;height:18px;vertical-align:-3px}
.preview-note .ic{margin-right:4px;color:var(--sky)}
.hb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
