/* Host a game (/play/host): three cards pasted on the wall (where, when, the game), then a big lime button.
   Built on m.css (tokens, .card, .field, .segmented, .btn, .stickers); this file only adds what hosting needs. */

/* ---------- the steps ---------- */

.host-steps { display: block; }
.host-step fieldset { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.host-step fieldset + fieldset, .host-step .field + fieldset, .host-step fieldset + .field { margin-top: 22px; }
.host-step .field__label { color: var(--ink); }
.host-step--court { --shadow: var(--lime); --tilt: -0.4deg; --i: 1; }
.host-step--when { --shadow: var(--cyan); --tilt: 0.35deg; --i: 2; }
.host-step--game { --shadow: var(--pink); --tilt: -0.3deg; --i: 3; }
.host-step--when::before { left: 24%; transform: rotate(3deg); }
.host-step--game::before { left: 70%; transform: rotate(-4deg); background: rgba(46, 230, 255, 0.78); }

.host-step__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.host-step__head .card__label { font-size: 20px; }
.host-step__head .card__aside { margin-left: auto; white-space: normal; text-align: right; }
.host-step__n {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  font-family: var(--poster); font-weight: 900; font-stretch: 50%; font-size: 24px; line-height: 1;
  color: var(--ink); background: var(--lime); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--pink); transform: rotate(-5deg);
}
.host-step--when .host-step__n { background: var(--cyan); transform: rotate(4deg); }
.host-step--game .host-step__n { background: var(--pink); transform: rotate(-3deg); box-shadow: 2px 2px 0 var(--ink); }

/* ---------- 1. where ---------- */

.host-search { margin-top: 0; }
.host-kinds { margin-top: 14px; }
.host-status { margin-top: 12px; font-size: 13.5px; font-weight: 600; color: rgba(16, 16, 20, 0.66); }
.host-status:empty { display: none; }

.court-list { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.court-list:empty { display: none; }
.court-opt {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; width: 100%; padding: 12px 14px; text-align: left;
  color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 3px; box-shadow: 3px 3px 0 var(--ink);
  transition: transform var(--fast) var(--out), box-shadow var(--fast) var(--out);
}
.court-opt:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
@media (hover: hover) {
  .court-opt:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 var(--pink); }
}
.court-opt__name { font-family: var(--brand); font-weight: 800; font-size: 15.5px; line-height: 1.15; letter-spacing: -0.04em; overflow-wrap: anywhere; }
.court-opt__where { font-size: 13px; color: rgba(16, 16, 20, 0.64); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.court-opt__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
.court-opt__check { font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(16, 16, 20, 0.55); }
.skeleton--court { height: 78px; border: 2px solid rgba(16, 16, 20, 0.1); }

/* What a court costs, as a sticker: only what we know. */
.price {
  display: inline-block; padding: 3px 7px; white-space: nowrap;
  font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); background: #fff; border: 2px dashed rgba(16, 16, 20, 0.55); transform: rotate(-2deg);
}
.price[data-tone="free"] { background: var(--lime); border-style: solid; border-color: var(--ink); }
.price[data-tone="paid"] { background: var(--pink); border-style: solid; border-color: var(--ink); }

.host-more {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 2px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: underline; text-underline-offset: 4px;
}

.host-add-toggle {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; margin-top: 18px; padding: 0 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(16, 16, 20, 0.72); border: 2px dashed rgba(16, 16, 20, 0.4); border-radius: 4px;
  transition: color var(--fast), border-color var(--fast), background-color var(--fast);
}
.host-add-toggle svg { transition: transform var(--fast) var(--pop); }
.host-add-toggle[aria-expanded="true"] { color: var(--ink); border-color: var(--ink); }
.host-add-toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
@media (hover: hover) {
  .host-add-toggle:hover { color: var(--ink); border-color: var(--ink); background: rgba(198, 255, 61, 0.35); }
}

