/* Hype · the 10-31 design pass (research/luma.md §5), loaded last.
   Luma's patterns, layout and hierarchy, in Hype's own look: neutral surfaces, one accent, 13 px floor, 44 px targets. */

/* one decision tag per card */
.tagline { margin-top: 4px }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.3; background: var(--bg2); color: var(--ink); white-space: nowrap }
.tag.urgent { background: var(--hype-soft); color: var(--hype) }

/* the going card holds the one primary action */
.going-card .gc-inv { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.45 }
.going-card .gc-inv .av { flex: none }
.going-card .codebox { margin: 0; padding: 0; background: transparent }
.going-card .codebox input { background: var(--bg) }
.going-card .btn.big:disabled { background: var(--bg3); color: var(--ink2); cursor: default }
.btn.share-strong { box-shadow: inset 0 0 0 2px var(--hype); color: var(--ink) }

/* the host, at the top and at the end */
.w-host .who small { display: block }
.w-host .w-bio { color: var(--ink2); font-size: 13px; line-height: 1.45 }
.host-card .hc-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.host-card .hc-top .av { width: 56px; height: 56px; font-size: 22px; flex: none }
.host-card .hc-name { display: grid; gap: 2px; flex: 1 1 180px; min-width: 0 }
.host-card .hc-name a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 18px }
.host-card .hc-name small { color: var(--ink2); font-size: 13px }
.host-card .hc-bio { margin: 14px 0 0; line-height: 1.6 }
.host-card .hc-next { margin-top: 16px }

/* Near <city> first on Home; the city page */
.band.near .band-h .see-all { margin-left: auto; font-size: 15px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center }
.city-h .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px }
.city-h .fine { margin-top: 10px }
.city-hint { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; margin: 4px 0 16px }
.city-hint .link { min-height: 44px; display: inline-flex; align-items: center }
.city-f { margin-bottom: 18px }

/* hosts to subscribe to */
.host-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity }
.host-tile { display: grid; justify-items: start; align-content: start; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); scroll-snap-align: start; min-width: 0 }
.host-tile .av { width: 48px; height: 48px; font-size: 20px }
.host-tile .ht-name { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none }
.host-tile .ht-bio, .host-tile .ht-sub { font-size: 13px; color: var(--ink2); line-height: 1.45 }
.host-tile .ht-next { display: block; min-height: 44px; padding: 6px 0; font-size: 14px; line-height: 1.4; color: var(--ink); text-decoration: none }
.host-tile .ht-next em { font-style: normal; font-weight: 700; color: var(--hype) }

/* Message the host · Report */
.fact-links { display: flex; gap: 4px 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; color: var(--ink2) }
.fact-links .link { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink2) }
.reasons { border: 0; padding: 0; margin: 0; display: grid; gap: 2px }
.reasons legend { font-weight: 700; margin-bottom: 6px }
.warn-banner { background: var(--warn-soft); border-color: transparent }
.warn-banner h2 { color: var(--warn) }
.inbox li .link[data-act="msg-reply"] { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600 }
.reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }
.reports li { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: var(--bg2) }
.reports li > div:first-child { display: grid; gap: 4px; min-width: 0; flex: 1 1 260px }
.reports q { display: block; font-size: 14px; color: var(--ink2) }

/* Who can see it */
.vis { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 2px }
.vis legend { font-weight: 700; margin-bottom: 6px }

/* Rules to agree to */
.rules-box { max-height: 220px; overflow: auto; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; line-height: 1.6 }
.rules-box p { margin: 6px 0 }

/* the dashboard's guest tools */
.g-tools { display: flex; gap: 10px 14px; flex-wrap: wrap; align-items: center; margin: 4px 0 12px }
.g-tools .g-q { flex: 1 1 200px; min-width: 0 }
.g-tools .g-q input { width: 100%; min-height: 44px }
.bulk { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; padding: 10px; border-radius: 12px; background: var(--bg2) }
.bulk input { flex: 1 1 220px; min-width: 0; min-height: 44px }
.tbl .sel { width: 44px; text-align: center }
.tbl .sel input { width: 22px; height: 22px }

