:root {
  color-scheme: dark;
  --black: #080809;
  --panel: #101012;
  --panel-light: #151517;
  --line: #29272c;
  --text: #f5f2f4;
  --muted: #aaa2aa;
  --dim: #787078;
  --red: #ff4866;
  --red-hot: #eb2246;
  --green: #71efaa;
  --mono: ui-monospace, "Cascadia Code", "Consolas", monospace;
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --nav-height: 67px;
  --gutter: clamp(16px, 4vw, 45px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 300px; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--text); font-family: var(--sans); line-height: 1.55; }
::selection { color: #10080b; background: var(--red); }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .log:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h1, h2 { line-height: 1.03; }
h1 { font-size: clamp(2.25rem, 7.6vw, 4.5rem); font-weight: 880; letter-spacing: -.066em; text-wrap: balance; }
h2 { font-size: clamp(1.22rem, 3.2vw, 1.65rem); letter-spacing: -.045em; }
p { color: var(--muted); }
strong, b, .bold { font-weight: 800; }
code, .mono { font-family: var(--mono); }
.small { font-size: .78rem; }
.dim { color: var(--dim); }
.accent { color: var(--red); }
.error { color: #ff8ba0; font-weight: 750; }
main { position: relative; isolation: isolate; }
.viewport-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(#2b192229 1px, transparent 1px), linear-gradient(90deg, #2b192229 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(#0009, #0001 82%, transparent);
}
.topbar { position: relative; z-index: 2; border-bottom: 1px solid #2a1b22; background: #0b0a0bee; }
.bar-inner { max-width: 1312px; min-height: 66px; margin: auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; min-width: 0; gap: 10px; white-space: nowrap; font-size: clamp(.86rem, 2.6vw, 1.12rem); font-weight: 900; letter-spacing: -.035em; }
.brand img { flex: 0 0 auto; width: 34px; height: 34px; }
.brand b { color: var(--red); font-weight: 920; }
.brand small { display: none; color: var(--dim); font: 650 .7rem var(--mono); letter-spacing: .03em; }
.bar-actions { display: flex; align-items: center; gap: clamp(7px, 1.6vw, 15px); }
.network, .identity, .language { display: inline-flex; align-items: center; white-space: nowrap; gap: 6px; font: 750 .66rem var(--mono); letter-spacing: .04em; }
.network { color: #ffb791; }
.network .signal-dot { color: #ff9e71; width: 5px; height: 5px; }
.network-live { color: var(--green); }
.network-live .signal-dot { color: var(--green); }
.identity { border: 1px solid #673042; padding: 5px 8px; color: #ff91a4; background: #2b1119; }
.identity.large { font-size: 1.05rem; padding: 7px 14px; }
.language { background: #151317; border: 1px solid #342b33; padding: 8px; color: var(--text); }
.language svg { width: 16px; height: 16px; color: var(--muted); }
.language:hover { border-color: var(--red); }
.signal-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; color: var(--green); background: currentColor; box-shadow: 0 0 12px currentColor; }
.layout { width: min(100%, 1220px); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { color: var(--red); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 780 .72rem/1.55 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.cross { color: var(--green); font-size: .95rem; }
.index { color: var(--red); padding: 1px 6px; border: 1px solid #653040; background: #251017; }
.panel { border: 1px solid var(--line); background: var(--panel); }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; font-weight: 680; }
.quiet-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  padding: 13px 17px; min-height: 47px; border: 1px solid transparent;
  font: 900 .76rem/1.25 var(--mono); letter-spacing: .04em; text-align: center;
  transition: border-color .18s, background .18s, color .18s, box-shadow .18s;
}
.button svg { flex: 0 0 auto; width: 17px; height: 17px; }
.primary { color: #10070b; background: #ff4966; border-color: #ff6c83; box-shadow: 0 0 25px #ff244b28; }
.primary:hover { background: #ff778c; box-shadow: 0 0 29px #ff244b50; }
.secondary { background: #18151a; border-color: #3f343f; color: var(--text); }
.secondary:hover { border-color: var(--red); }
.compact { min-height: 40px; padding: 8px 11px; }
.full { width: 100%; }
.icon-button { display: inline-grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--panel-light); color: var(--muted); }
.icon-button:hover { color: var(--red); border-color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.actions.centered { justify-content: center; }
.loading { min-height: 40vh; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; font: 750 .8rem var(--mono); letter-spacing: .1em; }
.gate { display: grid; padding-top: clamp(27px, 8vw, 100px); align-items: center; position: relative; }
.gate-copy { z-index: 1; }
.hero-title { margin: 13px 0 12px; font-size: clamp(3.5rem, 14.5vw, 8.45rem); line-height: .9; letter-spacing: -.085em; }
.hero-title strong { display: block; color: var(--red); text-shadow: 0 0 36px #f320563a; font-weight: 920; }
.hero-lead { font-size: clamp(.98rem, 2.2vw, 1.15rem); max-width: 29rem; }
.lock-panel { display: flex; align-items: center; gap: 13px; max-width: 410px; margin-top: 23px; padding: 14px; border-color: #452834; background: linear-gradient(125deg, #1b1016, #0c0c0e 76%); }
.lock-symbol { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; color: var(--red); background: #35131d; border: 1px solid #672437; }
.lock-panel .mono { color: var(--dim); font-weight: 750; font-size: .65rem; letter-spacing: .08em; }
.lock-panel h2 { margin: 3px 0 4px; font-size: 1.15rem; }
.lock-panel p { font-size: .83rem; }
.restore-link { margin-top: 16px; }
.restore-link svg { width: 15px; height: 15px; }
.art { position: relative; text-align: center; overflow: hidden; display: grid; justify-items: center; min-width: 0; }
.art img { position: relative; display: block; width: min(100%, 580px); height: auto; opacity: .94; animation: mask-arrive .8s ease both; }
.matrix { position: absolute; inset: 0; color: #fe4f6b38; font: 750 .67rem/1.5 var(--mono); display: flex; justify-content: space-around; pointer-events: none; mask-image: linear-gradient(transparent, black 25%, black 75%, transparent); }
.matrix i { writing-mode: vertical-rl; text-orientation: upright; font-style: normal; letter-spacing: .2em; animation: drift 8s linear infinite; }
.matrix i:nth-child(2) { animation-delay: -4s; }.matrix i:nth-child(3) { animation-delay: -2s; }.matrix i:nth-child(4) { animation-delay: -6s; }
.art-status { position: relative; color: var(--red); display: inline-flex; align-items: center; gap: 9px; margin: -10px 0 4px; padding: 6px 10px; background: #100a0d; border: 1px solid #47202c; font: 750 .62rem var(--mono); letter-spacing: .1em; }
.art-status .signal-dot { color: var(--red); width: 5px; height: 5px; }
.art-status span:last-child { color: var(--dim); }
@keyframes drift { from { transform: translateY(-36%); opacity: .25; } 35%, 72% { opacity: 1; } to { transform: translateY(120%); opacity: .2; } }
@keyframes mask-arrive { from { opacity: 0; transform: scale(.97); } 70% { opacity: .85; } to { opacity: .94; transform: scale(1); } }
.footer { margin: 35px auto 0; padding: 18px var(--gutter); width: min(100%, 1220px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; border-top: 1px solid #242025; color: var(--dim); }
.footer > span { font: 750 .68rem var(--mono); letter-spacing: .08em; align-self: center; }
.footer > div { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.footer a { font-size: .76rem; }
.page-lead { margin-bottom: clamp(17px, 3vw, 28px); }
.page-lead h1 { margin-top: 8px; }
.page-lead p:last-child:not(:first-child) { margin-top: 12px; max-width: 44rem; }
.access-layout { display: grid; gap: clamp(20px, 4vw, 58px); align-items: start; padding-top: clamp(26px, 6vw, 68px); }
.access-art { display: none; text-align: center; }
.access-art img { width: 100%; height: auto; max-width: 550px; }
.access-art p { font-size: .72rem; letter-spacing: .18em; }
.checkout-panel, .form-card, .earnings-panel, .ledger, .recovery-panel, .policy-panel { padding: clamp(15px, 3vw, 27px); }
.checkout-panel { border-top-color: #8f3249; background: linear-gradient(155deg, #1c0f16, #101012 55%); }
.checkout-benefits { display: grid; gap: 8px; padding: 0; margin: 0 0 13px; list-style: none; }
.checkout-benefits li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border: 1px solid #3a2833; background: #141017; }
.checkout-benefits svg { color: var(--red); flex: 0 0 20px; margin-top: 2px; }
.checkout-benefits strong { display: block; color: var(--text); }
.checkout-benefits p, .quote-outcome { font-size: .88rem; }
.checkout-panel > .eyebrow:has(+ .amount) { margin-bottom: 8px; }
.quote-outcome { margin-top: 8px; color: #e4d7df; }
.checkout-destination { color: #d9bdc8; }
.checkout-destination + .code-line { margin-top: 6px; }
.accept { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0 17px; font-weight: 680; color: #d3cbd2; cursor: pointer; }
.accept input { margin: 4px 0 0; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--red); }
.amount { font: 900 clamp(2.6rem, 9vw, 4.2rem)/1 var(--mono); color: var(--text); letter-spacing: -.075em; overflow-wrap: anywhere; }
.amount span { color: var(--green); font-size: .45em; letter-spacing: -.035em; }
.countdown { margin: 9px 0 13px; }
.countdown b { color: var(--red); }
.pay-qr { display: grid; justify-content: center; margin-block: 18px; }
.pay-qr img { display: block; border: 1px solid #fef1f5; background: white; }
.notice { padding: 12px 14px; border: 1px solid #592330; border-inline-start: 3px solid var(--red); background: #201016; }
.notice > div { display: flex; align-items: center; gap: 7px; color: #ff91a5; font: 850 .76rem/1.35 var(--mono); letter-spacing: .045em; }
.notice svg { flex: 0 0 auto; width: 17px; height: 17px; }
.notice p { margin-top: 6px; font-size: .88rem; color: #e1c4cf; font-weight: 700; }
.notice.muted { margin-bottom: 15px; border-color: #3a312f; background: #211817; }
.notice.muted p { margin: 0; }
.verify { color: #d9bdc8; display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.verify .signal-dot { color: var(--red); width: 6px; height: 6px; }
.code-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-block: 13px; border: 1px solid #372a34; background: #0a090b; }
.code-line code { min-width: 0; overflow-wrap: anywhere; padding: 9px; font-size: .76rem; color: #ecc4cf; user-select: all; }
.success { max-width: 790px; padding-top: clamp(24px, 6vw, 60px); text-align: center; }
.success-plate { background: radial-gradient(ellipse at center 19%, #4c1324aa, transparent 72%), #0e0b0e; border: 1px solid #532231; padding: clamp(20px, 6vw, 45px) clamp(12px, 4vw, 28px); margin-bottom: 18px; position: relative; }
.success-icon { margin: 0 auto 14px; display: grid; place-items: center; width: 55px; height: 55px; border: 1px solid #a63e56; background: #3f1524; color: var(--red); box-shadow: 0 0 36px #fd23494d; }
.success-icon svg { width: 32px; height: 32px; }
.success-plate .eyebrow { justify-content: center; }
.success h1 { margin: 10px 0; color: var(--red); font-size: clamp(2.65rem, 10vw, 6rem); letter-spacing: -.075em; text-shadow: 0 0 40px #ff2d5e75; animation: granted .65s ease both; }
.success .identity { margin-block: 10px; }
.success-status { color: var(--text); font-weight: 750; }
.recovery-panel { text-align: start; margin-bottom: 17px; }
.recovery-panel h2 { color: var(--red); margin-bottom: 8px; }
@keyframes granted { 0% { opacity: 0; transform: scale(.94); } 54% { opacity: .7; text-shadow: 3px 0 #ff91a5, -4px 0 #801e49; } 100% { opacity: 1; transform: scale(1); } }
.narrow { max-width: 660px; padding-top: 40px; }
.form-card { display: grid; align-content: start; gap: 9px; }
label { font-weight: 730; }
input:not([type=checkbox]), select, textarea {
  min-height: 44px; width: 100%; max-width: 100%; padding: 10px 12px;
  border: 1px solid #3b313a; background: #0a090b; color: var(--text); border-radius: 0; font-size: 1rem;
}
textarea { min-height: 95px; resize: vertical; }
.form-card label:not(:first-child) { margin-top: 6px; }
.form-card .button { margin-top: 10px; justify-self: start; }
.member-view { padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom)); }
.navigation { position: fixed; z-index: 5; bottom: 0; inset-inline: 0; background: #0e0c0ff2; border-top: 1px solid #3d2631; padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(10px); }
.chat-view {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  block-size: var(--chat-viewport, 100dvh);
  padding-bottom: 0;
  overflow: hidden;
}
.chat-view main { min-block-size: 0; overflow: auto; overscroll-behavior: contain; }
.chat-view .navigation { position: static; }
.chat-keyboard .navigation { display: none; }
.nav-inner { margin: auto; width: min(100%, 680px); display: grid; grid-template-columns: repeat(3, 1fr); }
.nav-inner a { min-height: var(--nav-height); border-top: 2px solid transparent; color: #b3a7b0; display: grid; place-content: center; justify-items: center; gap: 4px; font: 800 .7rem/1.35 var(--mono); }
.nav-inner a[aria-current] { border-top-color: var(--red); background: linear-gradient(#35141e99, transparent); color: #ff7690; }
.nav-inner a:hover { color: var(--text); }
.member-layout, .chat-layout, .policy { padding-top: clamp(22px, 4vw, 48px); }
.chat-layout {
  max-width: 1130px;
  min-block-size: 100%;
  padding-bottom: 8px;
  display: grid;
  grid-template-rows: auto auto minmax(230px, 1fr);
}
.chat-keyboard .chat-layout { grid-template-rows: auto auto minmax(165px, 1fr); }
.chat-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.chat-heading .page-lead { margin-bottom: 0; }
.chat-heading h1 { text-transform: uppercase; }
.presence { display: flex; flex: 0 0 auto; gap: 6px; align-items: center; color: var(--green); font: 790 .68rem var(--mono); padding: 7px 9px; border: 1px solid #254638; background: #102018; }
.presence strong { font-size: .82rem; }
.chat-notice { margin-bottom: 10px; }
.chat-panel { display: grid; grid-template-rows: auto auto minmax(55px, 1fr) auto auto; }
.searchbar { display: grid; grid-template-columns: minmax(90px, 1fr) auto auto auto auto; align-items: center; gap: 6px; padding: 8px; border-bottom: 1px solid var(--line); }
.search-field { display: flex; align-items: center; position: relative; min-width: 0; }
.search-field svg { color: var(--dim); position: absolute; inset-inline-start: 8px; width: 16px; pointer-events: none; }
.search-field input { padding-inline-start: 29px; }
.searchbar input, .searchbar select { min-height: 40px; font-size: .94rem; }
.searchbar select { width: auto; max-width: 108px; padding: 7px 4px; }
.searchbar input[type=date] { width: auto; }
.searchbar .icon-button { width: 37px; height: 40px; }
.chat-status { display: flex; justify-content: space-between; gap: 4px; padding: 6px 10px; border-bottom: 1px solid #211e24; color: var(--dim); background: #0c0b0e; font: 750 .62rem/1.35 var(--mono); letter-spacing: .04em; }
#connection { display: inline-flex; align-items: center; gap: 5px; color: var(--green); }
#connection .signal-dot { width: 5px; height: 5px; }
.log { overflow: auto; overscroll-behavior: contain; scrollbar-color: #4b303b #121014; min-height: 0; }
.chat-message { padding: 8px 12px 10px; border-bottom: 1px solid #242027; }
.chat-message:hover { background: #151217; }
.chat-meta { display: flex; align-items: center; gap: 9px; min-height: 28px; color: var(--dim); font: 650 .7rem var(--mono); }
.x-label { background: #281018; color: #ff8298; padding: 3px 6px; border: 1px solid #583043; }
.report-button { margin-inline-start: auto; width: 34px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; color: #9b8c98; }
.report-button svg { width: 15px; height: 15px; }
.report-button:hover { color: var(--red); }
.message-body { color: #ebe4ea; overflow-wrap: anywhere; white-space: pre-wrap; padding-top: 3px; }
.load-more { margin: 10px auto; display: block; border: 1px solid #3e303b; background: #19141a; padding: 8px 14px; font: 760 .72rem var(--mono); }
.load-more:hover { border-color: var(--red); }
.chat-empty { margin: 18px 11px; font-size: .91rem; }
.composer { display: grid; grid-template-columns: 1fr auto; gap: 7px; padding: 8px; background: #120f13; border-top: 1px solid var(--line); }
.composer textarea { min-height: 47px; max-height: 120px; resize: none; }
.composer .button { padding-inline: 11px; }
.paused { padding: 8px 11px; color: var(--green); font-size: .78rem; border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 12px; }
.stat { border-top-color: #573040; padding: 13px 16px; min-width: 0; }
.stat .mono { color: #c2b1bf; font-size: .68rem; font-weight: 770; letter-spacing: .06em; }
.stat strong { display: block; color: var(--red); font: 900 clamp(1.65rem, 5.4vw, 2.6rem)/1.3 var(--mono); overflow-wrap: anywhere; }
.stat small, .ledger small { font-size: .64em; color: var(--green); }
.earnings-panel p { margin-top: 8px; }
.earnings-panel p:first-child { margin: 0; }
.invite-line { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.invite-line code { flex: 1 1 250px; min-width: 0; padding: 12px; border: 1px solid #3e2936; background: #0c0a0d; color: #eac5d0; font-size: .76rem; overflow-wrap: anywhere; user-select: all; }
.rule { display: flex; justify-content: space-between; gap: 8px; margin-top: 15px; font-size: .83rem; }
.rule b { color: var(--red); font-family: var(--mono); }
progress { display: block; width: 100%; height: 7px; accent-color: var(--red); margin-top: 7px; }
.ledger { margin-top: 12px; }
.ledger p + p { margin-top: 6px; }
.contact-grid { display: grid; gap: 12px; }
.payout-notice { padding: 16px; }
.payout-notice p { margin-top: 10px; }
.policy { max-width: 950px; }
.policy h1 { margin: 8px 0 17px; }
.policy-panel section + section { margin-top: 23px; }
.policy-panel h2 { margin-bottom: 7px; }
.policy-test { margin-bottom: 18px; color: #ffb791; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: max(19px, env(safe-area-inset-bottom)); transform: translate(-50%, 12px); width: max-content; max-width: calc(100vw - 25px); padding: 12px 16px; border: 1px solid #7a4055; background: #25121d; color: #ffe3ea; font-weight: 750; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.member-view .toast { bottom: calc(var(--nav-height) + 9px + env(safe-area-inset-bottom)); }
.chat-keyboard .toast { bottom: 9px; }
dialog { width: min(500px, calc(100% - 22px)); max-height: calc(100dvh - 30px); padding: 0; border: 1px solid #6d3149; color: var(--text); background: #151016; box-shadow: 0 8px 55px #000c; }
dialog::backdrop { background: #050307cc; backdrop-filter: blur(3px); }
.dialog-inner { padding: 22px; }
.dialog-inner h2 { margin: 5px 0 16px; }
.dialog-inner input, .dialog-inner textarea, .dialog-inner select { margin-top: 7px; }
.admin-layout { max-width: 1050px; padding-top: 30px; }
.admin-layout .panel { padding: 15px; margin-bottom: 11px; }
.admin-layout .panel h2 { margin-bottom: 12px; }
.admin-layout .form-card { max-width: 480px; }
.admin-layout details > summary { color: #dbafbf; cursor: pointer; font-weight: 760; }
.admin-layout details > form { margin-top: 14px; }
.admin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 13px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-row strong { color: var(--red); }
.admin-row .button { grid-column: 1 / -1; justify-self: start; }
.admin-error { margin-top: 8px; color: #ff9cad; }
@media (max-width: 430px) {
  .network { font-size: .58rem; }
  .brand img { width: 30px; height: 30px; }
  .brand { gap: 6px; }
  .searchbar:has(input[type=date]:not([hidden])) { grid-template-columns: minmax(80px, 1fr) auto auto; }
  .searchbar input[type=date]:not([hidden]) { grid-row: 2; grid-column: 1 / 3; }
  .searchbar #clear { grid-column: 3; grid-row: 2; justify-self: end; }
  .searchbar:has(input[type=date][hidden]) #clear { grid-row: auto; grid-column: auto; }
}
@media (min-width: 650px) {
  .brand small { display: inline; }
  .bar-inner { min-height: 73px; }
  .brand img { width: 39px; height: 39px; }
  .stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .searchbar { grid-template-columns: minmax(180px,1fr) auto auto auto auto; }
  .searchbar select { padding: 7px 10px; max-width: 160px; }
  .admin-row { grid-template-columns: .45fr .85fr 1.4fr 1fr auto; align-items: center; }
  .admin-row .button { grid-column: auto; }
}
@media (min-width: 810px) {
  .gate { grid-template-columns: .95fr 1fr; min-height: min(690px, 80vh); padding-bottom: 30px; }
  .access-layout { grid-template-columns: 1fr minmax(0, .92fr); }
  .access-art { display: block; }
  .art { margin-inline-start: -6%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