.add-court { margin-top: 12px; padding: 18px 16px 20px; background: rgba(255, 255, 255, 0.55); border: 2px solid var(--ink); border-radius: 3px; }
.add-court__title { font-family: var(--brand); font-weight: 800; font-size: 18px; letter-spacing: -0.04em; text-transform: uppercase; }
.add-court__lede { margin-top: 6px; font-size: 13.5px; color: rgba(16, 16, 20, 0.7); }
.add-court .field:first-of-type { margin-top: 16px; }
.host-pricing { margin-top: 22px; }
.host-pricing legend { margin-bottom: 8px; }

/* The street address and its Find it stamp: side by side, the stamp drops under the field (full width) when it can't fit. */
.address-row { flex-wrap: wrap; row-gap: 12px; }
.address-row input { flex: 999 1 150px; }
.address-row__find {
  flex: 1 0 auto; min-height: 56px; padding: 0 12px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: var(--lime); border: var(--edge) solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform var(--fast) var(--out), box-shadow var(--fast) var(--out);
}
.address-row__find:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.address-row__find:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) {
  .address-row__find:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 var(--pink); }
}

/* ---------- the court's pin: the board's dark city, pasted on the form with tape, the pin standing on the court ---------- */

.host-pin { margin-top: 24px; }
.host-pin legend { margin-bottom: 6px; }
.host-pin__lede { font-size: 13.5px; line-height: 1.4; color: rgba(16, 16, 20, 0.7); }

.pin-map {
  /* The basemap's land (OpenFreeMap dark's own background), as on the board, so nothing flashes before the streets. */
  --map-land: rgb(12, 12, 12);
  --map-control: rgba(16, 16, 20, 0.9);
  --map-edge: rgba(242, 240, 234, 0.14);
  position: relative; margin-top: 16px;
}
/* Tape over the top corner, above the map's own layers. */
.pin-map::before {
  content: ""; position: absolute; z-index: 2; top: -11px; left: 14px; width: 78px; height: 22px; pointer-events: none;
  background: rgba(255, 45, 149, 0.82); transform: rotate(-4deg); box-shadow: 0 1px 0 rgba(16, 16, 20, 0.18);
}
/* Its own stacking box, so MapLibre's canvas and markers never cover the page around it. */
.pin-map__stage {
  position: relative; z-index: 0; overflow: hidden; height: 260px;
  background: var(--map-land); border: var(--edge) solid var(--ink); border-radius: 4px; box-shadow: 5px 5px 0 var(--cyan);
}
/* Two classes, so MapLibre's own .maplibregl-map { position: relative } (its stylesheet loads later) can't shrink it. */
.pin-map__stage .pin-map__canvas { position: absolute; inset: 0; }
.pin-map__stage .maplibregl-map { background: var(--map-land); font-family: var(--body); }
.pin-map__stage .maplibregl-canvas:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.pin-map__stage .maplibregl-canvas-container { isolation: isolate; }

/* Zoom and the credit: the board's small dark controls, bottom right. */
.pin-map__stage .maplibregl-ctrl-bottom-right .maplibregl-ctrl-group { margin: 0 8px 6px 0; }
.pin-map__stage .maplibregl-ctrl-group {
  overflow: hidden; background: var(--map-control); border: 1px solid var(--map-edge); border-radius: 8px; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.pin-map__stage .maplibregl-ctrl-group button { width: 32px; height: 32px; background-color: transparent; }
.pin-map__stage .maplibregl-ctrl-group button + button { border-top: 1px solid var(--map-edge); }
.pin-map__stage .maplibregl-ctrl-group .maplibregl-ctrl-icon { filter: invert(1); }
.pin-map__stage .maplibregl-ctrl-group button:not(:disabled):hover,
.pin-map__stage .maplibregl-ctrl-group button:focus-visible { background-color: var(--lime); }
.pin-map__stage .maplibregl-ctrl-group button:not(:disabled):hover .maplibregl-ctrl-icon,
.pin-map__stage .maplibregl-ctrl-group button:focus-visible .maplibregl-ctrl-icon { filter: none; }
.pin-map__stage .maplibregl-ctrl-group button:focus-visible { box-shadow: none; outline: 2px solid var(--cyan); outline-offset: -2px; }
.pin-map__stage .maplibregl-ctrl.maplibregl-ctrl-attrib { color: var(--ash); background: rgba(16, 16, 20, 0.78); font-size: 9.5px; line-height: 16px; }
.pin-map__stage .maplibregl-ctrl-attrib a { color: rgba(242, 240, 234, 0.8); }
.pin-map__stage .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 16px; margin: 0 8px 8px 0; padding: 2px 26px 2px 8px; }
.pin-map__stage .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show) { padding: 0; }
.pin-map__stage .maplibregl-ctrl-attrib-button { background-color: rgba(239, 239, 235, 0.9); filter: invert(1); }
.pin-map__stage .maplibregl-ctrl-attrib-button:focus-visible { outline: 2px solid var(--cyan); }

