/* WANTX reference pack: interface primitives reproduced from the supplied boards. */
:root{--wx-ref-yellow:#FFD21A;--wx-ref-black:#000;--wx-ref-panel:#0B1722;--wx-ref-border:#38516a;--wx-ref-white:#fff}
body:not(.wantx-landing){--disp:Manrope,Arial,sans-serif}
body.wantx-reference-landing{background:#06111e!important;color:#fff!important}
.wantx-reference-landing .wrap{max-width:1600px!important;margin:auto;padding:18px clamp(14px,2vw,34px) 28px!important}
.wx-ref-shell{border:1px solid #64768a;border-radius:22px;overflow:hidden;background:#07131e;box-shadow:0 20px 80px rgba(0,0,0,.45)}
.wx-ref-shell a{text-decoration:none}
.wx-ref-header{min-height:76px;display:flex;align-items:center;gap:clamp(22px,3vw,55px);padding:10px clamp(20px,3vw,48px);background:#07111dec;border-bottom:1px solid #2c4257}
.wx-ref-brand{display:flex;flex-direction:column;align-items:center;line-height:1;white-space:nowrap;color:#fff!important}
.wx-ref-brand strong{font:800 clamp(28px,2.8vw,42px)/.95 Manrope,sans-serif;letter-spacing:-.07em}
.wx-ref-brand strong span,.wx-ref-footer>span span{color:var(--wx-ref-yellow);font-size:1.35em}
.wx-ref-brand .wx-ref-logo-x{display:inline-flex;width:.9em;height:.9em;vertical-align:-.06em}.wx-ref-logo-x svg{width:100%;height:100%}.wx-ref-logo-x .x-a,.wx-ref-logo-x .x-b{stroke:var(--wx-ref-yellow)!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;animation:none!important}.wx-ref-logo-x .x-core{fill:var(--wx-ref-yellow)!important;animation:none!important}.wx-ref-logo-x .x-mark{opacity:1!important;visibility:visible!important;animation:none!important}
.wx-ref-brand small{font:700 9px Manrope,sans-serif;letter-spacing:.28em;margin-top:5px;color:#fff}
.wx-ref-nav{display:flex;align-items:center;gap:clamp(18px,2vw,32px);flex:1}
.wx-ref-nav a{color:#fff!important;font-weight:700;font-size:13px;padding:16px 0;border-bottom:3px solid transparent}
.wx-ref-nav a.on,.wx-ref-nav a:hover{color:var(--wx-ref-yellow)!important;border-bottom-color:var(--wx-ref-yellow)}
.wx-ref-head-actions,.wx-ref-actions{display:flex;gap:12px;align-items:center}
.wx-ref-primary,.wx-ref-outline{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:44px;padding:10px 24px;border-radius:7px;font-weight:800;font-size:13px;white-space:nowrap;transition:transform .22s,background-color .22s,border-color .22s}
.wx-ref-primary{background:var(--wx-ref-yellow);border:1px solid var(--wx-ref-yellow);color:#000!important;box-shadow:0 0 20px rgba(255,210,26,.14)}
.wx-ref-outline{background:#07111ddd;border:1px solid var(--wx-ref-yellow);color:#fff!important}
.wx-ref-primary:hover,.wx-ref-outline:hover{transform:translateY(-2px)}
.wx-ref-primary:hover{background:#ffe256}.wx-ref-outline:hover{background:#15273a}
.wx-ref-primary:focus-visible,.wx-ref-outline:focus-visible,.wx-ref-shell a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.wx-ref-hero{min-height:clamp(440px,44vw,610px);display:flex;align-items:center;background:linear-gradient(90deg,rgba(3,12,22,.97) 0%,rgba(3,12,22,.78) 35%,rgba(3,12,22,.22) 73%),url('../images/themes/night-hero.webp') center 40%/cover no-repeat;position:relative}
.wx-ref-hero-copy{position:relative;z-index:1;padding:clamp(40px,5vw,80px) clamp(25px,5vw,80px);max-width:830px}
.wx-ref-eyebrow{color:var(--wx-ref-yellow);font-size:12px;font-weight:900;letter-spacing:.45em;margin:0 0 15px}
.wx-ref-hero h1{color:#fff!important;font:900 clamp(50px,5.8vw,94px)/.96 Manrope,sans-serif!important;letter-spacing:-.065em;margin:0 0 10px!important}
.wx-ref-hero h1 span{color:var(--wx-ref-yellow)}
.wx-ref-hero-copy>p:not(.wx-ref-eyebrow){font-size:clamp(18px,2vw,27px);font-weight:700;line-height:1.25;color:#fff;margin:0}
.wx-ref-actions{margin-top:24px;flex-wrap:wrap}.wx-ref-actions>a{min-width:190px;min-height:48px}
.wx-ref-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 clamp(18px,3vw,44px);margin-top:-70px;position:relative;z-index:2}
.wx-ref-benefits a{display:grid;grid-template-columns:68px 1fr;align-content:center;column-gap:13px;min-height:118px;padding:16px;border:1px solid var(--wx-ref-border);border-radius:10px;background:linear-gradient(160deg,#142235e8,#07111dec);color:#fff!important}
.wx-ref-benefits a>span{grid-row:1/3;align-self:center;color:var(--wx-ref-yellow);font-size:48px;text-align:center;line-height:1;text-shadow:0 0 20px rgba(255,210,26,.4)}
.wx-ref-benefits strong{font-size:16px;line-height:1.2}.wx-ref-benefits small{font-size:12px;color:#d0d6db;line-height:1.35;margin-top:6px}
.wx-ref-discover{padding:22px clamp(18px,3vw,44px) 28px}.wx-ref-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:10px}
.wx-ref-section-head h2{font-size:20px!important;color:#fff!important;margin:0!important}.wx-ref-section-head a{font-size:13px;color:#fff!important}
.wx-ref-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.wx-ref-tiles a{height:220px;position:relative;display:flex;flex-direction:column;justify-content:end;overflow:hidden;border:1px solid #536476;border-radius:8px;padding:12px;color:#fff!important;background:#121a21}
.wx-ref-tiles a:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#000d)}
.wx-ref-tiles img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}.wx-ref-tiles a:hover img{transform:scale(1.04)}
.wx-ref-tiles strong,.wx-ref-tiles small{z-index:1;position:relative}.wx-ref-tiles strong{font-size:16px}.wx-ref-tiles small{font-size:12px;color:#eee}
.wx-ref-footer{border-top:1px solid #304354;min-height:76px;padding:16px clamp(18px,3vw,44px);display:flex;align-items:center;gap:26px}
.wx-ref-footer>span{font-size:24px;font-weight:900;letter-spacing:-.07em;line-height:1}.wx-ref-footer p{font-size:12px;color:#ccc;flex:1}.wx-ref-footer nav{display:flex;gap:16px}.wx-ref-footer a{font-size:11px;color:#ddd!important}
@media(max-width:1050px){.wx-ref-nav{display:none}.wx-ref-header{justify-content:space-between}.wx-ref-benefits{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-55px}.wx-ref-hero{min-height:540px}}
@media(max-width:650px){.wantx-reference-landing .wrap{padding:0!important}.wx-ref-shell{border:0;border-radius:0}.wx-ref-header{min-height:62px;padding:7px 17px}.wx-ref-brand strong{font-size:28px}.wx-ref-brand small{font-size:7px}.wx-ref-head-actions .wx-ref-outline{display:none}.wx-ref-head-actions .wx-ref-primary{min-height:37px;padding:7px 10px;font-size:11px}.wx-ref-hero{min-height:440px;align-items:flex-end;background-position:58% center}.wx-ref-hero-copy{padding:30px 18px 90px}.wx-ref-eyebrow{font-size:10px}.wx-ref-hero h1{font-size:clamp(42px,10vw,67px)!important}.wx-ref-hero-copy>p:not(.wx-ref-eyebrow){font-size:18px}.wx-ref-actions{gap:8px}.wx-ref-actions>a{min-width:0;flex:1;padding:9px 10px;font-size:11px}.wx-ref-benefits{gap:8px;padding:0 12px;margin-top:-55px}.wx-ref-benefits a{min-height:100px;grid-template-columns:1fr;padding:9px;text-align:center}.wx-ref-benefits a>span{grid-row:auto;font-size:28px}.wx-ref-benefits strong{font-size:12px}.wx-ref-benefits small{display:none}.wx-ref-discover{padding:20px 12px 26px}.wx-ref-section-head h2{font-size:16px!important}.wx-ref-section-head a{font-size:11px}.wx-ref-tiles{gap:7px}.wx-ref-tiles a{height:180px;padding:7px}.wx-ref-tiles strong{font-size:13px}.wx-ref-tiles small{font-size:10px}.wx-ref-footer{display:block;padding:20px 14px}.wx-ref-footer p{margin:7px 0}.wx-ref-footer nav{margin-top:10px}}
@media(prefers-reduced-motion:reduce){.wx-ref-shell *{transition:none!important}}
/* Navigation and application surfaces from boards 08–13. */
html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body){background-color:#06111e!important;background-image:linear-gradient(155deg,#06111e,#091927 55%,#07111a)!important}
html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .topbar{background:#07111def!important;border-bottom:1px solid #38516a!important;box-shadow:0 4px 22px #0005!important}
.topbar .desk-nav a{font-weight:700;color:#e6e9ed!important}.topbar .desk-nav a:hover{color:var(--wx-ref-yellow)!important}
body[data-page="home.php"] .topbar .desk-nav a[href$="home.php"],body[data-page="radar.php"] .topbar .desk-nav a[href$="radar.php"],body[data-page="discover.php"] .topbar .desk-nav a[href$="discover.php"],body[data-page="events.php"] .topbar .desk-nav a[href$="events.php"],body[data-page="messages.php"] .topbar .desk-nav a[href$="messages.php"],body[data-page="shop.php"] .topbar .desk-nav a[href$="shop.php"]{color:var(--wx-ref-yellow)!important;border-bottom-color:var(--wx-ref-yellow)!important}
html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .panel,html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .card,html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .card-p,html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .card-e,html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .inbox-row{background-color:#0b1722!important;border-color:#38516a!important}
body:not(.wantx-landing):not(.admin-body) .btn.gold,body:not(.wantx-landing):not(.admin-body) .btn.call{background:var(--wx-ref-yellow)!important;border-color:var(--wx-ref-yellow)!important;color:#000!important}
html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .btn.ghost{background:#07111d!important;border-color:#66717a!important;color:#fff!important}
html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .field input,html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .field select,html:not([data-theme="azur"]) body:not(.wantx-landing):not(.admin-body) .field textarea{background:#0d2030!important;border-color:#38516a!important;color:#fff!important}
body .dock{background:#030b13f5!important;border-top:1px solid #38516a!important}
body .dock a.on:not(.plus){color:var(--wx-ref-yellow)!important}
body .dock a.on:not(.plus)::before{color:var(--wx-ref-yellow)!important;text-shadow:0 0 12px #ffd21a88}
body .dock a:first-child::before{content:"⌂"!important;font-size:29px!important;line-height:.75!important}
body .dock a:nth-child(2)::before{content:"◎"!important;font-size:26px!important;line-height:.8!important}
body .dock .dock-msg::before{content:"▤"!important;font-size:24px!important;line-height:.8!important}
body .dock a:nth-child(5)::before{content:"♙"!important;font-size:26px!important;line-height:.8!important}
body .dock .plus.envie .envie-fab{background:var(--wx-ref-yellow)!important;box-shadow:0 0 0 4px #07111a,0 0 25px #ffd21a99!important}
.admin-body{background:#06111e!important}
.admin-body .admin-side,.admin-body .admin-top{background:#081521!important;border-color:#38516a!important}
.admin-body .admin-main{background:transparent!important}
.admin-body .admin-nav a.on{background:#362e0d!important;color:var(--wx-ref-yellow)!important;border-left-color:var(--wx-ref-yellow)!important}
@media(max-width:700px){body:not(.wantx-landing):not(.admin-body) .wrap{padding-left:14px!important;padding-right:14px!important}body.chat-page .wrap,body.salon-page .wrap{padding:0!important}}
/* Radar: the map and adjacent results follow reference board 04. */
body[data-page="radar.php"] .radar-map-wrap{border-radius:10px;border-color:#37516a;background:#061622}
body[data-page="radar.php"] .radar-map .leaflet-tile{filter:brightness(.72) saturate(1.35) contrast(1.2)!important}
body[data-page="radar.php"] .radar-side{background:#081724!important;border:1px solid #37516a;border-radius:10px}
body[data-page="radar.php"] .radar-side h2{font-size:17px!important;color:#fff!important}
body[data-page="radar.php"] .radar-row{border-bottom:1px solid #263a4e;border-radius:0;min-height:66px}
body[data-page="radar.php"] .radar-row:last-child{border-bottom:0}
body[data-page="radar.php"] .radar-tools .btn{border-color:#bda51a!important;background:#081724!important;color:#fff!important;border-radius:8px!important}
body[data-page="radar.php"] .radar-tools .btn.on{background:var(--wx-ref-yellow)!important;color:#000!important;border-color:var(--wx-ref-yellow)!important}
body[data-page="radar.php"] .wrap{max-width:1520px!important;padding-left:clamp(15px,2vw,32px)!important;padding-right:clamp(15px,2vw,32px)!important}
body[data-page="radar.php"] .wx-radar-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 10px}
body[data-page="radar.php"] .wx-radar-intro h1{font-size:clamp(32px,3.3vw,48px);line-height:1;margin:0 0 7px;color:#fff}
body[data-page="radar.php"] .wx-radar-intro .lead-set{font-size:16px;line-height:1.25;color:#eef2f6;margin:0}
body[data-page="radar.php"] .radar-counts{max-width:370px;line-height:1.4;color:#ddd;font-size:12px;text-align:right}
body[data-page="radar.php"] .radar-counts strong{color:#35e9a6}
body[data-page="radar.php"] .wx-radar-privacy{font-size:11px;margin:0 0 12px;color:#8293a4}
body[data-page="radar.php"] .radar-tools{display:flex;gap:8px;margin:0 0 10px}
body[data-page="radar.php"] .radar-tools .btn{min-height:42px!important;padding:8px 18px!important;font-weight:800;font-size:13px!important}
body[data-page="radar.php"] .radar-desk{gap:0;border:1px solid #37516a;border-radius:12px;overflow:hidden;background:#06131f}
body[data-page="radar.php"] .radar-map-wrap{border:0!important;border-radius:0!important}
body[data-page="radar.php"] .radar-map{height:min(67vh,620px)!important}
body[data-page="radar.php"] .radar-map .leaflet-tile{filter:invert(1) hue-rotate(180deg) saturate(.75) brightness(.72) contrast(1.25)!important}
body[data-page="radar.php"] .radar-map.is-satellite .leaflet-tile{filter:grayscale(1) brightness(.47) sepia(.6) hue-rotate(164deg) saturate(1.8) contrast(1.25)!important}
body[data-page="radar.php"] .radar-side{border:0!important;border-left:1px solid #37516a!important;border-radius:0!important;padding:12px!important;max-height:min(67vh,620px);overflow-y:auto}
body[data-page="radar.php"] .radar-side h2{font-size:16px!important;margin:0 0 8px}
body[data-page="radar.php"] .radar-row{min-height:72px;padding:6px 2px!important}
body[data-page="radar.php"] .radar-row img,body[data-page="radar.php"] .radar-row em{width:54px;height:54px;border-radius:7px;object-fit:cover;flex:0 0 54px}
body[data-page="radar.php"] .radar-row em{font-size:0;background-image:url('../images/themes/night-demo.webp');background-size:500% auto;background-position:20% center}
body[data-page="radar.php"] .radar-row:nth-child(2n) em{background-position:70% center}
body[data-page="radar.php"] .radar-row:nth-child(3n) em{background-position:40% center}
body[data-page="radar.php"] .radar-row b{font-size:13px;color:#fff}
body[data-page="radar.php"] .radar-row small{font-size:11px;color:#d1d8e0}
/* Boards 02 and 06: photo-led discovery cards and compact filters. */
body[data-page="discover.php"] .wrap{max-width:1380px!important}
body[data-page="discover.php"] .wrap>h1{margin:13px 0 4px;color:#fff;font-size:clamp(25px,2.6vw,38px)}
body[data-page="discover.php"] .wrap>p.muted{margin:0 0 14px;color:#d0d9e2;font-size:14px}
body[data-page="discover.php"] .filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:9px;background:#0b1722;border:1px solid #38516a;border-radius:11px;margin:0 0 13px}
body[data-page="discover.php"] .filters select,body[data-page="discover.php"] .filters .chk,body[data-page="discover.php"] .filters .btn{min-height:38px;font-size:12px!important;padding:6px 10px;border-radius:7px}
body[data-page="discover.php"] .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body[data-page="discover.php"] .wx-discover-card{position:relative;display:block;overflow:hidden;min-width:0;aspect-ratio:3/4;border:1px solid #536b83!important;border-radius:10px!important;background:#0b1722!important;color:#fff!important}
body[data-page="discover.php"] .wx-discover-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--portrait-position);filter:brightness(.86)}
body[data-page="discover.php"] .wx-discover-card::after{content:"";position:absolute;inset:48% 0 0;background:linear-gradient(transparent,#02060beb)}
body[data-page="discover.php"] .wx-discover-card .cap{position:absolute;z-index:1;inset:auto 0 0;padding:9px!important;background:none!important;color:#fff!important}
body[data-page="discover.php"] .wx-discover-card .cap>b{font-size:16px;color:#fff!important}
body[data-page="discover.php"] .wx-discover-card .cap>span{display:block;font-size:11px;color:#eef3f7!important}
body[data-page="discover.php"] .wx-discover-card .tags{display:flex;gap:3px;flex-wrap:wrap;max-height:34px;overflow:hidden;margin-top:4px}
body[data-page="discover.php"] .wx-discover-card .tags i{font-size:9px;padding:2px 5px;border-radius:4px}
body[data-page="discover.php"] .wx-univ{margin-top:24px}
body[data-page="discover.php"] .cta-now{display:block;margin-top:12px}
/* Boards 05 and 09: message index stays a tight conversation list. */
body[data-page="messages.php"] .wrap{max-width:1100px!important}
body[data-page="messages.php"] .wrap>h1{margin:8px 0 15px;color:#fff;font-size:clamp(27px,2.7vw,38px)}
body[data-page="messages.php"] .home-tabs{margin:0 0 12px}
body[data-page="messages.php"] .home-tabs a{min-height:39px;padding:8px 18px;border-radius:7px!important}
body[data-page="messages.php"] .inbox{padding:0;margin:0;border:1px solid #3c546d;border-radius:12px;overflow:hidden;background:#091724}
body[data-page="messages.php"] .inbox li{list-style:none;margin:0}
body[data-page="messages.php"] .inbox-row{min-height:80px;margin:0;border:0!important;border-bottom:1px solid #2c4156!important;border-radius:0!important;background:transparent!important;padding:10px 14px!important;display:flex;align-items:center;gap:12px}
body[data-page="messages.php"] .inbox li:last-child .inbox-row{border-bottom:0!important}
body[data-page="messages.php"] .inbox-row .av{width:54px;height:54px;flex:0 0 54px;border-radius:50%;overflow:hidden;border:1px solid #5b7188;background:#122437}
body[data-page="messages.php"] .inbox-row .av img{width:100%;height:100%;object-fit:cover}
body[data-page="messages.php"] .inbox-row .meta{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}
body[data-page="messages.php"] .inbox-row .meta b{font-size:14px;color:#fff}
body[data-page="messages.php"] .inbox-row .meta em{font-size:12px;color:#dfe5ea;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-page="messages.php"] .inbox-row .meta small{font-size:10px;color:#aab9c9}
body[data-page="messages.php"] .wx-demo-note{font-size:10px;color:#8ba0b5;margin:12px 0 0}
/* Board 05: keep conversation actions reachable while the composer remains visible. */
body.chat-page .chat{background:#07131e!important}
body.chat-page .chat-head{background:#07111d!important;border-bottom:1px solid #314860!important}
body.chat-page .bubble.them{background:#172735!important;border:1px solid #33485b!important}
body.chat-page .bubble.me{background:#ffe62c!important;color:#08111d!important}
body.chat-page .composer{background:#081522!important;border-top:1px solid #39516a!important}
body.chat-page .composer textarea{background:#0e2233!important;border-color:#38516a!important;color:#fff!important}
body.chat-page .reacts{flex-wrap:nowrap;max-width:100%;overflow-x:auto;scrollbar-width:none}
body.chat-page .reacts .react{flex:0 0 auto;min-width:24px;min-height:24px;font-size:12px;padding:2px 3px}
@media(max-width:700px){
  body.chat-page .chat{height:calc(100dvh - 102px);min-height:0!important}
  body.chat-page .chat-log{min-height:0;overflow-y:auto;padding:9px 12px!important}
  body.chat-page #chat-msgs{gap:6px}
  body.chat-page .bubble{padding:7px 10px;font-size:13px;line-height:1.32;border-radius:13px}
  body.chat-page .bubble footer{margin-top:3px;gap:4px;font-size:9px}
  body.chat-page .trust-prompt{display:flex;align-items:center;gap:8px;padding:6px 8px;margin:4px 10px 5px;border-radius:9px}
  body.chat-page .trust-prompt p{font-size:10px;line-height:1.2;margin:0;flex:1}
  body.chat-page .trust-prompt .cta-row{display:flex;gap:3px;margin:0;flex:0 0 auto}
  body.chat-page .trust-prompt .btn{min-width:0;min-height:30px;padding:4px 6px;font-size:9px}
  body.chat-page .composer{flex:0 0 auto;gap:3px!important;padding:5px 7px!important}
  body.chat-page .composer .icon-btn{min-width:29px;width:29px;min-height:34px;height:34px;padding:0!important;font-size:14px}
  body.chat-page .composer textarea{min-width:0;min-height:34px!important;height:34px;padding:7px 8px!important;font-size:12px}
  body.chat-page .composer .send{min-width:34px;min-height:34px;font-size:0;padding:0 6px}
  body.chat-page .composer .send::before{content:'➤';font-size:17px}
}
@media(max-width:700px){body[data-page="messages.php"] .wrap>h1{font-size:25px;margin:4px 0 12px}body[data-page="messages.php"] .inbox-row{min-height:72px;padding:7px 9px!important}body[data-page="messages.php"] .inbox-row .av{width:48px;height:48px;flex-basis:48px}}
@media(max-width:700px){
  body[data-page="discover.php"] .wrap>h1{font-size:24px;margin:6px 0 3px}
  body[data-page="discover.php"] .wrap>p.muted{font-size:12px;margin-bottom:9px}
  body[data-page="discover.php"] .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:10px}
  body[data-page="discover.php"] .filters select,body[data-page="discover.php"] .filters .chk,body[data-page="discover.php"] .filters .btn{min-width:0;width:100%;font-size:11px!important}
  body[data-page="discover.php"] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body[data-page="discover.php"] .wx-discover-card{aspect-ratio:3/4.2}
  body[data-page="discover.php"] .wx-discover-card .cap>b{font-size:13px}
  body[data-page="discover.php"] .wx-discover-card .cap>span{font-size:10px}
}
@media(max-width:700px){body[data-page="radar.php"] .radar-map{height:min(52svh,440px)!important}body[data-page="radar.php"] .radar-side{max-height:310px!important;overflow-y:auto;overscroll-behavior:contain}body[data-page="radar.php"] .radar-tools{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}body[data-page="radar.php"] .radar-tools .btn{flex:0 0 auto;min-height:38px!important;padding:7px 12px!important;font-size:12px!important}}
@media(max-width:700px){
  body[data-page="radar.php"] .wx-radar-intro{display:block;margin:0 0 7px}
  body[data-page="radar.php"] .wx-radar-intro h1{font-size:28px;margin-bottom:2px}
  body[data-page="radar.php"] .wx-radar-intro .lead-set{font-size:12px}
  body[data-page="radar.php"] .radar-counts{text-align:left;max-width:none;font-size:10px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body[data-page="radar.php"] .wx-radar-privacy{font-size:9px;margin-bottom:8px}
  body[data-page="radar.php"] .radar-tools{margin-bottom:7px}
  body[data-page="radar.php"] .radar-desk{display:block}
  body[data-page="radar.php"] .radar-map{height:47svh!important;min-height:310px}
  body[data-page="radar.php"] .radar-side{border-left:0!important;border-top:1px solid #37516a!important;max-height:none!important;padding:9px!important}
}
/* Existing dashboard data, arranged like the compact desktop boards 02 and 07. */
@media(min-width:1180px){
  body.page-home .wrap{max-width:1580px!important;padding-left:24px!important;padding-right:24px!important}
  body.page-home .home-board{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr) minmax(260px,.8fr);gap:12px!important;align-items:start}
  body.page-home .home-board>*{min-width:0}
  body.page-home .home-board>.wx-live-card{grid-column:1;grid-row:1}
  body.page-home .home-board>.hb-salon{grid-column:2;grid-row:1}
  body.page-home .home-board>.home-side{grid-column:3;grid-row:1 / span 4;min-width:0}
  body.page-home .home-board>.hb-now{grid-column:1 / span 2;grid-row:2}
  body.page-home .home-board>.ev-panel{grid-column:1;grid-row:3}
  body.page-home .home-board>.feat-prod{grid-column:2;grid-row:3}
  body.page-home .home-board>.shop-panel{grid-column:1 / span 2;grid-row:4}
  body.page-home .home-board>.hb-new{grid-column:1 / -1;grid-row:5}
  body.page-home .home-board .panel{margin:0}
  body.page-home .home-board .faces{grid-template-columns:repeat(6,minmax(0,1fr))}
  body.admin-body[data-page="dashboard.php"] .admin-main{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-content:start}
  body.admin-body[data-page="dashboard.php"] .admin-main>h1,body.admin-body[data-page="dashboard.php"] .admin-main>p,body.admin-body[data-page="dashboard.php"] .admin-main>.stats{grid-column:1/-1;margin:0}
  body.admin-body[data-page="dashboard.php"] .admin-main>section{grid-column:span 6;margin:0!important;min-width:0}
  body.admin-body[data-page="dashboard.php"] .admin-main>section:first-of-type{grid-column:1/-1}
  body.admin-body[data-page="dashboard.php"] .admin-main>section:nth-of-type(n+4){grid-column:span 4}
  body.admin-body[data-page="dashboard.php"] .admin-main>section .stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  body.admin-body[data-page="dashboard.php"] .admin-main>section:nth-of-type(n+4) .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.admin-body[data-page="dashboard.php"] .admin-main>section .stats article{min-width:0}
  body.admin-body[data-page="dashboard.php"] .admin-main>section .stats article b{font-size:clamp(18px,1.7vw,26px);overflow-wrap:anywhere}
}
/* ENVIE uses the selection tiles shown on boards 05, 10 and 12. */
body[data-page="appel.php"] .envie-h{color:#fff!important}
body[data-page="appel.php"] .envie-h svg{max-width:37px;max-height:37px;vertical-align:-7px}
body[data-page="appel.php"] form>.chips:first-of-type{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:650px}
body[data-page="appel.php"] form>.chips:first-of-type .chip{min-height:100px!important;border-radius:10px!important;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:7px;background:#081724!important;border:1px solid #38516a!important;font-size:13px!important}
body[data-page="appel.php"] form>.chips:first-of-type .chip::before{font-size:31px;line-height:1;color:var(--wx-ref-yellow);font-weight:900;text-shadow:0 0 15px #ffd21a66}
body[data-page="appel.php"] form>.chips:first-of-type .chip:has(input[value="direct"])::before{content:"ϟ"}
body[data-page="appel.php"] form>.chips:first-of-type .chip:has(input[value="verre"])::before{content:"◬";color:#c484ed}
body[data-page="appel.php"] form>.chips:first-of-type .chip:has(input[value="talk"])::before{content:"▤";color:#b18fe9}
body[data-page="appel.php"] form>.chips:first-of-type .chip:has(input[value="tonight"])::before{content:"☾"}
body[data-page="appel.php"] form>.chips:first-of-type .chip:has(input[value="meet"])::before{content:"♥";color:#ff6378}
body[data-page="appel.php"] form>.chips:first-of-type .chip:has(input:checked){background:#272106!important;border-color:var(--wx-ref-yellow)!important;box-shadow:0 0 16px #ffd21a36!important;color:#fff!important}
body[data-page="appel.php"] form>.chips:first-of-type .chip input{position:absolute;opacity:0;pointer-events:none}
body[data-page="appel.php"] form>.chips:first-of-type .chip:focus-within{outline:2px solid #fff;outline-offset:2px}
body[data-page="appel.php"] form>.chips:not(:first-of-type){max-width:650px}
body[data-page="appel.php"] .panel{border-color:#38516a!important;background:#081724!important}
@media(max-width:700px){body[data-page="appel.php"] form>.chips:first-of-type .chip{min-height:86px!important;padding:7px!important}body[data-page="appel.php"] form>.chips:first-of-type .chip::before{font-size:25px}}
/* Dashboard hero from board 02, using the existing Côte d’Azur imagery. */
.wx-home-reference-hero{display:none}
@media(min-width:768px){
  .wx-home-reference-hero{display:flex;align-items:center;min-height:clamp(255px,23vw,360px);border:1px solid #546c81;border-radius:17px;overflow:hidden;margin:0 0 14px;background:linear-gradient(90deg,#06111efa 0%,#06111ed8 37%,#06111e24 79%),url('../images/themes/night-hero.webp') center 42%/cover no-repeat}
  .wx-home-reference-hero>div{padding:28px clamp(24px,3vw,54px)}
  .wx-home-reference-hero p:first-child{color:var(--wx-ref-yellow);font-size:11px;font-weight:900;letter-spacing:.32em;margin:0 0 11px}
  .wx-home-reference-hero h2{font:900 clamp(42px,4.5vw,72px)/.94 Manrope,sans-serif!important;letter-spacing:-.065em;color:#fff!important;margin:0 0 12px}
  .wx-home-reference-hero h2 span{color:var(--wx-ref-yellow)}
  .wx-home-reference-hero p:nth-of-type(2){font-size:clamp(15px,1.5vw,21px);line-height:1.25;color:#fff;margin:0 0 18px}
  .wx-home-reference-actions{display:flex;flex-wrap:wrap;gap:10px}.wx-home-reference-actions .btn{min-width:180px}
}
/* The full-screen MIX composer must remain inside narrow phones. */
.mix-chat-page .salon-composer{box-sizing:border-box;width:100%;max-width:100%;min-width:0}
.mix-chat-page .salon-composer input{min-width:0;flex:1 1 0}
.mix-chat-page .salon-composer .send{flex:0 0 auto}
@media(max-width:700px){.mix-chat-page .salon-composer{gap:5px;padding-left:8px!important;padding-right:8px!important}.mix-chat-page .salon-composer .icon-btn{flex:0 0 36px;width:36px;min-width:36px;padding:0}.mix-chat-page .salon-composer .send{min-width:0;padding:0 9px;font-size:13px}}

/* Home member rebuilt from the WANTX master reference. */
body.page-home .wx-home-legacy{display:none!important}
/* Keep exactly one Home shell selected at every real viewport size. */
@media (min-width:1000px){
  body.page-home .wxh,
  body.page-home .wx-mobile-home,
  body.page-home .mock-top{display:none!important}
  body.page-home .wx-home-v2{display:block!important}
  body.page-home .wx-home-legacy{display:none!important}
}
@media (max-width:999px){
  body.page-home .wx-home-v2,
  body.page-home .wx-home-legacy,
  body.page-home .mock-top{display:none!important}
  body.page-home .wxh{display:block!important}
}
html body.page-home{background:#06111e!important;color:#fff!important;background-image:linear-gradient(155deg,#06111e,#091927 55%,#07111a)!important}
html body.page-home .topbar{background:#06111ef5!important;border-color:#344b61!important}
html body.page-home .topbar .word-s,html body.page-home .topbar .desk-nav a{color:#fff!important}
body.page-home .mock-top{display:none!important}
body.page-home .wx-home-v2{color:#fff}
body.page-home .wx-home-v2 a{text-decoration:none}
.wx-home-v2-welcome{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 14px;padding:4px 2px}
.wx-home-v2-welcome h1{font:800 clamp(25px,2.5vw,36px)/1.05 Manrope,Arial,sans-serif;margin:0 0 5px;color:#fff!important;letter-spacing:-.04em}.wx-home-v2-welcome h1 strong{color:#ffd21a}.wx-home-v2-welcome>div>p{margin:0;color:#d9e0e7!important;font-size:13px}.wx-home-v2-welcome>p{margin:0;text-align:right;font-size:13px;font-weight:800;color:#fff!important}.wx-home-v2-welcome>p>span{color:#ffd21a}.wx-home-v2-welcome>p small{display:block;margin-top:6px;color:#dce5ed!important;font-size:11px;font-weight:500}.wx-home-v2-welcome .live-dot{display:inline-block;width:7px;height:7px}
.wx-home-v2-tabs{display:none}
.wx-home-v2-primary{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(460px,.8fr);gap:12px;min-height:490px}
.wx-home-v2-people,.wx-home-v2-actions>a,.wx-home-v2-card{border:1px solid #425b72!important;background-color:#081724!important;color:#fff!important;border-radius:11px;overflow:hidden}
.wx-home-v2-people{padding:12px}.wx-home-v2-people>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:9px}.wx-home-v2-people h2{font-size:20px;line-height:1.1;margin:0 0 3px;color:#fff}.wx-home-v2-people header p{font-size:11px;color:#becbd6;margin:0}.wx-home-v2-people header>a,.wx-home-v2-card header>a,.wx-home-v2-card header>span{font-size:10px;color:#fff;white-space:nowrap}
.wx-home-v2-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;height:424px}.wx-home-v2-profile{position:relative;overflow:hidden;border:1px solid #63768a;border-radius:8px;background:#152433;color:#fff;min-width:0}.wx-home-v2-profile>img{width:100%;height:100%;object-fit:cover;object-position:var(--wx-person-pos);filter:brightness(.88) saturate(.9)}.wx-home-v2-profile:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(transparent,#02070ce8)}.wx-home-v2-profile>span{position:absolute;z-index:2;left:8px;right:7px;bottom:8px;display:flex;flex-direction:column;gap:3px}.wx-home-v2-profile b{font-size:13px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wx-home-v2-profile small{font-size:10px;color:#f0f4f7;white-space:nowrap}.wx-home-v2-profile .live-dot{display:inline-block;width:8px;height:8px}.wx-home-v2-heart{position:absolute;z-index:3;right:8px;top:7px;font-size:21px;color:#fff;font-style:normal;text-shadow:0 2px 7px #000}
.wx-home-v2-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:9px}.wx-home-v2-actions>a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;padding:15px 8px;color:#fff;background-image:linear-gradient(180deg,#06111e14,#06111ef5),var(--wx-action)!important;background-size:cover!important;background-position:center!important}.wx-home-v2-actions>a.envie{border-color:#df599d;box-shadow:inset 0 0 35px #e73b871f}.wx-home-v2-actions .gi{margin-bottom:auto;margin-top:auto;transform:scale(1.35);filter:drop-shadow(0 0 12px #ffd21a99)}.wx-home-v2-actions b{font-size:19px;line-height:1.05;color:#fff;text-shadow:0 2px 8px #000}.wx-home-v2-actions small{font-size:10px;color:#fff;text-shadow:0 2px 7px #000;margin-top:3px}
.wx-home-v2-secondary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.wx-home-v2-card{height:170px;padding:10px}.wx-home-v2-card>header{display:flex;justify-content:space-between;gap:10px;margin-bottom:8px}.wx-home-v2-card>header>b{font-size:14px}.wx-home-v2-featured>div{display:grid;grid-template-columns:42% 1fr;gap:10px;height:125px}.wx-home-v2-featured img,.wx-home-v2-featured>div>em{width:100%;height:100%;object-fit:cover;border-radius:7px;display:grid;place-items:center;background:#10273a;color:#ffd21a;font-size:38px;font-style:normal}.wx-home-v2-featured p{display:flex;flex-direction:column;justify-content:center;margin:0}.wx-home-v2-featured p b{font-size:18px}.wx-home-v2-featured p small{font-size:11px;color:#bdcad6;margin-top:4px}.wx-home-v2-messages>a{display:flex;align-items:center;gap:8px;color:#fff;padding:7px;border-top:1px solid #2d4255}.wx-home-v2-messages>a>i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#10273a;color:#ffd21a;font-style:normal}.wx-home-v2-messages>a>span{display:flex;flex-direction:column;min-width:0}.wx-home-v2-messages>a b{font-size:12px}.wx-home-v2-messages>a small{font-size:10px;color:#b9c5d0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wx-home-v2-event>header{margin-bottom:7px}.wx-home-v2-event>a{height:125px;display:grid;grid-template-columns:37% 1fr auto;align-items:center;gap:9px;color:#fff}.wx-home-v2-event img{width:100%;height:100%;object-fit:cover;border-radius:7px}.wx-home-v2-event span{display:flex;flex-direction:column;min-width:0}.wx-home-v2-event span b{font-size:14px}.wx-home-v2-event span small{font-size:10px;color:#c5d0da;margin-top:5px}.wx-home-v2-event strong{font-size:25px}
@media(min-width:1000px){body.page-home .wrap{max-width:1440px!important;padding:90px 24px 34px!important}body.page-home .dock{display:none!important}}
@media(min-width:768px) and (max-width:999px){body.page-home .wrap{padding-top:72px!important}}
@media(min-width:768px) and (max-width:1023px){.wx-home-v2-primary{grid-template-columns:1fr;min-height:0}.wx-home-v2-profile-grid{height:400px}.wx-home-v2-actions{height:330px}.wx-home-v2-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-home-v2-event{grid-column:1/-1}}
@media(max-width:767px){body.page-home .topbar{display:grid!important;background:#06111ef5!important;border-bottom:1px solid #344b61!important}body.page-home .wrap{padding:68px 14px 104px!important}.wx-home-v2-welcome{display:none}.wx-home-v2-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:3px 0 9px}.wx-home-v2-tabs a{display:grid;place-items:center;min-height:35px;border:1px solid #3e5368;border-radius:6px;color:#fff!important;font-size:10px;font-weight:700;background:#081724!important}.wx-home-v2-tabs a.on{background:#ffd21a!important;color:#06111e!important;border-color:#ffd21a}.wx-home-v2-primary{display:flex;flex-direction:column;min-height:0}.wx-home-v2-people{padding:0!important;border:0!important;background:transparent!important;overflow:visible}.wx-home-v2-people>header{display:none}.wx-home-v2-profile-grid{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.wx-home-v2-profile{height:180px;border-radius:7px}.wx-home-v2-profile-grid .wx-home-v2-profile:nth-child(n+5){display:none}.wx-home-v2-profile b{font-size:13px}.wx-home-v2-actions{order:-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:6px;height:auto;margin-bottom:9px}.wx-home-v2-actions>a{display:none;min-height:72px;padding:7px 5px;border-radius:8px}.wx-home-v2-actions>a:nth-child(-n+3){display:flex}.wx-home-v2-actions .gi{transform:scale(.9);margin:auto auto 3px}.wx-home-v2-actions b{font-size:13px;color:#fff!important}.wx-home-v2-actions small{font-size:8px;color:#fff!important}.wx-home-v2-secondary{display:block;margin-top:9px}.wx-home-v2-card{height:auto;min-height:64px;margin-bottom:7px;padding:8px}.wx-home-v2-featured>div{height:70px;grid-template-columns:68px 1fr}.wx-home-v2-messages{display:none}.wx-home-v2-event>a{height:62px;grid-template-columns:82px 1fr auto}.wx-home-v2-event header{display:none}}

/* Board 09: shared desktop brand and navigation proportions. */
.topbar .logo small{display:none}
.wx-mobile-menu,.wx-mobile-notify{display:none}
.wx-account-initial{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;font-size:15px;font-weight:800;color:#fff;background:#273a4d}
@media(min-width:1000px){
  body:not(.admin-body) .topbar{height:74px;padding:0 clamp(20px,2.5vw,44px);gap:clamp(20px,3vw,52px)}
  body.has-nav:not(.admin-body):not(.chat-page):not(.salon-page) .wrap{padding-top:88px}
  body:not(.admin-body) .topbar .logo{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;text-decoration:none;line-height:1}
  body:not(.admin-body) .topbar .word-s{font:900 clamp(30px,2.5vw,42px)/.88 Manrope,Arial,sans-serif;letter-spacing:-.07em;color:#fff}
  body:not(.admin-body) .topbar .logo small{display:block;color:#fff;font:700 9px/1 Manrope,Arial,sans-serif;letter-spacing:.3em;margin-top:7px}
  body:not(.admin-body) .topbar .desk-nav{height:100%;align-items:center;gap:clamp(18px,2vw,32px);margin-left:0;flex:1}
  body:not(.admin-body) .topbar .desk-nav a{display:flex;align-items:center;height:100%;border-bottom:3px solid transparent;font-size:13px;text-decoration:none}
  body:not(.admin-body) .topbar .desk-nav a:hover,body:not(.admin-body) .topbar .desk-nav a:focus-visible{border-bottom-color:var(--wx-ref-yellow)}
  body:not(.admin-body) .topbar .account-menu{margin-left:auto}
  body:not(.admin-body) .topbar .account-menu summary{width:42px;height:42px;min-width:42px;min-height:42px;border:1px solid #4e6175;border-radius:50%;background:#142538;color:#fff}
}
@media(max-width:999px){
  body:not(.admin-body) .topbar{display:grid;grid-template-columns:40px 1fr 40px 40px;gap:8px;align-items:center;height:58px;padding:0 12px}
  body:not(.admin-body) .topbar .wx-mobile-menu,body:not(.admin-body) .topbar .wx-mobile-notify{display:grid;place-items:center;width:38px;height:38px;color:#fff;text-decoration:none;font-size:23px}
  body:not(.admin-body) .topbar .wx-mobile-menu{grid-column:1}
  body:not(.admin-body) .topbar .logo{grid-column:2;justify-self:center;width:auto;height:auto}
  body:not(.admin-body) .topbar .word-s{font:900 23px/1 Manrope,Arial,sans-serif;letter-spacing:-.075em;color:#fff}
  body:not(.admin-body) .topbar .wx-mobile-notify{grid-column:3}
  body:not(.admin-body) .topbar .account-menu{grid-column:4;margin:0}
  body:not(.admin-body) .topbar .account-menu summary{width:34px;height:34px;min-width:34px;min-height:34px;border:1px solid #698099;border-radius:50%;overflow:hidden}
}

/* Board 02: the hero and featured member form one desktop row. */
.wx-desktop-lead,.wx-lead-motd{display:none}
@media(min-width:768px){
  body.page-home .wx-greet{display:none}
  .wx-desktop-lead{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(285px,1fr);grid-template-rows:300px;gap:12px;margin-bottom:12px}
  .wx-desktop-lead .wx-home-reference-hero{min-height:0;height:100%;margin:0;background-position:center 45%}
  .wx-desktop-lead .wx-home-reference-hero h2{font-size:clamp(45px,4vw,61px)!important}
  .wx-desktop-lead .wx-home-reference-hero>div{padding:18px clamp(20px,3vw,44px)}
  .wx-desktop-lead .wx-home-reference-actions .btn{width:auto!important;min-width:190px;padding:11px 18px}
  .wx-lead-motd{display:grid;grid-template-columns:47% minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:10px;background:linear-gradient(155deg,#0a1824,#07111a);border:1px solid #62758a;border-radius:17px;overflow:hidden;padding:10px;min-width:0}
  .wx-lead-motd h2{grid-column:1/-1;margin:0;color:#ffe74a;font-size:19px;line-height:1.25}
  .wx-lead-motd h2 span{font-size:28px;vertical-align:-3px;margin-right:7px}
  .wx-lead-motd-photo{display:block;min-height:0;overflow:hidden;border-radius:9px;background:#172536}
  .wx-lead-motd-photo img,.wx-lead-motd-photo .motd-hero-ph{width:100%;height:100%;object-fit:cover;display:grid;place-items:center}
  .wx-lead-motd-info{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:9px 3px 4px 0}
  .wx-lead-motd-info h3{font-size:clamp(19px,1.7vw,27px);line-height:1.1;color:#fff;margin:0 0 11px}
  .wx-lead-motd-info p{color:#eee;margin:0 0 13px;font-size:13px}
  .wx-lead-motd-info blockquote{font-style:italic;color:#e7e7e7;font-size:clamp(13px,1.1vw,17px);line-height:1.35;margin:auto 0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .wx-lead-motd-info .btn{width:100%;min-height:42px}
  body.page-home .hb-motd{display:none}
}
@media(min-width:768px) and (max-width:1050px){.wx-desktop-lead{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.wx-lead-motd{grid-template-columns:42% 1fr}.wx-lead-motd-info blockquote{font-size:12px}}

/* Board 02: three equally aligned dashboard panels below the lead. */
.wx-ref-dashboard{display:none}
.wx-ref-dashboard-lower{display:none}
@media(min-width:1180px){
  body.page-home .wx-ref-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.92fr);gap:12px;margin:0 0 14px}
  body.page-home .wx-ref-dash-panel{min-width:0;height:290px;border:1px solid #587088;border-radius:14px;background:linear-gradient(150deg,#0a1a2a,#07121d);padding:12px;overflow:hidden;color:#fff}
  body.page-home .wx-ref-dash-panel header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
  body.page-home .wx-ref-dash-panel h2{color:#fff;margin:0;font:800 clamp(15px,1.45vw,21px)/1.1 Manrope,Arial,sans-serif;white-space:nowrap}
  body.page-home .wx-ref-dash-panel h2 span{color:#ffe831;font-size:1.25em;vertical-align:-.08em;margin-right:7px}
  body.page-home .wx-ref-dash-panel header a{font-size:11px;color:#e5dcf5;white-space:nowrap;text-decoration:none}
  body.page-home .wx-ref-dash-panel>p{margin:3px 0 10px 30px;font-size:11px;line-height:1.2;color:#dae1e9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-faces{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;height:225px}
  body.page-home .wx-ref-dash-faces a{position:relative;overflow:hidden;border:1px solid #62758a;border-radius:9px;background:#111b25;color:#fff;text-decoration:none}
  body.page-home .wx-ref-dash-faces img{width:100%;height:100%;object-fit:cover;object-position:var(--face-position);filter:brightness(.88)}
  body.page-home .wx-ref-dash-faces a::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#03070bec)}
  body.page-home .wx-ref-dash-faces a>span{position:absolute;z-index:1;bottom:7px;left:7px;right:5px;display:flex;flex-direction:column;gap:3px}
  body.page-home .wx-ref-dash-faces b{font-size:clamp(11px,.95vw,15px);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-faces small{font-size:10px;color:#f5f5f5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-faces .live-dot{width:7px;height:7px;display:inline-block}
  body.page-home .wx-ref-dash-places{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;height:225px}
  body.page-home .wx-ref-dash-places a{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #65768b;border-radius:9px;color:#fff;text-decoration:none;background:#07141d}
  body.page-home .wx-ref-dash-places img{width:100%;height:68%;object-fit:cover}
  body.page-home .wx-ref-dash-places b{font-size:12px;line-height:1.15;margin:7px 5px 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-places small{font-size:10px;margin:0 5px;color:#d7e3ee;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-events{display:flex;flex-direction:column}
  body.page-home .wx-ref-dash-events>p{margin-left:30px}
  body.page-home .wx-ref-dash-event{position:relative;min-height:68px;display:flex;align-items:center;gap:7px;padding:5px 8px;margin-bottom:5px;border:1px solid #62758a;border-radius:9px;overflow:hidden;color:#fff;text-decoration:none;background:#101b2a}
  body.page-home .wx-ref-dash-event>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.42)}
  body.page-home .wx-ref-dash-event time,body.page-home .wx-ref-dash-event span,body.page-home .wx-ref-dash-event strong{position:relative;z-index:1}
  body.page-home .wx-ref-dash-event time{flex:0 0 45px;text-align:center;font-size:11px;font-weight:800;color:#fff;background:#101a2ab8;border:1px solid #a4689a;border-radius:6px;padding:4px}
  body.page-home .wx-ref-dash-event span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
  body.page-home .wx-ref-dash-event b{font-size:14px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-event small{font-size:10px;color:#e8e8e8;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.page-home .wx-ref-dash-event strong{font-size:26px;font-weight:400}
  body.page-home .home-tabs,body.page-home .live-feed,body.page-home .more-live{display:none!important}
  body.page-home .wx-ref-dashboard-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.92fr);gap:12px;margin:0 0 18px}
  body.page-home .wx-ref-dashboard-lower>*{min-width:0;height:195px;border:1px solid #587088;border-radius:14px;overflow:hidden}
  body.page-home .wx-ref-dashboard-lower .wx-ref-dash-panel{height:195px}
  body.page-home .wx-ref-dash-shop-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;height:135px}
  body.page-home .wx-ref-dash-shop-content a{display:flex;flex-direction:column;min-width:0;color:#fff;text-decoration:none}
  body.page-home .wx-ref-dash-shop-content img{width:100%;height:94px;object-fit:cover;border:1px solid #697b8d;border-radius:8px}
  body.page-home .wx-ref-dash-shop-content b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}
  body.page-home .wx-ref-dash-shop-content small{font-size:10px;color:#f2f2f2}
  body.page-home .wx-ref-dash-promo{display:flex;flex-direction:column;justify-content:flex-end;gap:7px;padding:17px;color:#fff;text-decoration:none;background:linear-gradient(90deg,#06111a22,#06111aff),var(--promo-image) center/cover}
  body.page-home .wx-ref-dash-promo span{align-self:flex-end;font-size:20px;font-weight:900;line-height:1.2;letter-spacing:.12em}
  body.page-home .wx-ref-dash-promo small{align-self:flex-end;font-size:12px;line-height:1.25}
  body.page-home .wx-ref-dash-promo strong{align-self:flex-end;background:var(--wx-ref-yellow);color:#000;padding:9px 13px;border-radius:6px;font-size:12px}
  body.page-home .wx-ref-dash-cities{padding:12px}
  body.page-home .wx-ref-dash-cities h2{font-size:15px}
  body.page-home .wx-ref-dash-city-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px;height:125px}
  body.page-home .wx-ref-dash-city-list a{position:relative;display:flex;align-items:flex-end;overflow:hidden;border:1px solid #65768b;border-radius:8px;padding:6px;color:#fff;text-decoration:none}
  body.page-home .wx-ref-dash-city-list img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.65)}
  body.page-home .wx-ref-dash-city-list b{position:relative;z-index:1;font-size:11px;text-shadow:0 1px 5px #000}
  body.page-home .wx-tiles-photo{display:none!important}
}

/* Board 03: image-led 2 × 3 launcher with readable overlays on mobile. */
@media(max-width:767px){
  body.page-home .wx-mh{grid-template-columns:38px 1fr auto auto;gap:7px;margin-bottom:13px}
  body.page-home .wx-mh-menu{width:38px;height:38px;border:0;background:transparent}
  body.page-home .wx-mh-brand{font-size:26px;font-weight:900;letter-spacing:-.075em;justify-self:center}
  body.page-home .wx-mh-brand::first-letter{color:#fff}
  body.page-home .wx-mh-loc{font-size:12px;font-weight:600;color:#d5dce5;grid-column:1/-1}
  body.page-home .wx-mhome-greeting{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin:9px 0 14px;color:#fff}
  body.page-home .wx-mhome-greeting h1{font-size:24px;letter-spacing:-.035em;line-height:1.1;margin:0 0 4px;color:#fff}
  body.page-home .wx-mhome-greeting p{font-size:13px;line-height:1.25;color:#e5e9ef;margin:0}
  body.page-home .wx-mhome-greeting>span{display:flex;align-items:center;gap:4px;color:#ffdf26;font-size:18px;white-space:nowrap}
  body.page-home .wx-mhome-greeting small{color:#e5e9ef;font-size:11px}
  body.page-home .wx-g63{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:22px}
  body.page-home .wx-g{min-height:154px;padding:12px!important;border:1px solid #65778d!important;border-radius:10px!important;background-color:#102033!important;background-image:linear-gradient(180deg,rgba(4,11,19,.05) 17%,rgba(4,11,19,.27) 49%,rgba(4,11,19,.91) 100%),var(--bg)!important;background-position:center!important;background-size:cover!important;box-shadow:inset 0 -35px 35px #06111a66!important;align-items:center;justify-content:flex-end;text-align:center}
  body.page-home .wx-g.env{border-color:#f163bb!important;box-shadow:0 0 12px #ec47c655,inset 0 -35px 35px #06111a66!important}
  body.page-home .wx-g b{font-size:20px;color:#fff;line-height:1.1;text-shadow:0 2px 8px #000}
  body.page-home .wx-g small{font-size:11px;color:#fff;line-height:1.15;text-shadow:0 2px 7px #000}
  body.page-home .wx-g .gi{margin:0 auto 10px;filter:drop-shadow(0 0 11px #ffd400aa);transform:scale(1.2)}
  body.page-home .wx-now{margin:17px 0 21px}
  body.page-home .wx-now-h h2{font-size:17px}
  body.page-home .wx-now-pic{height:112px}
  body.page-home .wx-mdj{border-color:#596d82;background:linear-gradient(90deg,#0c1b2a,#111e2d)}
}
/* Home always uses the dark master-reference art direction, independently of account appearance. */
html[data-theme="azur"] body.page-home:not(.wantx-landing):not(.admin-body),html[data-theme="standard"] body.page-home:not(.wantx-landing):not(.admin-body){background:#06111e!important;background-image:linear-gradient(155deg,#06111e,#091927 55%,#07111a)!important;color:#fff!important}
html[data-theme="azur"] body.page-home:not(.wantx-landing) .topbar,html[data-theme="standard"] body.page-home:not(.wantx-landing) .topbar{background:#06111ef5!important;border-color:#344b61!important}
html[data-theme="azur"] body.page-home .topbar .word-s,html[data-theme="azur"] body.page-home .topbar .desk-nav a,html[data-theme="standard"] body.page-home .topbar .word-s,html[data-theme="standard"] body.page-home .topbar .desk-nav a{color:#fff!important}
body.page-home .wx-home-v2 h1,body.page-home .wx-home-v2 h2,body.page-home .wx-home-v2 b,body.page-home .wx-home-v2 p{color:#fff}
body.page-home .wx-home-v2-profile>span b,body.page-home .wx-home-v2-profile>span small,body.page-home .wx-home-v2-actions>a b,body.page-home .wx-home-v2-actions>a small{color:#fff!important}
body.page-home .wx-home-v2 h1,body.page-home .wx-home-v2 h2,body.page-home .wx-home-v2 h3,body.page-home .wx-home-v2-card b,body.page-home .wx-home-v2-card p{color:#fff!important}
body.page-home .wx-home-v2-people header p,body.page-home .wx-home-v2-card small{color:#bdcad6!important}
@media(max-width:767px){body.page-home .wx-home-v2-featured{display:none!important}body.page-home .wx-home-v2-event{display:block!important;order:-1}body.page-home .wx-home-v2-event>a{color:#fff!important}}
html[data-theme="azur"] body.page-home:not(.wantx-landing) .wx-home-v2-welcome h1,html[data-theme="standard"] body.page-home:not(.wantx-landing) .wx-home-v2-welcome h1{color:#fff!important}
html[data-theme="azur"] body.page-home:not(.wantx-landing) .wx-home-v2-people h2,html[data-theme="standard"] body.page-home:not(.wantx-landing) .wx-home-v2-people h2{color:#fff!important}
html[data-theme="azur"] body.page-home .wx-home-v2-welcome h1 strong,html[data-theme="standard"] body.page-home .wx-home-v2-welcome h1 strong{color:#ffd21a!important}
/* Mobile home composition: profiles first, then the two core actions. */
@media(max-width:767px){
  body.page-home .wrap{padding:64px 12px 96px!important}
  body.page-home .wx-home-v2-tabs{margin:3px 0 7px;gap:5px}
  body.page-home .wx-home-v2-tabs a{min-height:32px;font-size:9px;border-radius:5px}
  body.page-home .wx-home-v2-primary{display:flex;flex-direction:column;gap:8px}
  body.page-home .wx-home-v2-people{order:1}
  body.page-home .wx-home-v2-actions{order:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0}
  body.page-home .wx-home-v2-actions>a{display:none!important;min-height:72px;border-radius:8px;padding:7px 8px;align-items:flex-start;text-align:left;justify-content:flex-end}
  body.page-home .wx-home-v2-actions>a:nth-child(1),body.page-home .wx-home-v2-actions>a:nth-child(2){display:flex!important}
  body.page-home .wx-home-v2-actions>a:nth-child(1){border-color:#6c75aa!important;box-shadow:inset 0 0 24px #263ea638!important}
  body.page-home .wx-home-v2-actions>a:nth-child(2){border-color:#ff5faf!important;box-shadow:0 0 13px #f24b9d3b,inset 0 0 26px #e93b8738!important}
  body.page-home .wx-home-v2-actions .gi{position:absolute;right:13px;top:12px;margin:0;transform:scale(1.15)}
  body.page-home .wx-home-v2-actions b{font-size:17px;line-height:1}
  body.page-home .wx-home-v2-actions small{font-size:9px;margin-top:3px}
  body.page-home .wx-home-v2-profile-grid{gap:6px}
  body.page-home .wx-home-v2-profile{height:150px;border-radius:7px}
  body.page-home .wx-home-v2-profile>span{left:7px;right:5px;bottom:6px;gap:1px}
  body.page-home .wx-home-v2-profile b{font-size:12px}
  body.page-home .wx-home-v2-profile small{font-size:9px}
  body.page-home .wx-home-v2-heart{top:5px;right:6px;font-size:18px}
  body.page-home .wx-home-v2-secondary{margin-top:8px}
  body.page-home .wx-home-v2-event{min-height:58px;margin:0;padding:7px}
  body.page-home .wx-home-v2-event>a{height:54px;grid-template-columns:75px 1fr auto}
  body.page-home .wx-home-v2-event span b{font-size:12px}
  body.page-home .wx-home-v2-event span small{font-size:9px}
}
@media(max-width:767px){body.page-home .wx-app-footer{display:none!important}}
/* Official compact WANTX logo used on the public entry page. */
.wx-ref-brand-image{display:block;width:auto;height:34px;max-width:190px;object-fit:contain}
@media (max-width:650px){.wx-ref-brand-image{height:29px;max-width:150px}}