/* "How was it?" */
.rate { display: grid; gap: 8px; margin-top: 10px }
.rate .stars { display: flex; gap: 6px; flex-wrap: wrap }
.rate .stars label { position: relative }
.rate .stars input { position: absolute; opacity: 0; width: 1px; height: 1px }
.rate .stars span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 52px; min-height: 44px; padding: 0 10px; border-radius: 999px; background: var(--bg2); cursor: pointer; font-size: 15px }
.rate .stars input:checked + span { background: var(--hype); color: var(--hype-ink) }
.rate .stars input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px }
.rate input[name=line] { min-height: 44px }
.rate .btn { justify-self: start }
.rate-avg { font-size: 15px }
.rate-avg b { font-size: 28px; margin-right: 4px }
.p-rating:empty { display: none }

/* the insights strip */
.tiles.insights .tile b { font-size: 26px }
.tiles.insights .live-now b { color: var(--live) }
.box h3 { font-size: 15px; margin: 14px 0 8px }
.updates .tag { margin-left: 8px }

/* the place card's QR and the saved ticket */
.place .code { display: flex; gap: 14px; align-items: center; flex-wrap: wrap }
.place .code-qr { width: 132px; flex: none; background: #FFFFFF; padding: 6px; border-radius: 12px }
.place .code-qr svg, .t-qr svg { width: 100%; height: auto; display: block }
.place .code-t { display: grid; gap: 6px; justify-items: start; min-width: 0; flex: 1 1 160px }
.ticket { max-width: 420px; margin: 16px auto 32px; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg); display: grid; gap: 10px; justify-items: center; text-align: center }
.ticket h1 { margin: 0; font-size: 26px; line-height: 1.2; overflow-wrap: anywhere }
.ticket .t-when { margin: 0; color: var(--ink2) }
.ticket .t-qr { width: min(260px, 80%); background: #FFFFFF; padding: 10px; border-radius: 16px }
.ticket .t-code { margin: 0; font-size: 18px }
.ticket .t-code b { font-family: var(--mono); letter-spacing: .12em; font-size: 24px }
.ticket .t-name { margin: 0; font-weight: 700 }
.tickets li { display: grid; gap: 2px; padding: 6px 0 }
.tickets a { display: inline-flex; align-items: center; min-height: 44px }

/* the door */
.door .seg { margin-bottom: 16px }
.door-scan { display: grid; gap: 14px }
.door-scan video { width: 100%; max-height: 50vh; border-radius: 16px; background: #000; object-fit: cover }
.door-code input { flex: 1 1 160px; min-height: 52px; font-size: 22px; letter-spacing: .2em; font-family: var(--mono) }
.door-res { min-height: 72px; border-radius: 16px; display: grid; gap: 10px; place-items: center; padding: 14px; text-align: center; font-size: 20px; background: var(--bg2) }
.door-res:empty { display: none }
.door-res.ok { background: var(--ok); color: #FFFFFF }
.door-res.bad { background: var(--danger); color: #FFFFFF }
.door-res .btn { margin: 4px }
.door-log { margin: 0; padding-left: 20px; display: grid; gap: 6px }
.door-log li { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap }
.door-log li.ok b { color: var(--ok) }
.door-log li.bad b { color: var(--danger) }

/* live capacity: the meter, the thin bar on capped cards */
.meter { display: grid; gap: 8px }
.meter .m-row { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap }
.meter .m-row b { font-size: 16px }
.meter .m-row span { color: var(--ink2); font-size: 14px }
.meter.low .m-row span, .meter.full .m-row span { color: var(--hype); font-weight: 700 }
.m-bar, .mini-bar { position: relative; height: 10px; border-radius: 999px; background: var(--bg3); overflow: hidden }
.m-bar i, .mini-bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--ink); transition: width .6s ease }
.meter.low .m-bar i, .meter.full .m-bar i, .mini-bar.low i, .mini-bar.full i { background: var(--hype) }
.mini-bar { height: 4px; margin-top: 8px; max-width: 220px }
.m-live { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2) }
.m-live .dot-live { flex: none }

/* people you follow; Just joined; Home's pulse */
.gc-friends { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; font-weight: 600 }
.gc-friends .av { margin-right: -4px }
.gc-friends span { margin-left: 8px }
.joined h2 { display: flex; align-items: center; gap: 8px }
.joins { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.joins li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 32px }
.joins li .fine { margin-left: auto }
.pulse { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: var(--bg2); font-size: 14px }
.pulse .link { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700 }

/* the embed choices */
.em-opt { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line) }
.em-opt textarea { width: 100%; font: 13px/1.4 var(--mono) }