/* Loading, or couldn't load: a word on the dark land, and a way to try again. */
.pin-map__status {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 18px;
  font-size: 14px; font-weight: 700; text-align: center; color: var(--paper); background: var(--map-land);
}
.pin-map__retry {
  min-height: 44px; padding: 0 16px; font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--lime);
}

/* The pin: a MapLibre marker with no size at its point; a pill with the court's name stands on a stem above it. Paper
   and dashed where the address search put it (not checked yet), lime with a tick once the player has, pink when it's
   too far from the city. */
.court-pin { width: 0 !important; height: 0 !important; cursor: grab; touch-action: none; }
.court-pin:focus { outline: none; }
.court-pin.is-lifted { cursor: grabbing; }
.court-pin__body {
  --pin-bg: var(--lime); --pin-line: var(--ink); --pin-stem: var(--lime);
  position: absolute; left: 0; bottom: -6px; display: flex; flex-direction: column; align-items: center;
  transform: translateX(-50%); transition: transform var(--fast) var(--pop);
}
.court-pin__pill {
  display: flex; align-items: center; gap: 6px; max-width: 168px; min-height: 34px; padding: 0 13px;
  font-family: var(--brand); font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; white-space: nowrap;
  color: var(--ink); background: var(--pin-bg); border: 2px solid var(--pin-line); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink), 0 8px 20px rgba(0, 0, 0, 0.55);
  transition: transform var(--fast) var(--pop), box-shadow var(--fast) var(--out);
}
.court-pin__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.court-pin__mark { flex: none; font-family: var(--body); font-size: 14px; font-weight: 900; }
.court-pin__stem { width: 3px; height: 15px; background: var(--pin-stem); box-shadow: 1px 0 0 var(--ink), -1px 0 0 var(--ink); }
.court-pin__dot { width: 13px; height: 13px; background: var(--ink); border: 3px solid var(--pin-stem); border-radius: 50%; box-shadow: 0 0 0 2px var(--ink); }
.court-pin[data-by="address"] .court-pin__body { --pin-bg: var(--paper); --pin-stem: var(--paper); }
.court-pin[data-by="address"] .court-pin__pill { border-style: dashed; }
.court-pin[data-by="address"] .court-pin__mark { display: none; }
.court-pin[data-tone="bad"] .court-pin__body { --pin-bg: var(--pink); --pin-stem: var(--pink); }
.court-pin[data-tone="bad"] .court-pin__mark { display: none; }
/* Picked up: it lifts off the court while it's dragged. */
.court-pin.is-lifted .court-pin__body { transform: translate(-50%, -8px); }
.court-pin.is-lifted .court-pin__pill { transform: rotate(-3deg); box-shadow: 5px 6px 0 var(--ink), 0 16px 28px rgba(0, 0, 0, 0.6); }
.court-pin:focus-visible .court-pin__pill { outline: 3px solid var(--cyan); outline-offset: 3px; }
@media (hover: hover) {
  .court-pin:not(.is-lifted):hover .court-pin__body { transform: translate(-50%, -2px); }
}

