:root { color-scheme: dark; font-family: system-ui, sans-serif; background:#100e11; color:#f8f4f5; --red:#ff3359; --border:#37252c; --muted:#c7b8be }
* { box-sizing:border-box }
[hidden] { display:none !important }
body { margin:0; min-height:100vh; background:radial-gradient(ellipse at top right,#3c0c1a,transparent 55%) }
.top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px max(16px,calc((100% - 780px)/2)); border-bottom:1px solid var(--border); background:#100e11 }
button,input,select,textarea { font:inherit }
button { cursor:pointer; min-height:44px; border-radius:10px; border:1px solid transparent; color:inherit }
.brand { white-space:nowrap; background:none; padding:0; font-weight:900; letter-spacing:-.025em }
.brand strong,em { color:var(--red); font-style:normal }
.quiet { background:transparent; color:#f6d2db; padding:8px 12px }
.quiet:hover { background:#30212a }
main { max-width:780px; margin:auto; padding:32px 16px 95px }
.intro { padding:16px 0 28px }
.eyebrow { font-size:.875rem; letter-spacing:.12em; font-weight:700; color:#ff90a4 }
h1 { font-size:clamp(2.15rem,7vw,4rem); letter-spacing:-.065em; line-height:1.02; margin:0 0 18px }
h2,p { margin:0 0 12px }
.panel { display:grid; gap:12px; border:1px solid var(--border); background:#1a151b; padding:clamp(16px,4vw,26px); border-radius:18px; max-width:540px }
.panel label { font-weight:600 }
input,select,textarea { background:#100e11; border:1px solid #573d49; color:inherit; border-radius:10px; padding:12px; width:100% }
.check { display:flex; align-items:center; gap:10px }
.check input { width:auto; accent-color:var(--red) }
.primary { background:#d51642; color:#fff; font-weight:750; padding:12px 15px; margin-top:6px }
.primary:hover { background:#b80e37 }
:focus-visible { outline:2px solid #ff91a7; outline-offset:3px }
.small { color:var(--muted); font-size:var(--app-detail); margin:0 }
#notice { position:fixed; z-index:20; inset:66px max(clamp(10px,2.85vw,22px),calc((100% - 736px)/2)) auto; margin:0; padding:5px 8px; border:1px solid #6b3142; border-radius:9px; background:#381823; font-size:.82rem; line-height:1.25; pointer-events:none }
.heading { display:flex; align-items:center; justify-content:space-between; gap:12px }
.status { width:fit-content; border:1px solid #754052; padding:6px 10px; border-radius:30px; margin:0; font-size:.875rem }
.cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:20px; max-width:600px }
.card { overflow:hidden; border:1px solid var(--border); border-radius:16px; background:#1a151b }
.portrait { aspect-ratio:1; background-image:url('../prototipo-mobile.png'); background-size:890% auto; background-color:#35232d }
.caption { padding:10px }
.caption h2 { margin:0 0 4px }
#event-code { display:block; font-size:2rem; letter-spacing:.14em }
#member-nav { position:fixed; z-index:4; inset:auto 0 0; display:flex; justify-content:center; gap:4px; background:#100e11; border-top:1px solid var(--border); padding:6px 4px max(6px,env(safe-area-inset-bottom)) }
#member-nav button { background:transparent; padding:7px clamp(4px,2vw,22px); font-size:.875rem; font-weight:650 }
#member-nav button[aria-current] { color:var(--red) }
.like { margin-top:6px; border-color:var(--border) }
.like:disabled { cursor:default; color:var(--muted) }
#chat { margin-top:14px }
#messages { display:grid; gap:8px; margin:0; padding:0; list-style:none }
#messages li { padding:10px; border-radius:10px; background:#30212a; overflow-wrap:anywhere }
#messages li.mine { margin-left:16%; background:#64142d }
#messages strong { display:block; font-size:.875rem; margin-bottom:4px }
#message-form { display:grid; gap:6px }
.composer { display:flex; gap:6px }
.composer input { min-width:0 }
.emoji-picker,.reaction-options { display:flex; flex-wrap:wrap; gap:4px }
.emoji-picker button,.reaction-options button { background:#241923; border-color:var(--border); min-width:44px }
.reaction-options button[aria-pressed="true"] { border-color:#ff91a7; background:#64142d }
.reaction-toggle { margin-top:4px; padding:4px 8px }
.reaction-toggle[aria-expanded="true"] { background:#241923 }
/* Discovery layout based on the supplied Xtreme reference. */
:root { color-scheme:light; background:#fdfcfd; color:#161217; --red:#ee1247; --border:#eae3e7; --muted:#625860 }
body { background:#fdfcfd }
.top { display:grid; grid-template-columns:44px 1fr 44px; padding:8px max(14px,calc((100% - 740px)/2)); background:#fff; border:0 }
.brand { justify-self:center; background:transparent url('logo-xtreme.png') center/contain no-repeat }
.menu-button,.top-messages { color:#161217; font-size:1.45rem; padding:0 }
main { max-width:780px; padding:12px 12px 95px }
.panel { background:#fff; box-shadow:0 8px 26px #2e08240b }
.quiet { color:#21191e }
.quiet:hover { background:#fae9ef }
input,select,textarea { background:#fff; border-color:#c9bfc5 }
.eyebrow { color:#a50b36 }
#notice { background:#fff0f4; border-color:#f5b8c8; color:#7e1031 }
.status { border-color:#e2c6d0 }
.venue { display:flex; align-items:center; justify-content:space-between; gap:8px; border-radius:40px; padding:12px clamp(10px,3.2vw,22px); color:#fff; background:linear-gradient(102deg,#ff153c 8%,#bb003d 40%,#191217 72%); font-size:var(--app-text); white-space:nowrap }
.venue strong { font-size:var(--app-text)}
.venue .live::before,.caption h2::before { content:''; display:inline-block; width:.6em; height:.6em; border-radius:50%; background:#27e847; margin-right:.34em; vertical-align:.04em }
#count { border-left:1px solid #ffffff8c; padding-left:8px }
.profile-strip { display:flex; align-items:flex-start; gap:10px; overflow-x:auto; padding:16px 2px 10px; scrollbar-width:thin }
.avatar,.my-profile { padding:0; flex:0 0 clamp(55px,15vw,82px); background:none; border:0 }
.avatar { aspect-ratio:1; padding:3px; border-radius:50%; background:linear-gradient(30deg,#ff5531,#ec0a86) }
.avatar .portrait { display:block; width:100%; height:100%; border:2px solid #fff; border-radius:50% }
.my-profile { font-size:var(--app-detail); font-weight:650; white-space:nowrap }
.my-profile span { display:grid; place-items:center; aspect-ratio:1; margin-bottom:4px; border-radius:50%; background-color:#fff; border:1px solid #eee; box-shadow:0 3px 6px #13000b12; font-size:2rem }
.discovery-tabs { display:flex; align-items:stretch; gap:clamp(4px,2vw,20px); border-bottom:1px solid var(--border); white-space:nowrap }
.discovery-tabs button,.discovery-active { display:flex; align-items:center; gap:5px; min-height:46px; padding:0 4px; background:none; font-size:var(--app-detail); font-weight:750 }
.discovery-active { border-bottom:3px solid var(--red); color:#ba0936 }
.badge, #chat-count { display:inline-grid; place-items:center; min-width:18px; height:18px; padding:0 4px; border-radius:20px; background:#d20c3b; color:#fff; font-size:var(--app-detail)}
.demo-label { margin:10px 0 0 }
.cards { gap:9px; max-width:none; margin-top:8px }
.card { position:relative; aspect-ratio:1.15; border:0; border-radius:clamp(13px,3vw,23px); background:#181018 }
.portrait { background-image:url('discovery-reference.png'); background-size:217% 754%; background-repeat:no-repeat }
.portrait.extra-portrait { background-image:url('additional-profile-portraits.png'); background-size:400% auto }
.card .portrait { position:absolute; inset:0; width:100%; height:100% }
.caption { position:absolute; inset:auto 0 0; padding:30px clamp(8px,2vw,16px) 9px; color:#fff; background:linear-gradient(transparent,#0d080bdd 57%,#080609); padding-right:53px }
.caption h2 { margin:0 0 3px }
.caption h2,.caption p { font-size:var(--app-detail) }
.caption p { margin:0; color:#fff; line-height:1.2 }
.caption .like { position:absolute; right:7px; bottom:8px; width:44px; padding:0; border-radius:50%; border:1px solid #fff8; background:#170a13a8; color:#fff; font-size:1.7rem; line-height:1 }
.caption .like.liked,
.profile-actions #profile-heart[aria-pressed="true"],
.profile-actions #profile-star[aria-pressed="true"] { color:#ff253b }
.heart-toggle { display:grid; place-items:center }
.heart-toggle svg { width:clamp(1.08rem,4.32vw,1.944rem); aspect-ratio:1; fill:none; stroke:currentColor; stroke-width:2 }
.heart-toggle[aria-pressed="true"] svg { fill:currentColor }
.match-burst { position:fixed; z-index:100; pointer-events:none; color:#ff253b }
.match-burst span { position:absolute; top:0; left:0; line-height:1; text-shadow:0 1px 3px #a8002938 }
#member-nav { background:#fff; justify-content:space-around; padding:1px max(4px,calc((100% - 700px)/2)) max(1px,env(safe-area-inset-bottom)) }
#member-nav button { font-size:1.6rem; min-width:46px; border-radius:50% }
#member-nav button[aria-current] { color:#fff; background:radial-gradient(circle,#e80d47 17.5px,transparent 18px) }
#messages li { background:#f4edf0 }
#messages li.mine { background:#ffe0e9 }
.emoji-picker button,.reaction-options button,.reaction-toggle[aria-expanded="true"] { background:#fff5f8 }
.reaction-options button[aria-pressed="true"] { background:#ffd7e4 }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap }
.screen-title { margin:8px 4px 18px; font-size:var(--app-title)}
.screen-title::after { content:''; display:block; width:48px; height:4px; margin-top:8px; border-radius:4px; background:var(--red) }
.list-empty { padding:15px 4px }
.inbox-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:10px 0 }
.inbox-tabs > * { border-radius:24px; padding:8px 15px; font-weight:750 }
.inbox-tabs button { background:#f4edf0 }
.inbox-active { display:flex; align-items:center; gap:8px; background:#e80d47; color:#fff }
.inbox-active #chat-count { display:grid; place-items:center; min-width:22px; height:22px; border-radius:50%; background:#d20c3b; color:#fff; font-size:var(--app-detail)}
.conversation-list { padding:0 4px }
.conversation-row { display:grid; grid-template-columns:clamp(38px,11vw,54px) minmax(0,1fr) auto; align-items:center; gap:12px; width:100%; padding:var(--space-1) 0; text-align:left; background:none; border:0; border-bottom:1px solid var(--border); border-radius:0 }
.conversation-row .portrait { aspect-ratio:1; border-radius:50% }
.conversation-copy { display:grid; gap:2px; min-width:0 }
.conversation-copy > span { color:var(--muted); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:var(--app-detail)}
.conversation-row time { align-self:start; color:var(--muted); font-size:var(--app-detail)}
#back-to-inbox { justify-self:start; padding-inline:0 }
.top { min-height:72px; align-items:center }
.top-messages,#member-nav button { position:relative; display:grid; place-items:center }
.icon { display:block; width:27px; height:27px; background:currentColor; mask:var(--icon) center/contain no-repeat }
.icon-fire { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 22c-5 0-8-3-8-7 0-3 2-5 4-7 0 3 2 4 2 4 2-2 3-6 3-10 4 3 7 8 7 13 0 4-3 7-8 7Z'/%3E%3C/svg%3E") }
.icon-heart { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21 4 13C-2 7 6 0 12 6c6-6 14 1 8 7z'/%3E%3C/svg%3E") }
.icon-chat { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='black' stroke-width='2' fill='none'%3E%3Cpath d='M21 11a9 9 0 0 1-9 9c-1 0-2 0-4-1l-5 2 1-5a9 9 0 1 1 17-5Z'/%3E%3Cpath stroke-linecap='round' d='M8 11h.1m4 0h.1m4 0h.1'/%3E%3C/svg%3E") }
.icon-person { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M4 21v-2c0-6 16-6 16 0v2z'/%3E%3C/svg%3E") }
.icon-bell { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 17c0-2 2-2 2-5V8a5 5 0 1 1 10 0v4c0 3 2 3 2 5zM10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E") }
.notification-dot { position:absolute; width:10px; height:10px; right:7px; top:5px; border-radius:50%; background:#fa1648; box-shadow:0 0 0 2px white }
#member-nav { justify-content:space-evenly; box-shadow:0 -4px 16px #19000d0a }
#member-nav button { width:48px; min-height:36px; padding-block:2px }
#member-nav .icon,#notification-toggle .icon { width:17.6px; height:17.6px }
#top-menu-toggle { font-size:17.6px }
.venue { min-height:42px; margin-inline:3px }
#count { padding-inline:12px 3px }
.profile-strip { padding-block:17px 12px; gap:clamp(9px,2vw,15px) }
.discovery-tabs { justify-content:space-between; gap:3px }
.discovery-tabs .filter-toggle { justify-content:center; min-width:34px; padding-inline:2px; font-size:1.2rem }
.filter-panel { display:grid; gap:var(--space-1); width:100%; margin:var(--space-1) 0 0; padding:var(--space-2); border:1px solid var(--border); border-radius:10px; background:#fff }
.filter-panel label { font-size:var(--app-detail)}
.filter-panel select { min-height:32px; padding:4px 7px; border-radius:7px; font-size:var(--app-text)}
.cards { margin-top:14px }
.inbox-active .inbox-new { padding:2px 5px; border-radius:20px; font-size:var(--app-detail); white-space:nowrap }
.inbox-venue { background:#fff0f4; color:#26171e; justify-content:space-between; padding-block:3px }
.inbox-venue .quiet { padding-inline:4px; font-size:1.25rem }
.inbox-tabs { justify-content:space-between; margin:6px 0 9px; gap:4px }
.inbox-tabs button { display:flex; align-items:center; justify-content:center; gap:4px; padding:6px clamp(5px,2vw,16px); flex:1; font-size:var(--app-detail); white-space:nowrap }
.inbox-tabs button[aria-pressed="true"] { color:#fff }

.conversation-row { gap:clamp(7px,2.5vw,12px); min-height:50px }
.conversation-meta { display:flex; align-items:center; justify-content:flex-end; gap:4px; align-self:center }
.conversation-copy strong { font-size:var(--app-text); font-weight:600 }
.conversation-meta time { font-variant-numeric:tabular-nums; white-space:nowrap }
.unread-circle { flex:none; width:6px; height:6px; border-radius:50%; background:#ed243e }
.profile-open { background:#fff }
.profile-open > .top { display:none }
.profile-open main { padding:0 clamp(12px,4vw,24px) 20px; max-width:700px; color:#21191e }
.profile-open #notice { top:50px }
.event-qr { width:min(100%,220px); margin-block:8px; background:#fff }
.event-qr svg { display:block; width:100%; height:auto }
.profile-hero { display:grid; grid-template-columns:clamp(103px,31vw,164px) minmax(0,1fr); align-items:center; gap:clamp(10px,3vw,18px); padding:clamp(8px,2.5vw,13px); border:1px solid #eee1e7; border-radius:14px; background:#fcf7fa }
.profile-photo-wrap { position:relative }
.profile-hero-photo { width:100%; aspect-ratio:1; border-radius:12px; background-color:#f0e5ec }
.profile-hero-photo.uploaded-photo { background-size:cover; background-position:center }
.profile-top { display:grid; grid-template-columns:44px 1fr 44px; align-items:center; margin-bottom:8px; padding:4px 0; border-bottom:1px solid #f1e7ed; background:#fff }
.profile-top button { color:#21191e; padding:0; font-size:1.7rem }
#profile-settings { font-size:1.35rem }
.profile-top button:hover { background:#fff0f5 }
.profile-logo { justify-self:center; width:28%; min-width:96px; height:30px; border-radius:6px; background:transparent url('logo-xtreme.png') center/calc(100% - 14px) auto no-repeat }
.profile-identity { min-width:0 }
.profile-identity #profile-name { overflow-wrap:anywhere }
.profile-identity h1 { display:flex; align-items:center; gap:5px; margin:0 0 6px; font-size:var(--app-title); font-weight:700; line-height:1.15; letter-spacing:-.025em }
.profile-identity p { margin:0 0 4px; font-size:var(--app-detail); line-height:1.4 }
.profile-drink-pix { display:flex; align-items:center; gap:4px; margin:0 0 4px; font-size:var(--app-detail); line-height:1.25 }
.profile-drink-pix .quiet { display:grid; place-items:center; flex:none; box-sizing:border-box; width:24px; height:24px; min-height:24px; padding:0; border-radius:6px; color:#0b776b }
.profile-drink-pix .quiet svg { width:14px; height:14px }
.drink-pix-settings { display:grid; gap:6px; min-inline-size:0 }
.drink-pix-settings p { margin:0 }
#profile { max-width:490px; margin-inline:auto }
#profile > h1 { margin-bottom:10px }
#profile-form {
  gap:var(--space-2);
  padding:clamp(var(--space-3),3.4vw,18px);
  border-color:#eae1e7;
  border-radius:14px;
}
.profile-form-row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px }
.profile-form-basics { grid-template-columns:minmax(0,1fr) 5rem }
.profile-form-row > div { display:grid; gap:4px; min-width:0 }
#profile-form label, #profile-form legend { font-size:var(--app-detail) }
#profile-form > label:not(.check) { margin-bottom:-4px }
#profile-form :is(input:not([type=checkbox],[type=radio]),select,textarea) {
  min-width:0;
  min-height:38px;
  padding:7px 9px;
  border:1px solid #ddd2d9;
  border-radius:8px;
  background:#fcfafb;
}
#profile-form textarea { resize:vertical }
#profile-form :is(input,select,textarea):focus-visible { outline:2px solid #d20c3b; outline-offset:1px }
#profile-form fieldset {
  margin:2px 0 0;
  padding:6px 9px 8px;
  min-inline-size:0;
  border:1px solid #eae1e7;
  border-radius:9px;
}
#profile-form fieldset legend { padding-inline:4px; font-weight:650 }
#profile-form #interest-preview { margin-bottom:0 }
#profile-form > .primary { min-height:42px }
#profile > #leave { margin-top:6px }
.profile-check { display:inline-grid; place-items:center; flex:0 0 auto; width:1.35em; height:1.35em; background:#fb0b49; color:white; border-radius:42%; font-size:.56em; font-weight:900 }
#profile-edit,#profile-add { border:1px solid #ead4df; color:#38242f; background:#fff; min-height:34px }
#profile-edit { border-radius:30px; font-size:var(--app-detail); font-weight:600; padding:5px 10px }
#profile-add { position:absolute; right:5px; bottom:5px; width:34px; border-radius:50%; font-size:1.25rem; padding:0 }
.profile-quick { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(4px,1.5vw,8px); padding:7px 0 }
.profile-quick button { display:grid; align-content:center; justify-items:center; gap:3px; min-height:46px; min-width:0; padding:4px 2px; border:1px solid #eee2e9; background:#fff; color:#21191e; font-size:var(--app-detail); font-weight:600; line-height:1.15; border-radius:8px }
.profile-quick button:hover { background:#fff3f7 }
.profile-quick button svg { color:inherit; width:18px; height:18px }
.profile-content { padding:var(--space-2) 0; border-top:1px solid #f1e5ec }
.profile-content h2 { margin:0 0 5px; font-size:var(--app-text); font-weight:650; line-height:1.25 }
#profile-about,#profile-quick-info { margin:0 0 var(--space-2); font-size:var(--app-text); line-height:1.5 }
#profile-quick-info { border-radius:8px; background:#fff0f5; padding:6px 8px }
#profile-quick-info { overflow-wrap:anywhere }
#profile-quick-info a { color:#a41037 }
.icon-globe { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") }
.profile-interests { display:flex; flex-wrap:wrap; gap:5px; padding:0; margin:0 0 9px; list-style:none }
.profile-interests li { border-radius:20px; background:#f5eef2; padding:3px 7px; font-size:var(--app-detail); line-height:1.4 }
.profile-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px }
.profile-gallery button { aspect-ratio:1; border:2px solid #f1e5ec; border-radius:10px; min-height:0 }
.profile-gallery button[aria-pressed="true"] { border-color:#e80d47; box-shadow:0 0 0 2px #ffe3ec }
.gallery-photo { display:block; width:100%; padding:0 }
.report-strip {
  position:absolute;
  z-index:1;
  inset:auto 4px 4px auto;
  width:auto;
  min-height:24px;
  aspect-ratio:auto;
  padding:3px 6px;
  border:0;
  border-radius:5px;
  background:rgb(0 0 0 / 62%);
  color:#fff;
  font-size:.65rem;
  font-weight:500;
  line-height:1.2;
}
#story-actions { position:absolute; z-index:1; bottom:max(12px,env(safe-area-inset-bottom)); right:12px; display:flex; gap:6px }
#story-actions .report-strip { position:static; min-height:28px; padding-inline:8px }
.app-confirmation { width:min(360px,calc(100% - 32px)); border:1px solid var(--border); border-radius:16px; padding:0; color:#21191e; background:#fff; box-shadow:0 14px 46px #21191e38; transform:scale(.7) }
.app-confirmation::backdrop { background:rgb(26 16 22 / 54%) }
.app-confirmation form { display:grid; gap:var(--space-3); padding:16px }
.confirmation-copy { display:grid; gap:var(--space-1) }
.confirmation-copy h2 { margin:0; font-size:var(--app-title); font-weight:700; line-height:1.25; letter-spacing:-.015em }
.confirmation-copy p { margin:0; color:#64545e; font-size:var(--app-text); overflow-wrap:anywhere }
.confirmation-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-2) }
.confirmation-actions button { min-height:38px; margin:0; padding:var(--space-1) var(--space-2); border-radius:8px; font-size:var(--app-text); font-weight:650 }
.confirmation-actions .quiet { border-color:var(--border); background:#f8f3f6 }
.confirmation-actions .quiet:hover { background:#fff0f5 }
.confirmation-status { margin:0; color:#9b183e; font-size:var(--app-detail) }
.reports-list { display:grid; gap:8px; margin:0; padding:0; list-style:none }
.reports-list li { display:grid; gap:5px; padding:10px; border:1px solid var(--border); border-radius:8px; overflow-wrap:anywhere }
.reports-list p { margin:0 }
.report-image { display:block; width:min(100%,220px); aspect-ratio:1; margin-top:6px }
.report-image.uploaded-photo { background-size:cover }
.profile-sample { background-image:url('profile-reference.png'); background-repeat:no-repeat; background-size:452% 680%; background-color:#20161c }
.sample-1 { background-position:6.1% 85.8% }
.sample-2 { background-position:36.8% 85.8% }
.sample-3 { background-position:66.4% 85.8% }
.sample-4 { background-position:96% 85.8% }
.uploaded-photo { background-size:cover; background-position:center }
.profile-actions { display:flex; align-items:center; gap:7%; margin-top:12px }
.profile-actions .primary { flex:1; display:flex; align-items:center; justify-content:center; gap:6px; margin:0 }
#profile-chat,.inbox-tabs button { min-height:28px; padding-block:2px; border-radius:40px; font-size:var(--app-text); font-weight:750 }
#profile-chat,.inbox-tabs button[aria-pressed="true"] { background:linear-gradient(100deg,#ff0a54,#eb053b) }
#profile-chat .icon,.inbox-tabs .icon { flex:none; width:19px; height:19px }
.profile-actions .quiet { flex:0 0 auto; width:clamp(32px,9vw,48px); min-height:0; aspect-ratio:1; padding:0; border-radius:50%; background:#f8f1f5; border:1px solid #eadce4; color:#392634; font-size:clamp(1.15rem,4.8vw,2rem) }
#profile-heart svg { width:.8em }
#profile-star { display:grid; place-items:center }
#profile-star svg { display:block; width:.85em; aspect-ratio:1; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round }
#profile-star[aria-pressed="true"] svg { fill:currentColor }
.profile-preview { border:0; border-radius:0; min-height:0 }
.profile-hero { width:100% }
.discovery-tabs button[aria-current="page"] { box-shadow:inset 0 -3px var(--red); color:#ba0936 }
.discovery-header-mount + .screen-title:not(.sr-only) { margin-top:16px }
.profile-interests li { max-width:100%; overflow-wrap:anywhere }
.profile-interests li { display:inline-flex; align-items:center; gap:6px }
.interest-icon { width:17px; height:17px; flex:0 0 17px; color:#171317; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round }
#interest-preview { margin:0 0 6px }
.icon-dumbbell { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 12h10M7 6v12M4 8v8M17 6v12m3-10v8'/%3E%3C/svg%3E") }
.icon-music { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M9 17V5l11-2v12'/%3E%3Cellipse cx='6' cy='17' rx='3' ry='2'/%3E%3Cellipse cx='17' cy='15' rx='3' ry='2'/%3E%3C/svg%3E") }
.icon-drink { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 4h18l-9 10zM12 14v6m-5 0h10M6 8h12'/%3E%3C/svg%3E") }
.icon-car { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 11 2-5h12l2 5M4 11h16v7H4zm2 7v2m12-2v2M7 14h1m8 0h1'/%3E%3C/svg%3E") }
.icon-plane { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m21 3-2-1-6 6-8-2-2 2 7 3-4 5-3-1-1 2 4 2 2 4 2-1-1-3 5-4 3 7 2-2-2-8 6-6z'/%3E%3C/svg%3E") }

.my-profile span { position:relative; overflow:hidden }
.my-profile img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover }
.chat-open > .top,.chat-open #member-nav { display:none }
.chat-open main { max-width:760px; padding:0 }
.chat-open #notice { top:50px }
#chat { position:relative; isolation:isolate; display:flex; flex-direction:column; height:100dvh; margin:0; background:#fff; color:#171318; overflow:hidden }
#chat::before { content:''; position:absolute; inset:18% 0 0; z-index:-1; background:linear-gradient(#fff,#fbf8fa); pointer-events:none }
.chat-header { padding:8px clamp(9px,3vw,23px) 0; flex:0 0 auto; background:#fff; }
.chat-logo { display:block; width:clamp(96px,22vw,164px); height:clamp(24px,5.6vw,42px); margin:auto }
.chat-person { display:grid; grid-template-columns:32px clamp(42px,13vw,84px) minmax(0,1fr) 33px; gap:clamp(3px,1.5vw,12px); align-items:center; margin:5px 0 9px }
.chat-person button { display:grid; place-items:center; color:#21191e; padding:0; min-width:0 }
.chat-person .icon { width:21px; height:21px }
.chat-back { font-size:2.1rem; line-height:1 }
#chat-avatar { width:100%; }
#chat-avatar .portrait,.message-avatar .portrait { display:block }
.chat-identity { min-width:0 }
.chat-identity h2 { margin:0 0 2px; font-size:var(--app-text); line-height:1.1; white-space:nowrap; text-overflow:ellipsis; overflow:hidden }
.chat-identity p { margin:0; font-size:var(--app-detail); white-space:nowrap }
.chat-venue { display:flex; align-items:center; justify-content:space-between; gap:5px; border:1px solid #f3c9d5; border-radius:40px; padding:3px 5px 3px 12px; background:#fff0f4; font-size:var(--app-detail)}
.chat-venue .quiet { min-height:34px; border:1px solid #f1b7c8; color:#a40e37; border-radius:30px; white-space:nowrap; padding:4px 9px }
.chat-options,.chat-status { margin:var(--space-1) 0 0; padding:var(--space-2); background:#fff; border:1px solid var(--border); border-radius:10px; font-size:var(--app-text) }
.chat-options p { margin:4px 0 }
.chat-day { align-self:center; margin:10px 0 2px; padding:3px 12px; border:1px solid #eae1e6; border-radius:30px; background:#f5f0f3; font-size:var(--app-detail)}
#chat #messages { flex:1 1 0; min-height:0; overflow-y:auto; align-content:start; gap:var(--space-2); padding:var(--space-2) clamp(9px,3vw,23px); scrollbar-width:thin }
#chat #messages li { display:flex; align-items:flex-end; gap:7px; padding:0; margin:0; background:none; border-radius:0 }
#chat #messages li.mine { justify-content:flex-end }
.message-avatar { flex:0 0 30px; width:30px; padding:2px }
.chat-bubble { display:flex; flex-wrap:wrap; align-items:flex-end; column-gap:var(--space-1); max-width:min(78%,calc(100% - 42px)); min-width:0; padding:3px var(--space-2); border:1px solid #ece5e9; border-radius:14px 14px 14px 4px; background:#f4eff2; font-size:var(--app-text); line-height:1.3 }
.chat-message-text { min-width:0; white-space:pre-wrap; overflow-wrap:anywhere }
.chat-bubble > .reaction-options { flex:0 0 100% }
.mine .chat-bubble { border-radius:14px 14px 4px 14px; border-color:#f6c8d6; background:#ffe2eb }
.chat-meta { display:flex; flex:none; align-items:center; justify-content:flex-end; gap:4px; margin-left:auto; color:#64545e; font-size:var(--app-detail)}
.chat-meta .reaction-toggle { margin:0; padding:0 4px; min-height:18px; font-size:.86rem; line-height:1 }
.chat-place-card { display:flex; align-items:center; gap:8px; font-weight:650 }
.chat-place-card span { display:block; width:55px; height:38px; border-radius:6px }
#chat #message-form { flex:0 0 auto; gap:4px; margin:0; padding:5px clamp(7px,2vw,17px) max(9px,env(safe-area-inset-bottom)); background:#fff; border-top:1px solid #f0e7eb }
.chat-composer { display:flex; align-items:center; gap:5px }
.chat-composer .composer { flex:1; min-width:0; align-items:center; gap:0; border:1px solid #e8dce3; border-radius:40px; padding:0 3px 0 6px; background:#f7f3f6 }
.chat-composer input { border:0; background:transparent; padding:5px 3px 5px 5px; font-size:var(--app-text)}
.chat-composer .composer button { flex:0 0 30px; min-height:34px; padding:0; display:grid; place-items:center }
.chat-composer .icon { width:19px; height:19px }
#chat-add,#chat-mic,#chat-send { flex:0 0 40px; height:40px; min-height:40px; padding:0; margin:0; border-radius:50%; display:grid; place-items:center }
#chat-add { border-color:#ead8e1; background:#f9edf2; font-size:1.4rem }
#chat-mic,#chat-send { background:#eb0740 }
.icon-video { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='2' y='5' width='14' height='14' rx='3'/%3E%3Cpath d='m16 10 6-4v12l-6-4'/%3E%3C/svg%3E") }
.icon-call { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 3c-5 4 8 18 14 18 2 0 3-1 3-3l-5-4-2 2c-3-1-5-3-6-6l2-2-4-5z'/%3E%3C/svg%3E") }
.icon-smile { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14c2 4 6 4 8 0M9 9h.1m6 0h.1'/%3E%3C/svg%3E") }
.icon-camera { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 7h4l2-3h6l2 3h4v13H3z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E") }
.icon-gallery { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='m3 17 5-5 4 4 3-3 6 5'/%3E%3Ccircle cx='15' cy='8' r='1'/%3E%3C/svg%3E") }
.icon-mic { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='2' width='6' height='13' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0m-7 7v4'/%3E%3C/svg%3E") }
/* Mobile proportions follow the discovery and messages references. */
:root {
  --app-font:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --app-text:.875rem;
  --app-detail:.6875rem;
  --app-title:1.125rem;
  --space-1:4px;
  --space-2:8px;
  --space-3:12px;
  font-family:var(--app-font);
  background:#fff;
  color:#151316;
}
body { font-size:var(--app-text); line-height:1.45 }
body { background:#fff }
.top { min-height:62px; padding-block:5px; grid-template-columns:minmax(0,1fr) 42px 42px; gap:4px }
.brand { grid-column:1; justify-self:start; width:clamp(116px,33vw,174px); height:clamp(30px,8vw,43px); background-position:left center; transform:scale(.81); transform-origin:left center }
.brand-area { grid-column:1; min-width:0; display:grid; justify-items:start }
.live-dj.quiet { max-width:100%; min-height:26px; padding:0 0 4px; overflow-wrap:anywhere; color:#a41037; font-size:var(--app-detail); font-weight:650; text-align:left }
#dj-form h2 { margin:0 }
.dj-days { display:grid; gap:6px }
.dj-days details { background:#fff; border:1px solid var(--border); border-radius:8px; padding:8px }
.dj-days summary { cursor:pointer; padding:4px; font-weight:650 }
.dj-days details[open] summary { margin-bottom:6px }
.dj-slot { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:5px 8px; min-inline-size:0; margin:0 0 8px; border:1px solid var(--border); border-radius:8px; padding:8px }
.dj-slot:last-child { margin-bottom:0 }
.dj-slot label { display:grid; gap:3px; min-width:0; font-size:var(--app-detail) }
.dj-slot .dj-name { grid-column:1 / -1 }
.dj-slot input { min-width:0; padding:6px; font-size:var(--app-text) }
main { padding-top:7px; padding-inline:clamp(10px,2.85vw,22px) }
body:not(.chat-open):has(#member-nav:not([hidden])) main { padding-bottom:calc(48px + env(safe-area-inset-bottom)) }
body:has(main .view:not([hidden]) #discovery-header) > .top { min-height:48px; padding-block:2px }
main:has(.view:not([hidden]) #discovery-header) { padding-top:0 }
.venue { min-height:0; padding-block:9px; margin-inline:4px; font-size:var(--app-text)}
#discovery-header .venue { padding-block:3px; background:#151217 }
#discovery-header .venue .live { margin-inline-start:auto }
#discovery-header #count { padding-inline-start:8px }
#discovery-header .venue .live, #discovery-header #count { font-size:var(--app-detail)}
.profile-strip { padding-block:14px 12px; gap:clamp(8px,2.5vw,16px) }
#discovery-header .profile-strip { margin-top:-4px; padding-top:0 }
#profile-strip { padding-top:5px }
.note-avatar { display:grid; flex:0 0 clamp(58px,17.5vw,90px); grid-template-rows:36px auto; min-width:0 }
.note-slot { position:relative; z-index:1; display:grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items:end center; min-width:0; top:8px }
.note-bubble { position:relative; width:calc(100% + 6px); min-width:0; height:32px; min-height:0; padding:2px 5px; border:1px solid #e9d5df; border-radius:12px; background:#fcf0f5; color:#3c2734; font-size:.625rem; line-height:1.15; box-shadow:0 2px 5px #53334818 }
.note-bubble span { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere }
.note-bubble::after { content:''; position:absolute; left:50%; bottom:-4px; width:6px; height:6px; border-right:1px solid #e9d5df; border-bottom:1px solid #e9d5df; background:inherit; transform:translateX(-50%) rotate(45deg) }
button.note-bubble:hover { background:#f9e4ee }
.note-avatar .avatar-shortcut,.note-avatar .my-profile { width:100% }
.note-form { display:grid; gap:5px; padding:8px; border:1px solid #eee0e7; border-radius:10px; background:#fff5f8 }
.note-form input { min-height:34px; padding:6px 8px }
.note-actions { display:flex; flex-wrap:wrap; gap:6px }
.note-actions button { min-height:34px; margin:0; padding:4px 8px }
#discovery-header :is(#note-form,#story-form) { gap:3px; padding:4px; font-size:var(--app-detail) }
#discovery-header :is(#note-form,#story-form) input { min-height:22px; padding:2px 5px }
#story-photo::file-selector-button { margin-inline-end:5px; padding:1px 4px; border:1px solid var(--border); border-radius:5px; background:#f8f3f6; color:inherit; font:inherit }
#discovery-header :is(#note-form,#story-form) .note-actions { gap:4px }
#discovery-header :is(#note-form,#story-form) .note-actions button { min-height:22px; padding:2px 5px }
#profile-strip .avatar-shortcut:not(.has-story) .avatar { background:#e9e1e7 }
#profile-strip .avatar-shortcut:disabled { cursor:default }
#profile-strip .my-profile.has-story span { outline:2px solid #e80d47; outline-offset:-2px }
#story-dialog { position:fixed; inset:0; width:100vw; height:100dvh; max-width:none; max-height:none; margin:0; padding:0; border:0; background:#130d12; color:#fff; overflow:hidden }
#story-dialog::backdrop { background:#130d12 }
.story-top { position:absolute; z-index:2; inset:0 0 auto; display:flex; align-items:center; gap:8px; padding:max(12px,env(safe-area-inset-top)) 16px 12px }
.story-top h2 { margin:0; font-size:var(--app-title) }
.story-controls { display:flex; gap:6px; margin-left:auto }
.story-controls button { min-height:40px; width:40px; padding:0; border-radius:50%; background:#130d1280; color:#fff; font-size:1.6rem; line-height:1 }
.story-stage { position:relative; width:100%; height:100%; overflow:hidden }
#story-media { position:absolute; inset:0; overflow:hidden }
#story-media img, #story-media svg { display:block; width:100%; height:100% }
#story-media img { object-fit:cover }
#story-feedback { margin:0; font-size:var(--app-detail); color:#851836 }
.avatar,.my-profile { flex-basis:clamp(51px,16.8vw,86px) }
.avatar-shortcut { display:grid; flex:0 0 clamp(51px,16.8vw,86px); min-width:0; gap:4px; padding:0; border:0; background:none; color:inherit; font-size:var(--app-detail); font-weight:400 }
.avatar-shortcut .avatar { display:block; width:100% }
.avatar-first-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.profile-strip .my-profile { font-size:var(--app-detail)}
.discovery-tabs { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.93fr) minmax(0,1.13fr) 34px; gap:1px; justify-content:normal }
.discovery-tabs button { justify-content:center; gap:clamp(3px,1.1vw,7px); min-width:0; min-height:45px; padding-inline:clamp(2px,.7vw,6px); font-size:var(--app-detail); position:relative; border-radius:0 }
.discovery-tabs .icon { width:clamp(15px,4.1vw,22px); height:clamp(15px,4.1vw,22px); flex:none }
.discovery-tabs .badge { position:absolute; top:0; right:0 }
.discovery-tabs .badge, #chat-count { min-width:16px; height:16px; box-shadow:0 0 0 2px #fff }
.discovery-tabs .filter-toggle { min-width:30px }
html { scrollbar-gutter:stable }
.icon-filter { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='black' stroke-width='2' fill='white' stroke-linecap='round'%3E%3Cpath d='M3 5h18M3 12h18M3 19h18'/%3E%3Ccircle cx='8' cy='5' r='2'/%3E%3Ccircle cx='15' cy='12' r='2'/%3E%3Ccircle cx='10' cy='19' r='2'/%3E%3C/svg%3E") }
.cards { align-items:start; gap:clamp(8px,2.15vw,16px); margin-top:10px }
.card { width:100%; min-height:0; aspect-ratio:1.16; border-radius:clamp(13px,3.6vw,25px) }
.card { --card-heart-size:clamp(25px,6.8vw,34px) }
.caption { padding-top:19px; padding-right:calc(var(--card-heart-size) + 11px); padding-bottom:8px }
.caption { pointer-events:none }
.caption .like { pointer-events:auto }
.caption .like { width:var(--card-heart-size); min-height:var(--card-heart-size); aspect-ratio:1 }
.caption .like svg { width:clamp(13px,3.2vw,21px) }
#member-nav { background:#fff }
.chat-open .chat-composer input,.chat-open .chat-meta button { color:#21191e }
.chat-open .chat-composer input::placeholder { color:#74636d }
.chat-open .emoji-picker button,.chat-open .reaction-options button { background:#fff5f8 }
.chat-open .reaction-options button[aria-pressed="true"] { background:#ffd7e4 }
.profile-open #profile-about,.profile-open .profile-interests { color:#342630 }
.attraction-options { display:grid; gap:7px; padding:10px; margin:0; border:1px solid var(--border); border-radius:10px }
.attraction-options legend { padding:0 4px; font-weight:650 }
.attraction-options .check { min-height:32px }
.attraction-options { min-inline-size:0 }
.attraction-choices { display:flex; justify-content:space-between; gap:4px }
.attraction-choices .check { gap:4px; font-size:var(--app-detail); white-space:nowrap }
.attraction-choices input { margin:0; flex:none }
.profile-attraction { margin:0 0 9px; color:#342630; font-size:var(--app-text); line-height:1.4 }
.incoming-like { position:absolute; z-index:1; top:7px; left:7px; padding:2px 5px; border-radius:20px; background:#fff0f4; color:#a41037; font-size:var(--app-detail); line-height:1.2; pointer-events:none }
.incoming-like span { color:#d20c3b }
.profile-actions .primary:disabled { opacity:.55; cursor:default }
.top-menu { position:relative; z-index:5; grid-column:3 }
.top-menu .menu-button { width:42px }
.top-menu-options { position:absolute; top:100%; right:0; display:grid; gap:0; width:max-content; max-width:calc(100vw - 24px); padding:var(--space-1); border:1px solid var(--border); border-radius:12px; background:#fff; box-shadow:0 8px 28px #0002 }
.top-menu-options .quiet { display:flex; gap:8px; align-items:center; min-height:32px; padding:4px 10px; text-align:left; white-space:nowrap }
.top-menu-options :is(.icon, svg) { flex:none; width:20px; height:20px }
.top-notifications { position:relative; z-index:5; grid-column:2 }
.top-notifications .top-messages { width:42px }
#notification-toggle .icon { transform:translateX(5px) }
#header-dot { right:2px }
#notification-panel { position:absolute; right:0; top:100%; width:min(288px,calc(100vw - 32px)); max-height:55dvh; overflow-y:auto; padding:var(--space-2); background:#fff; border:1px solid var(--border); border-radius:12px; box-shadow:0 8px 28px #0002 }
#notification-panel h2 { font-size:var(--app-title); margin:0 0 7px }
#notification-list { display:grid; gap:3px; font-size:var(--app-text)}
.notification-item { display:flex; align-items:center; gap:8px; width:100%; text-align:left; padding:4px }
.notification-item .portrait { flex:0 0 32px; border-radius:50% }
.notification-item small { display:block; margin-top:3px; color:var(--muted) }
#notification-list h3 { margin:8px 0 3px; font-size:var(--app-detail)}
.referral-notice { padding:7px; border:1px solid #f0dce4; border-radius:9px; background:#fff6f9 }
.referral-notice > div { display:flex; flex-wrap:wrap; gap:4px }
.referral-notice p { margin:0 0 4px }
.referrer-link { color:#a41037; font-weight:650; text-underline-offset:2px }
.referral-notice > small { display:block; margin-bottom:4px; color:var(--muted) }
.referral-notice button { min-height:32px; padding:4px 6px; color:#a41037; font-size:var(--app-detail)}
.referral-profile-actions { display:grid; gap:6px; margin-top:10px }
.referral-profile-actions p { margin:0; font-size:var(--app-text)}
.referral-profile-buttons { display:flex; flex-wrap:wrap; gap:8px }
.referral-profile-buttons .primary { margin:0 }
.referral-profile-buttons .quiet { color:#a41037; border-color:#efd3e0 }
.referral-profile-buttons .quiet:hover { background:#fff0f5 }
@font-face {
  font-family:'Xtreme Emoji';
  src:url('NotoColorEmoji-Regular.ttf') format('truetype') tech(color-COLRv1);
  font-style:normal;
  font-weight:400;
  font-display:swap;
  unicode-range:U+200D,U+2600-27FF,U+FE0F,U+1F000-1FAFF;
}
#chat,.conversation-row { font-family:'Xtreme Emoji',var(--app-font) }
#notice,#notification-panel .notification-item { font-family:'Xtreme Emoji',var(--app-font) }
#chat .chat-bubble { touch-action:manipulation }
#chat .emoji-glyph { font-family:'Xtreme Emoji','Apple Color Emoji','Segoe UI Emoji',sans-serif }
#chat .emoji-library { display:block; max-height:min(190px,30dvh); overflow:auto; padding:8px; border:1px solid #f0dce4; border-radius:12px; background:#fff }
#chat .emoji-library h3 { margin:2px 0 5px; font-size:var(--app-detail); font-weight:400; color:#6c5663 }
.emoji-library-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(32px,1fr)); gap:3px; margin-bottom:8px }
#chat .emoji-library button { min-width:0; min-height:34px; padding:0; border-color:transparent; background:#fff; font-size:1.15rem }
#chat .emoji-library button:hover { background:#fff0f5 }
#chat .reaction-options { gap:2px; align-items:center; padding:3px; margin-top:3px; border-radius:12px; background:#fff; border:1px solid #f1dce5 }
#chat .reaction-options > button { min-width:26px; min-height:28px; padding:0 2px; border-color:transparent; border-radius:8px; background:#fff; font-size:1rem }
#chat .reaction-options > button[aria-pressed="true"] { background:#ffe3ed }
#chat .reaction-options > .emoji-library { flex:1 0 100%; max-height:150px; padding:5px }
#chat .reaction-toggle { display:grid; place-items:center; min-height:18px; border-radius:14px; padding:1px 5px }
#chat .reaction-toggle .icon { width:15px; height:15px }
#chat .reaction-toggle.has-reaction { background:transparent; border-color:transparent; font-size:.93rem; line-height:1 }
.profile-secondary-actions { display:grid; justify-items:start; gap:6px; margin-top:10px }
.profile-secondary-actions:not(:has(button:not([hidden]))) { display:none }
.profile-secondary-actions button { min-height:28px; padding:3px 7px; border:1px solid #efd3e0; color:#a41037; font-size:var(--app-detail)}
.profile-secondary-actions button:hover { background:#fff0f5 }
.referral-form { display:grid; gap:var(--space-2); margin-top:var(--space-2); padding:var(--space-2); border:1px solid var(--border); border-radius:10px; background:#fff }
.referral-friends { min-width:0; margin:0; padding:0; border:0 }
.referral-friends legend { padding:0; margin-bottom:8px; font-weight:650 }
#referral-search { min-height:34px; margin-bottom:7px; padding:5px 8px; font-size:var(--app-text) }
#referral-friend-options { display:grid; grid-template-columns:repeat(auto-fill,minmax(53px,1fr)); gap:4px }
#referral-friend-options label { position:relative; display:grid; justify-items:center; gap:2px; min-width:0; padding:4px 2px; border:1px solid #efdce5; border-radius:7px; background:#fff; cursor:pointer; font-size:var(--app-detail); font-weight:400 }
#referral-friend-options input { position:absolute; width:1px; height:1px; margin:0; opacity:0 }
#referral-friend-options .avatar { display:block; width:min(100%,39px) }
#referral-friend-options .avatar-first-name { max-width:100% }
#referral-friend-options label:has(input:checked) { border-color:#d20c3b; background:#ffe9f0 }
#referral-friend-options label:has(input:focus-visible) { outline:2px solid #d20c3b; outline-offset:2px }
#referral-form p { font-size:var(--app-detail); margin:0; color:#5c4854 }
.icon-star { --icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='m12 2 3 6.3 7 .9-5 5 1.2 7-6.2-3.3-6.2 3.3 1.2-7-5-5 7-.9z'/%3E%3C/svg%3E") }
#chat,#chat :is(h2,strong,button,label,legend,a,select) { font-weight:400 }
.chat-map-link { display:block; width:fit-content; color:#a40e37; font-weight:700 }
.chat-location-accuracy { display:block; margin:4px 0; color:#64545e }
.chat-options .small { color:#64545e }
.meeting-form { display:grid; gap:6px; padding-block:5px }
.meeting-fieldset { min-width:0; margin:0; padding:0; border:0 }
.meeting-fieldset legend { padding:0 0 6px; font-weight:700 }
.meeting-choices { display:flex; flex-wrap:wrap; gap:5px }
.meeting-choices label { position:relative; cursor:pointer }
.meeting-choices input { position:absolute; width:1px; height:1px; opacity:0 }
.meeting-choices span { display:grid; place-items:center; min-height:28px; padding:2px 7px; border:1px solid #ead6df; border-radius:18px; background:#fff; color:#332430; font-size:var(--app-text)}
.meeting-choices input:checked + span { border-color:#b6103d; background:#b6103d; color:#fff }
.meeting-choices input:focus-visible + span { outline:2px solid #ff91a7; outline-offset:2px }
#meeting-form .primary { justify-self:start; min-height:28px; margin:0; padding:2px 10px; font-size:var(--app-text); line-height:1.2 }
.chat-meeting-card { display:grid; gap:3px }
.chat-meeting-card > strong { color:#21191e; font-size:var(--app-text)}
.caption .presence-detail { display:flex; align-items:baseline; gap:3px }
.presence-goal { min-width:0; overflow-wrap:anywhere }
.presence-elapsed { flex:none; font-weight:inherit; font-variant-numeric:tabular-nums; white-space:nowrap }

main .view > h1,.intro h1 { font-size:var(--app-title); line-height:1.15; letter-spacing:-.025em }
:is(#entry,#info,#mural) .intro h1 { font-size:clamp(var(--app-title),6.5vw,2rem) }
.panel h2 { font-size:var(--app-title); line-height:1.2 }
.chat-composer input,.meeting-choices span,
#notification-list,
.filter-panel select,.top-menu-options button,.profile-actions .primary { font-size:var(--app-text) }
.profile-strip .my-profile,.conversation-meta time,
.chat-identity p,.chat-meta,.chat-day,.small,#notice,.filter-panel label,#notification-list h3 { font-size:var(--app-detail) }
.profile-identity { font-size:var(--app-text) }

.entry-open { color-scheme:dark; background:#111; color:#fff }
.entry-open .top { background:#222; border-bottom:1px solid #ffffff18 }
.entry-open .brand { background-color:transparent; filter:invert(1); transform:scale(.765); transform-origin:left center }
.entry-open .top .quiet { color:#fff; background-color:transparent }
.entry-open .top-menu .menu-button { color:#32efa0 }
.entry-open .top-menu-options .quiet { color:#21191e }
.entry-open main { max-width:none; padding:0 0 24px }

.entry-screen {
  position:relative;
  isolation:isolate;
  overflow:clip;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,390px);
  align-items:center;
  gap:clamp(24px,5vw,80px);
  min-height:clamp(430px,73svh,690px);
  padding:clamp(28px,7vw,96px) max(clamp(20px,6vw,84px),calc((100% - 1240px)/2));
  background:#111;
}
.entry-screen::before {
  content:'';
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,#0c0c0c55 0%,#1119 56%,#111 100%),
    linear-gradient(0deg,#111 0%,transparent 45%), #191919 url('neon-login.webp') center/cover no-repeat;
}
.entry-screen .intro { padding:0; margin:0; text-align:left; max-width:570px }
.entry-screen .eyebrow {
  margin:0 0 12px;
  padding:5px 10px;
  background:rgb(0 0 0 / 50%);
  box-shadow:0 0 0 100vmax rgb(0 0 0 / 50%);
  clip-path:inset(0 -100vmax);
  color:#32efa0;
  letter-spacing:.18em;
}
.entry-screen .intro h1 {
  margin:0 0 13px;
  color:#fff;
  font-size:clamp(2.25rem,5.4vw,4.8rem);
  font-weight:850;
  line-height:1;
  letter-spacing:-.045em;
  text-transform:uppercase;
}
.entry-screen .intro h1 em { color:inherit }
.entry-screen .intro p:last-child { margin:0; color:#e3e3e3; font-size:var(--app-text)}
.entry-screen .entry-panel {
  width:100%;
  gap:var(--space-2);
  padding:clamp(17px,3vw,26px);
  color:#fff;
  border:1px solid #ffffff29;
  border-radius:12px;
  background:#1a1a1af2;
  box-shadow:0 12px 36px #0005;
}
.entry-panel h2 { margin:0 0 5px; font-size:var(--app-title); font-weight:600; letter-spacing:normal; text-transform:none }
.entry-panel input { min-height:43px; padding:9px 11px; background:#111; border-color:#555; color:#fff }
.entry-panel input:focus-visible { outline:2px solid #32efa0; outline-offset:1px }
.entry-panel .primary {
  min-height:44px;
  margin-top:4px;
  border-radius:6px;
  background:linear-gradient(105deg,#fa494a 25%,#ffae36);
  color:#18100e;
  font-weight:750;
}
.entry-panel .quiet { color:#fff; background:#303030 }
.entry-panel p { margin:0; color:#ddd }
.entry-panel #checkin-reservation { color:#32efa0 }

@media (max-width:670px) {
  .entry-screen {
    grid-template-columns:minmax(0,1fr);
    align-content:start;
    gap:20px;
    padding:clamp(30px,10vw,68px) clamp(16px,5vw,30px) 32px;
    min-height:calc(100svh - 62px);
  }
  .entry-screen::before {
    background:linear-gradient(180deg,#1115 0%,#1119 210px,#111 465px),
      #111 url('neon-login.webp') center/cover no-repeat;
  }
  .entry-screen .intro { max-width:100%; text-align:center }
  .entry-screen .entry-panel { justify-self:center }
}

/* Tema Xtreme: superfícies de grafite, fotografia e acentos de palco. */
.club-theme {
  color-scheme:dark;
  --page:#111314; --panel:#1b1e20; --raised:#272b2c; --border:#404546;
  --ink:#f3f5f2; --muted:#b9c0bc; --mint:#70efb3;
}
html:has(.club-theme) { background:#111314; color-scheme:dark }
.club-theme:not(.entry-open), .club-theme #chat, .club-theme #chat::before {
  background:var(--page); color:var(--ink);
}
.club-theme:not(.entry-open) > .top, .club-theme #member-nav,
.club-theme .profile-top, .club-theme .chat-header, .club-theme #chat #message-form {
  background:#161819; color:var(--ink); border-color:var(--border);
}
.club-theme:not(.entry-open) .top .brand, .club-theme :is(.profile-logo,.chat-logo) { filter:invert(1) }
.club-theme:not(.entry-open) .top :is(.menu-button,.top-messages,.live-dj) { color:var(--mint); background:transparent }
.club-theme #discovery-header .venue {
  background:linear-gradient(90deg,#111615ba,#17171966 60%,#171719ad),url('folhas-neon.webp') center 60% / cover;
  color:white; border-radius:8px;
}
.club-theme .venue .live::before { background:var(--mint) }
.club-theme .discovery-tabs button[aria-current="page"] { color:var(--mint); box-shadow:inset 0 -2px var(--mint) }
.club-theme #member-nav button { color:var(--muted) }
.club-theme #member-nav button[aria-current] { color:var(--mint); background:radial-gradient(circle,#254535 17.5px,transparent 18px) }
.club-theme :is(.top-menu-options,#notification-panel,.referral-form,.referral-notice,.profile-hero,.chat-options,.chat-status),
.club-theme:not(.entry-open) :is(.panel,.note-form,.filter-panel,dialog:not(#story-dialog)) {
  background:var(--panel); color:var(--ink); border-color:var(--border);
}
.club-theme:not(.entry-open) :is(input,textarea,select,.profile-quick button,.profile-actions .quiet,.profile-interests li,
  .my-profile span,.note-bubble,.chat-venue,.chat-day,.meeting-choices span,#profile-edit,#profile-add,#profile-quick-info,
  #referral-friend-options label,.chat-composer .composer,.inbox-tabs button,.emoji-picker,.reaction-options) {
  background-color:var(--raised); color:var(--ink); border-color:var(--border);
}
.club-theme .note-bubble::after { border-color:var(--border) }
.club-theme .quiet,.club-theme .top-menu-options .quiet,.club-theme.profile-open main,.club-theme .profile-top button,
.club-theme .chat-person button,.club-theme .chat-composer input,.club-theme .profile-interests,
.club-theme #profile-about,.club-theme .profile-attraction,.club-theme .chat-meeting-card > strong { color:var(--ink) }
.club-theme :is(.chat-meta,.chat-meta button,.chat-options .small,#referral-form p) { color:var(--muted) }
.club-theme:not(.entry-open) :is(.primary,#profile-chat,.inbox-tabs button[aria-pressed="true"],.meeting-choices input:checked + span) {
  background:var(--mint); color:#10251a; border-color:transparent;
}
.club-theme #chat .chat-bubble { background:var(--raised); color:var(--ink); border-color:var(--border) }
.club-theme #chat .mine .chat-bubble { background:#203b30; border-color:#365b47 }
.club-theme :is(.quiet:hover,.profile-quick button:hover,.emoji-picker button,.reaction-options button) { background-color:#303636; color:var(--ink) }
.club-theme .profile-actions :is(#profile-star,#profile-heart)[aria-pressed="true"] { color:#ff4052 }
.club-theme #notice { background:#203b30; color:#defbea; border-color:#477459 }



.profile-logo { transform:scale(.9) }


#notification-toggle .notification-dot { transform:scale(.7); transform-origin:center }
#nav-dot, .discovery-tabs .badge, #chat-count { transform:scale(.77); transform-origin:center }





#chat .chat-bubble .reaction-options,
#chat .chat-bubble .reaction-options :is(button,.emoji-library),
#chat .chat-bubble .reaction-toggle {
  background:transparent;
  border-color:transparent;
}
#chat .chat-bubble .reaction-options button[aria-pressed="true"] { box-shadow:inset 0 -2px currentColor }
#chat .chat-bubble .reaction-options h3 { color:inherit }



.story-views { padding: 8px 12px; font-size: 13px; text-align: left; }
.story-views summary { cursor: pointer; font-weight: 600; }
.story-views ul { margin: 6px 0 0; padding-inline-start: 20px; max-height: 12rem; overflow-y: auto; }
.story-views li { padding-block: 2px; }

#inbox-avatars:empty { display:none }
#chat .chat-bubble:has(.chat-meeting-card) { border-inline-start:3px solid var(--mint,currentColor); padding:4px 7px; }
.chat-meeting-card { gap:1px; font-size:var(--app-detail); }
#messages .chat-meeting-card strong { margin:0; font-size:var(--app-text); }
.meeting-replies { display:flex; flex-wrap:wrap; gap:4px; margin-top:3px; }
.meeting-replies button { min-height:26px; margin:0; padding:2px 7px; font:inherit; border:1px solid currentColor; border-radius:12px; background:transparent; color:inherit; }


.club-theme #story-feedback,
.club-theme .confirmation-status,
.club-theme #profile-quick-info a { color:var(--mint) }
.club-theme #story-photo::file-selector-button { background:var(--panel); color:var(--ink); border-color:var(--border) }
.club-theme :focus-visible,
.club-theme #profile-form :is(input,select,textarea):focus-visible,
.club-theme #referral-friend-options label:has(input:focus-visible),
.club-theme .meeting-choices input:focus-visible + span { outline-color:var(--mint) }
.club-theme input:is([type=checkbox],[type=radio]) { accent-color:var(--mint) }
.club-theme .profile-gallery button[aria-pressed="true"] { border-color:var(--mint); box-shadow:0 0 0 2px #203b30 }
.club-theme:not(.entry-open) #referral-friend-options label:has(input:checked) { border-color:var(--mint); background: #203b30 }


#story-viewers { position:absolute; z-index:2; left:12px; bottom:max(12px,env(safe-area-inset-bottom)); color:white; background:#111c; border-radius:14px; max-width:calc(100% - 24px); }
#story-viewers summary { display:flex; align-items:center; gap:6px; padding:6px 10px; min-height:32px; cursor:pointer; font-size:12px; list-style:none; }
#story-viewers summary::-webkit-details-marker { display:none }
#story-viewer-faces { display:flex; padding-left:5px }
#story-viewer-faces:empty { display:none }
.viewer-face { display:inline-grid; place-items:center; position:relative; overflow:hidden; flex:none; width:26px; height:26px; border-radius:50%; border:2px solid #222; background-color:#39423e; font-size:12px; }
.viewer-face img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
#story-viewer-faces .viewer-face { margin-left:-5px }
#story-viewer-list { max-height:40dvh; overflow:auto; padding:0 10px; margin:0; }
#story-viewer-list li { display:flex; align-items:center; gap:8px; padding:4px 0; }


#people-discovery-header { position:relative }
#people-filter { position:absolute; z-index:3; inset:100% 0 auto; margin:0; width:100%; min-width:0; box-sizing:border-box; padding:4px 8px; gap:0; }
#people-filter > span { font-size:var(--app-detail); color:inherit; padding:2px 4px; }
#people-filter label { display:flex; align-items:center; gap:7px; min-height:26px; margin:0; cursor:pointer; }
#people-filter input { width:14px; height:14px; min-height:0; margin:0 0 0 4px; padding:0; }


#story-viewer-list li { padding:0 }
#story-viewer-list button { display:flex; align-items:center; gap:8px; width:100%; padding:5px 2px; margin:0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; }
#story-viewer-list button:disabled { opacity:.65 }


.club-theme #admin :is(.dj-days details,.reports-list li,.quiet,.status),
.club-theme #media-report-dialog .quiet { background:var(--raised); color:var(--ink); border-color:var(--border); }
.club-theme #admin .dj-slot { background:var(--panel); border-color:var(--border); }
.club-theme #admin :is(.dj-slot legend,.small,#reports-empty),
.club-theme #media-report-target { color:var(--muted); }
.club-theme #admin :is(a,a:visited) { color:var(--mint); }
.club-theme #admin .dj-days summary::marker { color:var(--mint); }
.club-theme #admin .quiet:hover,.club-theme #media-report-dialog .quiet:hover { border-color:var(--mint); }
.club-theme #media-report-dialog::backdrop { background:rgb(0 0 0 / 65%); }


.top { grid-template-columns:minmax(0,1fr) 32px 32px; column-gap:0; }
.top-notifications .top-messages,.top-menu .menu-button { width:32px; }
#inbox #profile-strip .note-avatar:has(.my-profile .empty-story-avatar) { display:none; }
#push-dialog { transform:none; width:min(340px,calc(100% - 32px)); }
.push-copy { display:grid; gap:12px; padding:16px; }
.push-copy h2,.push-copy p { margin:0; }
.push-copy p { font-size:var(--app-text); }
.club-theme #push-dialog .quiet { background:var(--raised); color:var(--ink); border-color:var(--border); }


.club-theme #chat #meeting-form .meeting-choices input:checked + span { background:var(--mint); color:#10251a; border-color:var(--mint); font-weight:650; }
.chat-meeting-card .meeting-heading { color:#911139; font-weight:750; letter-spacing:.045em; }
.club-theme .chat-meeting-card .meeting-heading { color:var(--mint); }


#push-steps { margin:0; padding-inline-start:20px; font-size:var(--app-text); }
#push-steps:empty { display:none; }
#push-steps li + li { margin-top:5px; }

.profile-strip, #referral-friend-options { --portrait-neon:url("folhas-neon.webp") center 60% / cover; }
.profile-strip .avatar, #profile-strip .avatar-shortcut:not(.has-story) .avatar,
#referral-friend-options .avatar { position:relative; padding:1px; background:#b635dd var(--portrait-neon); }
.profile-strip .avatar .portrait, #referral-friend-options .avatar .portrait { border:0; }
#profile-strip .my-profile span:not(.empty-story-avatar), #profile-strip .my-profile.has-story span { outline:0; border:0; }
#profile-strip .my-profile span:not(.empty-story-avatar)::after,
#profile-strip .has-story .avatar::after, #profile-strip .my-profile.has-story span::after {
  content:""; pointer-events:none; position:absolute; inset:0; border-radius:50%; padding:1px;
  background:#b635dd var(--portrait-neon);
  -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor; mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite:exclude;
}
#profile-strip .has-story .avatar::after, #profile-strip .my-profile.has-story span::after {
  background:conic-gradient(#e942bb,#7a29bc 35%,#ff9f48 60%,#fff0cf 70%,#e942bb 90%);
  animation:story-ring-turn 3s linear infinite;
}
@keyframes story-ring-turn { to { transform:rotate(1turn) } }
@media (prefers-reduced-motion:reduce) {
  #profile-strip .has-story .avatar::after, #profile-strip .my-profile.has-story span::after { animation:none; }
}
.caption h2:not(.is-online)::before { background:#919498 }
#live-dj.live-dj, .club-theme:not(.entry-open) .top #live-dj { color:#ef3449; font-weight:400; }

#notification-list .new-notice-dot { display:block; width:6px; height:6px; border-radius:50%; background:#ff3348; flex:none; margin-inline-start:auto; }
#notification-list .referral-notice > .new-notice-dot { float:right; margin:3px; }

#email-fields:not([hidden]) { display:grid; row-gap:4px }
#email-fields { min-width:0; padding:0; margin:0; border:0 }
#email-login:has(#email-fields:not([hidden])) { row-gap:4px }
#email-fields input { box-sizing:border-box; height:34px; min-height:34px; padding-block:4px; margin-block:0 }
#email-fields label { margin-block:0 }
#email-fields #login-submit { min-height:34px; padding-block:4px; margin-block:0 }
#email-login #google-login:not([hidden]) { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:40px; color:#1f1f1f; background:#fff; border:1px solid #747775; font:500 14px/20px Arial,sans-serif }
#email-login #email-choice, #email-login #google-login:not([hidden]) { box-sizing:border-box; width:100%; height:40px; min-height:40px; padding-block:0; align-self:center }
#email-login .small a[href="/privacidade"], #email-login .small a[href="/termos"] { color:#929292; text-decoration:none; }

.brand-area:has(#wall-clock:not([hidden])) { grid-template-columns:auto minmax(0,1fr); align-items:center; column-gap:5px }
.brand-area #live-dj { grid-column:1/-1 }
#wall-clock:not([hidden]) { display:block; max-width:13em; border-radius:8px; padding:4px 6px; background:#9e1533; color:white; font-size:10px; line-height:1.15 }
#wall-time { font-variant-numeric:tabular-nums; white-space:nowrap }
#wall-clock-form { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin:8px 0 }
#wall-minutes { width:5em }
#wall-clock-state { width:100% }
.brand-area #live-dj:not([hidden]) { align-self:start; margin-top:-3px; min-height:0; line-height:1.2; padding-block:0 2px; }

#install-invite:not([hidden]) { display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; padding:6px 10px; margin-block:4px; border:1px solid var(--border); border-radius:10px; font-size:var(--app-detail) }
#install-copy { flex:1 1 150px }
#install-invite button { padding:4px 6px; font-size:inherit }


#crop-dialog { transform:none; background:var(--panel,#fff); color:inherit; max-height:90dvh; overflow:auto }
#crop-dialog form { gap:7px }
#crop-dialog h2,#crop-dialog p { margin:0 }
#crop-preview { width:min(100%,48dvh); height:auto; justify-self:center; border-radius:10px; background:#171717; touch-action:none; cursor:grab }
#crop-zoom { width:100%; padding:0 }
.crop-actions { display:flex; justify-content:flex-end; gap:6px }

.club-theme #profile-detail :is(.profile-quick svg,.interest-icon,#copy-drink-pix svg,#profile-back,#profile-settings,#profile-add),
.club-theme #profile .interest-icon,
.club-theme #profile-detail .profile-actions .quiet:not([aria-pressed="true"]) svg { color:#fff }

/* Perfil: retrato em primeiro plano sobre as folhagens da casa. */
#profile-detail { --profile-line:#e6dce3; --profile-surface:#fcfafb; --profile-accent:#ba2358 }
.club-theme #profile-detail { --profile-line:#38353b; --profile-surface:#1d1d21; --profile-accent:#f47da7 }
#profile-detail .profile-hero {
  grid-template-columns:clamp(100px,32vw,155px) minmax(0,1fr);
  gap:clamp(12px,3vw,20px); padding:clamp(10px,2.8vw,16px);
  color:#fff; border:1px solid #48333f; border-radius:16px;
  background:linear-gradient(105deg,rgba(21,8,25,.26),rgba(22,14,23,.93) 53%,#19151d 95%),url("folhas-neon.webp") center 52% / cover;
}
#profile-detail .profile-hero-photo { border-radius:11px; box-shadow:0 0 0 1px #ffffff65,0 3px 10px #0006 }
#profile-detail .profile-identity h1 { font-size:clamp(17px,4.4vw,21px); line-height:1.15 }
#profile-detail .profile-identity p { color:#f0e9ef }
#profile-detail .profile-hero :is(#profile-edit,#profile-add,#copy-drink-pix) { color:white; background:#28222b; border-color:#73626e }
#profile-detail .profile-quick { padding:8px 0; gap:5px }
#profile-detail .profile-quick button { background:var(--profile-surface); border-color:var(--profile-line); border-radius:10px }
#profile-detail .profile-content { border-top:0; padding-top:0 }
.profile-intro-card { padding:10px 12px; margin-bottom:12px; background:var(--profile-surface); border:1px solid var(--profile-line); border-radius:12px }
#profile-detail .profile-content h2 { display:flex; align-items:center; gap:7px; margin-bottom:7px }
#profile-detail .profile-content h2::before { content:""; width:3px; height:1em; border-radius:2px; background:var(--profile-accent) }
.profile-intro-card > :last-child,.profile-intro-card #profile-interests { margin-bottom:0 }
#profile-detail .profile-gallery { gap:5px }
#profile-detail .gallery-photo { border-radius:9px; border-width:1px }
#profile-detail .gallery-photo[aria-pressed="true"] { outline:2px solid var(--profile-accent); outline-offset:-3px; box-shadow:none }

#profile-detail .profile-hero #copy-drink-pix { position:relative; border:0; background:transparent; box-shadow:none }
#copy-drink-pix::before { content:""; position:absolute; inset:3px; border:1px solid #73626e; border-radius:4px; background:#28222b; pointer-events:none }
#copy-drink-pix svg { position:relative }

#profile-detail .profile-hero.has-cover-photo { display:block; padding:0; overflow:hidden }
#profile-detail .has-cover-photo .profile-hero-photo { display:block; width:100%; height:auto; aspect-ratio:1; max-height:440px; border:0; border-radius:0; box-shadow:none }
#profile-detail .has-cover-photo .profile-identity { position:relative; padding:10px 14px 12px }
#profile-detail .has-cover-photo .profile-identity h1 { font-size:clamp(19px,5vw,24px) }
#profile-detail .has-cover-photo #profile-add { right:10px; bottom:10px }


.venue-counts { margin-inline-start:auto; display:inline-flex; align-items:center; gap:10px; font-size:var(--app-detail); font-variant-numeric:tabular-nums }
.venue-status { display:inline-flex; align-items:center; gap:3px }
.venue-status::before { content:""; width:6px; height:6px; border-radius:50%; background:#919498 }
.venue-status.on::before { background:#27e847 }

#messages .chat-photo { display:block; max-width:min(52vw,240px); max-height:280px; width:auto; height:auto; border-radius:8px }

#camera-dialog { transform:none; max-height:90dvh; overflow:auto; background:var(--panel,#fff); color:inherit }
.camera-content { display:grid; gap:8px; padding:12px }
.camera-content h2,.camera-content p { margin:0 }
.camera-content p:empty { display:none }
.camera-content video,.camera-content img { width:100%; max-height:55dvh; object-fit:contain; background:#171717; border-radius:10px }
.camera-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px }
.camera-actions button { margin:0 }

#voice-dialog { transform:none; background:var(--panel,#fff); color:inherit }
#voice-preview { width:100% }
#messages audio { display:block; width:min(230px,55vw); max-width:100%; height:36px }

#inbox .inbox-tabs { --inbox-underline:inset 0 -3px var(--red) }
.club-theme #inbox .inbox-tabs { --inbox-underline:inset 0 -2px var(--mint) }
#inbox .inbox-tabs button.quiet[aria-pressed] { background:transparent; color:inherit; border:0; border-radius:0; box-shadow:none }
#inbox .inbox-tabs button.quiet[aria-pressed="true"] { box-shadow:var(--inbox-underline) }

#chat-menu { padding:0; overflow:hidden }
#chat-menu #block { display:block; box-sizing:border-box; width:100%; min-height:28px; padding:2px 10px; text-align:start; font-size:var(--app-text); line-height:1.2 }

.club-theme :is(#people,#matches) .card { box-shadow:0 0 0 1px #ffffff36,0 2px 6px #0003 }
.club-theme :is(#people,#matches) .card .profile-preview { filter:brightness(1.08) saturate(1.04) }
.club-theme :is(#people,#matches) .card .caption { padding-top:14px; background:linear-gradient(to bottom,transparent 0%,rgb(12 8 13 / 57%) 48%,rgb(12 8 13 / 84%) 100%) }
.club-theme :is(#people,#matches) .card .caption :is(h2,p) { text-shadow:0 1px 3px #000d }

#edit-goal-menu { border:1px solid var(--border); border-radius:8px; font-size:var(--app-text); overflow:hidden }
#edit-goal-menu summary,#edit-goal-options button { box-sizing:border-box; min-height:28px; padding:4px 9px; line-height:18px; cursor:pointer }
#edit-goal-options { border-top:1px solid var(--border) }
#edit-goal-options button { display:block; width:100%; border:0; border-radius:0; background:transparent; color:inherit; text-align:start; font:inherit }
#edit-goal-options button[aria-pressed="true"] { font-weight:700; box-shadow:inset 3px 0 currentColor }
#edit-goal-menu :focus-visible { outline:2px solid currentColor; outline-offset:-2px }

.top-menu-options .menu-contact { box-sizing:border-box; border:1px solid transparent; border-radius:10px; font-size:var(--app-text); text-decoration:none }

#cards,#match-list,#conversation-list,.discovery-tabs,#people-empty,#matches-empty,.inbox-tabs { touch-action:pan-y pinch-zoom }

.top-menu-options .menu-version { text-align:right; padding:2px 10px 4px; font-size:10px; line-height:1.2; color:var(--muted); }

/* Entrada clara: o neon aparece por trás de uma superfície clara. */
.entry-open:not(.club-theme) { color-scheme:light; background:#faf7fa; color:#251923 }
.entry-open:not(.club-theme) .top { background:#fff; border-color:#e5dce2 }
.entry-open:not(.club-theme) .brand { filter:none }
.entry-open:not(.club-theme) .top .quiet { color:#372334 }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-screen { background:#faf7fa }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-screen::before {
  background:linear-gradient(105deg,#fff8f9d9,#fff9fbc4 48%,#faf7faf5),url('neon-login.webp') center/cover no-repeat;
}
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .intro h1 { color:#261922 }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .intro p:last-child { color:#443441 }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .eyebrow { color:#802043; background:#ffffffbd; box-shadow:0 0 0 100vmax #ffffffbd }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-panel { color:#251923; background:#fff; border-color:#e0d4db; box-shadow:0 8px 24px #50203815 }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-panel :is(label,p) { color:#584650 }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-panel input { background:#fffafb; border-color:#c8b7c1; color:#291a24 }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-panel input::placeholder { color:#75636e }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-panel input:focus-visible { outline-color:#a51d4d }
:is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-panel .primary { background:#a31849; color:#fff }
.entry-open:not(.club-theme) #login-resend { color:#67213c; background:#f7edf1 }
.entry-open:not(.club-theme) #email-login .small a { color:#695d65 }
@media(max-width:670px) {
  :is(.entry-open,body:has(:is(#info,#mural):not([hidden]))):not(.club-theme) .entry-screen::before { background:linear-gradient(180deg,#fff8f9bf,#fff8f9df 220px,#faf7fa 475px),url('neon-login.webp') center/cover no-repeat }
}

.relationship-badge { position:absolute; z-index:1; top:7px; left:7px; padding:3px 6px; border-radius:12px; background:rgba(0,0,0,.72); color:white; font-size:10px; line-height:1.2; font-weight:500; pointer-events:none }
.card .commitment-ring { top:auto; left:auto; bottom:calc(12px + var(--card-heart-size)); right:calc(7px + var(--card-heart-size) / 2); transform:translateX(50%); padding:3px; border-radius:50% }
.commitment-ring svg { display:block; width:24px; height:20px }

.chat-venue:has(#chat-rosh) { flex-wrap:wrap; justify-content:flex-start }
#chat-rosh { margin-left:auto; white-space:normal }
#rosh-form { display:flex; flex-wrap:wrap; align-items:center; gap:6px; padding:5px }
#rosh-form input { width:8ch; flex:0 1 12ch; min-width:0; box-sizing:border-box; height:21px; min-height:0; padding:1px 6px; line-height:1.2 }
#rosh-form button { margin:0; min-height:28px; padding:3px 9px; font-size:var(--app-text) }

#wall-display[open]{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;background:#101014 url('/folhas-neon.webp') center/cover;color:white;display:grid;place-items:center}#wall-caption{background:#08080ccf;padding:4vw;width:100%;text-align:center;font-size:clamp(28px,6vw,110px);overflow-wrap:anywhere}#wall-screen-close{position:absolute;top:12px;right:12px}#wall-form label{display:grid;gap:3px}#wall-form{display:grid;gap:7px;margin:0}#wall-preview,#wall-list p{overflow-wrap:anywhere}#wall-list article{padding:8px 0;border-bottom:1px solid var(--border)}#wall-list button{margin:2px;font-size:var(--app-detail)}

.brand-area:has(#wall-clock:not([hidden])) { --clock-logo-width:clamp(93.96px,26.73vw,140.94px); position:relative; align-self:stretch; align-content:center; grid-template-columns:auto minmax(0,1fr); column-gap:0; align-items:center }
.brand-area:has(#wall-clock:not([hidden])) .brand { width:clamp(93.96px,26.73vw,140.94px); height:clamp(24.3px,6.48vw,34.83px); transform:none }
#wall-clock:not([hidden]) { position:absolute; inset-inline:var(--clock-logo-width) 0; top:50%; transform:translateY(-50%); width:max-content; margin-inline:auto; display:grid; justify-items:center; gap:1px; text-align:center; white-space:nowrap }

#wall-announcement[open] { position:fixed; inset:0; margin:auto; width:min(88vw,340px); height:fit-content; text-align:center; }
#wall-announcement .panel { margin:0; }
#wall-announcement p { line-height:1.45; }

#wall-status:empty { display:none }
#wall-emojis summary { cursor:pointer; font-size:var(--app-text) }
#wall-emoji-list { max-height:145px; overflow:auto }
#wall-emoji-list .emoji-library-grid { display:grid;grid-template-columns:repeat(auto-fill,minmax(32px,1fr)) }
#wall-emoji-list .emoji-glyph { background:transparent;border:0;padding:2px;font:20px 'Xtreme Emoji','Apple Color Emoji','Segoe UI Emoji',sans-serif }

#notice.wall-closed-notice, #wall-status { text-align:center }

#wall-clock:has(#wall-active-line:not([hidden])) { max-width:calc(100% - var(--clock-logo-width)); box-sizing:border-box; white-space:normal; text-wrap:balance }

main:has(:is(#info,#mural):not([hidden])) { max-width:none; padding:0 0 calc(64px + env(safe-area-inset-bottom)) }
:is(#info,#mural) .entry-panel p { margin:0 0 12px;line-height:1.5 }
:is(#info,#mural) .entry-panel p:last-child { margin:0 }
:is(#info,#mural) .intro p:last-child { line-height:1.55 }

#cardapio {
  --menu-line:#e5dfe3; --menu-panel:#fff; --menu-ink:#211c20; --menu-soft:#645b61;
  --menu-accent:#99254e; --menu-wash:#faf4f6;
  color:var(--menu-ink); padding-block:4px 20px; font-family:var(--app-font);
}
.club-theme #cardapio {
  --menu-line:#343a38; --menu-panel:#1b1f1e; --menu-ink:#f4f7f5; --menu-soft:#c1cbc6;
  --menu-accent:var(--mint,#9cf2ce); --menu-wash:#242c28;
}
#cardapio .menu-cover {
  display:flex; align-items:flex-end; min-height:clamp(92px,19vw,138px);
  padding:clamp(16px,4vw,26px); border-radius:16px; overflow:hidden;
  background:linear-gradient(90deg,#160e1bef 0%,#190f26bc 38%,#190f2620 85%),url('/neon-login.webp') center 48%/cover;
}
#cardapio .menu-cover h1 { margin:0; color:white; font:700 clamp(24px,5vw,34px)/1.1 var(--app-font); letter-spacing:-.045em; text-transform:none }
#cardapio .menu-categories {
  display:flex; gap:18px; overflow-x:auto; overscroll-behavior-x:contain;
  margin:4px 0 16px; border-bottom:1px solid var(--menu-line); scrollbar-width:thin; scrollbar-color:var(--menu-line) transparent;
}
#cardapio .menu-categories button {
  flex:none; min-height:40px; padding:0 2px; border:0; border-bottom:2px solid transparent;
  border-radius:0; background:transparent; color:var(--menu-soft); font:550 .82rem/1.2 var(--app-font);
}
#cardapio .menu-categories button[aria-pressed="true"] { color:var(--menu-accent); border-bottom-color:currentColor }
#cardapio .menu-categories button:focus-visible { outline-offset:-3px }
#cardapio .menu-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:18px 0 10px }
#cardapio h2 { color:var(--menu-ink); font:700 var(--app-title)/1.2 var(--app-font); letter-spacing:-.025em; margin:0 }
#cardapio .menu-count { color:var(--menu-soft); font-size:.75rem; white-space:nowrap }
#cardapio h3 { margin:16px 0 8px; display:flex; align-items:center; gap:10px; color:var(--menu-soft); font:650 .8rem/1.35 var(--app-font) }
#cardapio h3::after { content:""; height:1px; flex:1; background:var(--menu-line) }
#cardapio .menu-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px }
@media(min-width:600px) { #cardapio .menu-group { grid-template-columns:repeat(3,minmax(0,1fr)) } }
#cardapio .menu-product { min-width:0; overflow:hidden; border-radius:15px; border:1px solid var(--menu-line); background:var(--menu-panel); color:var(--menu-ink); box-shadow:0 3px 10px #0001 }
#cardapio .menu-photo { width:100%; aspect-ratio:1.3; overflow:hidden; background:var(--menu-wash) }
#cardapio .menu-photo:empty { display:none }
#cardapio .menu-photo img { display:block; width:100%; height:100%; object-fit:cover }
#cardapio .menu-cocktails .menu-photo { aspect-ratio:1.18 }
#cardapio .menu-cocktails .menu-photo img { object-position:center top }
#cardapio .menu-photo-soft { position:relative; background:#fff }
#cardapio .menu-photo-soft img { object-fit:contain; padding-block:4%; box-sizing:border-box }
#cardapio .menu-photo-soft.menu-photo-measured img {
  position:absolute; left:50%; top:var(--photo-top); width:auto; height:var(--photo-height);
  max-width:none; max-height:none; aspect-ratio:1; padding:0; transform:translateX(var(--photo-center)); object-fit:contain;
}
#cardapio .menu-photo-slice img { transform:scale(2.15); transform-origin:17% 37% }
#cardapio .menu-product > div:not(.menu-photo) { padding:10px 12px 12px; min-width:0; overflow-wrap:anywhere }
#cardapio h4 { font:650 .9rem/1.3 var(--app-font); margin:1px 0 0; letter-spacing:-.015em; color:var(--menu-ink) }
#cardapio .menu-product p, #cardapio .menu-product small { display:block; margin:4px 0 0; font:.78rem/1.4 var(--app-font); color:var(--menu-soft); white-space:pre-line }
#cardapio .menu-price { margin-top:7px; color:var(--menu-accent); font:650 .85rem/1.3 var(--app-font); font-variant-numeric:tabular-nums }
#cardapio .menu-price del { color:var(--menu-soft); font-size:.76rem; font-weight:400; margin-right:4px }
#cardapio .menu-options { margin-top:8px; border-radius:7px; padding:2px 8px; background:var(--menu-wash) }
#cardapio .menu-option { display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding:4px 0; color:var(--menu-soft); font-size:.77rem }
#cardapio .menu-option + .menu-option { border-top:1px solid var(--menu-line) }
#cardapio .menu-option strong { color:var(--menu-ink); white-space:nowrap; font-weight:600; font-variant-numeric:tabular-nums }
#cardapio [role="status"]:empty { display:none }
#cardapio .menu-original { display:inline-block; font-size:.75rem; color:var(--menu-soft); margin-top:18px }




#cardapio .menu-cover, #cardapio .menu-products { touch-action:pan-y pinch-zoom }