/* search alerts, blocked people, the danger zone */
.s-alert { margin: 0 0 14px }
.mini-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; min-height: 48px; border-bottom: 1px solid var(--line) }
.mini-list li:last-child { border-bottom: 0 }
.mini-list a, .mini-list .who { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 0; overflow-wrap: anywhere }
.danger-zone { border-color: var(--danger) }
.danger-zone h2 { color: var(--danger) }
.danger-zone .stack { display: grid; gap: 6px; margin-bottom: 10px }

/* the weekly chart */
.chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px }
.chart li { display: grid; grid-template-columns: 36px 120px minmax(0, 1fr); gap: 12px; align-items: center }
.chart .rank { font-size: 26px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums }
.chart .ch-art { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; display: block; min-height: 0 }
.chart .ch-art > .art, .chart .ch-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; padding: 8px; min-height: 0 }
.chart .ch-art .art-t { font-size: 13px; line-height: 1.2 }
.chart .ch-t { display: grid; gap: 2px; min-width: 0 }
.chart .ch-t a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere }
.chart .ch-n { font-size: 14px; color: var(--ink2) }
.chart .ch-n b { color: var(--hype); font-size: 16px }
@media (max-width: 420px) { .chart li { grid-template-columns: 28px 84px minmax(0, 1fr); gap: 8px } .chart .rank { font-size: 22px } }

/* the photo album */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px }
.photo-grid figure { margin: 0; display: grid; gap: 4px }
.photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--bg2) }
.photo-grid figcaption { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--ink2); min-width: 0 }
.photo-grid figcaption span { overflow-wrap: anywhere }
.album label.btn { cursor: pointer }

/* the early window */
.early-win { margin: 8px 0 0 }

/* Top 3 this week */
.tag.top3 { background: var(--ink); color: var(--bg); margin-right: 6px }
.w-top3 { display: inline-flex; margin: -6px 0 14px; min-height: 32px; text-decoration: none }

/* rewards and the perk */
.rewards { border: 0; padding: 0; margin: 10px 0 0; display: grid; gap: 8px }
.rewards legend { font-weight: 700; margin-bottom: 6px }
.rewards .three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 8px }
.perk, .gc-perk { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 14px }
.gc-perk { margin: 0 }
.perk .ic, .gc-perk .ic { color: var(--hype); flex: none }
.gc-ask { display: flex }

/* the chat before, during and after */
.room-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.room-h .btn { margin-left: auto }
.room-ro { margin: 8px 0 0 }

/* tours across cities */
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.tour-list a { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none }
.tour-list li.on a { border-color: var(--hype); box-shadow: inset 3px 0 0 var(--hype) }
.tour-list li.off a { opacity: .72 }
.tl-d, .tl-c { display: flex; flex-direction: column; min-width: 0 }
.tl-c b, .tl-c span { overflow-wrap: anywhere }
.tl-d span, .tl-c span, .tl-n { font-size: 13px; color: var(--ink2) }
.tl-n { text-align: right }
@media (max-width: 520px) { .tour-list a { grid-template-columns: 64px minmax(0, 1fr) } .tl-n { grid-column: 2; text-align: left } }
.tour-ask { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px }
.tour-rows { margin-top: 10px }
.tour-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px; margin-top: 8px }
.tour-add { margin-top: 10px }
.tour-row[hidden], .tour-rows[hidden], .tour-add[hidden], form.create label[hidden] { display: none }