/* What the pin needs next, read out as it changes: a rule down its side in the state's colour. */
.pin-note {
  margin-top: 16px; padding: 2px 0 2px 12px; font-size: 13.5px; font-weight: 700; line-height: 1.4;
  color: var(--ink); border-left: 4px solid var(--cyan);
}
.pin-note:empty { display: none; }
.pin-note[data-tone="ok"] { border-left-color: var(--lime); }
.pin-note[data-tone="ok"]::before { content: "✓ "; font-weight: 900; }
.pin-note[data-tone="wait"] { color: rgba(16, 16, 20, 0.66); border-left-color: var(--ash); }
.pin-note[data-tone="bad"] { color: var(--alarm); border-left-color: var(--pink); }

.pin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.pin-actions:has(> :not([hidden])) { margin-top: 12px; }
.pin-actions__confirm {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--lime); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-1.5deg);
  transition: transform var(--fast) var(--pop), box-shadow var(--fast) var(--out);
}
.pin-actions__confirm::before { content: "✓"; font-family: var(--body); font-size: 15px; font-weight: 900; }
.pin-actions__confirm:active { transform: translate(2px, 2px) rotate(-1.5deg); box-shadow: 1px 1px 0 var(--ink); }
.pin-actions__confirm:focus-visible, .pin-actions__middle:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) {
  .pin-actions__confirm:hover { transform: rotate(0deg) translateY(-1px); box-shadow: 4px 5px 0 var(--pink); }
}
.pin-actions__middle {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(16, 16, 20, 0.72); text-decoration: underline; text-underline-offset: 4px;
}

/* The address search's credit (Nominatim and OpenStreetMap ask for it): small, always there. */
.pin-credit { margin-top: 12px; font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; color: rgba(16, 16, 20, 0.62); }
.pin-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

@media (min-width: 768px) {
  .pin-map__stage { height: 300px; }
  .court-pin__pill { max-width: 220px; }
}

