/* Paiir Host: the same black page as the rest of paiir.in (owner, 2026-11-04: no pink, not a copy of Luma, openai.com
   style). The opening uses the earn hero's grid (earnings.css .eh); colour only in the picture. */
.hx-hero h1 { font-size: clamp(44px, 4.6vw, 70px); }
.hx-art { width: 100%; max-width: 600px; justify-self: end; max-height: max(500px, calc(100svh - var(--header, 72px) - 76px)); }
.hx-stage { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 8%; }
.hx-toast, .hx-card { width: 100%; max-width: 340px; background: #fff; color: #111; box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .35); }
.hx-toast { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-pop); animation: hx-in .9s var(--ease) .5s both; }
.hx-av { width: 34px; height: 34px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 500; flex: none; }
.hx-w { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hx-w b { font-size: 14px; font-weight: 500; }
.hx-w span { color: #6B6B6B; font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-yes { padding: 7px 13px; border-radius: var(--r-pill); background: #111; color: #fff; font-size: 12.5px; font-weight: 500; }
.hx-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: var(--r-pop); animation: hx-in 1s var(--ease) .2s both; }
.hx-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 8px; border-radius: var(--r-pill); background: #F2F2F0; font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.hx-t { font-size: 30px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.02; }
.hx-s { font-size: 14px; color: #555; font-weight: 500; }
.hx-line { align-self: stretch; height: 1px; background: #ECECEA; margin: 12px 0; }
.hx-join { display: flex; align-items: center; gap: 14px; }
.hx-qr { width: 76px; height: 76px; padding: 7px; border-radius: var(--r-tile); box-shadow: inset 0 0 0 1px #ECECEA; flex: none; }
.hx-qr svg { display: block; width: 100%; height: 100%; }
.hx-jw { display: flex; flex-direction: column; gap: 3px; }
.hx-jw b { font-size: 16px; font-weight: 500; }
.hx-jw span { font-size: 12.5px; color: #6B6B6B; }
@keyframes hx-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hx-toast, .hx-card { animation: none; } }

/* everything to run it: words only, on the band colour */
.hx-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.hx-feats li { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 32px; border-radius: var(--r-card); background: var(--band); }
.hx-feats h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.008em; line-height: 1.25; }
.hx-feats p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

.hx-kinds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hx-kinds li { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); font-size: 16px; font-weight: 500; }

/* Paiir World: the four parts as small posters */
.hx-world { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hx-part { display: flex; flex-direction: column; color: var(--text); }
.hx-part__img { display: block; aspect-ratio: 1 / 1; }
.hx-part__t { margin-top: 20px; font-size: var(--card-title); font-weight: 500; line-height: 1.38; }
.hx-part .meta { margin-top: 12px; }
.hx-part .meta span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.hx-part.is-here .hx-part__img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text); }

@media (max-width: 1100px) { .hx-world { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hx-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-art { justify-self: stretch; max-width: none; } }
@media (max-width: 640px) {
  .hx-art { display: none; }
  .hx-feats { grid-template-columns: minmax(0, 1fr); }
  .hx-feats li { padding: 22px; }
  .hx-kinds li { height: 40px; padding: 0 16px; font-size: 15px; }
  .hx-world { gap: 16px; }
  .hx-part__t { font-size: 16px; margin-top: 14px; }
}

.hx-pill--die { padding: 6px; }
.hx-art > picture { display: contents; }
/* on the painting the die shines in the sky at the top: the request and the card sit low, over the water */
@media (min-width: 641px) {
  .hx-art .hx-stage { justify-content: flex-end; padding: 8% 8% 9%; }
}

/* ---- How it works as three cards (owner, 2026-11-04): a soft field with the step's moment on it, then the die, the
   title and the words. The drawn moments rise a little on hover. Phones keep only the words. ---- */
.hx-how { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hx-how__card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-card); overflow: hidden; transition: transform var(--t) var(--ease), background-color var(--t) ease; }
.hx-how__card:hover { background: var(--surface-2); }
.hx-how__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; }
.hx-how__pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-how__pic::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: url(/img/grain.png) 0 0 / 160px 160px; opacity: .55; }
.hx-how__scene { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 8%; }
.hx-how__w { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 30px; }
.hx-how__n { display: inline-flex; color: var(--text); margin-bottom: 6px; }
.hx-how__w h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.hx-how__w p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* the drawn moments: white cards in ink, like the app */
.hw { width: 100%; max-width: 300px; color: #111; font-size: 12.5px; transition: transform .6s var(--ease); }
.hx-how__card:hover .hw { transform: translateY(-6px); }
.hw b { font-weight: 500; }
.hw--make { background: #fff; border-radius: var(--r-pop); padding: 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.hw__cover { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; height: 92px; border-radius: var(--r-tile); padding: 12px; background: linear-gradient(135deg, #CFE6FF 0%, #8FB8FF 55%, #E9F1FF 100%); }
.hw__cover b { font-size: 17px; letter-spacing: -0.02em; }
.hw__rows { display: flex; flex-direction: column; gap: 7px; }
.hw__rows span { display: flex; align-items: center; gap: 8px; color: #444; font-weight: 500; }
.hw__rows i { width: 14px; height: 14px; border-radius: 5px; background: #EEF0F3; flex: none; }
.hw__go { align-self: stretch; text-align: center; padding: 9px; border-radius: var(--r-pill); background: #111; color: #fff; font-weight: 500; }

.hw--share { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hw__poster { width: 64%; aspect-ratio: 9 / 13; border-radius: var(--r-pop); padding: 12px; display: flex; flex-direction: column; background: linear-gradient(160deg, #FFE7C9 0%, #FFB98A 60%, #FFD6B0 100%); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .5); transform: rotate(-4deg); }
.hw__poster b { margin-top: auto; font-size: 18px; line-height: 1.02; letter-spacing: -0.022em; }
.hw__poster > span { margin-top: 4px; color: #5a3b22; font-weight: 500; font-size: 11px; }
.hw__qr { margin-top: 10px; display: flex; align-items: center; gap: 7px; background: #fff; border-radius: var(--r-tag); padding: 6px; }
.hw__qr svg { width: 26px; height: 26px; flex: none; }
.hw__qr em { font-style: normal; font-weight: 500; font-size: 10.5px; }
.hw__apps { display: flex; gap: 6px; }
.hw__apps span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 7px; border-radius: var(--r-pill); background: #fff; font-weight: 500; font-size: 11.5px; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5); }
.hw__apps span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

.hw--choose { display: flex; flex-direction: column; gap: 8px; }
.hw__guest { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--r-pop); padding: 9px 10px; box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .45); }
.hw__av { width: 28px; height: 28px; border-radius: 50%; background: #111; color: #fff; display: grid; place-items: center; font-weight: 500; flex: none; }
.hw__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hw__who span { color: #6B6B6B; font-size: 11px; font-weight: 500; }
.hw__yes { padding: 6px 11px; border-radius: var(--r-pill); background: #111; color: #fff; font-weight: 500; font-size: 11.5px; }
.hw__ok { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: var(--r-pill); background: #E7F8EF; color: #0A6E3C; font-weight: 500; font-size: 11.5px; }
.hw__mail { margin-top: 4px; align-self: flex-end; display: flex; flex-direction: column; background: #111; color: #fff; border-radius: var(--r-tile); padding: 9px 12px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.hw__mail span { color: #bdbdbd; font-size: 11px; }

@media (max-width: 900px) {
  .hx-how { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hx-how__pic { aspect-ratio: 16 / 9; }
}
/* phones: no drawn pictures (owner, 2026-10-24), the die and the words in their card */
@media (max-width: 640px) {
  .hx-how__pic { display: none; }
  .hx-how__w { padding: 22px 22px 26px; }
}
@media (prefers-reduced-motion: reduce) { .hw, .hx-how__card { transition: none; } }

/* the list sits flush with the page, and the share moment fits its picture */
.hx-how { margin: 0; padding: 0; }
.hw__poster { width: 46%; aspect-ratio: 3 / 4; }

/* a host page explained: the list with green ticks, and a host page drawn on a painting */
.hx-page__list { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 16px; }
.hx-page__list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; }
.hx-page__list li::before { grid-row: span 2; margin: 0; width: 26px; height: 26px; background-size: 15px; box-shadow: 0 0 0 5px rgba(31, 181, 101, .12); }
.hx-page__list b { font-size: 17px; font-weight: 500; }
.hx-page__list span { color: var(--text-2); font-size: 15px; line-height: 1.5; }
.hx-page__art { position: relative; }
.hx-pg { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; width: min(78%, 330px); background: #fff; color: #111; border-radius: var(--r-card); overflow: hidden; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .6); font-size: 12.5px; }
.hx-pg__banner { height: 74px; overflow: hidden; }
.hx-pg__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; display: block; }
.hx-pg__head { display: flex; align-items: center; gap: 10px; padding: 10px 14px 12px; }
.hx-pg__logo { width: 38px; height: 38px; margin-top: -26px; border-radius: var(--r-tile); background: #2a2c33; color: #fff; display: grid; place-items: center; font-weight: 500; box-shadow: 0 0 0 3px #fff; flex: none; }
.hx-pg__who { flex: 1; display: flex; flex-direction: column; }
.hx-pg__who b { font-size: 14px; font-weight: 500; }
.hx-pg__who em, .hx-pg__ev em { font-style: normal; color: #666; }
.hx-pg__follow { background: #111; color: #fff; border-radius: var(--r-pill); padding: 5px 11px; font-weight: 500; font-size: 11.5px; }
.hx-pg__ev { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid #eee; }
.hx-pg__ev > span:last-child { display: flex; flex-direction: column; }
.hx-pg__ev b { font-weight: 500; }
.hx-pg__d { width: 36px; flex: none; text-align: center; font-weight: 500; font-size: 14px; line-height: 1.05; border-radius: var(--r-tag); background: #f3f3f1; padding: 4px 0; }
.hx-pg__d em { display: block; font-size: 9px; color: #C23A22; font-style: normal; letter-spacing: .04em; }
@media (max-width: 640px) { .hx-page__art { display: none; } }

/* ---- the Host page, reworked (owner, 2026-11-17: "where to click for paid and where for free ... clear picture") ---- */
.hh { padding: clamp(40px, 6vw, 80px) 0 0; }
.hh__w { max-width: 760px; margin: 0 auto; text-align: center; }
.hh__kick { display: inline-flex; align-items: center; gap: 8px; color: #6B3FD4; font-size: 14.5px; font-weight: 500; }
.hh__kick span { width: 8px; height: 8px; border-radius: 3px; background: #6B3FD4; }
.hh h1 { margin-top: 12px; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; letter-spacing: -0.03em; }
.hh__lead { margin-top: 16px; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; }
.hh__choose { margin: 36px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hh-c { --soft: #E3F6EA; --tile: #C9EDD6; --ink: #16794A; position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r-panel, 28px); background: var(--soft); text-align: left; }
.hh-c--paid { --soft: #E8F0FE; --tile: #D3E3FD; --ink: #0B57D0; box-shadow: inset 0 0 0 2px #1A73E8; }
.hh-c__tag { position: absolute; top: 20px; right: 20px; padding: 5px 11px; border-radius: 999px; background: #1A73E8; color: #FFFFFF; font-size: 12.5px; font-weight: 500; }
.hh-c__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-tile, 12px); background: var(--tile); color: var(--ink); }
.hh-c__k { margin-top: 18px; color: var(--ink); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hh-c__price { margin-top: 6px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hh-c__price b { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.035em; color: var(--text); }
.hh-c__price span { color: var(--text-2); font-size: 16px; }
.hh-c__for { margin-top: 10px; color: var(--text); font-size: 15.5px; }
.hh-c__list { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hh-c__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.hh-c__list .hh-tick { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: #FFFFFF; }
.hh-c__go { margin-top: auto; align-self: flex-start; }
.hh-c__list + .hh-c__go { margin-top: 26px; }
.hh__note { margin: 18px auto 0; max-width: 640px; text-align: center; color: var(--text-2); font-size: 15px; }

.hh-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hh-track { --ink: #16794A; --tile: #C9EDD6; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: var(--r-card, 22px); background: #FFFFFF; box-shadow: 0 0 0 1px #E3E3E3; }
.hh-track--paid { --ink: #0B57D0; --tile: #D3E3FD; }
.hh-track__k { color: var(--ink); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hh-track ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.hh-track li { display: flex; gap: 14px; }
.hh-track li > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.hh-track li b { font-size: 16.5px; font-weight: 600; }
.hh-track li > span:last-child > span { color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.hh-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--tile); color: var(--ink); font-size: 14px; font-weight: 600; }
.hh-track .pill { margin-top: auto; align-self: flex-start; }

.hh-reach { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 26px 28px; border-radius: var(--r-card, 22px); background: #F1EAFF; }
.hh-reach__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-tile, 12px); background: #E2D4FF; color: #6B3FD4; }
.hh-reach > div { flex: 1 1 320px; min-width: 0; }
.hh-reach h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; }
.hh-reach p { margin-top: 6px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

@media (max-width: 860px) {
  .hh__choose, .hh-tracks { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .hh-tracks { margin: 0 auto; }
}
@media (max-width: 560px) {
  .hh-c { padding: 22px 20px; }
  .hh-c__tag { top: 16px; right: 16px; }
  .hh-c__price b { font-size: 40px; }
  .hh-c__go { width: 100%; justify-content: center; }
  .hh-track { padding: 22px 20px; }
  .hh-reach { padding: 22px 20px; }
}

/* the free choice's button in ink, so both choices read as real buttons */
html[data-theme] .hh-c--free .pill, html[data-theme] .hh-track--free .pill { background: #1F1F1F; color: #FFFFFF; }
html[data-theme] .hh-c--free .pill:hover, html[data-theme] .hh-track--free .pill:hover { background: #000000; }

/* calmer steps (owner, 2026-11-18: "too big font") */
.hh-track { gap: 16px; padding: 24px; }
.hh-track li b { font-size: 15.5px; }
.hh-track li > span:last-child > span { font-size: 14px; }
.hh-n { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }

/* why a paid event on Paiir (owner, 2026-11-18: "design each card, these look dull, they're important"): each card in
   its world colour, a solid icon tile with a soft glow, the title, the line, and a highlight pill at the foot */
.hh-why { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hh-why__c { --soft: #E8F0FE; --deep: #D3E3FD; --ink: #0B57D0; --solid: #1A73E8; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: var(--r-card, 22px); background: linear-gradient(160deg, var(--soft) 0%, #FFFFFF 120%); box-shadow: inset 0 0 0 1px var(--deep); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hh-why__c::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 40px; background: var(--deep); opacity: .55; transform: rotate(18deg); pointer-events: none; }
.hh-why__c:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--deep), 0 20px 40px -24px rgba(31, 31, 31, .45); }
.hh-why__c--green { --soft: #E3F6EA; --deep: #C9EDD6; --ink: #16794A; --solid: #1E8E3E; }
.hh-why__c--lilac { --soft: #F1EAFF; --deep: #E2D4FF; --ink: #6B3FD4; --solid: #7C4DFF; }
.hh-why__c--peach { --soft: #FFEFE2; --deep: #FFD9B8; --ink: #B4530A; --solid: #E8710A; }
.hh-why__ic { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--solid); color: #FFFFFF; box-shadow: 0 10px 22px -10px var(--solid); }
.hh-why__c h3 { position: relative; z-index: 1; margin-top: 8px; font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: var(--text); }
.hh-why__c p { position: relative; z-index: 1; margin-bottom: 8px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.hh-why__tag { position: relative; z-index: 1; margin-top: auto; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--deep); }
@media (max-width: 1023px) { .hh-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hh-why { grid-template-columns: minmax(0, 1fr); } .hh-why__c { padding: 22px 20px 20px; } }
@media (prefers-reduced-motion: reduce) { .hh-why__c { transition: none; } }
