/* Hallmark: mobile studio, with a quiet editorial layout. */
/* Keep long names and controls readable at the narrowest viewport. */

.host-studio, .host-sheet { min-width: 0; overflow-wrap: anywhere; }
.host-studio .host-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; }
.host-heading h1, .host-card h2 { font-family: var(--serif, Georgia, serif); font-weight: 400; color: var(--wine); text-wrap: balance; }
.host-heading h1 { font-size: clamp(1.75rem, 8vw, 2.375rem); line-height: 1.15; }
.host-card h2 { font-size: 1.35rem; line-height: 1.2; }

.host-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.host-nav > a, .host-photo-nav > button { font-size: .875rem; line-height: 1.25; }
.host-nav > a:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.host-nav > a:active { background: var(--blush); }
.host-studio .host-photo-nav > button { padding: 4px; }
.host-card {
  gap: 12px;
  padding: clamp(12px, 4vw, 20px);
  border: 1px solid var(--rule);
  border-radius: 17px;
  background: var(--surface);
}
.host-event-title, .host-person, .host-widget { display: flex; align-items: center; gap: 8px; }
.host-event-title { flex-wrap: wrap; }
.host-person, .host-widget { flex-wrap: wrap; }
.host-person > div { display: grid; }
.host-pill {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 20px;
  background: var(--blush);
  color: var(--deep);
  font-size: .8125rem;
}
.host-pill[data-placement="live"] { background: var(--wine); color: var(--surface); }
.host-pill[data-placement="upcoming"] { background: var(--cream); }
.host-actions { gap: 8px; flex-wrap: wrap; }
.host-actions > .button { max-width: 100%; }
.host-studio :is(button, input, select, textarea), .host-sheet :is(button, input, select, textarea) { scroll-margin-block: 12px; }
.host-studio .field :is(input, select, textarea), .host-sheet .field :is(input, select, textarea) { border-color: var(--muted); }
.host-studio textarea, .host-sheet textarea { min-height: 96px; }
.host-studio fieldset, .host-sheet fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
.host-studio .button:disabled, .host-sheet .button:disabled { background: var(--blush); color: var(--muted); border-color: var(--rule); }
.host-check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.host-check input { width: 20px; height: 20px; flex: none; }
.host-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); gap: 12px; }
.host-error { color: var(--wine); }
.host-list { padding: 0; margin: 0; list-style: none; gap: 0; }
.host-list > li + li, .host-widget + .host-widget { border-top: 1px solid var(--rule); padding-top: 12px; margin-top: 12px; }
.host-widget-list { padding-inline-start: 1.25rem; margin: 0; }
.host-widget { display: list-item; }
.host-widget > div { margin-block-start: 8px; }
.host-link { overflow-wrap: anywhere; }
.host-qr {
  display: grid;
  place-items: center;
  min-height: 228px;
  padding: 4px;
  border-radius: 12px;
  background: var(--paper);
}
.host-qr img { width: min(100%, 220px); height: auto; }
.host-photo > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--paper); }
.host-photo > img[hidden], .host-qr img[hidden] { display: none; }
.host-photo-info { gap: 8px; }
.host-sheet input[type="file"] { width: 100%; min-height: 44px; padding-block: 8px; font-size: 1rem; }
.host-sheet progress { width: 100%; }

@media (max-width: 360px) {
  .host-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Six-box PIN sign-in. 44px targets, digits large enough to read at arm's length. */
.host-pin { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; max-width: 360px; }
.host-pin input {
  min-width: 0; height: 56px; padding: 0; text-align: center;
  font-size: 1.5rem; font-variant-numeric: tabular-nums; font-weight: 600;
  border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); caret-color: var(--wine);
}
.host-pin input:focus-visible { outline: 2px solid var(--wine); outline-offset: 1px; border-color: var(--wine); }
.host-or { margin: 0; text-align: center; }
.button.host-link { border-color: transparent; background: none; color: var(--wine); text-decoration: underline; text-underline-offset: .17em; padding-inline: 0; min-height: 44px; }