/* The court picked: a lime slip on top of the card. */
.picked {
  position: relative; padding: 16px 16px 8px; color: var(--ink); background: var(--lime);
  border: var(--edge) solid var(--ink); box-shadow: 5px 5px 0 var(--pink); transform: rotate(-0.6deg);
  animation: stick var(--normal) var(--pop) both;
}
.picked__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.picked__name { font-family: var(--brand); font-weight: 800; font-size: clamp(20px, 6vw, 25px); line-height: 1.05; letter-spacing: -0.05em; overflow-wrap: anywhere; }
.picked .price { flex: none; margin-top: 3px; }
.picked .price[data-tone="free"] { background: #fff; }
.picked__addr { margin-top: 6px; font-size: 14px; color: rgba(16, 16, 20, 0.72); }
.picked__note { margin-top: 10px; padding-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; border-top: 2px dashed rgba(16, 16, 20, 0.3); }
.picked__change {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px;
}

/* ---------- 2. when ---------- */

/* A day chip or kick-off sticker: the radio covers it (so a tap anywhere picks), the face shows it. */
.day, .time, .format { position: relative; display: flex; }
.day input, .time input, .format input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.day input:focus-visible + span, .time input:focus-visible + span, .format input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.days {
  display: flex; gap: 8px; margin: 0 -4px; padding: 4px 4px 10px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.day { flex: none; scroll-snap-align: start; }
.day__face {
  display: grid; place-items: center; align-content: center; gap: 1px; width: 56px; height: 60px;
  color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 6px;
  transition: transform var(--fast) var(--pop), background-color var(--fast), color var(--fast);
}
.day__top { font-family: var(--mono); font-size: 9.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(16, 16, 20, 0.6); }
.day__num { font-family: var(--poster); font-weight: 900; font-stretch: 50%; font-size: 23px; line-height: 1; white-space: nowrap; }
.day--later .day__face { width: auto; min-width: 62px; padding: 0 8px; border-style: dashed; }
.day--later .day__num { font-size: 17px; }
.day input:checked + .day__face { color: var(--lime); background: var(--ink); box-shadow: 3px 3px 0 var(--pink); transform: rotate(-3deg); }
.day input:checked + .day__face .day__top { color: var(--paper); }
.host-later, .host-other { margin-top: 12px; }

.times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.time span, .format span {
  display: grid; place-items: center; width: 100%; min-height: 46px; padding: 0 2px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  color: var(--ink); background: #fff; border: 2px solid var(--ink);
  transition: transform var(--fast) var(--pop), background-color var(--fast);
}
/* "6 P.M." (Spanish) is wider than "6 PM": on the narrowest phones it takes two lines instead of spilling out. */
.time span { white-space: normal; text-align: center; line-height: 1.15; }
.time input:checked + span { background: var(--lime); box-shadow: 3px 3px 0 var(--pink); transform: rotate(-2deg); }
.time input:disabled { cursor: not-allowed; }
.time input:disabled + span { color: rgba(16, 16, 20, 0.4); border-color: rgba(16, 16, 20, 0.3); text-decoration: line-through; }
.time input:disabled:checked + span { color: var(--alarm); background: #fff; box-shadow: 3px 3px 0 var(--pink); }

/* The paper line that reads the way the game's card will. */
.when-line { margin-top: 18px; padding: 12px 14px; background: #fff; border: var(--edge) solid var(--ink); box-shadow: 4px 4px 0 var(--cyan); }
.when-line__head { font-family: var(--poster); font-weight: 900; font-stretch: 50%; font-size: 25px; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.when-line__note { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(16, 16, 20, 0.62); }
.when-line[data-tone="bad"] { box-shadow: 4px 4px 0 var(--pink); }
.when-line[data-tone="bad"] .when-line__head, .when-line[data-tone="bad"] .when-line__note { color: var(--alarm); }

/* ---------- 3. the game ---------- */

.formats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.format span { min-height: 48px; font-family: var(--poster); font-weight: 900; font-stretch: 50%; font-size: 20px; letter-spacing: 0; text-transform: none; }
.format input:checked + span { color: var(--lime); background: var(--ink); box-shadow: 3px 3px 0 var(--pink); transform: rotate(-3deg); }
.host-format-note { margin-top: 10px; }

.host-gear__lead { margin-top: 0; }
.gear-pick { list-style: none; margin-top: 8px; }
.gear-pick li { border-top: 2px solid rgba(16, 16, 20, 0.1); }
.gear-pick li:first-child { border-top: 0; }
.gear-pick b { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.gear-pick small { display: block; font-size: 13px; color: rgba(16, 16, 20, 0.62); }
.gear-pick__item.check { margin-top: 0; padding: 12px 0; align-items: center; }
.gear-pick__have { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 12px 0; }
.gear-pick__mark { display: grid; place-items: center; width: 28px; height: 28px; font-weight: 900; background: var(--cyan); border: 2px solid var(--ink); transform: rotate(3deg); }

/* ---------- posting ---------- */

.host-post { margin-top: 38px; text-align: center; }
.host-post__summary { font-family: var(--brand); font-weight: 800; font-size: 16px; line-height: 1.25; letter-spacing: -0.03em; color: var(--paper); overflow-wrap: anywhere; }
.host-post__error { margin-top: 14px; color: var(--paper); text-align: left; background: rgba(255, 45, 149, 0.22); }
.host-post__why { margin: 12px auto 0; max-width: 40ch; font-size: 13.5px; font-weight: 600; color: var(--ash); }
.host-post__why:empty { display: none; }
.host-post .btn { margin-top: 18px; }
.host-post .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; box-shadow: 5px 5px 0 rgba(242, 240, 234, 0.4); }
.host-post .btn[aria-disabled="true"]:active { transform: none; }
.host-post__rule { margin-top: 16px; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); }

/* Hosting is closed for now: said before anyone fills in the form for nothing. */
.host-hold {
  margin-top: 30px; padding: 16px 18px; color: var(--ink); background: var(--paper);
  border: var(--edge) solid var(--ink); box-shadow: 6px 6px 0 var(--pink); transform: rotate(-0.5deg);
}
.host-hold__sticker {
  display: inline-block; padding: 5px 9px; font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--pink); transform: rotate(-3deg);
}
.host-hold__text { margin-top: 10px; font-size: 15px; font-weight: 600; }

/* ---------- before signing in, and while loading ---------- */

.host-loading { display: grid; gap: 22px; margin-top: 30px; }
.host-how { list-style: none; counter-reset: step; margin-top: 4px; }
.host-how li { position: relative; padding: 10px 0 10px 48px; font-size: 15px; counter-increment: step; }
.host-how li + li { border-top: 2px solid rgba(16, 16, 20, 0.1); }
.host-how li::before {
  content: counter(step); position: absolute; left: 0; top: 9px; display: grid; place-items: center; width: 34px; height: 34px;
  font-family: var(--poster); font-weight: 900; font-stretch: 50%; font-size: 22px;
  background: var(--lime); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--pink); transform: rotate(-4deg);
}
.host-how li:nth-child(2)::before { background: var(--cyan); transform: rotate(3deg); }
.host-how li:nth-child(3)::before { background: var(--pink); }
.host-how b { font-weight: 800; }

/* ---------- posted: share it ---------- */

.host-done { margin-top: 26px; }
.host-done__stamp { display: inline-block; margin-bottom: 26px; }
.host-done__title {
  font-family: var(--brand); font-weight: 800; font-size: clamp(22px, 6.6vw, 30px); line-height: 1.05; letter-spacing: -0.05em;
  color: var(--paper); overflow-wrap: anywhere;
}
.host-done__title:focus { outline: none; }
.host-done__when { margin-top: 12px; font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); }
.host-done__where { margin-top: 4px; font-size: 15px; color: var(--ash); }

/* The invite as friends will get it: a text bubble. */
.bubble { margin: 26px 0 30px; }
.bubble__label { font-family: var(--mono); font-size: 10.5px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash); }
.bubble__text {
  margin-top: 10px; padding: 14px 16px; font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
  color: var(--ink); background: var(--paper); border: var(--edge) solid var(--ink); border-radius: 20px 20px 20px 4px;
  box-shadow: 5px 5px 0 var(--grape); user-select: text;
}
.host-done .btn + .btn { margin-top: 14px; }
.host-done__copy {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px;
  font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); text-decoration: underline; text-underline-offset: 4px;
}
.host-done__note { margin-top: 12px; font-size: 13.5px; color: var(--ash); }