/* lineup and agenda */
.lu-list { list-style: none; margin: 0; padding: 0 }
.lu-list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line) }
.lu-list li:first-child { border-top: 0 }
.lu-t { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink2) }
.lu-n { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere }
.lu-n a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 700 }
.lu-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 8px }
@media (max-width: 560px) { .lu-row { grid-template-columns: 1fr 1fr } .lu-row label:last-child { grid-column: 1 / -1 } }

/* the date vote */
.dp-three { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px }
.dp-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px }
.dp-list li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.dp-opt { flex: 1 1 220px; justify-content: flex-start; gap: 12px; min-height: 52px; text-align: left }
.dp-opt.on { border-color: var(--hype) }
.dp-box { width: 24px; height: 24px; border: 2px solid var(--line); border-radius: 7px; display: inline-grid; place-items: center; flex: none }
.dp-opt.on .dp-box { background: var(--hype); border-color: var(--hype); color: var(--hype-ink) }
.dp-box .ic { width: 16px; height: 16px }
.dp-t { display: flex; flex-direction: column; min-width: 0 }
.dp-t span { font-size: 13px; font-weight: 400; color: var(--ink2) }
.dp-n { margin-left: auto; font-variant-numeric: tabular-nums }

/* +1s */
.plus-f { display: grid; gap: 8px; margin: 12px 0; padding: 12px; border: 1px dashed var(--line); border-radius: 12px }
.plus-f h3 { margin: 0; font-size: 16px }
.plus-f p { margin: 0 }
.plus-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px }
.plus-f .btn { justify-self: start }

/* the date vote: one pick per person */
.dp-opt .dp-box { border-radius: 50% }

/* the badge in the embed panels */
.em-badge { display: inline-flex; align-self: start; padding: 10px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line) }
.em-badge.on-dark { background: #0F0F0F }
.em-badge img { display: block; width: 120px; height: 40px }

/* round 4: rich text and links */
.form-hint { margin: -4px 0 12px }
.body.rich ul, .body.rich ol { margin: 8px 0; padding-left: 22px }
.body.rich li { margin: 4px 0 }
.body.rich strong { font-weight: 800 }
.link-row { display: flex; flex-wrap: wrap; gap: 8px }
.link-row .btn { max-width: 100%; overflow-wrap: anywhere }

/* the bring list and chip-in */
.bring-list { list-style: none; margin: 0; padding: 0 }
.bring-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--line) }
.bring-list li:first-child { border-top: 0 }
.bl-t { flex: 1 1 140px; min-width: 0; overflow-wrap: anywhere; font-weight: 600 }
.bring-list li.claimed .bl-t { color: var(--ink2); font-weight: 400 }
.bl-who { font-size: 14px; color: var(--ink2) }
.chip-in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px }

/* Maybe, a closed line, pass my spot, my table */
.btn.maybe { margin-top: 8px; width: 100%; justify-content: center }
.btn.maybe.on { border-color: var(--hype); color: var(--hype) }
.pass-l { margin: 8px 0 0 }
.pass-on { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 12px; font-size: 14px }
.pass-offer { border-color: var(--hype) }
.table-line { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 700 }
.table-line .ic { color: var(--hype); flex: none }

/* the tables, co-hosts who manage, table preferences */
.tables { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
.tables li { display: flex; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line) }
.tables li:first-child { border-top: 0 }
.tables li span { color: var(--ink2); overflow-wrap: anywhere }
.mgr { border: 0; padding: 0; margin: 10px 0 0; display: grid; gap: 6px }
.mgr legend { font-weight: 700; margin-bottom: 6px }
.prefs-f .notice { margin: 4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg2) }

/* 11-04 pivot proof (hype-crypto-web): a tag that is a link (the drop page's "Top 3 this week · #N") is a 44 px target */
a.tag { min-height: 44px; padding: 0 14px }
