/* The sponsor page, on top of /about/style.css. */
[hidden] { display: none !important; }
fieldset { margin: 0 0 34px; padding: 0; border: 0; min-width: 0; }
legend { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: #101116; font-size: 15px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.choices.days { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid #38383e; border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.choice:hover { border-color: #5a5a62; }
.choice:has(input:checked) { border-color: var(--pink); background: rgba(255, 45, 155, .08); }
.choice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 3px; }
.title { font-weight: 800; font-size: 18px; }
.what, .left, .small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.left { margin-top: 6px; font-variant-numeric: tabular-nums; }
.price { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.drop { position: relative; display: block; border: 1px dashed #5a5a62; border-radius: 10px; overflow: hidden; cursor: pointer; background: #17181e; }
.drop:hover, .drop:focus-within { border-color: var(--pink); }
.drop canvas { display: block; width: 100%; height: auto; aspect-ratio: 10 / 3; }
.drop .hint { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); font-size: 15px; pointer-events: none; }
.drop.has { cursor: grab; border-style: solid; touch-action: pan-y; }
.drop.has:active { cursor: grabbing; }
.drop:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.banner-tools { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 10px; }
.seg { display: inline-flex; border: 1px solid #38383e; border-radius: 8px; overflow: hidden; }
.seg button, .banner-tools .change { padding: 7px 14px; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); background: none; border: 0; cursor: pointer; }
.seg button[aria-pressed="true"] { color: #101116; background: var(--paper); }
.banner-tools .change { border: 1px solid #38383e; border-radius: 8px; color: var(--paper); margin-left: auto; }
.banner-tools .hint-move { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.zoom { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.zoom input { width: 140px; accent-color: var(--pink); }
.drop.has .hint { display: none; }
.small { margin: 10px 0 18px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field input { padding: 11px 13px; font: inherit; font-size: 16px; color: var(--paper); background: #17181e; border: 1px solid #38383e; border-radius: 8px; }
.field input:focus { outline: none; border-color: var(--pink); }
#human { min-height: 65px; margin-bottom: 14px; }
.go { display: inline-block; padding: 13px 26px; font: inherit; font-size: 16px; font-weight: 800; color: #101116; background: var(--paper); border: 0; border-bottom: 3px solid var(--pink); cursor: pointer; text-decoration: none; }
.go:hover { background: #fff; color: #101116; }
.go:disabled { opacity: .5; cursor: wait; }
.error { padding: 10px 14px; border-left: 3px solid #ff6b6b; background: rgba(255, 107, 107, .1); color: #ffb3b3; }
.note { padding: 14px 18px; border-left: 3px solid var(--pink); background: rgba(255, 45, 155, .08); }
@media (max-width: 480px) {
  .choices.days { grid-template-columns: 1fr; }
  .choice { padding: 14px; }
}
.buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.go.ghost { background: none; color: var(--paper); border: 1px solid #5a5a62; border-bottom: 3px solid var(--pink); }
.go.ghost:hover { background: #17181e; color: #fff; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 24px 0 28px; padding: 18px 20px; border: 1px solid #38383e; border-radius: 10px; }
.facts dt { margin: 0; color: var(--muted); font-weight: 400; font-size: 14px; }
.facts dd { margin: 0; color: var(--paper); font-variant-numeric: tabular-nums; }
.field { margin-top: 14px; }
.field em { font-style: normal; opacity: .7; }
.field small { color: var(--muted); font-size: 13px; line-height: 1.5; }

.mockup { position: relative; margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: #17181e; }
.mockup img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mock-mask { position: absolute; inset: 0; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; pointer-events: none; }
.mock-banner { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; transition: opacity .2s; }
.mockup.has-banner .mock-banner { opacity: 1; }
.turns { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin: 12px 0 6px; }
.turns i { height: 14px; border-radius: 3px; background: #2fbf71; }
.turns i.taken { background: #4a4a52; }
.turns i.mine { background: #ff9f1c; }

/* Step 2: the pictures, the share, the dates. */
fieldset:disabled { opacity: .45; }
fieldset:disabled * { pointer-events: none; }
.lead { margin-top: 0; }
/* Where it shows: the map with a dot per billboard, and the one picked. */
.where { margin: 28px 0; }
.spots { display: grid; grid-template-columns: 2fr 3fr; gap: 12px; align-items: center; }
.spots figure + p { margin: 6px 0 0; }
.map { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: #17181e; }
.map img { display: block; width: 100%; height: 100%; }
/* A 28 px place to tap round a 12 px dot. */
.dot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px #10131b; transition: transform .12s; }
.dot:hover::before { transform: scale(1.3); }
.dot[aria-pressed=true] { z-index: 1; }
.dot[aria-pressed=true]::before { background: #ff9f1c; box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(255, 159, 28, .45); transform: scale(1.3); }
.dot:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 50%; }
.sub { margin: 22px 0 10px; font-size: 17px; }
.when { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.when .field { margin: 0; }
.when input[type=date] { padding: 10px 12px; font: inherit; font-size: 16px; color: var(--paper); background: #17181e; border: 1px solid #38383e; border-radius: 8px; color-scheme: dark; }
.ok { padding: 10px 14px; border-left: 3px solid #2fbf71; background: rgba(47, 191, 113, .1); }

/* The price bar: always at the bottom while step 2 is open. */
main { padding-bottom: 120px; }
.paybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(16, 17, 22, .94); border-top: 1px solid #38383e; backdrop-filter: blur(8px); }
.paybar .sum { display: flex; flex-direction: column; min-width: 0; }
.paybar .sum span { color: var(--muted); font-size: 13px; }
.paybar .sum b { font-size: 24px; font-variant-numeric: tabular-nums; }
.paybar .go { margin: 0; }
.paybar .error { flex-basis: 100%; margin: 0; text-align: center; }

/* Plan: chips, and the one sentence. */
.plan { display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips[hidden] { display: none; }
.chip { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 108px; padding: 9px 16px; border: 1px solid #38383e; border-radius: 999px; cursor: pointer; font-weight: 800; }
.chip small { font-weight: 400; color: var(--muted); font-size: 12px; }
.chip span, .chip small { white-space: nowrap; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { border-color: var(--pink); background: rgba(255, 45, 155, .1); }
.chip:has(input:checked) small { color: var(--paper); }
.chip:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.chip:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }
@media (max-width: 480px) {
  .chip { flex: 1 1 0; min-width: 0; padding: 9px 4px; }
  .chip small { font-size: 11px; }
}
@media (max-width: 480px) {
  .spots { grid-template-columns: 1fr; }
  /* The date on its own row, the three lengths sharing the next. */
  .when { flex-direction: column; align-items: stretch; }
  .when input[type=date] { width: 100%; }
  .when .chips { width: 100%; }
  .paybar { flex-wrap: nowrap; justify-content: space-between; padding-inline: 16px; }
  .paybar .sum span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
  .paybar .sum b { font-size: 20px; }
  .paybar .go { flex-shrink: 0; padding: 12px 18px; }
  .paybar .error { position: absolute; bottom: 100%; left: 16px; right: 16px; }
}
#free { display: grid; gap: 4px; }
#free b { color: var(--paper); }
