/* Carbon & Blue: shared member and staff surfaces. */
:root{--ow-carbon:repeating-linear-gradient(135deg,#ffffff03 0 2px,transparent 2px 6px),repeating-linear-gradient(45deg,#0004 0 3px,transparent 3px 7px),#0b0d11;--ow-surface:linear-gradient(145deg,#202832,#11151c 65%,#0c1016);--ow-shadow:0 12px 28px #0005,inset 0 1px #ffffff08;--ow-blue:#168eff}
body{background:var(--ow-carbon);background-attachment:fixed}
.desktop{background:radial-gradient(ellipse at 95% 10%,#168eff15,transparent 45%),var(--ow-carbon)}
.app{background:var(--ow-carbon);border-color:#263342}
.app .top{background:linear-gradient(120deg,#121923ed,#080b10f5);border-bottom-color:#168eff38}
.app .content:not(:has(.login-shell)){background:linear-gradient(135deg,transparent 65%,#168eff24 65.2%,transparent 65.5%),var(--ow-carbon)}
.app .esports-page{background:transparent}
.app .panel,.app .plan,.app .stat,.app .access-person,.app .access-guest-box,.app .access-history-row,.app .empty,.app .list-menu{background:var(--ow-surface);border:0;box-shadow:var(--ow-shadow)}
.app .mix-pass,.app .member-planet-card,.app .access-qr-panel,.app .access-qr-panel.guest-panel{background:linear-gradient(100deg,#07111beb,#07111bb0 49%,#07111b35),url('/assets/member-planet-v1.webp') center 56%/cover;border:1px solid #2a7d9e;box-shadow:var(--ow-shadow);border-radius:17px}
.app .member-planet-card .card-meta div{background:#0a1017b5;border:0}
.app .mix-pass-tier,.app .access-person .chip{color:#a6ff35;background:#172821;border-color:#4e9e5a}
.app .access-tabs button{background:#171e28;border-color:#2a3544;color:#c5d2e3}
.app .access-tabs button.active{background:#112e4c;border-color:#168eff;color:#a2d8ff}
.app .btn:not(.logout):not(.secondary):not(.ghost),.app .access-guest-box .btn{background:linear-gradient(120deg,#169cff,#0065ec);color:#fff;box-shadow:0 5px 18px #007cff25}
.app .btn.secondary,.app .quick,.app .menu-item{background:linear-gradient(135deg,#1f2834,#141b25);border-color:#303d4e;color:#f1f6fc}
.app .input{background:#101720;border-color:#324154}
.app .bottom{background:linear-gradient(135deg,#111b28f5,#070e19fa);border-top:1px solid #168eff30;padding:7px 4px calc(7px + env(safe-area-inset-bottom));height:calc(82px + env(safe-area-inset-bottom));gap:2px}
.app .bottom button{color:#afc1dc;border-radius:14px;font-size:12px;line-height:1.2;min-width:0;gap:6px;padding:5px 0;white-space:nowrap}
.app .bottom .svg-icon{width:26px;height:26px;stroke-width:1.7}
.app .bottom button.active{color:#68f889;background:#10352e85}
.app .bottom button.active:after{display:none}
/* Staff working surfaces use the same materials, without decorative imagery. */
body:has(.desk-nav){--border:#2d3948;--panel:#171e28;--panel2:#111923}
body:has(.desk-nav)>header{background:linear-gradient(120deg,#141c27ed,#080b10f5);border-bottom:1px solid #168eff38}
.desk-nav{background:#0b111bee!important;border-bottom-color:#168eff35!important;gap:5px!important;padding:8px 4px 12px!important;border-radius:12px 12px 0 0}
.desk-nav button{background:#141d29!important;border:0!important;color:#bdcce1!important;border-radius:10px;box-shadow:inset 0 1px #ffffff06}
.desk-nav button.active{background:linear-gradient(120deg,#168eff,#0065ec)!important;color:white!important;box-shadow:0 4px 14px #007cff30}
.desk-pane .card,.desk-pane .session-tile,.desk-pane .desk-counts>div,.desk-pane .stat,.desk-pane .memberbox{background:var(--ow-surface)!important;border:0!important;box-shadow:var(--ow-shadow);border-radius:16px}
.desk-pane .arrivals,.desk-pane .departures{border-left:0!important;border-top:2px solid #168eff70!important}
.desk-pane .card{background:linear-gradient(135deg,transparent 94%,#168eff4a 94.2%,transparent 94.7%),var(--ow-surface)!important}
.desk-pane .scanline input,.desk-pane input,.desk-pane select{background:#101720;border-color:#324154}
.desk-pane .success,.desk-pane .primary,.desk-pane .warning{background:linear-gradient(120deg,#169cff,#0065ec)!important;color:white!important}
.desk-pane button:not(.danger):not(.success):not(.primary):not(.warning),#deskBack{background:linear-gradient(135deg,#233143,#141e2b);color:#bde0ff;border:1px solid #34465c}
.desk-pane .desk-counts strong{color:#80f657}
#digitalCard{background:linear-gradient(100deg,#07111beb,#07111bb0 49%,#07111b35),url('/assets/member-planet-v1.webp') center 56%/cover!important;border:1px solid #2a7d9e!important;box-shadow:var(--ow-shadow);-webkit-print-color-adjust:exact;print-color-adjust:exact}
.ow-messages{background:linear-gradient(135deg,#141d27,#0b111a);border:0;box-shadow:var(--ow-shadow)}
.ow-channels button{background:#182231;border-color:#2e3e52}
.ow-channels button.selected,.ow-chat-compose button{background:linear-gradient(120deg,#169cff,#0065ec);color:#fff;border-color:transparent}
.ow-chat-form textarea{background:#111b28;border-color:#32465d}
.ow-chat-refresh{background:#1c2b3d;border-color:#324b67;color:#bce1ff}
@media(max-width:350px){.app .bottom button{font-size:11px}.app .bottom .svg-icon{width:24px;height:24px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Premium Member Hub keeps the existing login visual and welcome headline. */
.login-shell .login-panel{background:linear-gradient(145deg,#202832,#10171f);border:0;border-radius:18px;box-shadow:0 16px 35px #0006,inset 0 1px #ffffff0c;padding:22px 18px}
.login-shell .login-panel .field{font-size:14px;letter-spacing:0;text-transform:none;color:#e2eaf3;margin:14px 0 8px}
.login-shell .login-panel .input{height:50px;background:#111923;border-color:#35465a;border-radius:10px;font-size:16px}
.login-shell .login-panel .password button{color:#61bdff;font-size:14px}
.login-shell .login-panel .btn{background:linear-gradient(120deg,#169cff,#0065ec);color:#fff;font-size:17px;box-shadow:0 5px 18px #007cff25}
.login-shell .login-links{flex-wrap:wrap;margin:13px 0 8px}
.login-shell .login-links button,.login-shell .login-panel>.link{color:#70c2ff;font-size:14px;min-height:44px}
.login-shell .login-panel .footnote{font-size:13px;color:#aab9c9}
.login-shell .login-staff-fine{font-size:14px;color:#b6c5d5;text-decoration:none}
.premium-profile{padding-top:16px}
.profile-dashboard .premium-profile-title{font-size:20px;margin:0 0 12px;font-weight:750;letter-spacing:0}
.premium-identity{display:grid;grid-template-columns:112px minmax(0,1fr);gap:15px;align-items:center;padding:18px 14px;background:var(--ow-surface);border-radius:16px;box-shadow:var(--ow-shadow);margin-bottom:16px}
.premium-photo-frame{position:relative;width:100%;aspect-ratio:240/164;border:3px solid #168eff;border-radius:13px;overflow:hidden;background:#1a2737;display:grid;place-items:center}
.premium-photo-frame>img{width:100%;height:100%;object-fit:cover}
.premium-photo-frame>.svg-icon{width:45px;height:45px;color:#b1c8e0}
.premium-photo-frame:before,.premium-photo-frame:after{content:'';position:absolute;width:22px;height:5px;background:#a6ff35;z-index:1;transform:rotate(-45deg);pointer-events:none}
.premium-photo-frame:before{left:-3px;top:9px}.premium-photo-frame:after{right:-3px;bottom:9px}
.premium-photo-edit{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;color:#65baff;font-size:14px;min-height:44px;cursor:pointer;overflow:hidden;border-radius:8px}
.premium-photo-edit .svg-icon{width:18px;height:18px;flex:none}
.premium-photo-edit input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.premium-photo-edit:focus-within{outline:2px solid #a6ff35;outline-offset:2px}
.premium-photo-edit:has(input:disabled){opacity:.55;cursor:wait}
.premium-photo-remove{border:0;background:transparent;color:#b4c2d2;font-size:12px;min-height:36px;padding:4px;width:100%}
.premium-person{min-width:0}.premium-person>strong{font-size:20px;line-height:1.25;display:block;overflow-wrap:anywhere}
.premium-person .chip{margin-top:9px;color:#cae1fa;background:#233851;border:0;border-radius:9px;font-size:12px}
.premium-person p{font-size:14px;line-height:1.4;margin:9px 0 0;color:#b5c6da}
.premium-id-link{display:flex;align-items:center;gap:13px;width:100%;padding:18px 14px;border:0;border-radius:14px;text-align:left;color:white;background:linear-gradient(120deg,#167eff,#0345ae);box-shadow:0 8px 20px #007cff20}
.premium-id-link>.svg-icon{width:36px;height:36px;flex:none;padding:5px;background:#ffffff12;border-radius:8px}
.premium-id-link span{min-width:0}.premium-id-link strong{display:block;font-size:17px;line-height:1.3}.premium-id-link small{display:block;font-size:13px;color:#cae3ff;margin-top:5px;line-height:1.4}
.premium-profile .profile-utilities{gap:9px;margin:14px 0}
.premium-profile .profile-utility{min-height:105px;align-items:flex-start;justify-content:flex-start;padding:14px 10px;background:var(--ow-surface);border:0;box-shadow:var(--ow-shadow);border-radius:13px;text-align:left;font-size:14px;line-height:1.4}
.premium-profile .profile-utility>.svg-icon{color:#32afff;width:25px;height:25px}
.premium-profile .profile-wide{margin-top:10px;background:var(--ow-surface);border:0;box-shadow:var(--ow-shadow);border-radius:13px;min-height:58px;font-size:16px}
.premium-profile .profile-wide>.svg-icon{color:#42b4ff}
.premium-profile .profile-wide.profile-logout{color:#ff7080;background:linear-gradient(135deg,#291923,#14151b)}
.premium-profile .profile-wide.profile-logout>.svg-icon{color:#ff7080}
@media(max-width:350px){.premium-identity{grid-template-columns:92px minmax(0,1fr);gap:10px;padding:14px 10px}.premium-person>strong{font-size:18px}.premium-profile .profile-utility{padding:12px 7px}.premium-id-link strong{font-size:16px}}
/* Selected B: deep charcoal carbon weave with blue corner accents. */
.login-shell .login-frame{background:#168dff;padding:1px;box-shadow:0 0 22px #007cff25;border-radius:19px}
.login-shell .login-panel{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(125deg,#ffffff03,transparent 45%,#007aff04),repeating-linear-gradient(135deg,#14191f 0 2px,#0c1117 2px 4px,#060a0f 4px 6px,#10161c 6px 8px);box-shadow:inset 0 1px #ffffff0c,0 16px 35px #0006}
.login-shell .login-panel:before,.login-shell .login-panel:after{content:'';position:absolute;width:105px;height:105px;pointer-events:none;z-index:-1;background:linear-gradient(135deg,transparent 46%,#087bea 48%,#51c9ff 49%,#087bea 50%,#05233e 53%,#101e30 68%,#1788ee 69%,#061a2c 71%,#0a1420 85%);opacity:.85}
.login-shell .login-panel:before{top:0;right:0;clip-path:polygon(0 0,100% 0,100% 100%)}
.login-shell .login-panel:after{bottom:0;left:0;transform:rotate(180deg);clip-path:polygon(0 0,100% 0,100% 100%)}
.login-shell .login-panel .input{background:#101923;box-shadow:inset 0 1px 3px #0004}
.login-shell .login-panel .btn{background:linear-gradient(120deg,#159cff,#0065ec)}

/* Globe artwork restored consistently across member identity surfaces. */
.app .premium-identity,.app .access-person,.app .premium-id-link{background:linear-gradient(100deg,#07111bef,#07111bb0 49%,#07111b45),url('/assets/member-planet-v1.webp') center 56%/cover;border:1px solid #2a7d9e}
/* Dark smoky-blue community glass lets the globe show through. */
.app .content:has(#communityRoot){background:#040b14}
.ow-community{box-sizing:border-box;padding:20px 16px;border:1px solid #295378;border-radius:20px;background:linear-gradient(100deg,#000000ad 0%,#00000080 48%,#00000059 100%),url('/assets/member-planet-v1.webp') center right/cover no-repeat #030c18;box-shadow:0 15px 35px #0005;overflow:hidden}
.ow-community>p,.ow-community .ow-chat-heading p{color:#bdcbdc}
.ow-community .ow-messages{background:linear-gradient(100deg,#00000040,#00000026);border:1px solid #395b743d;box-shadow:none;border-radius:16px}
.ow-community .ow-chat-message p{background:#00000080;color:#f5f8fc;border-radius:13px;padding:10px 12px;margin:7px 0;box-shadow:inset 0 1px #ffffff04}
.ow-community .ow-chat-message strong{color:#f5f8fc}
.ow-community .ow-chat-message time{color:#b1c2d4}
.ow-community .ow-chat-avatar{background:linear-gradient(135deg,#107fee,#153d9b);color:#fff;border-color:#4c96e280}
.ow-community .ow-team-badge{background:#a6ff35;color:#071109;font-weight:750;padding:3px 6px;border-radius:6px}
.ow-community .ow-chat-form textarea{background:#00000073;border-color:#5e6873;color:white}
.ow-community .ow-chat-form textarea::placeholder{color:#b4c1d2}
.ow-community .ow-channels button,.desk-pane .ow-community .ow-channels button{background:#00000066!important;border:1px solid #45607880!important;color:#d6e2ef!important;box-shadow:none}
.ow-community .ow-channels button.selected,.desk-pane .ow-community .ow-channels button.selected,.ow-community .ow-chat-compose button,.desk-pane .ow-community .ow-chat-compose button{background:linear-gradient(120deg,#159bff,#0065ec)!important;color:white!important;border-color:transparent!important}
.ow-community .ow-chat-refresh,.desk-pane .ow-community .ow-chat-refresh{background:#00000073!important;color:#c6e5ff!important;border:1px solid #47637c80!important}
.ow-community .ow-message-actions button,.desk-pane .ow-community .ow-message-actions button{background:transparent!important;color:#b7d7f0!important;border:0!important;box-shadow:none}
.ow-community .ow-chat-empty{color:#c8d7e5}
.ow-community .ow-chat-rules,.ow-community .ow-chat-hint{color:#b8c9da!important}
@media(max-width:350px){.ow-community{padding:16px 10px}.ow-community .ow-chat-message{gap:8px}.ow-community .ow-chat-message p{padding:8px 10px}}

/* Member-selected message colors, with readable preset shades. */
.ow-community .ow-chat-colors{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 16px}
.ow-community .ow-chat-colors label{font-size:14px;color:#c6d4e4;margin:0}
.ow-community .ow-chat-colors select{font:inherit;font-size:16px;min-height:44px;min-width:140px;padding:8px 34px 8px 12px;border:1px solid #486179;border-radius:10px;background:#102035;color:#f5f8fc}
.ow-community .ow-chat-colors select:focus-visible{outline:2px solid #81d6ff;outline-offset:3px}
.ow-community .ow-color-sample{font-size:22px;font-weight:700;color:#f5f8fc}

/* Silver carbon weave remains light enough for readable text on navy. */
.ow-carbon-text,.profile-carbon .premium-person>strong,.profile-carbon .profile-color-preview{color:#dce2e8!important;background:repeating-linear-gradient(135deg,#f5f8fc 0 1px,#bec8d3 1px 2px,#e6ebf0 2px 3px,#abb8c7 3px 4px);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.premium-profile .premium-person>strong{color:var(--profile-accent,#f5f8fc)}
.premium-profile .premium-photo-frame{border-color:var(--profile-accent,#22aeef)}
.premium-profile .premium-photo-frame:after{background:var(--profile-accent,#a6ff35)}
.profile-color-panel{padding:16px;border:1px solid #395b74;border-radius:14px;background:#102035ce;margin:14px 0}
.profile-color-panel label{display:block;color:#c6d4e4;font-size:14px;margin-bottom:8px}
.profile-color-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-color-row select{flex:1;min-width:145px;min-height:44px;background:#102035;color:white;border:1px solid #486179;border-radius:10px;padding:9px;font:inherit;font-size:16px}
.profile-color-row .btn{width:auto;margin:0;min-height:44px;padding:10px 16px}
.profile-color-panel small{font-size:13px;color:#b8c9da;line-height:1.5;display:block}
.profile-color-preview{color:var(--profile-accent,#f5f8fc);font-size:20px;font-weight:700;margin:12px 0;overflow-wrap:anywhere}

/* Membership globe on the staff Desk and Sessions pages. */
body:has(#paneDesk:not([hidden])),body:has(#paneSessions:not([hidden])){background:linear-gradient(100deg,#000000ad 0%,#00000080 48%,#00000059 100%),url('/assets/member-planet-v1.webp') center right/cover no-repeat #030810;min-height:100dvh;background-attachment:scroll}
#paneDesk .card,#paneDesk .memberbox,#paneDesk .stat,#paneSessions .session-tile,#paneSessions .desk-counts>div{background:#00000070!important;border:1px solid #50627455!important;box-shadow:0 10px 25px #0003}
#paneDesk .card.arrivals,#paneDesk .card.departures{border-top:2px solid #168eff70!important}
#paneDesk,#paneSessions{min-height:65dvh}

/* Transparent admin and member-list panels reveal the carbon weave. */
#paneAdmin .card,#paneMembers .card{background:linear-gradient(135deg,#161c244d,#080b114d)!important;box-shadow:0 12px 28px #0004,inset 0 1px #ffffff0c}
#paneAdmin input,#paneAdmin select,#paneAdmin textarea{background:#101720ed;color:#f5f8fc}

/* Clear only the outer digital membership card surround. */
#paneCard .card-preview-panel{background:transparent!important;box-shadow:none!important}

.ow-community .ow-bubble-sample{padding:9px 16px;border-radius:16px;background:#00000080;color:#f5f8fc;font-size:16px;box-shadow:inset 0 1px #ffffff12}

/* Message bubbles hug short replies and wrap within the message column. */
.ow-community .ow-chat-message-content>p{width:fit-content;max-width:100%;box-sizing:border-box;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}

/* Dark carbon letters retain a fine silver edge over dark artwork. */
.ow-carbon-black-text,.profile-carbon-black .premium-person>strong,.profile-carbon-black .profile-color-preview{color:#30363e!important;background:repeating-linear-gradient(135deg,#424a54 0 1px,#10141a 1px 2px,#30363e 2px 3px,#1b2028 3px 4px);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.35px #b6c1cd;text-shadow:0 1px 1px #ffffff35}
.profile-carbon-black .premium-photo-frame{box-shadow:0 0 0 1px #8c99a8}

/* Booking headings are display labels, not selectable form text. */
.esports-page .station-heading{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* A member's saved color themes profile and membership surfaces. */
.app .content.profile-page-theme{background:radial-gradient(ellipse at 90% 0,rgba(var(--profile-rgb),.18),transparent 65%),var(--ow-carbon)}
.profile-page-theme .premium-profile-title,.profile-page-theme .access-hub h1{color:var(--profile-accent)}
.app .profile-page-theme :is(.premium-identity,.premium-id-link,.access-person,.access-qr-panel){background:linear-gradient(100deg,rgba(var(--profile-rgb),.2),#06090dde 48%,#06090d35),url('/assets/member-planet-v1.webp') center 56%/cover;border-color:rgba(var(--profile-rgb),.65)}
.app .profile-page-theme :is(.profile-color-panel,.profile-utility,.profile-wide,.access-guest-box,.access-history-row){background:linear-gradient(135deg,rgba(var(--profile-rgb),.14),#080b11b8),var(--ow-carbon);border:1px solid rgba(var(--profile-rgb),.35)}
.app .profile-page-theme :is(.profile-color-row select,.access-tabs button){background:linear-gradient(135deg,rgba(var(--profile-rgb),.13),#0a1019);border-color:rgba(var(--profile-rgb),.4);color:#f5f8fc}
.app .profile-page-theme .access-tabs button.active{background:rgba(var(--profile-rgb),.22);border-color:var(--profile-accent);color:#f5f8fc}
.app .profile-page-theme .btn:not(.logout):not(.secondary):not(.ghost){background:linear-gradient(120deg,rgba(var(--profile-rgb),.32),#121922);border:1px solid var(--profile-accent);color:#fff;box-shadow:0 5px 18px rgba(var(--profile-rgb),.15)}
.app .profile-page-theme :is(.premium-person>strong,.access-person strong,.profile-color-preview){color:var(--profile-accent)}
.app .profile-page-theme .profile-logout{color:#ff647a;border-color:#ff647a45;background:#31091480}
.app .mix-pass{border-color:rgba(var(--profile-rgb,42,125,158),.65);background:linear-gradient(100deg,rgba(var(--profile-rgb,7,17,27),.2),#07111bc0 49%,#07111b35),url('/assets/member-planet-v1.webp') center 56%/cover}
.app .mix-pass-name{color:var(--profile-accent,#f5f8fc)}
.profile-carbon :is(.access-person strong,.mix-pass-name){background:repeating-linear-gradient(135deg,#f5f8fc 0 1px,#bec8d3 1px 2px,#e6ebf0 2px 3px,#abb8c7 3px 4px);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.profile-carbon-black :is(.access-person strong,.mix-pass-name){color:#dce2e8;background:repeating-linear-gradient(135deg,#424a54 0 1px,#10141a 1px 2px,#30363e 2px 3px,#1b2028 3px 4px);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:.35px #b6c1cd}
.app .profile-page-theme.profile-carbon-black :is(h1,.premium-profile-title){color:#dce2e8}
.app .profile-page-theme :is(.profile-utility,.profile-wide:not(.profile-logout),.premium-id-link)>.svg-icon{color:var(--profile-accent)}
.app .profile-page-theme.profile-carbon-black :is(.profile-utility,.profile-wide:not(.profile-logout),.premium-id-link)>.svg-icon{color:#b6c1cd}

/* Midnight Premium membership purchase page. */
.app .midnight-memberships{color:#f5f7fa}
.app .midnight-memberships .es-plan-title{font:800 clamp(28px,8vw,36px)/1.15 Arial,sans-serif!important;text-transform:none;font-style:normal;letter-spacing:-.035em;margin:0 0 7px;text-shadow:none}
.app .midnight-memberships .es-subtitle{font:400 16px/1.5 Arial,sans-serif;color:#bac2cb;margin:0 0 20px}
.midnight-memberships :is(.trial-pass-offer,.es-trial){max-width:none;border:1px solid #87919f80;border-radius:15px;background:linear-gradient(135deg,#20242bb8,#080b10e8),var(--ow-carbon);box-shadow:inset 0 1px #ffffff10,0 8px 20px #0003;margin:0 0 18px}
.midnight-memberships .trial-pass-content{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px;padding:16px}
.midnight-memberships .trial-pass-offer .trial-pass-title{font:800 16px/1.2 Arial,sans-serif!important;text-align:left;letter-spacing:.02em;text-shadow:none;margin:0!important}
.midnight-memberships .trial-pass-price{font:800 32px/1.1 Arial,sans-serif;text-align:left;margin:0;color:#a8ff38;text-shadow:none;grid-column:1}
.midnight-memberships .trial-pass-price:after{content:' · 5 hours';font:400 14px/1.4 Arial,sans-serif;color:#c5ced8}
.midnight-memberships .trial-pass-offer .trial-pass-cta{grid-column:2;grid-row:1/3;width:auto;max-width:150px;min-height:46px;padding:10px 14px;border-radius:9px;border:1px solid #b8ff60;background:linear-gradient(120deg,#b0fb48,#8bd63d);box-shadow:none;font:700 14px/1.3 Arial,sans-serif;color:#0b1705}
.midnight-trial-details{grid-column:1/-1;margin-top:6px;font-size:12px;color:#c4ccd7}
.midnight-trial-details summary{cursor:pointer;padding:6px 0;min-height:30px;display:list-item}
.midnight-trial-details .trial-pass-benefits{margin:10px 0 0;gap:8px}
.midnight-trial-details .trial-pass-benefits li{font-size:13px;gap:9px}
.midnight-trial-details .trial-pass-check{height:18px;flex-basis:18px;font-size:12px;border-width:1px;box-shadow:none}
.midnight-memberships .es-plan-tabs{border:1px solid #818e9b70;border-radius:11px;padding:5px;gap:4px;background:linear-gradient(135deg,#20252b,#090d13);margin:0 0 13px}
.midnight-memberships .es-plan-tabs button{border:0;border-radius:8px;background:transparent;color:#cbd2dc;font:700 13px/1.3 Arial,sans-serif;min-height:42px;padding:10px 6px;box-shadow:none}
.midnight-memberships .es-plan-tabs button.active{background:#a8f63a;color:#0a1305}
.midnight-memberships .es-plan-feature{position:relative;isolation:isolate;overflow:hidden;border:1px solid #a7afb880;border-radius:15px;padding:20px;background:linear-gradient(145deg,#20242bda,#090c12eb 65%),var(--ow-carbon);box-shadow:inset 0 1px #ffffff14,0 10px 25px #0004}
.midnight-memberships .es-plan-feature:before{content:'';position:absolute;z-index:-1;right:-18px;top:-28px;width:155px;height:155px;border-radius:50%;border:1px solid #50b3e140;background:linear-gradient(#0002,#0004),url('/assets/member-planet-v1.webp') right center/cover;opacity:.8;pointer-events:none}
.midnight-memberships .es-plan-feature:after{content:'';position:absolute;z-index:-1;right:0;bottom:0;width:140px;height:140px;background:linear-gradient(135deg,transparent 48%,#8997a545 48.4%,#111820 49%,transparent 51%);pointer-events:none}
.midnight-memberships .plan-mark{display:none}
.midnight-memberships .es-plan-feature .es-tag{background:#a8ff3812;color:#b7d68f;font:700 10px/1.3 Arial,sans-serif;padding:4px 7px;border:1px solid #a8ff382a;letter-spacing:.04em;max-width:65%}
.midnight-memberships .es-plan-feature h2{font:800 23px/1.2 Arial,sans-serif!important;font-style:normal;text-shadow:none;letter-spacing:0;margin:14px 0 5px}
.midnight-memberships .es-price{font:800 clamp(44px,13vw,58px)/1.1 Arial,sans-serif;color:#a8ff38;text-shadow:none;letter-spacing:-.04em;margin:0 0 22px}
.midnight-memberships .es-price small{font:400 16px/1.3 Arial,sans-serif;letter-spacing:0;color:#dde3ec;margin-left:5px}
.midnight-memberships .es-benefits{font:400 15px/1.55 Arial,sans-serif;color:#edf1f6;margin:0 0 22px;display:grid;gap:10px}
.midnight-memberships .es-benefits li{gap:10px}
.midnight-memberships .es-benefits li:before{display:grid;place-items:center;border:1px solid #a8ff38;border-radius:50%;height:18px;flex:0 0 18px;margin-top:2px;font-size:12px;line-height:1;color:#a8ff38}
.midnight-memberships .es-cta{display:block;width:100%;box-sizing:border-box;border:1px solid #53b5ff70;border-radius:9px;background:linear-gradient(120deg,#159cff,#0065ec);color:#fff;min-height:49px;padding:13px;font:700 15px/1.4 Arial,sans-serif;text-align:center;text-decoration:none;box-shadow:0 5px 14px #0065ec18}
.midnight-memberships .es-plan-comparison{border:1px solid #87919f70;border-radius:12px;margin:14px 0;background:#0a0e14}
.midnight-memberships .es-plan-comparison button{background:linear-gradient(135deg,#1d2229,#0b0f15);color:#dfe5ed;border-right-color:#87919f50;padding:13px 5px}
.midnight-memberships .es-plan-comparison button.active{background:#a8ff3810;box-shadow:inset 0 0 0 1px #a8ff3860}
.midnight-memberships .es-plan-comparison strong{font-size:19px;margin:5px 0}
.midnight-memberships .es-plan-comparison small{font-size:11px;color:#b4bfcd}
.midnight-memberships .footnote{margin:18px 0;color:#aeb7c4;font-size:12px;line-height:1.6}
.midnight-memberships .es-secondary{color:#c2d3e2;background:transparent;border:0;font-size:14px;padding:15px;text-align:center}

/* Bound sign-in to the available screen width, including embedded browsers. */
.desktop:has(.login-shell){grid-template-columns:minmax(0,1fr)}
.desktop:has(.login-shell)>div{width:100%;max-width:440px;min-width:0;justify-self:center}
.desktop:has(.login-shell) .app{width:100%;max-width:100%;min-width:0}
.app:has(.login-shell) .content{width:100%;min-width:0;overflow-x:hidden}
.login-shell{width:100%;min-width:0;box-sizing:border-box}
.login-shell :is(.login-headline,.login-frame,.login-panel,form,.password,.login-links){min-width:0;max-width:100%}
.login-headline h1,.login-headline p,.login-panel .footnote,.login-panel .link{overflow-wrap:anywhere}
.login-shell .login-links>button{min-width:0;white-space:normal;text-align:left}
.login-shell .input{min-width:0;max-width:100%;font-size:16px}
@media(max-width:600px){
 .desktop:has(.login-shell){width:100%;max-width:100%;padding:0}
 .desktop:has(.login-shell)>div{max-width:100%}
 .desktop:has(.login-shell) .app{border:0;border-radius:0}
 .login-shell .login-headline{margin-left:0;margin-right:0}
 .login-shell .login-headline h1{font-size:clamp(27px,7.5vw,38px)}
 .login-shell .login-panel{padding:20px 16px}
}

/* Desktop workspace; phone styles remain below the breakpoint. */
@media(min-width:900px){
 .desktop{padding:24px;display:grid;grid-template-columns:minmax(0,1fr);align-items:center}
 .desktop>div,.desktop:has(.login-shell)>div{width:100%;max-width:1200px;justify-self:center}
 .desktop .app{width:100%;height:calc(100dvh - 48px);min-height:600px;max-height:none;border-radius:24px;display:grid;grid-template-columns:180px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 .desktop .app .top{grid-column:1/-1;height:82px;padding:16px 28px}
 .desktop .app .content{grid-column:2;grid-row:2;padding:28px;min-width:0}
 .desktop .app .bottom:not(:empty){grid-column:1;grid-row:2;height:auto;display:flex;flex-direction:column;justify-content:flex-start;gap:8px;padding:24px 12px;border-top:0;border-right:1px solid #168eff30}
 .desktop .app .bottom button{display:flex;align-items:center;justify-content:flex-start;gap:12px;text-align:left;min-height:54px;padding:12px;font-size:15px;white-space:normal;border-radius:12px}
 .desktop .app .bottom button .svg-icon{margin:0;width:25px;height:25px;flex:none}
 .desktop .app:has(.bottom:empty){grid-template-columns:minmax(0,1fr)}
 .desktop .app:has(.bottom:empty) .content{grid-column:1}
 .desktop .app:has(.login-shell){display:block;background:#030810}
 .desktop .app:has(.login-shell) .content{height:100%;padding:0}
 .desktop .login-shell{min-height:100%;padding:32px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:auto auto;align-content:center;gap:24px 40px}
 .desktop .login-visual{grid-column:1;grid-row:1;margin:0;border-radius:18px;aspect-ratio:1.1;width:100%}
 .desktop .login-headline{grid-column:1;grid-row:2;margin:0}
 .desktop .login-headline h1{font-size:clamp(32px,3.3vw,46px)}
 .desktop .login-headline p{font-size:17px}
 .desktop .login-frame{grid-column:2;grid-row:1/3;align-self:center;width:100%;max-width:480px;justify-self:center}
 .desktop .login-panel{padding:28px}
 .desktop .mix-home{margin:-28px}
 .desktop .mix-hero{height:230px;padding:32px}
 .desktop .mix-hero h1{font-size:36px}
 .desktop .mix-inner{padding:24px 28px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:20px;align-items:start}
 .desktop .mix-inner>.message{grid-column:1/-1;margin:0}
 .desktop .mix-pass{grid-column:1;grid-row:span 2;margin:0;padding:24px}
 .desktop .mix-actions{grid-column:2;margin:0;grid-template-columns:1fr}
 .desktop .mix-events{grid-column:2;margin:0;min-height:140px}
 .desktop .access-hub{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px 24px;align-items:start}
 .desktop .access-hub>h1,.desktop .access-hub>.message,.desktop .access-person{grid-column:1/-1;margin:0}
 .desktop .access-person{grid-row:3}
 .desktop .access-hub>h1{grid-row:1}
 .desktop .access-hub>.message{grid-row:2}
 .desktop .access-tabs{grid-column:1;grid-row:4;margin:0}
 .desktop .access-qr-panel{grid-column:1;grid-row:5;margin:0;padding:28px}
 .desktop .access-guest-box{grid-column:2;grid-row:4/6;margin:0;padding:24px}
 .desktop .access-history{grid-column:1/-1;margin:0}
 .desktop .premium-profile{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 24px;align-items:start}
 .desktop .premium-profile>h1,.desktop .premium-profile>.message{grid-column:1/-1}
 .desktop .premium-identity{grid-column:1;grid-row:span 2;margin:0;min-height:220px}
 .desktop .premium-id-link,.desktop .profile-utilities{grid-column:2;margin:0}
 .desktop .profile-color-panel{grid-column:1/-1;margin:0}
 .desktop .profile-wide{margin:0}
 .desktop .ow-community{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px 24px;padding:24px}
 .desktop .ow-community>h1,.desktop .ow-community>p{grid-column:1/-1;margin:0}
 .desktop .ow-channels{grid-column:1;grid-row:4/8;display:flex;flex-direction:column;overflow:visible;align-items:stretch;gap:10px;margin:0}
 .desktop .ow-channels button{text-align:left;white-space:normal;width:100%;min-height:48px;padding:12px;font-size:15px}
 .desktop .ow-chat-heading,.desktop .ow-chat-error,.desktop .ow-messages,.desktop .ow-chat-form{grid-column:2;margin:0;min-width:0}
 .desktop .ow-messages{min-height:300px;max-height:44dvh}
 .desktop .ow-chat-form textarea{min-height:90px}
 .desktop .ow-chat-form .ow-chat-colors{gap:8px}
}

/* Keep the upload hint with the photo so the member name uses the wide column. */
.access-photo-area,.access-person-details{min-width:0}
.access-person .access-person-details strong{word-break:normal;overflow-wrap:break-word}
.access-photo-area .g-photo-hint{margin:6px 0 0;text-align:center}
@media(min-width:900px){.desktop .access-person{grid-template-columns:140px minmax(0,1fr);padding:20px;gap:24px}.desktop .access-person .access-person-details strong{font-size:28px}.desktop .access-person .g-photo-edit{width:40px;height:40px}}

/* Messages own their scroll area, including mouse wheel and touch gestures. */
.ow-community .ow-messages{display:block;box-sizing:border-box;height:clamp(260px,43dvh,500px);min-height:0;max-height:500px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#718599 #0005;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable}
.ow-community .ow-messages::-webkit-scrollbar{width:8px}
.ow-community .ow-messages::-webkit-scrollbar-track{background:#0005;border-radius:8px}
.ow-community .ow-messages::-webkit-scrollbar-thumb{background:#718599;border:2px solid transparent;background-clip:padding-box;border-radius:8px}
@media(min-width:900px){.desktop .ow-messages{height:clamp(260px,44dvh,500px);min-height:0;max-height:500px;align-self:start}}

/* Selected A: carbon confirmation banner, dismissed only by a tap. */
.notification-toast,.flash{position:fixed;z-index:10000;top:calc(16px + env(safe-area-inset-top,0px));bottom:auto;left:50%;transform:translateX(-50%);width:min(560px,calc(100vw - 24px));box-sizing:border-box;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid #adb8c780;border-radius:17px;background:linear-gradient(120deg,#ffffff05,transparent),var(--ow-carbon);color:#f5f8fc;box-shadow:0 12px 32px #0009,inset 0 1px #ffffff16;text-align:left}
.notification-toast[hidden],.flash[hidden]{display:none!important}
.confirmation-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#a6ff35;color:#091107;font-size:23px;font-weight:800}
.flash[data-kind="error"] .confirmation-mark{background:#ff526f;color:#16060a}
.confirmation-copy{min-width:0;overflow-wrap:anywhere}
.confirmation-copy strong{display:block;font-size:17px;line-height:1.35}
.confirmation-copy p{margin:5px 0 0;font-size:14px;line-height:1.45;color:#bbc7d5}
.notification-toast .confirmation-done,.flash .confirmation-done{position:static;min-width:62px;min-height:44px;padding:10px 12px;border:1px solid #a9b4c35c;border-radius:10px;background:#ffffff0b;color:#f5f8fc;font:inherit;font-size:15px;font-weight:750;cursor:pointer}
.notification-toast .confirmation-details{padding:8px 0 0;border:0;background:transparent;color:#a6ff35;font-size:13px;text-align:left}
.confirmation-done:focus-visible,.confirmation-details:focus-visible{outline:2px solid #a6ff35;outline-offset:3px}
@media(max-width:380px){.notification-toast,.flash{gap:10px;padding:14px;grid-template-columns:30px minmax(0,1fr) auto}.confirmation-mark{width:30px;height:30px;font-size:20px}.confirmation-copy strong{font-size:16px}}

/* Globe notification inbox with darker transparent black surfaces. */
.app .notifications-globe{padding:22px 18px;min-height:calc(100dvh - 240px);box-sizing:border-box;border:1px solid #476170;border-radius:20px;background:linear-gradient(100deg,#000b,#0007 55%,#0006),url('/assets/member-planet-v1.webp') center right/cover no-repeat #05080b;color:#f3f5f7}
.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.notifications-heading h1{margin:0;font-size:30px;line-height:1.2}.notifications-symbol{color:#a6ff35}.notifications-symbol .svg-icon{width:27px;height:27px}
.notifications-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:24px}.notifications-filters{display:flex;background:#000a;border:1px solid #8da1ac66;border-radius:13px;padding:4px}.notifications-filters button{min-height:44px;padding:10px 18px;border:0;border-radius:10px;background:transparent;color:#d4dbe2;font-size:14px;font-weight:700;cursor:pointer}.notifications-filters button[aria-pressed="true"]{background:linear-gradient(135deg,#128cfa,#0065df);color:#fff;box-shadow:0 2px 14px #008cff33}.notifications-toolbar .link{font-size:14px;color:#a9d7f4}.notifications-feed h2{font-size:18px;margin:0 0 14px}
.app .notifications-globe .notification-item{display:flex;align-items:flex-start;gap:14px;position:relative;background:rgba(0,0,0,.78);border:1px solid #92a9b055;border-radius:16px;padding:18px;margin:0 0 14px;box-shadow:0 8px 24px #0003;backdrop-filter:blur(2px)}.app .notifications-globe .notification-item.unread{background:rgba(0,0,0,.78);border-left:1px solid #92a9b055}.notification-item-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border:1px solid #9caeba88;border-radius:50%;color:#d9e4ec;background:#05070870}.notification-item-icon .svg-icon{width:22px;height:22px}.notification-item-copy{min-width:0;flex:1}.notification-item-copy strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.notification-item-copy p{color:#d0d7df;font-size:16px;line-height:1.5;margin:6px 0 10px;overflow-wrap:anywhere}.app .notifications-globe .notification-item time{font-size:13px;color:#acbac5}.notification-unread-dot{flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#a6ff35;margin-top:8px}.notifications-globe .empty{background:#000b;border:1px solid #8da1ac44;border-radius:16px;padding:28px 20px;color:#ccd5dd;font-size:16px}
.notification-preferences{margin-top:24px;border:1px solid #8da1ac55;border-radius:15px;background:#000c}.notification-preferences summary{padding:17px;font-size:16px;font-weight:700;cursor:pointer}.notification-preferences-body{padding:0 17px 18px}.notification-preferences-body .small{font-size:14px;line-height:1.5}.notification-preferences-body .footnote{font-size:13px;line-height:1.5;color:#b7c2cb}.notification-preferences-body .btn{margin:6px 0}.notification-clear{margin-top:18px;color:#bcc7d0!important;font-size:14px}
@media(min-width:900px){.app .notifications-globe{padding:30px;max-width:900px;margin:auto;width:100%;min-height:calc(100dvh - 200px)}.notifications-heading h1{font-size:34px}.notification-item-copy p{max-width:65ch}}
@media(max-width:380px){.app .notifications-globe{padding:18px 12px}.notifications-heading h1{font-size:27px}.notifications-filters button{padding:10px 14px}.app .notifications-globe .notification-item{gap:10px;padding:15px}.notification-item-icon{flex-basis:34px;height:34px}}

/* Contain media and allow text to grow instead of colliding with adjacent cells. */
.app .content{min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;scrollbar-gutter:stable}
.app .content img{max-width:100%}
.app .content :is(.row,.mix-pass-head,.mix-pass-main,.mix-pass-stats,.premium-identity,.profile-utilities,.profile-color-controls,.ow-chat-heading,.ow-chat-compose){min-width:0}
.app .content :is(.mix-pass-head,.ow-chat-heading,.ow-chat-compose){flex-wrap:wrap}
.app .mix-pass-head>*,.app .mix-pass-main>*,.app .premium-identity>*{min-width:0}
.app .mix-pass-status{white-space:normal;text-align:right;overflow-wrap:break-word;max-width:50%}
.app :is(.premium-person>strong,.mix-pass-name,.access-person-details strong){line-height:1.3;word-break:normal;overflow-wrap:break-word}
.app .top{height:auto!important;min-height:78px;gap:12px;flex-wrap:wrap;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:12px}
.app .top>.brand{flex:none}.app .top>.row{margin-left:auto;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.app .mix-hero{height:auto;min-height:210px}.app .mix-hero h1{line-height:1.2;overflow-wrap:break-word}
.app .es-event h2{line-height:1.2;overflow-wrap:break-word}.app .es-event{height:auto}
.app .login-shell{background:#030810}.app .login-headline h1{line-height:1.2}.app .login-headline h1 strong{display:block;white-space:normal}
.app .login-shell .password{position:relative}.app .login-shell .password input{padding-right:72px}
.app .profile-color-controls{display:flex;flex-wrap:wrap;gap:10px}.app .profile-color-controls select{flex:1 1 160px;min-width:0;max-width:100%}
.app .ow-chat-message-content{min-width:0}.app .ow-chat-message header{height:auto;min-height:0;line-height:1.4}.app .ow-chat-message header strong{overflow-wrap:anywhere;max-width:100%}
.app .ow-chat-colors{flex-wrap:wrap}.app .ow-chat-colors select{min-width:0;max-width:100%}
@media(min-width:900px){
 .desktop .app{min-height:0;height:calc(100dvh - 48px)}
 .desktop .app .top{grid-row:1;grid-column:1/-1}
 .desktop .premium-profile{grid-template-columns:repeat(2,minmax(0,1fr))}
 .desktop .premium-profile>.premium-identity{grid-column:1/-1;grid-row:auto;min-height:0;grid-template-columns:140px minmax(0,1fr)}
 .desktop .premium-profile>.profile-color-panel{grid-column:1/-1;grid-row:auto}
 .desktop .premium-profile>.premium-id-link,.desktop .premium-profile>.profile-utilities{grid-column:auto;grid-row:auto;min-width:0}
 .desktop .ow-community>.ow-community-eyebrow{grid-column:1/-1;grid-row:1}
 .desktop .ow-community>h1{grid-row:2}.desktop .ow-community>p:not(.ow-community-eyebrow):not(.ow-chat-rules){grid-row:3}
 .desktop .ow-community>.ow-channels{grid-row:4/8;grid-column:1;min-width:0}
 .desktop .ow-community>.ow-chat-heading{grid-row:4;grid-column:2}
 .desktop .ow-community>.ow-chat-error{grid-row:5;grid-column:2}
 .desktop .ow-community>.ow-messages{grid-row:6;grid-column:2}
 .desktop .ow-community>.ow-chat-form{grid-row:7;grid-column:2}
 .desktop .ow-community>.ow-chat-rules{grid-row:8;grid-column:1/-1}
 .desktop .mix-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:380px){.app .top .brand{font-size:16px!important}.app .top .globe{width:36px!important;height:36px!important}.app .premium-identity{grid-template-columns:86px minmax(0,1fr);gap:12px}.app .profile-utilities{grid-template-columns:1fr}.app .profile-utility{min-height:64px}}

.staff-invite-panel{margin-bottom:24px}.staff-invite-panel p{font-size:16px;line-height:1.5;color:#c8d1db}.staff-invite-panel form{display:grid;gap:10px;max-width:600px}.staff-invite-panel label{font-size:14px;margin-top:8px}.staff-invite-panel input{width:100%;min-height:48px;padding:12px;border:1px solid #52616f;border-radius:10px;color:#f5f8fc;font-size:16px}.staff-invite-panel form button{margin-top:8px;min-height:48px}.staff-invite-panel details{margin-top:18px;border-top:1px solid #ffffff25;padding-top:16px}.staff-invite-panel summary{cursor:pointer;font-size:14px}.staff-invite-panel details button{margin:8px 8px 0 0}.staff-invite-panel code{overflow-wrap:anywhere}