/* ---------- the invite preview (a laptop's left column) ---------- */

.invite { display: none; }

@media (min-width: 960px) {
  .host-step__head .card__label { font-size: 22px; }
  .host-post { text-align: left; }
  .host-post__why { margin-left: 0; }
  .host-done { margin-top: 16px; }

  .invite {
    display: block; position: relative; max-width: 430px; margin-top: 40px; padding: 26px 24px 18px;
    color: var(--ink); background: var(--paper);
    background-image: radial-gradient(rgba(16, 16, 20, 0.07) 1px, transparent 1.3px); background-size: 23px 23px;
    border: var(--edge) solid var(--ink); border-radius: 3px; box-shadow: 9px 9px 0 var(--lime); transform: rotate(-1.4deg);
    animation: paste var(--normal) var(--out) both; animation-delay: 140ms;
  }
  .invite::before {
    content: ""; position: absolute; top: -13px; left: 16%; width: 96px; height: 24px;
    background: rgba(255, 45, 149, 0.8); transform: rotate(4deg); box-shadow: 0 1px 0 rgba(16, 16, 20, 0.18);
  }
  .invite__label { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--alarm); }
  .invite__time {
    display: inline-block; margin-top: 12px; font-family: var(--poster); font-weight: 900; font-stretch: 50%; font-size: 72px; line-height: 1.05;
    text-transform: uppercase; background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  }
  .invite__time:empty { display: none; }
  .invite__day { margin-top: 6px; font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(16, 16, 20, 0.6); }
  .invite__title { margin-top: 18px; font-family: var(--brand); font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -0.05em; overflow-wrap: anywhere; }
  .invite__where { margin-top: 4px; font-size: 14px; color: rgba(16, 16, 20, 0.66); }
  .invite__stickers { margin-top: 16px; }
  .invite__foot {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 20px; padding-top: 12px;
    font-family: var(--mono); font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    border-top: 2px dashed rgba(16, 16, 20, 0.25);
  }
  .invite__link { color: var(--alarm); text-decoration: underline; text-underline-offset: 3px; }
}
