/* Midnight / moonlit violet. Typography stays SUIT, 14px or larger. */
:root{color-scheme:dark;--paper:#111321;--ink:#eeeaf8;--muted:#b4b0c7;--line:#343449;--accent:#c1aff4}
body.game-home.prism-home{--world-accent:#c1aff4;background:#080b17;color:#eeeaf8}
.prism-home #start-screen.simple-lobby{
 background:
 radial-gradient(ellipse at 50% 8%,#60518e24,transparent 50%),
 radial-gradient(ellipse at 12% 70%,#353c7c1a,transparent 50%),
 radial-gradient(ellipse at 92% 60%,#70437315,transparent 45%),
 #080b17;
 max-width:none;
}
.simple-lobby #start-title{color:#eee9fa;font-weight:500;text-shadow:0 0 32px #bca3ff28;letter-spacing:-1px}
.simple-lobby .prism-carousel{background:transparent;border:0;box-shadow:none}
.prism-card{background:#151927;box-shadow:0 15px 35px -15px #0009,0 0 0 1px #aaa0da30}
.prism-card.is-active{box-shadow:0 18px 40px -15px #000a,0 0 0 1px #b3a0ea75}
.prism-card:after{border-color:#a89dc626;background:none}
.prism-card-top{color:#d8cfe8}
.prism-own-count{color:#d7bfa0}
.prism-card-caption,.prism-card.is-active .prism-card-caption{
 background:#181c2b;border:1px solid #6e64803d;
 color:#ede7f8;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
}
.prism-card-caption>span{color:#b5adc9}
.prism-spot-name{color:#f0eafa}
.prism-spot-country{color:#d8cfe8cc}
.prism-card-caption small{color:#c0b4d5}
.prism-card-caption i{color:#c7b0f4}
.prism-spot-name{white-space:nowrap;font-size:clamp(20px,6vw,27px)}
/* Cursor-reactive 3D wish cards, adapted from Frontend.fyi's CSS perspective tutorial. */
.prism-track{perspective:1050px;transform-style:preserve-3d}
.prism-card{overflow:visible;background:transparent;box-shadow:none;perspective:1050px;transform-style:preserve-3d}
.prism-card:after{content:none}
.prism-card-face{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;background:#151927;box-shadow:0 15px 35px -15px #0009,0 0 0 1px #aaa0da30;transform:perspective(1000px) rotateX(var(--arc-rx,0deg)) rotateY(var(--arc-ry,0deg)) translateZ(0);transform-style:preserve-3d;transition:transform .42s cubic-bezier(.2,.75,.25,1),box-shadow .35s ease;will-change:transform}
.prism-card-face:before,.prism-card-face:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none}
.prism-card-face:before{z-index:4;border:1px solid #b9a9e83d}
.prism-card-face:after{z-index:1;background:radial-gradient(ellipse at var(--arc-x,50%) var(--arc-y,50%),#d8c8ff38,transparent 52%),linear-gradient(145deg,#ffffff0d,transparent 44%,#b9a6e60a);opacity:0;transition:opacity .25s ease}
.prism-card-face.is-tilting{transition:transform .1s ease-out,box-shadow .25s ease;box-shadow:0 22px 42px -15px #000b,0 0 30px #a98be51c,0 0 0 1px #c6b3f16b}
.prism-card.is-active{box-shadow:none}
.prism-card.is-active .prism-card-face{box-shadow:0 18px 38px -16px #000b}
.prism-card.is-active .prism-card-face:before{border-color:transparent}
.prism-card.is-active:focus-visible{outline:none;outline-offset:0}
.prism-card.is-active:focus-visible .prism-card-face{box-shadow:inset 0 0 0 2px #c0a8f4,0 18px 38px -16px #000b}
.prism-home button.prism-card:focus-visible{outline:none!important;outline-offset:0}
.prism-card-face.is-tilting:after,.prism-card:focus-visible .prism-card-face:after{opacity:1}
.prism-card:focus-visible .prism-card-face{transform:perspective(1000px) rotateX(1deg) rotateY(-2deg) translateZ(0);box-shadow:inset 0 0 0 2px #c6b3f1,0 20px 40px -15px #000b}
@media(max-width:600px){
 #wish-compose .pair-options{display:grid;gap:8px;min-width:0;margin:18px 0 0;padding:0;border:0}
 #wish-compose .pair-options legend{padding:0;margin:0 0 7px;color:#ddd2ed;font-size:16px}
 #wish-compose .pair-choice{display:flex;align-items:center;gap:10px;margin:0;padding:11px 12px;border:1px solid #494258;border-radius:10px;background:#0c1120;color:#eee9f8;cursor:pointer}
 #wish-compose .pair-choice:has(input:checked){border-color:#bda7e8;background:#201b30}
 #wish-compose .pair-choice input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#bda7e8}
 #wish-compose .pair-choice span{display:flex;flex-direction:column;gap:2px}
 #wish-compose .pair-choice strong{font-size:16px;font-weight:600}
 #wish-compose .pair-choice small{font-size:14px;color:#b6a9c9;line-height:1.5}
 #wish-compose .pair-mode-note,.pair-local-note{font-size:14px!important;line-height:1.55!important;color:#b6a9c9!important;margin:10px 0}
 #pair-join{width:min(470px,calc(100vw - 28px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:34px 22px 22px;border:1px solid #62527366;border-radius:14px;background:#131725;color:#eee7f8;box-shadow:0 24px 100px #02030da6}
 #pair-join::backdrop{background:#040611c4}
 #pair-join h2{font-size:24px;line-height:1.4;margin:10px 0 12px}
 #pair-join label{font-size:16px;color:#ddd2ed;margin-top:18px}
 #pair-join input,#pair-join textarea{background:#0c1120;border-color:#4c415e;color:#eee9f8;font-size:16px}
 #pair-join textarea{min-height:100px}
 #pair-join .pair-invite-intro{color:#c9bdd9;font-size:16px;line-height:1.65}
 #pair-join .pair-inviter-wish{display:grid;gap:6px;margin:12px 0;padding:13px;border:1px solid #494258;border-radius:10px;background:#0c1120}
 #pair-join .pair-inviter-wish span{font-size:14px;color:#bca8d3}
 #pair-join .pair-inviter-wish strong{font-size:16px;line-height:1.55;color:#eee7f8}
 #other-wish .pair-content{display:grid;gap:12px}
 #other-wish .pair-member{display:grid;gap:4px;padding:12px;border:1px solid #494258;border-radius:9px;background:#111522}
 #other-wish .pair-member span{font-size:14px;color:#bca8d3}
 #other-wish .pair-member strong{font-size:16px;line-height:1.55;color:#eee7f8}
 #other-wish .pair-member small{font-size:14px;color:#b6a9c9}
 #pair-join .primary{width:100%;justify-content:center;margin-top:14px;padding:15px;font-size:16px;background:#bda7e8;color:#1c152c}
 #pair-join .close{position:absolute;right:13px;top:9px;font-size:24px;color:#d0b9ee}
 #pair-join-status{font-size:14px;color:#e3c8ff}
 #wish-compose .privacy-options{display:grid;gap:8px;min-width:0;margin:18px 0 0;padding:0;border:0}
 #wish-compose .privacy-options legend{padding:0;margin:0 0 7px;color:#ddd2ed;font-size:16px}
 #wish-compose .privacy-choice{display:flex;align-items:center;gap:10px;margin:0;padding:11px 12px;border:1px solid #494258;border-radius:10px;background:#0c1120;color:#eee9f8;cursor:pointer}
 #wish-compose .privacy-choice:has(input:checked){border-color:#bda7e8;background:#201b30}
 #wish-compose .privacy-choice input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#bda7e8}
 #wish-compose .privacy-choice span{display:flex;flex-direction:column;gap:2px}
 #wish-compose .privacy-choice strong{font-size:16px;font-weight:600}
 #wish-compose .privacy-choice small{font-size:14px;color:#b6a9c9;line-height:1.5}
 .prism-spot-name{font-size:clamp(20px,7vw,27px)}
 #spot.first-person .world-top{left:24px;right:24px;width:calc(100vw - 48px);max-width:calc(100vw - 48px);transform:none;text-align:center}
 #spot.first-person .world-top h2{font-size:clamp(22px,7.5vw,34px);line-height:1.25;white-space:nowrap;word-break:keep-all}
 #spot.first-person .world-top>div{width:100%;display:flex;flex-direction:column;align-items:center}
 #spot.first-person .world-top h2{align-self:center}
 #spot.first-person .world-wish-count{align-self:center;justify-content:center;white-space:nowrap;font-size:20px}
 #spot.first-person .world-top h2 .spot-story-trigger{display:inline-block;margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;pointer-events:auto;cursor:pointer}
 #spot.first-person .world-top h2 .spot-story-trigger:focus-visible{outline:2px solid #c0a8f4;outline-offset:4px}
 #spot.first-person .world-top #view-home{position:fixed;z-index:12;top:19px;right:16px;left:auto;display:grid;place-items:center;width:38px;height:38px;align-self:auto;justify-content:center;margin:0;padding:0;border:1px solid #76618e66;border-radius:50%;background:#15182bef;color:#c7b6dd;text-decoration:none;opacity:1;box-shadow:none;pointer-events:auto}
 #spot.first-person .world-top #view-home svg{display:block}
 #spot.first-person .world-top #view-home span{display:none}
 #spot.first-person .world-top #view-home:hover,#spot.first-person .world-top #view-home:focus-visible{background:#252039;color:#eee0ff;opacity:1;box-shadow:none}
 #spot.first-person .visit-tools{display:none}
 #spot.first-person .mobile-controls{position:absolute;z-index:5;left:20px;right:20px;bottom:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
 #spot.first-person .mobile-controls .joystick{position:relative;left:auto;bottom:auto;flex:0 0 88px;width:88px;height:88px;pointer-events:auto}
 #spot.first-person .mobile-controls #interact{position:relative;left:auto;bottom:auto;transform:none;flex:0 1 220px;width:auto;max-width:none;min-width:0;min-height:56px;margin:0;padding:16px 12px;white-space:nowrap;pointer-events:auto}
 #spot.first-person #open-scene-wishes,#spot.first-person #open-culture{display:none}
 #spot.first-person .interaction-hint[hidden]{display:none}
}
@media(prefers-reduced-motion:reduce){.prism-card-face,.prism-card-face:after{transition:none}}
.prism-home .simple-lobby #enter-world{
 background:#b9a6e6;border:1px solid #cab8f3;color:#171526;
 box-shadow:0 5px 24px #9c7ce01c;font-weight:600;
 transition:background .2s,box-shadow .2s,transform .2s;
}
.prism-home .simple-lobby #enter-world:hover{background:#cbbbf1;border-color:#d7c8fa;box-shadow:0 5px 28px #ac8feb2e;transform:translateY(-1px)}
.prism-home button:focus-visible,.prism-home a:focus-visible,.prism-carousel:focus-visible{outline-color:#c0a8f4}
.prism-lens,.prism-floor{display:none}
.game-home dialog{color:#eeeaf8;background:#111522;border-color:#494258}
.game-home dialog::backdrop{background:#040611ba}
#spot.first-person{background:#080c19;border-color:#343047}
#spot.first-person .world-view{background:#0a1020}
#spot.first-person .world-top .eyebrow{color:#c1b5db}
#spot.first-person .world-top h2{color:#f0eafa;text-shadow:0 2px 18px #070b1b}
#spot.first-person .world-top p{color:#c9c1d8}
.world-wish-count{color:#c9c1d8}
#spot.first-person>.close{background:#13172ae8;color:#eee7fa;border-color:#75648d70}
.visit-tools button{background:#12172be8;border-color:#7d6b9859;color:#e7dff4;backdrop-filter:none}
.visit-tools button span{color:#d2b8f5}
#view-home svg{display:none}
#spot.first-person #open-scene-wishes{display:none}
.reticle{border-color:#e1ceff;background:#c9b0ed66;box-shadow:0 0 8px #9a7ec14d}
.interaction-hint{background:#15182df2;border-color:#75628c66;color:#e4d7f2;backdrop-filter:none}
.joystick-base{background:#161b30ed;border-color:#7e709a88;backdrop-filter:none}
.joystick-base.active{background:#2a2550}
.joystick-knob{background:#e7def63d;border-color:#e7def680}
#interact{background:#bda7e8;border-color:#cab5f1;color:#1c152c;backdrop-filter:none;transition:opacity .2s,box-shadow .2s;font-weight:600}
#interact:disabled{opacity:.4;cursor:default;filter:grayscale(.4)}
#interact.ready{box-shadow:0 0 0 2px #c1aff4cc,0 0 26px #c1aff459}
#interact span{border-color:#897698;color:#362746}
#spot.first-person .world-disclaimer{color:#c0b6d1;text-shadow:0 1px 5px #080c19}
#visit-drawer{background:#131828;border-color:#75668d66;color:#ece6f7;backdrop-filter:none}
.drawer-title button{color:#d0b9ed}
#scene-wishes .note,.culture p,.culture summary{color:#bfb4d3}
.scene-wish{border-color:#38354d;color:#e8dff4}
.scene-wish>span{color:#c6a4ee}
.scene-wish small{color:#b3a6c9}
#all-wishes .wish-owner-tag{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:3px 9px;font-size:14px;line-height:1.45}
#all-wishes .wish-owner-tag.is-mine{color:#d8c5ff;background:#35294d;border:1px solid #7f67a4}
#all-wishes .wish-owner-tag.is-other{color:#c3d4e6;background:#202e42;border:1px solid #536a85}
#all-wishes-list .all-wish-row{align-items:flex-start;gap:10px;padding:13px 4px;border-bottom:1px solid #38354d}
#all-wishes-list .all-wish-row .wish-row-symbol{flex:0 0 20px;color:#c6a4ee;font-size:18px}
#all-wishes-list .all-wish-row>div{min-width:0;flex:1}
#all-wishes-list .all-wish-row .wish-owner-tag{margin-bottom:6px}
#all-wishes-list .all-wish-row strong{white-space:normal;line-height:1.55}
#all-wishes-list .all-wish-row small{margin-top:4px}
#all-wishes-list .all-wish-row:focus-visible{outline:2px solid #c0a8f4;outline-offset:2px}
#all-wishes .wish-owner-tag.is-private{color:#e0d0b4;background:#342d26;border:1px solid #79664c}
.privacy-options{display:none}
.culture{border-color:#38354d}
.game-home a.source{color:#c7b1e8}
.other-wish-label{color:#9f93b6}
.other-wish-close{border-color:#494258;color:#eeeaf8}
.other-wish-close:hover{background:#ffffff0d}
.wish-registered{color:#c3e0a8!important}
.wish-encourage{color:#b9adcf!important}
#wish-share{background:#241f3a;border-color:#6e64803d;color:#ede7f8}
#wish-share:hover{background:#30294a}
#other-wish .pair-kind-label{display:inline-flex;align-items:center;gap:7px}
#other-wish .pair-kind-label .lucide-heart-icon{width:16px;height:16px;flex:none}
#other-wish .wish-support,#other-wish .wish-discover{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;margin:14px 0 0;padding:18px 16px 12px;border:1px solid #79678e66;border-radius:999px;background:#241f3a;color:#eee7f8;font-size:16px;line-height:1.4}
#other-wish .wish-support .lucide-heart-icon{width:19px;height:19px;flex:none;color:#d9b8f5;transition:fill .2s ease,transform .2s ease}
#other-wish .wish-support:hover:not(:disabled),#other-wish .wish-discover:hover{background:#30294a;border-color:#a58ac7}
#other-wish .wish-support.is-supported{border-color:#bd91d7;background:#342546;color:#f1d9ff}
#other-wish .wish-support.is-supported .lucide-heart-icon{fill:#d9b8f5;transform:scale(1.05)}
#other-wish .wish-support:disabled{cursor:default;opacity:1}
#other-wish .wish-support-count{min-width:1.3em;color:#b8a5cf;font-size:14px;font-variant-numeric:tabular-nums}
#other-wish .wish-discover{border-color:#79678e66;background:#1c2030;color:#d9c8eb}
#wish-compose{background:#131725;border-color:#62527366;box-shadow:0 24px 100px #02030da6;color:#eee7f8}
.compose-actions{background:#131725}
#wish-compose::backdrop{background:#040611c4;backdrop-filter:none}
#wish-compose h2{color:#eee8fa}
.compose-intro{color:#bdb1cf}
.compose-close{color:#d0b9ee}
#wish-compose label{color:#ddd2ed}
#wish-compose textarea,#wish-compose input{background:#0c1120;border-color:#4c415e;color:#eee9f8;caret-color:#d0b3fb}
#wish-compose textarea::placeholder,#wish-compose input::placeholder{color:#a79ab9;opacity:1}
#wish-compose textarea:focus-visible,#wish-compose input:focus-visible{outline-color:#bca1ed}
#remaining,#wish-compose .note{color:#b6a9c9}
.compose-actions .primary{background:#bda7e8;color:#1c152c;border-color:#cab5f1;font-weight:600}
.compose-actions .primary:hover{background:#ccb8f1}
#formstatus{color:#d1b6f6}
#mydialog .eyebrow{color:#c4a9ea}
#mydialog .wish{border-color:#3c344e}
#mydialog .wish p{color:#e3d9ee}
#mydialog .wish small{color:#b8aacd}
#mydialog .wish button{color:#c9adf0}
#mydialog .close{color:#dac9ef}
#toast{background:#28213d;color:#f2e7ff;border:1px solid #7f65a2}
.loading3d,.fallback3d,.fallback3d p{color:#c3b4dc}
@media(prefers-reduced-motion:reduce){.prism-home .simple-lobby #enter-world{transition:none}}
/* Slow aurora-like light, behind the crisp cards and text. */
.prism-home #start-screen.simple-lobby{position:relative;isolation:isolate;overflow:hidden;background:#080b17}
#start-screen.simple-lobby:before,#start-screen.simple-lobby:after{
 content:'';position:absolute;inset:-24%;z-index:-1;pointer-events:none;
 background:
 radial-gradient(ellipse at 28% 36%,#7e5fc24a 0%,#59408c26 26%,transparent 56%),
 radial-gradient(ellipse at 76% 67%,#4d63aa42 0%,#34446f20 28%,transparent 57%);
 transform-origin:center;
 animation:wish-aurora 26s ease-in-out infinite alternate;
}
#start-screen.simple-lobby:after{
 background:
 radial-gradient(ellipse at 69% 26%,#8a5fa038 0%,transparent 50%),
 radial-gradient(ellipse at 35% 78%,#3f5a9433 0%,transparent 50%);
 animation:wish-aurora-drift 34s ease-in-out infinite alternate;
}
@keyframes wish-aurora{
 0%{transform:translate(-4%,-3%) rotate(-7deg) scale(1);opacity:.65}
 50%{transform:translate(4%,2%) rotate(3deg) scale(1.06);opacity:1}
 100%{transform:translate(7%,-4%) rotate(9deg) scale(1.12);opacity:.8}
}
@keyframes wish-aurora-drift{
 0%{transform:translate(6%,3%) rotate(8deg);opacity:.5}
 100%{transform:translate(-6%,-5%) rotate(-9deg);opacity:1}
}
@media(prefers-reduced-motion:reduce){#start-screen.simple-lobby:before,#start-screen.simple-lobby:after{animation:none;transform:none;opacity:.7}}
#sound-toggle{
 position:fixed;right:24px;bottom:22px;z-index:20;
 display:flex;align-items:center;justify-content:center;
 width:42px;height:42px;padding:0;
 border:1px solid #76618e66;border-radius:50%;
 background:#15182beF;color:#c7b6dd;
 cursor:pointer;
}
#sound-toggle:hover{background:#252039;color:#eee0ff}
#sound-toggle svg{flex-shrink:0}
#sound-toggle.muted .sound-waves{opacity:.3}
#sound-toggle:focus-visible{outline:2px solid #c0a8f4;outline-offset:4px}
#spot #sound-toggle{right:24px;bottom:22px}
#other-wish.wish-just-added[open]{display:flex;flex-direction:column}
#other-wish:not([open]){display:none}
#other-wish.wish-just-added .eyebrow.wish-mine-eyebrow,#other-wish.wish-just-added .other-wish-label{display:none}
#other-wish.wish-just-added .wish-registered{order:1;font-size:18px!important;margin:0 0 12px!important}
#other-wish.wish-just-added .wish-content{order:2;margin:0 0 16px;padding:18px 16px;border:1px solid #494258;border-radius:12px;background:#0c1120}
#other-wish.wish-just-added .wish-content .other-wish-text{margin:0 0 10px}
#other-wish.wish-just-added .wish-content small{display:block;color:#bfb4d3;font-size:14px;line-height:1.5}
#other-wish.wish-just-added .wish-encourage{font-size:18px!important;line-height:1.65!important;margin:16px 0!important}
#other-wish.wish-just-added .wish-discover-prompt{order:4}
#other-wish.wish-just-added .wish-discover{order:5}
#other-wish.wish-just-added .wish-share-prompt{order:6}
#other-wish.wish-just-added #wish-share{order:7;margin-top:10px}
@media(max-width:600px){
 #wish-compose .compose-actions{position:static;bottom:auto;background:transparent;padding-bottom:0}
 dialog :focus,dialog :focus-visible{outline:none!important;box-shadow:none!important}
 .prism-home .prism-card-caption>span.prism-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
 .prism-home .prism-card-caption .prism-tag-pill{display:inline-flex;align-items:center;width:max-content;padding:3px 9px;border:1px solid #7f67a4;border-radius:999px;background:#35294d;color:#d8c5ff;font-size:14px;line-height:1.45;letter-spacing:0}
 .prism-home .prism-card-caption .prism-tag-separator{display:none}
 #other-wish .pair-invite-label{order:5;margin:0 0 5px;color:#c9bdd9;font-size:14px}
 #other-wish .pair-invite-url{order:6;width:100%;margin:0;padding:10px 12px;border:1px solid #494258;border-radius:8px;background:#0c1120;color:#d9c9ed;font-size:14px}
 #other-wish #pair-share{order:7;margin-top:10px;background:#241f3a;border:1px solid #6e64803d;border-radius:999px;padding:12px;color:#ede7f8;font-size:16px}
 #sound-toggle{right:14px;bottom:14px;width:38px;height:38px}
 #spot #sound-toggle{top:19px;bottom:auto;left:16px;right:auto}
}
/* Headings use the display font (Dancing Peoples); body/guide text stays SUIT. Matches the specificity of each component's own h1/h2 rule so this wins the cascade. */
h1,h2,#start-title,
.world-intel h2,.prism-intro h1,.prism-home .world-intel h2{
 font-family:'Dancing Peoples','SUIT',sans-serif;
 font-weight:800;
 font-variation-settings:'DANC' 50;
}

/* Shared couple-wish UI for desktop and mobile. */
#wish-compose .pair-options{display:grid;gap:8px;min-width:0;margin:18px 0 0;padding:0;border:0}
#wish-compose .pair-options legend{padding:0;margin:0 0 7px;color:#ddd2ed;font-size:16px}
#wish-compose .pair-choice{display:flex;align-items:center;gap:10px;margin:0;padding:12px 14px;border:1px solid #494258;border-radius:10px;background:#0c1120;color:#eee9f8;cursor:pointer}
#wish-compose .pair-choice:has(input:checked){border-color:#bda7e8;background:#201b30}
#wish-compose .pair-choice input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#bda7e8}
#wish-compose .pair-choice span{display:flex;flex-direction:column;gap:2px}
#wish-compose .pair-choice strong{font-size:16px;font-weight:600}
#wish-compose .pair-choice small{font-size:14px;color:#b6a9c9;line-height:1.5}
#wish-compose .pair-mode-note,.pair-local-note{font-size:14px!important;line-height:1.55!important;color:#b6a9c9!important;margin:10px 0}
#pair-join{width:min(520px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:38px 34px 30px;border:1px solid #62527366;border-radius:14px;background:#131725;color:#eee7f8;box-shadow:0 24px 100px #02030da6}
#pair-join::backdrop{background:#040611c4}
#pair-join h2{font-size:28px;line-height:1.4;margin:10px 0 12px}
#pair-join label{font-size:16px;color:#ddd2ed;margin-top:18px}
#pair-join input,#pair-join textarea{background:#0c1120;border-color:#4c415e;color:#eee9f8;font-size:16px}
#pair-join textarea{min-height:120px}
#pair-join .pair-invite-intro{color:#c9bdd9;font-size:16px;line-height:1.65}
#pair-join .pair-inviter-wish{display:grid;gap:6px;margin:12px 0;padding:13px;border:1px solid #494258;border-radius:10px;background:#0c1120}
#pair-join .pair-inviter-wish span{font-size:14px;color:#bca8d3}
#pair-join .pair-inviter-wish strong{font-size:16px;line-height:1.55;color:#eee7f8}
#pair-join .primary{width:100%;justify-content:center;margin-top:14px;padding:15px;font-size:16px;background:#bda7e8;color:#1c152c}
#pair-join .close{position:absolute;right:13px;top:9px;font-size:24px;color:#d0b9ee}
#pair-join-status{font-size:14px;color:#e3c8ff}
#other-wish .pair-content{display:grid;gap:12px}
#other-wish .pair-member{display:grid;gap:4px;padding:12px;border:1px solid #494258;border-radius:9px;background:#111522}
#other-wish .pair-member span{font-size:14px;color:#bca8d3}
#other-wish .pair-member strong{font-size:16px;line-height:1.55;color:#eee7f8}
#other-wish .pair-member small{font-size:14px;color:#b6a9c9}
#other-wish .pair-kind-label{width:max-content;margin:0 0 8px;padding:4px 10px;border:1px solid #d77da866;border-radius:999px;background:#48233a;color:#ffc0dc;font-size:14px;font-weight:600;line-height:1.45}
#other-wish .pair-invite-label{display:block;margin:0 0 5px;color:#c9bdd9;font-size:14px}
#other-wish .pair-invite-url{width:100%;margin:0;padding:10px 12px;border:1px solid #494258;border-radius:8px;background:#0c1120;color:#d9c9ed;font-size:14px}
#other-wish #pair-share{margin-top:10px;background:#241f3a;border:1px solid #6e64803d;border-radius:999px;padding:12px;color:#ede7f8;font-size:16px}
#other-wish.wish-just-added .pair-invite-label{order:5}
#other-wish.wish-just-added .pair-invite-url{order:6}
#other-wish.wish-just-added #pair-share{order:7}
.prism-home .prism-card-caption>span.prism-card-tags{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.prism-home .prism-card-caption .prism-tag-pill{display:inline-flex;align-items:center;width:max-content;padding:3px 9px;border:1px solid #7f67a4;border-radius:999px;background:#35294d;color:#d8c5ff;font-size:14px;line-height:1.45;letter-spacing:0}
.prism-home .prism-card-caption .prism-tag-separator{display:none}
.keyboard-guide{display:none}
.game-home #spot.first-person #wave-avatar{position:absolute;z-index:8;right:28px;bottom:104px;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #8870a9;border-radius:999px;background:#17182bdc;color:#e9def7;font-size:14px;backdrop-filter:blur(8px);pointer-events:auto}
.game-home #spot.first-person #wave-avatar svg{display:block;flex:0 0 18px;width:18px;height:18px}
.game-home #spot.first-person #wave-avatar:hover{background:#2a2240;border-color:#b9a0df}
@media(max-width:600px){#spot.first-person #wave-avatar{right:0;bottom:76px;min-height:42px;padding:9px 14px}}
@media(min-width:601px){
 .game-home dialog>.close,.game-home dialog>.compose-close{display:grid;place-items:center;width:38px;height:38px;padding:0;line-height:1;text-align:center}
 #spot.first-person .mobile-controls .joystick{display:none}
 #spot.first-person .keyboard-guide{position:absolute;left:28px;bottom:24px;z-index:6;display:flex;align-items:center;gap:14px;padding:11px 14px;border:1px solid #65577b88;border-radius:12px;background:#111522eF;color:#d7cce8;box-shadow:0 8px 28px #02030d66;pointer-events:none}
 #spot.first-person .keyboard-keys{display:grid;grid-template-columns:repeat(3,30px);grid-template-rows:repeat(2,30px);gap:3px}
 #spot.first-person .keyboard-keys kbd{display:grid;place-items:center;min-width:30px;height:30px;border:1px solid #74648f;border-bottom-width:2px;border-radius:6px;background:#242039;color:#eee7fa;font-size:14px;font-weight:700;line-height:1}
 #spot.first-person .keyboard-keys kbd:nth-child(1){grid-column:2;grid-row:1}
 #spot.first-person .keyboard-keys kbd:nth-child(2){grid-column:1;grid-row:2}
 #spot.first-person .keyboard-keys kbd:nth-child(3){grid-column:2;grid-row:2}
 #spot.first-person .keyboard-keys kbd:nth-child(4){grid-column:3;grid-row:2}
 #spot.first-person .keyboard-hints{display:grid;gap:4px;font-size:14px;line-height:1.4;white-space:nowrap}
 #spot.first-person .keyboard-hints kbd{color:#f1e9ff;font-weight:700}
}
