#scl-world{--gold:#d9aa55;--panel:rgba(7,7,7,.91);--line:#8c6329;position:relative;width:100%;height:min(82vh,850px);min-height:620px;overflow:hidden;background:#050505;color:#eee;border:1px solid #6f4b17;font-family:Georgia,'Times New Roman',serif;box-sizing:border-box}#scl-world *{box-sizing:border-box}#scl-stage{position:absolute;inset:0;background:#050505;overflow:hidden}#scl-scene{width:100%;height:100%;object-fit:cover;object-position:center;transition:opacity .2s,transform .7s;transform:scale(1.015)}#scl-scene.changing{opacity:.18;transform:scale(1.035)}.scl-vignette{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.52),transparent 23%,transparent 76%,rgba(0,0,0,.55)),linear-gradient(0deg,rgba(0,0,0,.34),transparent 25%)}.scl-top{position:absolute;z-index:20;left:0;right:0;top:0;height:74px;background:rgba(4,4,4,.9);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 22px;gap:28px}.scl-brand{font-size:31px;letter-spacing:3px;color:#e9c477;white-space:nowrap}.scl-brand small{display:block;font-size:9px;letter-spacing:3px}.scl-top nav{display:flex;gap:6px;flex:1}.scl-top button,.scl-left button,.scl-tabs button,.scl-actions button,.scl-bottom button{font:inherit;color:#eee;background:rgba(8,8,8,.75);border:1px solid transparent;cursor:pointer}.scl-top button{padding:13px 20px}.scl-top button.active,.scl-left button.active{border-color:var(--gold);color:#f3d38d;background:rgba(111,75,23,.35)}.scl-user{font-size:14px}.scl-user span{display:block;color:#4ee47a;font-size:12px;margin-top:5px}.scl-left{position:absolute;z-index:18;left:12px;top:92px;width:190px;background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:8px}.scl-left button{display:flex;width:100%;gap:13px;align-items:center;text-align:left;padding:12px 10px;font-size:15px;border-radius:2px}.scl-left hr{border:0;border-top:1px solid #60451f;margin:8px}.scl-right{position:absolute;z-index:18;right:12px;top:92px;width:245px;display:grid;gap:12px}.scl-right section{background:var(--panel);border:1px solid var(--line);border-radius:4px;padding:12px}.scl-right h3{color:#edcc86;font-size:17px;margin:0 0 10px;padding-bottom:8px;border-bottom:1px solid #60451f}.scl-right h2{font-size:19px;margin:8px 0}.scl-right p{font-size:13px;line-height:1.4;margin:5px 0 12px}.scl-person{display:flex;align-items:center;width:100%;border:0;background:transparent;color:#eee;padding:5px;cursor:pointer;text-align:left}.scl-person:hover{background:#241a0d}.scl-avatar-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#2c2118;border:1px solid #765326;margin-right:6px;color:#e6c17a}.scl-green,.scl-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#38df6e;box-shadow:0 0 7px #38df6e;margin-right:7px}.scl-pname{font-size:13px}.scl-pname em{font-size:10px;color:#aaa}.scl-chat{position:absolute;z-index:19;left:12px;bottom:12px;width:390px;height:245px;background:var(--panel);border:1px solid var(--line);border-radius:4px;display:flex;flex-direction:column;transition:height .2s}.scl-chat.min{height:42px;overflow:hidden}.scl-tabs{height:42px;display:flex;border-bottom:1px solid #5f441f}.scl-tabs button{padding:9px 17px}.scl-tabs button.active{color:#f2ce80;border-bottom:2px solid var(--gold)}#scl-chat-min{margin-left:auto}#scl-chat-log{flex:1;overflow:auto;padding:10px 12px;font:13px/1.45 Arial,sans-serif}#scl-chat-log div{margin:3px 0}#scl-chat-log b{color:#e4ba6c}#scl-chat-log small{color:#8f8f8f}.scl-empty{color:#aaa;padding:20px 5px}#scl-chat-form{height:48px;border-top:1px solid #443119;display:flex;padding:7px;gap:7px}#scl-chat-input{flex:1;min-width:0;background:#0b0b0b;border:1px solid #454545;color:white;padding:9px;font-size:14px}#scl-chat-form button{background:#3b2916;border:1px solid var(--gold);color:#f2d18b;padding:0 18px}.scl-bottom{position:absolute;z-index:17;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;background:rgba(5,5,5,.88);border:1px solid var(--line);border-radius:24px;padding:4px 8px;gap:10px}.scl-bottom button{width:38px;height:38px;border-radius:50%;font-size:24px}.scl-bottom div{min-width:130px;text-align:center;color:#e7c47c}#scl-hotspots{position:absolute;inset:0;z-index:10}.scl-door{position:absolute;background:rgba(0,0,0,0);border:1px solid transparent;color:transparent;cursor:pointer;border-radius:8px}.scl-door:hover,.scl-door:focus{background:rgba(218,170,85,.10);border:1px solid rgba(241,203,127,.8);color:#ffe1a1;text-shadow:0 2px 5px #000;font:bold 15px Georgia}.scl-modal[hidden]{display:none}.scl-modal{position:absolute;z-index:40;inset:0;background:rgba(0,0,0,.65);display:grid;place-items:center}.scl-dialog{position:relative;width:min(430px,90%);background:#090909;border:1px solid var(--gold);padding:25px;color:#eee}.scl-x{position:absolute;right:8px;top:8px;background:#111;border:1px solid #555;color:#fff;font-size:22px}.scl-profile-photo{height:100px;display:grid;place-items:center;font-size:42px;background:linear-gradient(#2c1b12,#090909);color:#c99445}.scl-actions{display:flex;gap:8px;margin-top:18px}.scl-actions button{flex:1;padding:11px;border:1px solid var(--gold);color:#edcc86}#scl-toast{position:absolute;z-index:60;left:50%;top:88px;transform:translate(-50%,-10px);opacity:0;background:#111;border:1px solid var(--gold);padding:10px 18px;transition:.2s;pointer-events:none}#scl-toast.show{opacity:1;transform:translate(-50%,0)}#scl-loader{position:absolute;z-index:100;inset:0;background:#000;display:grid;place-items:center;text-align:center}#scl-loader b{display:block;color:#dda94f;font-size:38px;letter-spacing:6px}#scl-loader span{display:block;margin-top:10px}.scl-login{padding:30px;background:#080808;color:#e7c47c;border:1px solid #8c6329}
@media(max-width:900px){#scl-world{height:760px}.scl-top nav{display:none}.scl-brand{font-size:24px}.scl-user{margin-left:auto}.scl-left{width:58px}.scl-left span{display:none}.scl-left button{justify-content:center}.scl-right{width:190px}.scl-chat{width:calc(100% - 220px)}.scl-bottom{bottom:265px}}@media(max-width:650px){.scl-right{display:none}.scl-chat{width:calc(100% - 24px)}.scl-bottom{bottom:270px}.scl-left{top:78px}.scl-top{height:64px;padding:0 10px}.scl-user{font-size:11px}}
#scl-private-tools{display:flex;gap:7px;align-items:center;padding:7px 10px;border-bottom:1px solid rgba(202,168,92,.28);background:rgba(8,6,7,.82);flex-wrap:wrap}#scl-private-tools[hidden]{display:none}#scl-private-tools span{color:#d6bd7a;font-size:12px;margin-right:auto}#scl-private-tools button{border:1px solid rgba(202,168,92,.45);background:#171113;color:#e7d6a5;padding:5px 9px;border-radius:3px;cursor:pointer}.scl-actions{display:flex!important;gap:8px;flex-wrap:wrap!important}.scl-actions button{flex:1 1 42%;min-width:120px}
/* v12.0.2 readability pass */
#scl-world{--panel:rgba(3,3,3,.97);--gold:#f0c978;color:#fff;font-size:16px}
.scl-top{background:rgba(2,2,2,.97)}
.scl-brand{color:#ffe0a0;text-shadow:0 1px 2px #000}
.scl-top button,.scl-left button,.scl-tabs button,.scl-actions button,.scl-bottom button{color:#fff;font-weight:600;text-shadow:0 1px 2px #000}
.scl-left{width:215px;background:rgba(2,2,2,.97);padding:10px}
.scl-left button{font-size:17px;padding:13px 11px;line-height:1.25}
.scl-right{width:285px}
.scl-right section{background:rgba(2,2,2,.97);padding:16px;box-shadow:0 5px 18px rgba(0,0,0,.55)}
.scl-right h3{color:#ffe0a0;font-size:19px;line-height:1.25}
.scl-right h2{color:#fff;font-size:21px;line-height:1.3}
.scl-right p{color:#f2f2f2;font:15px/1.55 Arial,sans-serif}
.scl-pname{font:15px/1.3 Arial,sans-serif;color:#fff}.scl-pname em{font-size:12px;color:#ddd}
.scl-chat{width:440px;height:275px;background:rgba(2,2,2,.98)}
.scl-tabs{height:46px}.scl-tabs button{font-size:16px;padding:10px 18px}
#scl-chat-log{font:15px/1.55 Arial,sans-serif;color:#fff;padding:12px 14px}
#scl-chat-log b{color:#ffd98c}#scl-chat-log small{color:#ccc}
#scl-chat-input{background:#050505;border-color:#80622f;color:#fff;font-size:16px;padding:10px 12px}
#scl-chat-input::placeholder{color:#cfcfcf;opacity:1}
#scl-chat-form{height:54px}#scl-chat-form button{font-size:16px;font-weight:700;color:#fff}
#scl-room-info{overflow:hidden}#scl-room-info *{max-width:100%;overflow-wrap:anywhere}
@media(max-width:1100px){.scl-left{width:190px}.scl-right{width:245px}.scl-chat{width:410px}}

/* v12.0.4 readability + compact/pop-out room chat */
.scl-left{background:rgba(3,3,3,.985);border-color:#a77a31}
.scl-left button,.scl-left button span{color:#f1c96f!important;font-weight:700;text-shadow:0 1px 2px #000}
.scl-left button:hover{color:#ffe5a0!important;background:#261b0d;border-color:#8c6329}
.scl-left button.active,.scl-left button.active span{color:#ffe7a6!important}
.scl-right section{background:rgba(2,2,2,.985);box-shadow:0 4px 18px rgba(0,0,0,.65)}
#scl-room-info h2,#scl-room-info h3{color:#f4cf7b!important;text-shadow:0 1px 2px #000}
#scl-room-info p,#scl-room-info b{color:#fff!important;font-family:Arial,sans-serif;font-size:15px;line-height:1.55}
.scl-chat{width:350px;height:215px;background:rgba(2,2,2,.99);box-shadow:0 5px 22px rgba(0,0,0,.72);transition:height .2s,width .2s,left .2s,bottom .2s,transform .2s}
.scl-tabs{flex:0 0 40px;height:40px}
.scl-tabs button{padding:8px 12px;font-size:14px;font-weight:700;color:#f4d58e}
#scl-chat-pop,#scl-chat-min{margin-left:auto;min-width:34px;padding:7px 9px;font-family:Arial,sans-serif}
#scl-chat-min{margin-left:0}
#scl-chat-log{font:14px/1.45 Arial,sans-serif;padding:9px 11px}
#scl-chat-form{height:48px;padding:6px}
#scl-chat-input{font-size:14px;padding:8px 10px}
#scl-chat-form button{font-size:15px;padding:0 15px}
.scl-chat.popped{position:absolute;z-index:55;left:50%;bottom:50%;transform:translate(-50%,50%);width:min(900px,calc(100% - 80px));height:min(620px,calc(100% - 110px));border-color:#d9aa55;box-shadow:0 0 0 9999px rgba(0,0,0,.48),0 12px 40px rgba(0,0,0,.9)}
.scl-chat.popped #scl-chat-log{font-size:16px;line-height:1.6;padding:16px 18px}
.scl-chat.popped #scl-chat-form{height:62px;padding:9px}
.scl-chat.popped #scl-chat-input{font-size:16px}
.scl-chat.popped .scl-tabs{height:48px;flex-basis:48px}
.scl-chat.popped .scl-tabs button{font-size:16px;padding:10px 18px}
@media(max-width:900px){.scl-chat{width:330px}.scl-chat.popped{width:calc(100% - 30px);height:calc(100% - 90px)}.scl-left button,.scl-left button span{color:#f1c96f!important}}
@media(max-width:650px){.scl-chat{width:calc(100% - 24px);height:210px}.scl-chat.popped{width:calc(100% - 16px);height:calc(100% - 78px)} }

/* v12.0.6 larger world, high-contrast room info, restored physical door entry */
@media(min-width:901px){
  #scl-world{width:min(96vw,1600px);max-width:none;height:min(90vh,960px);min-height:720px;left:50%;transform:translateX(-50%);box-shadow:0 12px 42px rgba(0,0,0,.72)}
  .scl-top{height:82px;padding:0 26px}.scl-brand{font-size:34px}.scl-left{top:100px;width:220px}.scl-right{top:100px;width:300px}
  .scl-chat{left:18px;bottom:18px}.scl-bottom{bottom:22px}
}
#scl-room-info{position:relative;background:linear-gradient(90deg,rgba(0,0,0,.96),rgba(0,0,0,.89))!important;border-color:#c2923d!important;box-shadow:0 6px 24px rgba(0,0,0,.88),inset 0 0 30px rgba(0,0,0,.55)!important;pointer-events:none}
#scl-room-info:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 30% 25%,rgba(0,0,0,.10),rgba(0,0,0,.38));z-index:0}
#scl-room-info>*{position:relative;z-index:1}
#scl-room-info h2{color:#ffe19a!important;font-size:23px!important;font-weight:700!important;letter-spacing:.02em;text-shadow:0 2px 2px #000,0 0 7px #000,0 0 14px #000!important}
#scl-room-info h3{color:#ffe19a!important;font-size:20px!important;text-shadow:0 2px 2px #000,0 0 7px #000!important}
#scl-room-info p,#scl-room-info b{color:#fff!important;font-size:16px!important;font-weight:600;text-shadow:0 2px 2px #000,0 0 5px #000!important}
#scl-hotspots{z-index:17;pointer-events:none}
.scl-door{pointer-events:auto;outline:none}
.scl-door:hover,.scl-door:focus{background:rgba(0,0,0,.38);border:2px solid #f0c978;color:#ffe6aa;text-shadow:0 2px 3px #000,0 0 8px #000;font:bold 17px Georgia;box-shadow:inset 0 0 24px rgba(0,0,0,.5),0 0 12px rgba(240,201,120,.25)}
/* Let the physical room doors remain clickable even where information overlays them. */
.scl-right{pointer-events:none}.scl-right #scl-people,.scl-right .scl-person,.scl-right button{pointer-events:auto}
@media(max-width:900px){#scl-world{left:auto;transform:none;width:100%;min-height:700px}#scl-room-info h2{font-size:20px!important}#scl-room-info p,#scl-room-info b{font-size:15px!important}}


/* v12.0.13 — unobstructed scene layout: smaller overlays, full scene, top navigation only */
#scl-stage{background:#030303!important}
#scl-scene{object-fit:contain!important;object-position:center center!important;transform:none!important;width:100%!important;height:100%!important}
#scl-scene.changing{transform:none!important}
#scl-hotspots{display:none!important;pointer-events:none!important}
.scl-door{display:none!important}
/* Top navigation is the primary room navigation; remove redundant bottom scene navigator. */
.scl-bottom{display:none!important}
/* Smaller, less intrusive overlay boxes. */
.scl-left{left:10px!important;top:84px!important;width:164px!important;padding:5px!important;background:rgba(3,3,3,.90)!important}
.scl-left button{padding:8px 7px!important;font-size:14px!important;gap:9px!important}
.scl-left hr{margin:5px!important}
.scl-right{right:10px!important;top:84px!important;width:205px!important;gap:8px!important}
.scl-right section{padding:8px 9px!important;background:rgba(3,3,3,.91)!important}
.scl-right h3{font-size:14px!important;margin:0 0 6px!important;padding-bottom:5px!important}
#scl-room-info h2{font-size:17px!important;margin:5px 0!important;line-height:1.15!important}
#scl-room-info p,#scl-room-info b{font-size:13px!important;line-height:1.35!important;margin:3px 0 6px!important}
.scl-person{padding:3px!important}.scl-avatar-dot{width:23px!important;height:23px!important}.scl-pname{font-size:12px!important}
.scl-chat:not(.popped){left:10px!important;bottom:10px!important;width:340px!important;height:188px!important}
.scl-chat:not(.popped).min{height:40px!important}
.scl-chat:not(.popped) .scl-tabs{height:39px!important}
.scl-chat:not(.popped) .scl-tabs button{padding:7px 11px!important;font-size:13px!important}
.scl-chat:not(.popped) #scl-chat-log{padding:7px 9px!important;font-size:12px!important}
.scl-chat:not(.popped) #scl-chat-form{height:43px!important;padding:5px!important}
.scl-chat:not(.popped) #scl-chat-input{padding:6px 8px!important;font-size:13px!important}
.scl-chat:not(.popped) #scl-chat-form button{padding:0 13px!important}
/* Keep all overlay copy legible without large opaque blocks. */
#scl-room-info{background:rgba(2,2,2,.90)!important;box-shadow:0 3px 12px rgba(0,0,0,.75)!important}
#scl-room-info h2,#scl-room-info h3{color:#ffe19a!important;text-shadow:0 2px 4px #000,0 0 8px #000!important}
#scl-room-info p,#scl-room-info b{color:#fff!important;text-shadow:0 2px 4px #000!important}
@media(max-width:900px){#scl-scene{object-fit:cover!important}.scl-left{width:150px!important}.scl-right{width:190px!important}.scl-chat:not(.popped){width:min(330px,calc(100% - 20px))!important}}

/* v12.0.15 Voice & Video chooser */
.scl-calls-dialog{max-width:560px!important}.scl-call-people{display:grid;gap:8px;margin-top:14px}.scl-call-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:rgba(8,5,5,.94);border:1px solid rgba(201,161,74,.45);border-radius:6px}.scl-call-person>span{display:flex;align-items:center;gap:8px}.scl-call-person button{width:auto!important;padding:7px 10px!important;margin:0 0 0 6px!important}.scl-call-person .scl-green{display:inline-block;width:8px;height:8px;border-radius:50%;background:#36d66b}


/* v12.0.16 — member login/register and age-verification gate */
.scl-access-gate{min-height:560px;display:flex;align-items:center;justify-content:center;padding:40px 20px;background:radial-gradient(circle at 50% 25%,#32100f 0,#120807 42%,#050505 78%);color:#f7ead2;font-family:Georgia,\"Times New Roman\",serif;border:1px solid #5e431e;box-sizing:border-box}
.scl-access-card{width:min(560px,92vw);text-align:center;padding:42px 38px;background:rgba(8,8,8,.94);border:1px solid #9a6a24;box-shadow:0 18px 55px rgba(0,0,0,.7),inset 0 0 40px rgba(122,75,20,.08)}
.scl-access-brand{font-size:34px;letter-spacing:.13em;color:#d9ae5f;font-weight:700;margin-bottom:30px;text-shadow:0 2px 12px #000}
.scl-access-brand small{display:block;margin-top:8px;font-size:10px;letter-spacing:.26em;color:#b89559}
.scl-access-card h2{font-size:28px;margin:0 0 12px;color:#e7c57e}
.scl-access-card p{font-family:Arial,sans-serif;font-size:16px;line-height:1.55;color:#f3eadb;margin:0 auto 25px;max-width:450px}
.scl-access-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:6px 0 22px}
.scl-access-button{display:inline-block;min-width:135px;padding:12px 22px!important;background:#9b1c1c!important;border:1px solid #d0a653!important;color:#fff!important;text-decoration:none!important;text-transform:uppercase;font:700 13px/1.2 Arial,sans-serif;letter-spacing:.08em;box-shadow:0 5px 18px rgba(0,0,0,.4)}
.scl-access-button:hover{background:#b22a27!important;color:#fff!important}
.scl-access-secondary{background:#171717!important;color:#e7c57e!important}
.scl-access-secondary:hover{background:#282018!important;color:#fff!important}
.scl-access-card .scl-access-note{font-size:12px;color:#bcae98;margin-bottom:0}
/* v12.0.21 private member directory */
#scl-private-picker{padding:7px 9px;border-bottom:1px solid rgba(202,168,92,.35);background:rgba(5,5,5,.98)}
#scl-private-picker[hidden]{display:none}
#scl-member-search{width:100%;background:#050505;border:1px solid #80622f;color:#fff;padding:7px 9px;font-size:13px}
#scl-member-search::placeholder{color:#c8c8c8}
#scl-member-results{display:flex;gap:5px;overflow-x:auto;padding-top:6px;max-height:42px}
.scl-member-choice{flex:0 0 auto;border:1px solid #6f5327;background:#17110a;color:#f2cf82;padding:5px 9px;cursor:pointer;font:12px Arial,sans-serif;border-radius:3px}
.scl-member-choice:hover{background:#2a1d0d;border-color:#d9aa55}
.scl-member-none{color:#aaa;font:12px Arial,sans-serif;padding:4px}
.scl-chat.popped #scl-member-results{max-height:130px;overflow-y:auto;flex-wrap:wrap}

.scl-action-message{font-style:italic;color:#e7c46a}.scl-action-message em{font-style:italic}

/* v12.1.0 social/admin UX */
#scl-chat-pop,#scl-chat-help{width:auto!important;min-width:max-content;padding:7px 9px!important;font-size:11px!important;white-space:nowrap}
.scl-chat.popped #scl-chat-pop,.scl-chat.popped #scl-chat-help{font-size:13px!important;padding:9px 12px!important}
.scl-badge{display:inline-flex;align-items:center;justify-content:center;min-width:16px;height:16px;padding:0 4px;margin-left:4px;border-radius:9px;background:#9d1d1d;color:#fff;font:700 10px Arial,sans-serif}
.scl-badge[hidden]{display:none!important}
#scl-status{margin-left:7px;background:#090909;color:#e9c776;border:1px solid #765622;padding:3px 5px;font-size:11px}
.scl-green.away,.scl-person .scl-green.away{background:#e3a62a!important}
#scl-online-list{display:grid;gap:6px;max-height:430px;overflow:auto;margin-top:12px}
.scl-online-person{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;background:#0c0907;border:1px solid #5f4724;color:#f1d28b;text-align:left;cursor:pointer}
.scl-online-person:hover{border-color:#c89b49;background:#171009}.scl-online-person span{display:flex;align-items:center;gap:7px}.scl-online-person small{color:#c9bda8}.scl-online-person .scl-green{display:inline-block;width:8px;height:8px;border-radius:50%;background:#36d66b}.scl-online-person .scl-green.away{background:#e3a62a}
#scl-help-modal code{color:#ffe19a;background:#15100a;padding:2px 5px;border:1px solid #5d4625}
.scl-actions #scl-report-person,.scl-actions #scl-block-person{background:#21100f!important;border-color:#79403a!important}
@media(max-width:700px){#scl-chat-help{display:none!important}#scl-chat-pop{font-size:10px!important;padding:7px 6px!important}}


/* v12.1.1 — wider aligned chat + compact actionable private unread badges */
@media(min-width:651px){
  .scl-chat:not(.popped){width:436px!important;max-width:calc(100% - 24px)!important}
}
.scl-chat,.scl-chat *{box-sizing:border-box}
.scl-chat .scl-tabs,#scl-chat-log,#scl-private-picker,#scl-private-tools,#scl-chat-form{width:100%!important;max-width:100%!important}
.scl-chat .scl-tabs{overflow:hidden;align-items:stretch}
.scl-chat:not(.popped) .scl-tabs button{padding-left:10px!important;padding-right:10px!important;white-space:nowrap}
#scl-chat-form{margin:0!important}
#scl-chat-input{width:auto!important;min-width:0!important}
/* Defensive overrides: other messaging plugins/themes must not turn these into banners. */
#scl-world .scl-badge,#scl-world #scl-message-badge,#scl-world #scl-private-badge{
  position:static!important;inset:auto!important;float:none!important;display:inline-flex!important;
  vertical-align:middle!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:17px!important;max-width:34px!important;height:17px!important;min-height:17px!important;
  padding:0 5px!important;margin:0 0 0 5px!important;border:0!important;border-radius:10px!important;
  background:#a32121!important;color:#fff!important;font:700 10px/17px Arial,sans-serif!important;
  letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;overflow:hidden!important;
}
#scl-world .scl-badge[hidden],#scl-world #scl-message-badge[hidden],#scl-world #scl-private-badge[hidden]{display:none!important}
.scl-unread-choice{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
/* v12.1.2 private conversation navigation + command help */
#scl-private-back{margin-right:8px;white-space:nowrap}
.scl-command-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;text-align:left}
.scl-command-grid p{margin:0;padding:10px;border:1px solid rgba(201,153,45,.35);background:rgba(0,0,0,.35);line-height:1.65}
.scl-command-grid code{color:#f1cf73}.scl-command-note{font-size:12px;opacity:.8;text-align:left}
@media(max-width:700px){.scl-command-grid{grid-template-columns:1fr}}

/* v12.1.4 — keep the chat below the complete left navigation panel.
   JavaScript measures the sidebar so the chat can use the remaining space
   without covering Online Members, My Profile, or any other sidebar item. */
@media(min-width:901px){
  .scl-chat:not(.popped):not(.min){height:var(--scl-chat-safe-height,188px)!important;}
}

/* v12.1.5 — responsive tablet + phone participation layout */
@media (max-width:900px){
  #scl-world{height:max(720px,100dvh)!important;min-height:720px!important;max-height:none!important;overflow:hidden!important}
  .scl-top{height:72px!important;padding:7px 12px!important;gap:10px!important;align-items:center!important}
  .scl-brand{font-size:22px!important;letter-spacing:2px!important;line-height:1.05!important}
  .scl-brand small{font-size:7px!important;letter-spacing:1.5px!important;margin-top:4px!important}
  .scl-user{margin-left:auto!important;display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important;justify-content:flex-end!important;font:12px/1.2 Arial,sans-serif!important;text-align:right!important}
  .scl-user span{display:inline!important;margin:0!important;font-size:11px!important}
  #scl-status{font-size:12px!important;min-height:32px!important}
  .scl-top nav{display:none!important}
  .scl-left{left:0!important;right:0!important;top:72px!important;width:100%!important;height:58px!important;padding:5px 7px!important;border-left:0!important;border-right:0!important;border-radius:0!important;display:flex!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;white-space:nowrap!important}
  .scl-left hr{display:none!important}
  .scl-left button{flex:0 0 auto!important;width:auto!important;min-width:46px!important;height:46px!important;padding:8px 10px!important;justify-content:center!important;gap:6px!important;font-size:15px!important;touch-action:manipulation!important}
  .scl-left button span{display:inline!important;font-size:13px!important}
  .scl-right{top:138px!important;right:8px!important;width:220px!important;max-height:calc(100% - 146px)!important;overflow:auto!important;gap:8px!important}
  .scl-right section{padding:10px!important}.scl-right h3{font-size:15px!important}.scl-right h2{font-size:17px!important}.scl-right p{font-size:13px!important}
  .scl-chat:not(.popped){left:8px!important;right:236px!important;top:138px!important;bottom:8px!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;--scl-chat-safe-height:auto!important}
  .scl-chat.min{top:auto!important;right:236px!important;height:44px!important}
  .scl-chat .scl-tabs{flex:0 0 auto!important;height:auto!important;min-height:44px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin!important}
  .scl-chat .scl-tabs button{flex:0 0 auto!important;min-height:44px!important;padding:9px 11px!important;font-size:13px!important;touch-action:manipulation!important}
  #scl-chat-help{display:block!important}
  #scl-chat-log{min-height:0!important;font-size:14px!important;line-height:1.5!important;-webkit-overflow-scrolling:touch!important;overflow-wrap:anywhere!important}
  #scl-chat-form{flex:0 0 56px!important;height:56px!important;padding:7px!important;gap:7px!important}
  #scl-chat-input{font-size:16px!important;min-height:42px!important} /* prevents iOS input zoom */
  #scl-chat-form button{min-width:72px!important;min-height:42px!important;font-size:15px!important;touch-action:manipulation!important}
  #scl-private-picker{max-height:42%!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  #scl-private-tools{flex:0 0 auto!important;padding:7px!important;gap:6px!important}
  #scl-private-tools button{min-height:38px!important;font-size:13px!important;touch-action:manipulation!important}
  .scl-bottom{display:none!important}
  .scl-dialog{width:min(560px,calc(100% - 24px))!important;max-height:calc(100% - 24px)!important;overflow:auto!important;padding:20px!important;-webkit-overflow-scrolling:touch!important}
  .scl-actions button{min-height:44px!important}
}
@media (max-width:650px){
  #scl-world{height:max(680px,100dvh)!important;min-height:680px!important}
  #scl-stage{height:210px!important;bottom:auto!important}
  #scl-scene{object-position:center top!important;opacity:.72!important}
  .scl-vignette{background:linear-gradient(0deg,#050505 0,rgba(5,5,5,.25) 55%,rgba(0,0,0,.3) 100%)!important}
  .scl-top{height:66px!important;padding:6px 8px!important}
  .scl-brand{font-size:18px!important;letter-spacing:1.5px!important}.scl-brand small{font-size:6px!important;letter-spacing:1px!important}
  .scl-user{max-width:55%!important;font-size:10px!important;gap:4px!important}.scl-user span{font-size:10px!important}#scl-status{min-height:28px!important;padding:2px 4px!important;font-size:11px!important}
  .scl-left{top:66px!important;height:54px!important;padding:4px 5px!important}
  .scl-left button{height:44px!important;padding:7px 9px!important;font-size:16px!important}.scl-left button span{font-size:12px!important}
  .scl-right{display:none!important}
  .scl-chat:not(.popped){left:6px!important;right:6px!important;top:126px!important;bottom:6px!important;width:auto!important;height:auto!important;max-width:none!important;border-radius:3px!important}
  .scl-chat.min{top:auto!important;left:6px!important;right:6px!important;bottom:6px!important;width:auto!important;height:44px!important}
  .scl-chat .scl-tabs{min-height:43px!important}.scl-chat .scl-tabs button{min-height:43px!important;padding:8px 10px!important;font-size:12px!important}
  #scl-chat-pop{display:none!important} /* phone layout already uses the available screen */
  #scl-chat-help{font-size:12px!important;padding:8px 10px!important}
  #scl-chat-log{padding:9px 10px!important;font-size:14px!important;line-height:1.5!important}
  #scl-chat-form{height:58px!important;flex-basis:58px!important;padding:7px!important}
  #scl-chat-form button{min-width:66px!important;padding:0 12px!important}
  #scl-private-tools span{flex:1 0 100%!important;margin:0!important;font-size:13px!important}
  #scl-private-tools button{flex:1 1 auto!important;min-height:40px!important}
  #scl-member-search{font-size:16px!important;min-height:42px!important}
  .scl-member-choice,.scl-online-person{min-height:44px!important;font-size:14px!important}
  .scl-modal{position:fixed!important;z-index:99999!important;padding:8px!important}
  .scl-dialog{width:100%!important;max-width:520px!important;max-height:calc(100dvh - 16px)!important;padding:18px 14px!important}
  .scl-actions{gap:7px!important}.scl-actions button{flex:1 1 45%!important;min-width:0!important;font-size:13px!important}
  #scl-toast{position:fixed!important;top:8px!important;max-width:calc(100% - 20px)!important;text-align:center!important;font:13px/1.35 Arial,sans-serif!important}
}
@media (max-width:390px){
  .scl-brand small{display:none!important}.scl-user{max-width:62%!important}
  .scl-left button span{display:none!important}.scl-left button{min-width:44px!important}
  .scl-chat .scl-tabs button{padding-left:8px!important;padding-right:8px!important}
}
@media (orientation:landscape) and (max-height:600px) and (max-width:900px){
  #scl-world{height:100dvh!important;min-height:480px!important}
  .scl-top{height:58px!important}.scl-left{top:58px!important;height:50px!important}.scl-left button{height:40px!important}
  .scl-chat:not(.popped){top:114px!important}.scl-right{top:114px!important;max-height:calc(100% - 122px)!important}
}
/* v12.2.0 social interaction upgrade */
.scl-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}.scl-feature-grid button{min-height:44px;padding:10px;border:1px solid rgba(210,170,90,.5);background:rgba(18,13,12,.92);color:#f2dfb3;border-radius:6px;cursor:pointer}.scl-feature-grid button:hover{background:rgba(100,25,25,.75)}
#scl-request .scl-dialog{max-width:430px}.scl-status-text{font-size:11px;opacity:.75}.scl-person em{font-size:10px}.scl-gift-line{color:#e8c979;font-style:italic}
@media(max-width:600px){.scl-feature-grid{grid-template-columns:1fr 1fr}.scl-feature-grid button{font-size:14px;min-height:48px}}


/* v12.4.1 — keep every chat tab/control reachable; never clip Expand Chat */
@media(min-width:701px){
 .scl-chat .scl-tabs{overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin!important;justify-content:flex-start!important}
 .scl-chat:not(.popped) .scl-tabs button{flex:0 0 auto!important;padding-left:8px!important;padding-right:8px!important;font-size:11px!important;white-space:nowrap!important}
 #scl-chat-pop{margin-left:0!important;display:inline-flex!important;min-width:max-content!important}
 #scl-chat-min{margin-left:0!important;flex:0 0 32px!important}
}
#scl-world input,#scl-world textarea,#scl-world select{color-scheme:dark}


/* v12.4.2 — status control has its own sidebar row; never floats over member names */
.scl-my-status{display:block!important;width:100%!important;padding:5px 4px 8px!important;margin:0 0 5px!important;border-bottom:1px solid rgba(201,161,74,.30)!important;position:relative!important;z-index:auto!important;box-sizing:border-box!important}
.scl-my-status label{display:block!important;margin:0 0 4px!important;color:#d8b765!important;font:700 10px/1.2 Georgia,"Times New Roman",serif!important;text-transform:uppercase!important;letter-spacing:.09em!important}
.scl-my-status #scl-status{display:block!important;position:static!important;float:none!important;inset:auto!important;width:100%!important;max-width:100%!important;min-height:30px!important;margin:0!important;padding:5px 7px!important;background:#090909!important;color:#f0d188!important;border:1px solid #765622!important;font-size:12px!important;line-height:1.2!important;box-sizing:border-box!important;z-index:auto!important}
.scl-my-status #scl-status option{background:#090909!important;color:#f0d188!important}
@media(max-width:900px){.scl-my-status{padding:4px 3px 6px!important}.scl-my-status label{font-size:9px!important}.scl-my-status #scl-status{min-height:32px!important;font-size:12px!important}}


/* v12.4.4 — desktop docked/resizable chat.
   On wide screens the chat sits BESIDE the left navigation rather than on top of it,
   allowing a useful conversation height without obscuring sidebar labels. */
@media(min-width:901px){
  .scl-chat:not(.popped){
    left:212px!important; /* 12px sidebar + 190px width + 10px gap */
    bottom:72px!important; /* preserve the world navigation/Places area */
    width:436px!important;
    max-width:calc(100% - 485px)!important; /* leave breathing room for right panels */
  }
  .scl-chat:not(.popped):not(.min){
    top:auto!important;
    height:var(--scl-chat-user-height,390px)!important;
    min-height:210px!important;
    max-height:calc(100% - 158px)!important;
  }
  .scl-chat:not(.popped).min{height:42px!important;min-height:42px!important;bottom:72px!important}
  .scl-chat-resize-handle{
    position:absolute;z-index:8;left:0;right:0;top:-7px;height:14px;cursor:ns-resize;
    display:flex;align-items:center;justify-content:center;touch-action:none;
  }
  .scl-chat-resize-handle::before{content:"";width:62px;height:4px;border-radius:3px;background:#a77b36;box-shadow:0 0 0 1px #24180a}
  .scl-chat-resize-handle:hover::before{background:#e0ba68}
  .scl-chat .scl-tabs{padding-right:0!important}
  #scl-chat-pop{position:sticky!important;right:0!important;z-index:3!important;background:#120e08!important;border-left:1px solid #765622!important;border-right:1px solid #765622!important;color:#f2d18b!important}
  #scl-chat-min{position:sticky!important;right:0!important;z-index:4!important;background:#120e08!important}
}
@media(min-width:901px) and (max-width:1180px){
  .scl-chat:not(.popped){left:212px!important;width:390px!important;max-width:calc(100% - 475px)!important}
}

/* v12.4.6 — movable desktop chat */
@media (min-width:901px){
  .scl-chat:not(.popped){transform:none!important;}
  .scl-chat.scl-user-positioned:not(.popped){left:var(--scl-chat-x)!important;top:var(--scl-chat-y)!important;right:auto!important;bottom:auto!important;max-width:calc(100% - 12px)!important;}
  .scl-chat-move-handle{height:22px;display:flex;align-items:center;justify-content:center;gap:6px;background:#171008;border-bottom:1px solid #765622;color:#d9b76a;font:600 11px Georgia,serif;cursor:move;user-select:none;touch-action:none;letter-spacing:.2px}
  .scl-chat-move-handle:hover{background:#21170c;color:#f3d58c}
}
@media (max-width:900px){.scl-chat-move-handle{display:none!important}}

/* v13.3.0 — discoverable consensual relationship management */
.scl-relationships-dialog{max-width:680px!important}.scl-relationships-dialog h2{margin-bottom:6px}.scl-relationship-card{margin:12px 0;padding:13px 14px;border:1px solid rgba(201,161,74,.35);background:rgba(12,9,7,.88);border-radius:7px}.scl-relationship-card h3,#scl-relationship-offer h3{margin:0 0 7px;color:#e1bd69;font-family:Georgia,"Times New Roman",serif}.scl-relationship-card p{margin:5px 0 10px}.scl-relationship-card button,.scl-relationship-person button,.scl-relationship-buttons button{border:1px solid #8b682d;background:#171008;color:#f0d188;padding:8px 12px;border-radius:5px;cursor:pointer}.scl-relationship-card button:hover,.scl-relationship-person button:hover,.scl-relationship-buttons button:hover{background:#2a1b0c}.scl-relationship-buttons{display:flex;gap:8px}.scl-relationship-person{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-bottom:1px solid rgba(201,161,74,.18)}#scl-relationship-search{width:100%;min-height:40px;margin:7px 0;background:#090909!important;color:#f2dfb3!important;border:1px solid #765622!important;padding:8px 10px!important}#scl-relationship-results{max-height:220px;overflow:auto;border:1px solid rgba(201,161,74,.25);border-radius:5px}.scl-left #scl-relationships .scl-badge{margin-left:auto}
@media(max-width:600px){.scl-relationship-person{align-items:stretch;flex-direction:column}.scl-relationship-person button{width:100%}}

/* v13.3.2 — explicit modal/action button theme. Prevent host/theme button rules from producing white-on-white controls. */
#scl-world .scl-dialog button:not(.scl-x),
#scl-world .scl-call-person button,
#scl-world .scl-feature-grid button,
#scl-world .scl-actions button,
#scl-world .scl-relationship-card button,
#scl-world .scl-relationship-person button,
#scl-world .scl-relationship-buttons button {
  appearance:none!important;
  -webkit-appearance:none!important;
  background:#15100b!important;
  background-image:none!important;
  border:1px solid #b1843c!important;
  color:#f3d58e!important;
  -webkit-text-fill-color:#f3d58e!important;
  text-shadow:none!important;
  opacity:1!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-weight:700!important;
  line-height:1.2!important;
  border-radius:5px!important;
  box-shadow:none!important;
}
#scl-world .scl-dialog button:not(.scl-x):hover,
#scl-world .scl-dialog button:not(.scl-x):focus,
#scl-world .scl-call-person button:hover,
#scl-world .scl-call-person button:focus {
  background:#34230f!important;
  border-color:#e0b75e!important;
  color:#fff0bd!important;
  -webkit-text-fill-color:#fff0bd!important;
  outline:2px solid rgba(224,183,94,.28)!important;
  outline-offset:1px!important;
}
#scl-world .scl-dialog button:disabled {
  background:#171717!important;
  border-color:#555!important;
  color:#8f8f8f!important;
  -webkit-text-fill-color:#8f8f8f!important;
  cursor:not-allowed!important;
}
#scl-world .scl-call-person>span:last-child{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
#scl-world .scl-call-person button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:92px!important;min-height:38px!important;padding:8px 12px!important;margin:0!important;white-space:nowrap!important}
@media(max-width:520px){#scl-world .scl-call-person{align-items:stretch!important;flex-direction:column!important}#scl-world .scl-call-person>span:last-child{width:100%!important}#scl-world .scl-call-person button{flex:1 1 0!important;min-width:0!important}}

/* v13.3.3 in-world member page panel */
#scl-world .scl-app-panel{position:fixed!important;inset:0!important;z-index:100000!important;background:rgba(0,0,0,.78)!important;padding:3vh 3vw!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important}
#scl-world .scl-app-panel:not([hidden]){display:flex!important}
#scl-world .scl-app-shell{position:relative!important;width:min(1500px,96vw)!important;height:92vh!important;background:#080706!important;border:1px solid #a77a29!important;box-shadow:0 18px 70px rgba(0,0,0,.72)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}
#scl-world .scl-app-bar{flex:0 0 auto!important;min-height:58px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:10px 14px!important;background:#0b0908!important;border-bottom:1px solid #765622!important;color:#ead39a!important;box-sizing:border-box!important}
#scl-world .scl-app-bar>div:first-child{display:flex!important;align-items:baseline!important;gap:12px!important;min-width:0!important}
#scl-world .scl-app-kicker{font-size:11px!important;letter-spacing:.18em!important;color:#a9853e!important;white-space:nowrap!important}
#scl-world #scl-app-title{font-family:Georgia,'Times New Roman',serif!important;font-size:20px!important;font-weight:500!important;color:#e4c36f!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#scl-world .scl-app-controls{display:flex!important;align-items:center!important;gap:8px!important;flex:0 0 auto!important}
#scl-world .scl-app-controls a,#scl-world .scl-app-controls button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:7px 11px!important;border:1px solid #8d6828!important;border-radius:4px!important;background:#120e0c!important;color:#f0d890!important;-webkit-text-fill-color:#f0d890!important;text-decoration:none!important;font:600 12px/1.2 Georgia,'Times New Roman',serif!important;cursor:pointer!important}
#scl-world .scl-app-controls a:hover,#scl-world .scl-app-controls button:hover{background:#2b1c0c!important;border-color:#d4aa4e!important;color:#fff0bd!important;-webkit-text-fill-color:#fff0bd!important}
#scl-world #scl-app-frame{display:block!important;flex:1 1 auto!important;width:100%!important;min-height:0!important;border:0!important;background:#fff!important}
#scl-world .scl-app-loading{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;z-index:2!important;padding:12px 18px!important;border:1px solid #806126!important;background:#0c0908!important;color:#e7cd8c!important;border-radius:5px!important;pointer-events:none!important}
body.scl-app-open{overflow:hidden!important}
@media(max-width:700px){#scl-world .scl-app-panel{padding:0!important}#scl-world .scl-app-shell{width:100vw!important;height:100vh!important;border-left:0!important;border-right:0!important}#scl-world .scl-app-bar{align-items:stretch!important;flex-direction:column!important;gap:7px!important;padding:8px 10px!important}#scl-world .scl-app-controls{width:100%!important}#scl-world .scl-app-controls a,#scl-world .scl-app-controls button{flex:1 1 0!important}#scl-world #scl-app-title{font-size:17px!important}}


/* v13.3.4 — mobile text-entry / virtual-keyboard compatibility.
   Keep every editable control above decorative layers and allow the browser to
   perform its native tap-to-focus behavior on iOS Safari and Android Chrome. */
@media (max-width:900px){
  #scl-world input:not([type="checkbox"]):not([type="radio"]),
  #scl-world textarea,
  #scl-world select,
  #scl-world [contenteditable="true"]{
    pointer-events:auto!important;
    touch-action:manipulation!important;
    -webkit-user-select:text!important;
    user-select:text!important;
    -webkit-touch-callout:default!important;
    position:relative!important;
    z-index:6!important;
  }
  #scl-chat-form,#scl-private-picker,#scl-private-tools,
  .scl-dialog,.scl-wow-card,.scl-pro-panel,.scl-pro-palette,
  .scl-community-pane,.scl-feature-form{
    pointer-events:auto!important;
  }
  #scl-chat-form{position:relative!important;z-index:30!important;background:#090909!important}
  #scl-chat-input{display:block!important;opacity:1!important;visibility:visible!important;-webkit-text-fill-color:#fff!important;caret-color:#f2d18b!important}
  body.scl-mobile-keyboard-open #scl-world{min-height:0!important;height:100dvh!important}
  body.scl-mobile-keyboard-open .scl-chat:not(.min){bottom:max(6px,env(safe-area-inset-bottom))!important}
}


/* v13.3.6 — touch-device chat composer visibility and native keyboard fix.
   This applies by capability, not viewport width, because some WordPress themes
   expose a desktop-sized CSS viewport on phones. */
.scl-touch-device .scl-chat-move-handle,
.scl-touch-device .scl-chat-resize-handle{display:none!important}
.scl-touch-device .scl-chat:not(.popped):not(.min){
  bottom:76px!important;
  max-height:calc(100dvh - 150px)!important;
}
.scl-touch-device #scl-chat-log{min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
.scl-touch-device #scl-chat-form{
  display:flex!important;
  flex:0 0 58px!important;
  height:58px!important;
  min-height:58px!important;
  position:relative!important;
  z-index:60!important;
  visibility:visible!important;
  opacity:1!important;
  background:#090909!important;
  pointer-events:auto!important;
}
.scl-touch-device #scl-chat-input{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
  min-height:42px!important;
  font-size:16px!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  touch-action:auto!important;
  user-select:text!important;
  -webkit-user-select:text!important;
  caret-color:#f2d18b!important;
}
.scl-touch-device #scl-chat-form button{display:block!important;flex:0 0 auto!important;min-height:42px!important}
body.scl-mobile-keyboard-open #scl-wowbar{display:none!important}
body.scl-mobile-keyboard-open .scl-touch-device .scl-chat:not(.popped):not(.min){bottom:max(6px,env(safe-area-inset-bottom))!important}

/* v13.3.6 — touch-safe movable desktop-style layout and layout chooser */
.scl-touch-device .scl-chat-move-handle,.scl-touch-device .scl-chat-resize-handle{display:flex!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important}
.scl-chat-move-handle{cursor:grab;touch-action:none!important}.scl-chat-move-handle:active{cursor:grabbing}
#scl-layout-control{position:absolute;z-index:79;right:12px;bottom:12px;font-family:Georgia,'Times New Roman',serif}
#scl-layout-toggle,#scl-layout-menu button{border:1px solid #8d6828!important;background:#120e0c!important;color:#f0d890!important;-webkit-text-fill-color:#f0d890!important;border-radius:5px;padding:8px 11px;min-height:38px;cursor:pointer}
#scl-layout-menu{position:absolute;right:0;bottom:46px;width:180px;padding:9px;background:#090807;border:1px solid #8d6828;box-shadow:0 8px 28px #000b;border-radius:6px}
#scl-layout-menu strong{display:block;color:#e4c36f;margin:2px 3px 8px}#scl-layout-menu button{display:block;width:100%;text-align:left;margin:5px 0}
#scl-layout-menu button:hover{background:#2b1c0c!important;border-color:#d4aa4e!important}
/* Fit mode keeps the world look, but makes the controls practical on a phone. */
.scl-touch-device.scl-layout-fit{height:100dvh!important;min-height:620px!important}
.scl-touch-device.scl-layout-fit .scl-chat:not(.popped):not(.min).scl-user-positioned{left:var(--scl-chat-x)!important;top:var(--scl-chat-y)!important;bottom:auto!important}
.scl-touch-device.scl-layout-fit .scl-chat:not(.popped):not(.min){max-width:calc(100% - 16px)!important;max-height:calc(100dvh - 90px)!important}
/* Desktop View deliberately preserves desktop geometry inside a horizontally scrollable world. */
.scl-touch-device.scl-layout-desktop{width:1100px!important;max-width:none!important;height:760px!important;min-height:760px!important}
.scl-touch-device.scl-layout-desktop .scl-left{width:190px!important}.scl-touch-device.scl-layout-desktop .scl-left span{display:inline!important}.scl-touch-device.scl-layout-desktop .scl-right{display:grid!important;width:245px!important}
.scl-touch-device.scl-layout-desktop .scl-chat:not(.popped):not(.min){width:390px!important;max-width:620px!important;bottom:12px!important}
.scl-touch-device.scl-layout-desktop .scl-chat:not(.popped):not(.min).scl-user-positioned{left:var(--scl-chat-x)!important;top:var(--scl-chat-y)!important;bottom:auto!important}
.scl-touch-device.scl-layout-desktop .scl-top nav{display:flex!important}.scl-touch-device.scl-layout-desktop .scl-brand{font-size:31px!important}.scl-touch-device.scl-layout-desktop .scl-top{height:74px!important;padding:0 22px!important}
/* Mobile View intentionally uses the compact legacy layout. */
.scl-touch-device.scl-layout-mobile .scl-chat-move-handle,.scl-touch-device.scl-layout-mobile .scl-chat-resize-handle{display:none!important}
.scl-touch-device.scl-layout-mobile .scl-chat{left:12px!important;top:auto!important;bottom:76px!important;width:calc(100% - 24px)!important;transform:none!important}
/* The immersive toolbar stays usable instead of running off the right edge. */
.scl-touch-device #scl-wowbar{max-width:calc(100% - 12px)!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin}
.scl-touch-device #scl-wowbar .scl-wowbar-drag,.scl-touch-device #scl-wowbar .scl-wowbar-reset{display:inline-flex!important;position:sticky;z-index:2;background:#120e0c!important}
.scl-touch-device #scl-wowbar .scl-wowbar-drag{left:0}.scl-touch-device #scl-wowbar .scl-wowbar-reset{right:0}
body.scl-mobile-keyboard-open #scl-layout-control{display:none!important}
@media(max-width:700px){#scl-layout-control{right:7px;bottom:7px}#scl-layout-toggle{min-height:42px}}


/* v13.3.7 — adaptive touch layout across phone sizes */
.scl-touch-device{overflow:hidden!important;max-width:100vw!important}
.scl-touch-device button,.scl-touch-device [role="button"]{min-height:42px}
.scl-touch-device input,.scl-touch-device textarea,.scl-touch-device select{font-size:16px!important}
.scl-touch-device .scl-chat{max-width:calc(100vw - 12px)!important}
.scl-touch-device #scl-wowbar{left:max(6px,env(safe-area-inset-left));right:max(6px,env(safe-area-inset-right));width:auto!important;box-sizing:border-box!important}
@media(max-width:480px){
 .scl-touch-device.scl-layout-fit .scl-chat:not(.popped):not(.min){max-width:calc(100vw - 10px)!important;max-height:calc(100dvh - 74px)!important}
 .scl-touch-device .scl-chat-tabs{overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin}
 .scl-touch-device .scl-chat-tabs button{flex:0 0 auto!important;min-height:42px!important}
}
@media(orientation:landscape) and (max-height:520px){
 .scl-touch-device.scl-layout-fit .scl-chat:not(.popped):not(.min){max-height:calc(100dvh - 42px)!important}
 #scl-layout-control{bottom:max(4px,env(safe-area-inset-bottom))}
}

/* v13.3.11 — desktop-layout-on-touch parity.
   Desktop View on a phone/tablet must behave like desktop: full scene, visible
   avatars, and a genuinely draggable chat using only the dedicated handle. */
.scl-touch-device.scl-layout-desktop #scl-stage{
  position:absolute!important;inset:0!important;height:auto!important;bottom:0!important;overflow:hidden!important;
}
.scl-touch-device.scl-layout-desktop #scl-scene{
  width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;opacity:1!important;
}
.scl-touch-device.scl-layout-desktop #scl-wow-hotspots{
  display:block!important;position:absolute!important;inset:0!important;z-index:17!important;pointer-events:none!important;
}
.scl-touch-device.scl-layout-desktop #scl-wow-hotspots .scl-world-avatar{
  display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:18!important;
}
.scl-touch-device.scl-layout-desktop .scl-chat-move-handle{
  display:flex!important;visibility:visible!important;pointer-events:auto!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;cursor:grab!important;
}
.scl-touch-device.scl-layout-desktop .scl-chat:not(.popped):not(.min){
  position:absolute!important;width:390px!important;max-width:620px!important;height:var(--scl-chat-user-height,390px)!important;max-height:620px!important;right:auto!important;
}
.scl-touch-device.scl-layout-desktop .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){left:12px!important;top:auto!important;bottom:12px!important}
.scl-touch-device.scl-layout-desktop .scl-chat.scl-user-positioned:not(.popped){left:var(--scl-chat-x)!important;top:var(--scl-chat-y)!important;right:auto!important;bottom:auto!important}
.scl-chat.scl-chat-dragging{transition:none!important;will-change:left,top}
.scl-chat.scl-chat-dragging .scl-chat-move-handle{cursor:grabbing!important}


/* v13.3.13 — authoritative Desktop View parity layer.
   This block intentionally comes last and overrides legacy responsive rules. */
#scl-world.scl-layout-desktop .scl-chat-move-handle{display:flex!important;visibility:visible!important;pointer-events:auto!important;touch-action:none!important;-ms-touch-action:none!important;user-select:none!important;-webkit-user-select:none!important}
#scl-world.scl-layout-desktop .scl-chat:not(.popped):not(.min){position:absolute!important;transform:none!important;touch-action:auto!important}
#scl-world.scl-layout-desktop #scl-stage{display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;inset:0!important;overflow:hidden!important}
#scl-world.scl-layout-desktop #scl-wow-hotspots{display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;inset:0!important;z-index:17!important;pointer-events:none!important}
#scl-world.scl-layout-desktop #scl-wow-hotspots .scl-world-avatar{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#scl-world.scl-layout-desktop #scl-wow-hotspots .scl-own-avatar{touch-action:none!important;-ms-touch-action:none!important}
#scl-world.scl-layout-desktop #scl-wowbar .scl-wowbar-drag{display:inline-flex!important;visibility:visible!important;pointer-events:auto!important;touch-action:none!important}


/* v13.3.14 — authoritative two-axis chat resize control. */
#scl-world .scl-chat:not(.popped):not(.min).scl-user-sized{
  width:var(--scl-chat-user-width,436px)!important;
  height:var(--scl-chat-user-height,390px)!important;
  min-width:300px!important;min-height:210px!important;
  max-width:calc(100% - 6px)!important;max-height:calc(100% - 6px)!important;
}
#scl-world .scl-chat-resize-handle{
  display:flex!important;position:absolute!important;left:auto!important;top:auto!important;right:2px!important;bottom:2px!important;
  width:30px!important;height:30px!important;z-index:60!important;align-items:flex-end!important;justify-content:flex-end!important;
  padding:0 4px 2px 0!important;background:transparent!important;border:0!important;color:#e0ba68!important;
  cursor:nwse-resize!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;pointer-events:auto!important;
  font:700 19px/1 Georgia,"Times New Roman",serif!important;
}
#scl-world .scl-chat-resize-handle::before{content:none!important;display:none!important}
#scl-world .scl-chat-resize-handle span{display:block!important;text-shadow:0 1px 2px #000!important;pointer-events:none!important}
#scl-world .scl-chat-resize-handle:hover{color:#ffe3a1!important}
#scl-world .scl-chat.scl-chat-resizing{transition:none!important;will-change:width,height!important}
#scl-world.scl-layout-desktop .scl-chat-resize-handle,
#scl-world.scl-layout-fit .scl-chat-resize-handle,
#scl-world:not(.scl-layout-mobile) .scl-chat-resize-handle{display:flex!important;visibility:visible!important}
#scl-world.scl-layout-mobile .scl-chat-resize-handle{display:none!important}

/* v13.3.15 — aligned composer + dedicated resize corner. */
#scl-world .scl-chat:not(.popped) #scl-chat-form{
  flex:0 0 58px!important;height:58px!important;min-height:58px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;gap:8px!important;padding:7px 42px 7px 7px!important;
  margin:0!important;border-top:1px solid #80622f!important;background:#070707!important;
  overflow:visible!important;
}
#scl-world .scl-chat:not(.popped) #scl-chat-input{
  width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;
  padding:8px 10px!important;border:1px solid #80622f!important;border-radius:4px!important;
  align-self:center!important;line-height:1.2!important;
}
#scl-world .scl-chat:not(.popped) #scl-chat-form>button{
  position:static!important;float:none!important;align-self:center!important;
  height:44px!important;min-height:44px!important;margin:0!important;padding:0 16px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid #d9aa55!important;border-radius:3px!important;background:#25180b!important;
  color:#f2d18b!important;line-height:1!important;white-space:nowrap!important;
}
#scl-world .scl-chat-resize-handle{
  right:-1px!important;bottom:-1px!important;width:34px!important;height:34px!important;
  padding:0!important;border:1px solid #d9aa55!important;border-radius:7px 0 3px 0!important;
  background:#0b0906!important;color:#ffd77c!important;
  align-items:center!important;justify-content:center!important;box-shadow:-2px -2px 8px rgba(0,0,0,.75)!important;
}
#scl-world .scl-chat-resize-handle span{font-size:20px!important;line-height:1!important;color:#ffd77c!important}
#scl-world .scl-chat-resize-handle::after{
  content:"";position:absolute;right:4px;bottom:4px;width:12px;height:12px;
  border-right:2px solid #ffd77c;border-bottom:2px solid #ffd77c;pointer-events:none;
}
#scl-world .scl-chat-resize-handle:hover,#scl-world .scl-chat-resize-handle:focus{background:#1b1208!important;outline:1px solid #ffe3a1!important}
@media (pointer:coarse){
 #scl-world .scl-chat:not(.popped) #scl-chat-form{padding-right:50px!important}
 #scl-world .scl-chat-resize-handle{width:42px!important;height:42px!important}
}


/* v13.4.0 — legacy adaptive phone/tablet experience.
   Desktop and explicit Desktop View are intentionally untouched. */
@media (max-width: 900px), (pointer: coarse) {
  #scl-world.scl-touch-device:not(.scl-layout-desktop){
    width:100%!important;max-width:100%!important;height:100dvh!important;min-height:680px!important;
    overflow:hidden!important;background:#030303!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
  /* App header: brand/status first row, room navigation second row. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top{
    left:0!important;right:0!important;top:0!important;height:126px!important;padding:8px 8px 6px!important;
    display:flex!important;flex-wrap:wrap!important;align-content:flex-start!important;align-items:center!important;
    gap:4px 8px!important;background:rgba(3,3,3,.97)!important;z-index:30!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-brand{
    flex:1 1 auto!important;font-size:24px!important;line-height:1!important;letter-spacing:2px!important;min-width:145px!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-brand small{font-size:8px!important;margin-top:5px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-user{
    flex:0 0 auto!important;margin-left:auto!important;font-size:11px!important;text-align:right!important;max-width:42%!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav{
    order:3!important;display:flex!important;flex:1 0 100%!important;width:100%!important;height:52px!important;
    gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;
    -webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;padding:3px 1px 4px!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{
    flex:1 0 auto!important;min-width:118px!important;height:44px!important;padding:8px 14px!important;
    font-size:16px!important;white-space:nowrap!important;touch-action:manipulation!important;
  }
  /* Feature navigation is a separate swipeable rail, never stacked over the room buttons. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{
    left:0!important;right:0!important;top:126px!important;width:100%!important;height:58px!important;
    padding:6px 7px!important;display:flex!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;
    white-space:nowrap!important;border-radius:0!important;border-left:0!important;border-right:0!important;
    background:rgba(4,4,4,.94)!important;z-index:28!important;-webkit-overflow-scrolling:touch!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left hr{display:none!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button{
    flex:0 0 auto!important;width:auto!important;min-width:48px!important;height:44px!important;padding:7px 10px!important;
    justify-content:center!important;gap:6px!important;font-size:15px!important;touch-action:manipulation!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button span{display:inline!important;font-size:13px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-right{display:none!important}
  /* Keep the photographic world and avatars present behind the controls. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{
    display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;
    left:0!important;right:0!important;top:184px!important;bottom:0!important;height:auto!important;overflow:hidden!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-scene{
    display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wow-hotspots{
    display:block!important;visibility:visible!important;opacity:1!important;position:absolute!important;inset:0!important;z-index:17!important;pointer-events:none!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wow-hotspots .scl-world-avatar{
    display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;
  }
  /* Chat remains the same SCL window, but gets a useful mobile default. User movement/size still wins. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min){
    position:absolute!important;left:8px!important;right:auto!important;top:auto!important;
    bottom:max(76px,calc(68px + env(safe-area-inset-bottom)))!important;
    width:calc(100% - 16px)!important;height:min(44dvh,420px)!important;min-height:245px!important;
    max-width:calc(100% - 16px)!important;max-height:calc(100dvh - 270px)!important;
    transform:none!important;z-index:35!important;border-radius:7px!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat.scl-user-positioned:not(.popped){
    left:var(--scl-chat-x)!important;top:var(--scl-chat-y)!important;right:auto!important;bottom:auto!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat.scl-user-sized:not(.popped){
    width:var(--scl-chat-user-width,calc(100% - 16px))!important;height:var(--scl-chat-user-height,min(44dvh,420px))!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat-move-handle{
    display:flex!important;visibility:visible!important;pointer-events:auto!important;min-height:28px!important;font-size:12px!important;touch-action:none!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat-resize-handle{
    display:flex!important;visibility:visible!important;pointer-events:auto!important;touch-action:none!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-tabs{
    overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;-webkit-overflow-scrolling:touch!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-tabs button{flex:0 0 auto!important;min-height:44px!important;font-size:14px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-log{font-size:15px!important;line-height:1.5!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-form{height:62px!important;flex-basis:62px!important;padding:7px 48px 7px 7px!important;gap:7px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-input{font-size:16px!important;min-height:46px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-form>button{min-height:46px!important;min-width:76px!important;font-size:16px!important}
  /* World actions: compact swipeable dock with the drag grip always available. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar{
    position:absolute!important;left:8px!important;right:8px!important;top:auto!important;
    bottom:max(8px,env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:none!important;
    min-height:54px!important;padding:5px!important;gap:6px!important;overflow-x:auto!important;overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;white-space:nowrap!important;z-index:42!important;background:rgba(7,6,6,.96)!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar button{flex:0 0 auto!important;min-height:42px!important;font-size:15px!important;padding:7px 11px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar .scl-wowbar-drag,
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar .scl-wowbar-reset{display:inline-flex!important;align-items:center!important;justify-content:center!important;touch-action:none!important}
  /* Utility toolbar remains movable, but starts clear of both navigation rows. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools:not(.scl-pro-tools-positioned){top:192px!important;right:8px!important;left:auto!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools{z-index:46!important;max-width:calc(100% - 16px)!important}
  /* Modals behave like mobile app sheets without losing their existing contents. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-modal{z-index:100!important;padding:10px!important;align-items:center!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-dialog{width:min(560px,100%)!important;max-height:calc(100dvh - 28px)!important;overflow:auto!important;padding:20px 16px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-pro-panel{left:8px!important;right:8px!important;top:194px!important;width:auto!important;max-height:calc(100dvh - 270px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-pro-palette{width:calc(100% - 20px)!important;top:14%!important;max-height:72dvh!important;overflow:auto!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-layout-control{right:8px!important;bottom:68px!important;z-index:47!important}
}
@media (max-width: 430px){
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-brand{font-size:21px!important;min-width:125px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{min-width:108px!important;font-size:15px!important;padding-left:11px!important;padding-right:11px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button span{font-size:12px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min){height:min(42dvh,370px)!important}
}
@media (max-width: 360px){
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-brand{font-size:19px!important;letter-spacing:1px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-user{font-size:10px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button span{display:none!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button{min-width:44px!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:600px){
  #scl-world.scl-touch-device:not(.scl-layout-desktop){min-height:520px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top{height:106px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav{height:44px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{height:38px!important;min-height:38px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{top:106px!important;height:50px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button{height:38px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{top:156px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min){height:min(52dvh,300px)!important;min-height:210px!important;max-height:calc(100dvh - 180px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools:not(.scl-pro-tools-positioned){top:164px!important}
}

/* v13.4.1 — clean mobile app shell. Desktop/Desktop View remains unchanged. */
@media (pointer:coarse), (max-width:900px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop){height:100dvh!important;min-height:560px!important;overflow:hidden!important;background:#030303!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top{height:108px!important;padding:6px 8px!important;display:grid!important;grid-template-columns:1fr auto!important;grid-template-rows:44px 52px!important;gap:4px 8px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-brand{grid-column:1;grid-row:1;font-size:22px!important;align-self:center!important;min-width:0!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-user{grid-column:2;grid-row:1;align-self:center!important;max-width:150px!important;font-size:10px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav{grid-column:1/3;grid-row:2;order:unset!important;height:50px!important;padding:2px 0!important;display:flex!important;overflow-x:auto!important;gap:6px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{height:44px!important;min-height:44px!important;min-width:112px!important;font-size:15px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{top:108px!important;height:52px!important;padding:4px 6px!important;z-index:31!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button{height:42px!important;min-height:42px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{top:160px!important;bottom:auto!important;height:38dvh!important;min-height:220px!important;max-height:420px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-scene{object-fit:cover!important;object-position:center!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){left:6px!important;right:6px!important;top:calc(160px + 38dvh)!important;bottom:62px!important;width:auto!important;height:auto!important;min-height:230px!important;max-width:none!important;max-height:none!important;border-radius:5px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat.scl-user-positioned:not(.popped){right:auto!important;bottom:auto!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat-tabs{overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:thin!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-log{min-height:90px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar{left:6px!important;right:6px!important;bottom:max(4px,env(safe-area-inset-bottom))!important;min-height:54px!important;z-index:44!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools:not(.scl-pro-tools-positioned){top:166px!important;right:8px!important;left:auto!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-layout-control{bottom:64px!important}
}
@media (pointer:coarse) and (max-height:700px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{height:32dvh!important;min-height:170px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){top:calc(160px + 32dvh)!important}
}
@media (pointer:coarse) and (orientation:landscape) and (max-height:600px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top{height:58px!important;grid-template-columns:150px 1fr auto!important;grid-template-rows:50px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-brand{grid-column:1;grid-row:1;font-size:18px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav{grid-column:2;grid-row:1;height:50px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-user{grid-column:3;grid-row:1}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{top:58px!important;height:48px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{top:106px!important;height:46dvh!important;min-height:150px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){top:calc(106px + 46dvh)!important;bottom:56px!important;min-height:150px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools:not(.scl-pro-tools-positioned){top:112px!important}
}

/* v13.4.4 collar relationship visibility */
.scl-collar-tag{color:#d8b66b;font-weight:700;white-space:nowrap}.scl-public-relationship strong{color:#e3c477}

/* v13.4.6 — fluid, user-customizable Mobile View.
   Scoped to touch devices outside explicit Desktop View; desktop is untouched. */
#scl-world.scl-touch-device:not(.scl-layout-desktop){
  --scl-mobile-vw:100vw;
  --scl-mobile-vh:100dvh;
  --scl-mobile-gap:clamp(5px,1.5vw,12px);
  --scl-mobile-edge:max(6px,env(safe-area-inset-left));
  width:100%!important;
  height:var(--scl-mobile-vh)!important;
  min-height:480px!important;
  max-height:none!important;
  overflow:hidden!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top{
  width:100%!important;
  padding-left:max(8px,env(safe-area-inset-left))!important;
  padding-right:max(8px,env(safe-area-inset-right))!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav,
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{
  overscroll-behavior-x:contain!important;
  -webkit-overflow-scrolling:touch!important;
  scrollbar-width:thin!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-scene{
  width:100%!important;height:100%!important;object-fit:cover!important;
}
/* Responsive default chat. Once a member drags/resizes it, their inline saved values win. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){
  left:var(--scl-mobile-gap)!important;
  right:var(--scl-mobile-gap)!important;
  top:auto!important;
  bottom:calc(62px + env(safe-area-inset-bottom))!important;
  width:auto!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-sized){
  height:clamp(230px,42dvh,460px)!important;
  min-height:210px!important;
  max-height:calc(var(--scl-mobile-vh) - 190px)!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat.scl-user-positioned:not(.popped){
  right:auto!important;bottom:auto!important;transform:none!important;
}
/* Mobile retains desktop-grade move + resize controls. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat-move-handle{
  display:flex!important;visibility:visible!important;pointer-events:auto!important;touch-action:none!important;
  min-height:32px!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat-resize-handle{
  display:flex!important;visibility:visible!important;pointer-events:auto!important;touch-action:none!important;
  width:44px!important;height:44px!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-form{
  min-width:0!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-input{
  min-width:0!important;width:100%!important;font-size:16px!important;
}
/* Floating controls remain movable but default to safe, responsive positions. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools:not(.scl-pro-tools-positioned){
  top:clamp(164px,23dvh,230px)!important;
  right:max(8px,env(safe-area-inset-right))!important;
  left:auto!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar:not(.scl-wowbar-positioned){
  left:var(--scl-mobile-gap)!important;right:var(--scl-mobile-gap)!important;
  bottom:max(4px,env(safe-area-inset-bottom))!important;
  width:auto!important;max-width:none!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar .scl-wowbar-inner{
  overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;
}
/* Panels/modals fit the real usable viewport without losing their functionality. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-modal-card,
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-pro-modal-card,
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-panel-card{
  max-width:calc(100vw - 16px)!important;
  max-height:calc(var(--scl-mobile-vh) - 20px)!important;
  overflow:auto!important;
}
/* Small phones: preserve scene and controls; scroll rows instead of crushing them. */
@media (max-width:430px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{min-width:104px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button{flex:0 0 auto!important;min-width:44px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-sized){height:clamp(220px,40dvh,360px)!important}
}
/* Tablets get more room by default, while remaining fully draggable/resizable. */
@media (min-width:700px) and (pointer:coarse){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){left:12px!important;right:auto!important;width:min(62vw,680px)!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-sized){height:min(46dvh,500px)!important}
}

/* v13.4.7 TRUE MOBILE REFLOW — mobile/touch Mobile/Fit modes only. Desktop and Desktop View are untouched. */
@media (max-width: 1024px), (pointer: coarse) {
  html,body{max-width:100%;overflow-x:hidden}
  #scl-world.scl-touch-device:not(.scl-layout-desktop){
    width:100vw!important;max-width:none!important;min-width:0!important;
    margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;
    height:max(100dvh,760px)!important;min-height:max(100dvh,760px)!important;
    transform:none!important;zoom:1!important;font-size:16px!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top,
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left,
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{
    width:100%!important;max-width:100%!important;transform:none!important;zoom:1!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top{left:0!important;right:0!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav{width:100%!important;max-width:100%!important;scrollbar-width:none}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav::-webkit-scrollbar,
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left::-webkit-scrollbar,
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar::-webkit-scrollbar{display:none}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{flex:0 0 auto!important;min-width:clamp(104px,32vw,170px)!important;font-size:clamp(14px,4vw,17px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{left:0!important;right:0!important;max-width:none!important;padding-inline:8px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left button{flex:0 0 auto!important;min-width:max-content!important;padding-inline:12px!important;font-size:14px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{left:0!important;right:0!important;height:clamp(260px,42dvh,520px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-scene{width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){
    left:clamp(8px,2.5vw,18px)!important;right:auto!important;
    width:calc(100vw - clamp(16px,5vw,36px))!important;max-width:none!important;
    height:clamp(300px,45dvh,520px)!important;
  }
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat.scl-user-positioned{max-width:calc(100vw - 8px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat.scl-user-sized{min-width:min(300px,calc(100vw - 16px))!important;max-width:calc(100vw - 8px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-tabs{width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:none}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-tabs::-webkit-scrollbar{display:none}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-tabs button{font-size:clamp(14px,3.8vw,17px)!important;padding-inline:12px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-log{font-size:clamp(14px,3.8vw,17px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-form{width:100%!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-chat-input{font-size:16px!important;min-width:0!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar{max-width:calc(100vw - 12px)!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-pro-tools{max-width:calc(100vw - 12px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-dialog,
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-pro-palette{width:calc(100vw - 20px)!important;max-width:680px!important}
}
@media (min-width:700px) and (max-width:1024px) and (pointer:coarse){
  #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-chat:not(.popped):not(.min):not(.scl-user-positioned){width:min(72vw,720px)!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-stage{height:clamp(360px,48dvh,620px)!important}
}

/* v13.4.8 — floating Layout control retired; layout choices are under the gear Settings panel. */
#scl-layout-control{display:none!important}


/* v13.4.21 — Home URL correction; logged-out gate unchanged. */
.scl-access-gate{min-height:390px;padding:52px 16px;background:#050507;border:0;color:#fff;font-family:Arial,sans-serif}
.scl-access-card.scl-access-card-login{width:min(1116px,calc(100vw - 34px));max-width:none;padding:24px 32px 31px;background:#090909;border:1px solid #c79a36;border-radius:14px;box-shadow:none;text-align:center}
.scl-access-card.scl-access-card-login h2{margin:0 0 29px;color:#c9a34b;font:400 clamp(32px,3vw,43px)/1.15 Georgia,"Times New Roman",serif;letter-spacing:.025em;text-transform:uppercase}
.scl-access-card.scl-access-card-login p{margin:0 auto 20px;color:#fff;font:14px/1.5 Arial,sans-serif;max-width:620px}
.scl-access-card.scl-access-card-login .scl-access-actions{gap:14px;margin:4px 0 17px}
.scl-access-card.scl-access-card-login .scl-access-button{min-width:0;padding:12px 18px!important;background:#d0aa51!important;border:1px solid #d0aa51!important;border-radius:6px;color:#090909!important;text-transform:none;font:700 14px/1.2 Arial,sans-serif;letter-spacing:0;box-shadow:none}
.scl-access-card.scl-access-card-login .scl-access-button:hover{background:#dfbd6a!important;border-color:#dfbd6a!important;color:#090909!important}
.scl-access-card.scl-access-card-login .scl-access-secondary{background:#090909!important;border-color:#c79a36!important;color:#d7b24f!important}
.scl-access-card.scl-access-card-login .scl-access-secondary:hover{background:#18130a!important;color:#f0cf79!important}
.scl-access-card.scl-access-card-login .scl-access-note{margin:0;color:#d4d4d4;font-size:12px}
.scl-left .scl-home-link{display:flex;width:100%;gap:9px;align-items:center;text-align:left;padding:8px 7px;font:700 14px/1.25 Georgia,'Times New Roman',serif;color:#f1c96f!important;text-decoration:none!important;text-shadow:0 1px 2px #000;border:1px solid transparent;border-radius:2px;background:rgba(8,8,8,.75);box-sizing:border-box}
.scl-left .scl-home-link:hover,.scl-left .scl-home-link:focus{color:#ffe5a0!important;background:#261b0d;border-color:#8c6329;outline:none}
@media(max-width:900px){.scl-left .scl-home-link{justify-content:center}.scl-left .scl-home-link span{display:none}.scl-access-card.scl-access-card-login{padding:28px 20px}.scl-access-card.scl-access-card-login h2{margin-bottom:22px}}


/* === SCL responsive-fluid layer: mobile/tablet safe ===
   Keeps desktop behavior intact; prevents fixed-width overflow and lets
   plugin surfaces use the available viewport on phones and tablets. */
.scl-app-shell,
.scl-world-shell,
.scl-chat-shell,
.scl-access-gate,
.scl-live-wrap {
  box-sizing:border-box;
  max-width:100%;
}
.scl-app-shell *,
.scl-world-shell *,
.scl-chat-shell *,
.scl-access-gate *,
.scl-live-wrap * {
  box-sizing:border-box;
}
@media (max-width:1024px) {
  .scl-app-shell,
.scl-world-shell,
.scl-chat-shell,
.scl-access-gate,
.scl-live-wrap {
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap img,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap video,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap iframe,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap canvas,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap svg {
    max-width:100%;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap input:not([type="checkbox"]):not([type="radio"]),
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap select,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap textarea {
    max-width:100% !important;
    width:100%;
  }
}
@media (max-width:782px) {
  .scl-app-shell,
.scl-world-shell,
.scl-chat-shell,
.scl-access-gate,
.scl-live-wrap {
    width:100vw !important;
    max-width:100vw !important;
    min-width:0 !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding-left:max(14px, env(safe-area-inset-left)) !important;
    padding-right:max(14px, env(safe-area-inset-right)) !important;
    overflow-x:hidden;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap .scl-grid,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="-grid"],
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="_grid"] {
    grid-template-columns:minmax(0,1fr) !important;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="-actions"],
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="-buttons"],
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="-nav"] {
    max-width:100%;
    flex-wrap:wrap;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap table {
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap button,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap .button,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="-btn"],
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap [class*="-button"] {
    max-width:100%;
    white-space:normal;
  }
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap h1,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap h2,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap h3,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap p,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap a,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap span,
  .scl-app-shell, .scl-world-shell, .scl-chat-shell, .scl-access-gate, .scl-live-wrap label {
    overflow-wrap:anywhere;
  }
}
@media (max-width:480px) {
  .scl-app-shell,
.scl-world-shell,
.scl-chat-shell,
.scl-access-gate,
.scl-live-wrap {
    padding-left:max(10px, env(safe-area-inset-left)) !important;
    padding-right:max(10px, env(safe-area-inset-right)) !important;
  }
}

/* v13.4.31 — profile Message links open a dedicated private SCL Live chat window. */
#scl-world.scl-direct-private{height:min(82vh,760px)!important;min-height:520px!important;background:#050505!important;}
#scl-world.scl-direct-private #scl-stage,#scl-world.scl-direct-private .scl-top,#scl-world.scl-direct-private .scl-left,#scl-world.scl-direct-private .scl-right,#scl-world.scl-direct-private .scl-bottom,#scl-world.scl-direct-private #scl-hotspots,#scl-world.scl-direct-private #scl-room-info,#scl-world.scl-direct-private #scl-loader{display:none!important;}
#scl-world.scl-direct-private .scl-chat,#scl-world.scl-direct-private .scl-chat.popped{display:flex!important;position:absolute!important;z-index:80!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%)!important;width:min(760px,calc(100% - 32px))!important;max-width:760px!important;height:min(620px,calc(100% - 32px))!important;min-height:420px!important;border:1px solid var(--gold)!important;box-shadow:0 14px 50px rgba(0,0,0,.9)!important;}
#scl-world.scl-direct-private .scl-chat.min{height:min(620px,calc(100% - 32px))!important;overflow:visible!important;}
#scl-world.scl-direct-private #scl-chat-min,#scl-world.scl-direct-private #scl-chat-pop{display:none!important;}
@media(max-width:650px){#scl-world.scl-direct-private{height:100dvh!important;min-height:520px!important;}#scl-world.scl-direct-private .scl-chat,#scl-world.scl-direct-private .scl-chat.popped{left:max(8px,env(safe-area-inset-left))!important;right:max(8px,env(safe-area-inset-right))!important;top:max(8px,env(safe-area-inset-top))!important;bottom:max(8px,env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;}}


/* 13.4.40 — Members Directory shortcut + larger status control */
.scl-left .scl-left-button-link{
 display:flex;width:100%;gap:13px;align-items:center;text-align:left;
 padding:12px 10px;font-size:15px;border-radius:2px;
 font:inherit;color:#eee;background:rgba(8,8,8,.75);
 border:1px solid transparent;text-decoration:none;cursor:pointer;
}
.scl-left .scl-left-button-link:hover,.scl-left .scl-left-button-link:focus{
 border-color:var(--gold);color:#f3d38d;background:rgba(111,75,23,.28);outline:none;
}
.scl-my-status{padding:2px 0 7px}
.scl-my-status label{
 display:block;margin:0 0 7px 2px;color:#e8c66f;
 font-size:13px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;
}
#scl-status{
 display:block!important;width:100%!important;min-height:46px!important;
 margin:0!important;padding:9px 30px 9px 11px!important;
 background:#090909!important;color:#fff0c4!important;border:1px solid #9b7428!important;
 border-radius:6px!important;font-size:15px!important;font-weight:700!important;
 line-height:1.25!important;cursor:pointer;
}
#scl-status:focus{outline:2px solid rgba(218,174,77,.35);outline-offset:2px;border-color:#d1a64a!important}
@media(max-width:900px){
 .scl-my-status label{font-size:13px!important}
 #scl-status{min-height:48px!important;font-size:16px!important}
 .scl-left .scl-left-button-link{font-size:15px!important;min-height:44px}
}

/* v13.6.15 — coordinated phone layout repair (iOS + Android) */
@media (max-width:700px){
 html,body{max-width:100%;overflow-x:hidden}
 #scl-world,#scl-world *{box-sizing:border-box}
 #scl-world{width:100%!important;max-width:100vw!important;overflow-x:hidden!important;padding-left:env(safe-area-inset-left)!important;padding-right:env(safe-area-inset-right)!important}
 .scl-top{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;height:auto!important;min-height:72px!important}
 .scl-brand{min-width:0!important;font-size:clamp(18px,5vw,24px)!important}
 .scl-user{min-width:0!important;max-width:58vw!important;flex-wrap:wrap!important}
 .scl-top nav{max-width:100%!important;overflow:hidden!important}
 .scl-left{max-width:100vw!important;width:100%!important;min-width:0!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
 .scl-left>*{flex:0 0 auto!important}
 .scl-chat:not(.popped){left:8px!important;right:8px!important;width:auto!important;max-width:calc(100vw - 16px)!important;min-width:0!important}
 .scl-chat .scl-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important}
 .scl-chat .scl-tabs button{min-width:0!important;width:100%!important;padding:9px 4px!important;font-size:clamp(11px,3.3vw,15px)!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.15!important}
 #scl-chat-log,#scl-private-picker,#scl-private-tools,#scl-chat-form{min-width:0!important;max-width:100%!important;overflow-x:hidden!important}
 #scl-chat-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
 #scl-chat-input{min-width:0!important;width:100%!important;font-size:16px!important}
 #scl-chat-form button{min-width:72px!important;width:auto!important}
 .scl-modal,.scl-dialog,.scl-calls-dialog{max-width:calc(100vw - 24px)!important;width:calc(100vw - 24px)!important}
}


/* v13.6.18 — mobile usability restoration.
   Preserve the proven world/chat/drag runtime; only present member links as a clear collapsible menu. */
.scl-mobile-member-menu{display:none!important}
.scl-mobile-member-links{display:contents}
@media (max-width:700px){
  /* Keep status obvious, then one menu button. No hidden sideways discovery. */
  .scl-left{
    width:auto!important;left:8px!important;right:8px!important;top:72px!important;height:auto!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;
    padding:7px!important;overflow:visible!important;background:rgba(5,5,5,.96)!important;
    border:1px solid rgba(201,161,74,.55)!important;border-radius:9px!important;z-index:34!important;
  }
  .scl-left .scl-my-status{grid-column:1!important;margin:0!important;padding:0!important;border:0!important;min-width:0!important}
  .scl-left .scl-my-status label{display:none!important}
  .scl-left .scl-my-status #scl-status{min-height:44px!important;font-size:16px!important;padding:8px 10px!important}
  .scl-mobile-member-menu{
    display:flex!important;grid-column:2!important;align-items:center!important;justify-content:center!important;gap:7px!important;
    width:auto!important;min-width:128px!important;min-height:44px!important;padding:8px 12px!important;
    border:1px solid #765622!important;border-radius:7px!important;background:#100d0e!important;color:#f0d188!important;
    font:700 14px/1.1 Georgia,"Times New Roman",serif!important;white-space:nowrap!important;
  }
  .scl-mobile-member-menu span{display:inline!important;color:inherit!important}
  .scl-mobile-member-links{
    display:none!important;position:absolute!important;top:calc(100% + 6px)!important;right:0!important;left:auto!important;
    width:min(330px,calc(100vw - 16px))!important;max-height:min(62dvh,520px)!important;overflow-y:auto!important;overflow-x:hidden!important;
    padding:8px!important;background:#080707!important;border:1px solid #765622!important;border-radius:9px!important;
    box-shadow:0 12px 30px rgba(0,0,0,.75)!important;z-index:10002!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .scl-left.scl-mobile-menu-open .scl-mobile-member-links{display:grid!important}
  .scl-mobile-member-links hr{display:none!important}
  .scl-mobile-member-links .scl-home-link,.scl-mobile-member-links button,.scl-mobile-member-links .scl-left-button-link{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;
    width:100%!important;min-width:0!important;min-height:46px!important;height:auto!important;margin:0!important;padding:8px 9px!important;
    border:1px solid rgba(201,161,74,.38)!important;border-radius:7px!important;background:#0d0b0b!important;color:#f1c96f!important;
    white-space:normal!important;text-align:left!important;font-size:13px!important;line-height:1.15!important;text-decoration:none!important;
  }
  .scl-mobile-member-links span{display:inline!important;color:inherit!important}

  /* Chat tabs: primary actions are all visible; utility controls form a compact second row. */
  .scl-chat .scl-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;height:auto!important;overflow:visible!important;white-space:normal!important}
  .scl-chat .scl-tabs button{min-width:0!important;width:100%!important;min-height:42px!important;padding:6px 3px!important;font-size:clamp(10px,3vw,13px)!important;line-height:1.05!important;white-space:normal!important;text-align:center!important;overflow-wrap:anywhere!important}
  #scl-chat-help,#scl-chat-pop,#scl-chat-min{grid-row:2!important;min-height:34px!important;font-size:10px!important}
  #scl-chat-help{grid-column:1/3!important}#scl-chat-pop{grid-column:3!important;margin-left:0!important}#scl-chat-min{grid-column:4!important}

  /* Leave chat and immersive toolbar positioning/dragging to their existing proven JS. */
  #scl-wowbar .scl-wowbar-drag,#scl-wowbar .scl-wowbar-reset{display:inline-flex!important;touch-action:none!important}
}
@media (max-width:380px){
 .scl-mobile-member-links{grid-template-columns:1fr!important}
 .scl-mobile-member-menu{min-width:112px!important;padding-left:9px!important;padding-right:9px!important;font-size:13px!important}
}


/* v13.6.19 interaction-only correction: preserve v13.6.18 visuals. */
@media (max-width:700px){
  .scl-mobile-member-menu{pointer-events:auto!important;cursor:pointer!important;position:relative!important;z-index:10004!important}
  .scl-left.scl-mobile-menu-open .scl-mobile-member-links{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  #scl-wowbar{touch-action:auto!important}
  #scl-wowbar .scl-wowbar-drag{touch-action:none!important;cursor:grab!important;pointer-events:auto!important}
  #scl-wowbar.scl-wowbar-dragging .scl-wowbar-drag{cursor:grabbing!important}
}


/* v13.6.21 root mobile interaction fix: outrank legacy touch-shell rules without changing the chosen design. */
@media (max-width:700px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{
   width:auto!important;left:8px!important;right:8px!important;top:72px!important;height:auto!important;
   display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;padding:7px!important;
   overflow:visible!important;white-space:normal!important;background:rgba(5,5,5,.96)!important;border:1px solid rgba(201,161,74,.55)!important;border-radius:9px!important;z-index:54!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left .scl-my-status{display:block!important;grid-column:1!important;margin:0!important;padding:0!important;min-width:0!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left .scl-my-status label{display:none!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left .scl-my-status #scl-status{display:block!important;width:100%!important;min-height:44px!important;font-size:16px!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu{display:flex!important;grid-column:2!important;width:auto!important;min-width:128px!important;height:auto!important;min-height:44px!important;padding:8px 12px!important;justify-content:center!important;pointer-events:auto!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu span{display:inline!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-links{
   display:none!important;position:absolute!important;top:calc(100% + 6px)!important;right:0!important;left:auto!important;
   width:min(330px,calc(100vw - 16px))!important;max-height:min(62dvh,520px)!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;
   padding:8px!important;background:#080707!important;border:1px solid #765622!important;border-radius:9px!important;box-shadow:0 12px 30px rgba(0,0,0,.75)!important;
   z-index:10002!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;white-space:normal!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left.scl-mobile-menu-open #scl-mobile-member-links{display:grid!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-links button,
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-links a{min-width:0!important;width:100%!important;height:auto!important;min-height:46px!important;white-space:normal!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-links span{display:inline!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-wowbar.scl-wowbar-positioned{right:auto!important;bottom:auto!important;transform:none!important}
}


/* v13.6.22 — compact closed mobile menu + movable/resizable open panel. */
@media (max-width:700px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-left{
   left:auto!important;right:10px!important;top:76px!important;width:auto!important;height:auto!important;
   display:block!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;
   box-shadow:none!important;overflow:visible!important;pointer-events:none!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu{
   display:flex!important;position:relative!important;pointer-events:auto!important;width:auto!important;min-width:128px!important;
   min-height:44px!important;padding:8px 12px!important;background:rgba(9,7,7,.97)!important;border:1px solid #765622!important;
   border-radius:8px!important;box-shadow:0 4px 14px rgba(0,0,0,.45)!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-links{
   position:fixed!important;top:132px!important;right:10px!important;left:auto!important;width:min(330px,calc(100vw - 20px))!important;
   height:auto!important;max-height:min(66dvh,540px)!important;min-width:240px!important;min-height:180px!important;
   padding:46px 8px 18px!important;overflow:auto!important;resize:none!important;pointer-events:auto!important;z-index:10020!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-links.scl-mobile-menu-custom-box{max-height:none!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-mobile-menu-move{
   display:flex!important;position:absolute!important;left:0!important;right:0!important;top:0!important;height:38px!important;
   align-items:center!important;justify-content:space-between!important;padding:0 8px 0 12px!important;background:#15100c!important;
   border-bottom:1px solid rgba(201,161,74,.45)!important;color:#e7c47c!important;font:700 13px/1 Georgia,serif!important;
   cursor:move!important;touch-action:none!important;user-select:none!important;z-index:2!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-mobile-menu-move button{
   display:grid!important;place-items:center!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;
   padding:0!important;border:1px solid rgba(201,161,74,.45)!important;border-radius:6px!important;background:#090707!important;color:#f0d188!important;font-size:20px!important;
 }
 #scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-mobile-menu-resize{
   display:block!important;position:absolute!important;right:2px!important;bottom:2px!important;width:24px!important;height:24px!important;
   cursor:nwse-resize!important;touch-action:none!important;z-index:3!important;
   background:linear-gradient(135deg,transparent 45%,#765622 46%,#765622 54%,transparent 55%,transparent 66%,#c9a14a 67%,#c9a14a 75%,transparent 76%)!important;
 }
}


/* v13.6.23 — obvious draggable launcher handle; tap Member Menu still opens normally. */
@media (max-width:700px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu{gap:9px!important;white-space:nowrap!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu .scl-mobile-menu-launcher-grip{
   display:inline-flex!important;align-items:center!important;gap:4px!important;padding:7px 9px!important;margin:-4px 1px -4px -7px!important;
   border-right:1px solid rgba(201,161,74,.45)!important;border-radius:6px 0 0 6px!important;color:#f0d188!important;
   font:700 12px/1 Arial,sans-serif!important;letter-spacing:.02em!important;cursor:move!important;touch-action:none!important;user-select:none!important;
   background:rgba(201,161,74,.08)!important;
 }
}

/* v13.6.24 — launcher drag owns the touch gesture; do not scroll the page/chat during drag. */
@media (max-width:700px){
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu .scl-mobile-menu-launcher-grip{touch-action:none!important;overscroll-behavior:contain!important;-webkit-user-select:none!important;user-select:none!important}
 #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu .scl-mobile-menu-launcher-grip.is-dragging{cursor:grabbing!important}
 html.scl-launcher-drag-active,html.scl-launcher-drag-active body{overscroll-behavior:none!important}
 html.scl-launcher-drag-active #scl-world{user-select:none!important;-webkit-user-select:none!important}
}

/* SCL Community Host: clearly distinguish automation from member messages. */
.scl-host-message{margin:6px 0;padding:8px 10px;border-left:3px solid currentColor;background:rgba(255,255,255,.045);border-radius:4px}.scl-host-message b{font-weight:800;letter-spacing:.02em}

/* v13.7.26 targeted chat/activity polish: preserve existing SCL layout */
.scl-my-status #scl-activity-status{display:block!important;width:100%!important;max-width:100%!important;min-height:42px!important;margin:4px 0 0!important;padding:7px 9px!important;background:#090909!important;color:#f0d188!important;border:1px solid #765622!important;border-radius:4px!important;font:12px/1.3 Arial,sans-serif!important;box-sizing:border-box!important;box-shadow:none!important;outline:none}
.scl-my-status #scl-activity-status::placeholder{color:#9b8a67!important;opacity:1}
.scl-my-status #scl-activity-status:focus{border-color:#c9a14a!important}
.scl-chatx-reaction-picker[hidden]{display:none!important}
.scl-chatx-reaction-picker{display:inline-flex;gap:4px;flex-wrap:wrap;align-items:center}


/* v13.7.27 reaction picker: opt-in only, compact SCL styling */
#scl-world .scl-chatx-react-open,#scl-world .scl-chatx-reaction-choice,#scl-world .scl-chatx-actions>button{background:#090909!important;color:#f0d188!important;border:1px solid #765622!important;border-radius:4px!important;box-shadow:none!important;min-width:26px!important;min-height:24px!important;padding:2px 6px!important;font:700 12px/1.2 Arial,sans-serif!important}
#scl-world .scl-chatx-react-open:hover,#scl-world .scl-chatx-reaction-choice:hover,#scl-world .scl-chatx-actions>button:hover{border-color:#c9a14a!important;background:#15100a!important}
#scl-world .scl-chatx-reaction-picker[hidden]{display:none!important}
#scl-world .scl-chatx-reaction-picker{gap:3px!important;align-items:center!important;background:#050505!important;border:1px solid #765622!important;border-radius:4px!important;padding:3px!important}
#scl-world .scl-chatx-reaction-picker .scl-chatx-reaction-choice{font-size:14px!important;padding:2px 5px!important}


/* v13.7.28 Voice & Video chooser alignment + user resizing; visual language unchanged */
#scl-world .scl-calls-dialog{width:min(620px,calc(100vw - 32px))!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;min-width:min(360px,calc(100vw - 20px))!important;min-height:260px!important;overflow:auto!important;resize:both!important}
#scl-world .scl-calls-dialog .scl-call-people{min-width:0!important}
#scl-world .scl-calls-dialog .scl-call-person{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;min-width:0!important}
#scl-world .scl-calls-dialog .scl-call-person>span:first-child{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:8px!important;row-gap:3px!important;align-items:center!important;min-width:0!important}
#scl-world .scl-calls-dialog .scl-call-person>span:first-child>.scl-green{grid-row:1 / span 3!important;align-self:center!important}
#scl-world .scl-calls-dialog .scl-call-person>span:first-child>b,#scl-world .scl-calls-dialog .scl-call-person>span:first-child>small{grid-column:2!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important}
#scl-world .scl-calls-dialog .scl-call-person>span:first-child>br{display:none!important}
#scl-world .scl-calls-dialog .scl-call-person>span:last-child{justify-content:flex-end!important;min-width:max-content!important}
#scl-world .scl-calls-resize-grip{position:absolute!important;right:3px!important;bottom:3px!important;width:24px!important;height:24px!important;z-index:5!important;cursor:nwse-resize!important;touch-action:none!important;user-select:none!important;-webkit-user-select:none!important;background:linear-gradient(135deg,transparent 0 48%,#765622 49% 56%,transparent 57% 67%,#c9a14a 68% 75%,transparent 76%)!important;border-radius:0 0 2px 0!important}
@media(max-width:600px){
 #scl-world .scl-calls-dialog{width:calc(100vw - 20px)!important;min-width:0!important;max-width:calc(100vw - 12px)!important;min-height:250px!important;max-height:calc(100dvh - 12px)!important;padding:20px 14px 28px!important;resize:none!important}
 #scl-world .scl-calls-dialog .scl-call-person{grid-template-columns:1fr!important;align-items:stretch!important;gap:10px!important}
 #scl-world .scl-calls-dialog .scl-call-person>span:last-child{width:100%!important;min-width:0!important;justify-content:flex-start!important}
 #scl-world .scl-calls-dialog .scl-call-person button{flex:1 1 auto!important;min-width:0!important}
 #scl-world .scl-calls-resize-grip{display:block!important}
}


/* v13.7.29 mobile chat composer: compact attachment control; keep native file input out of layout */
#scl-world #scl-chat-form .scl-attach-input{display:none!important;width:0!important;height:0!important;position:absolute!important;pointer-events:none!important}
#scl-world #scl-chat-form .scl-attach-button{flex:0 0 44px!important;width:44px!important;min-width:44px!important;padding:0!important;display:grid!important;place-items:center!important;font-size:18px!important}
#scl-world #scl-chat-form .scl-attach-name{position:absolute!important;left:8px!important;right:8px!important;bottom:100%!important;margin-bottom:3px!important;max-width:calc(100% - 16px)!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;background:#090909!important;border:1px solid #765622!important;color:#d8c28e!important;padding:3px 7px!important;font:12px/1.25 Arial,sans-serif!important;z-index:4!important}
#scl-world #scl-chat-form .scl-attach-name[hidden]{display:none!important}
@media(max-width:700px){
 #scl-world #scl-chat-form{display:grid!important;grid-template-columns:minmax(0,1fr) 44px auto!important;align-items:stretch!important;gap:6px!important;padding-left:7px!important;padding-right:48px!important}
 #scl-world #scl-chat-form #scl-chat-input{grid-column:1!important;min-width:0!important}
 #scl-world #scl-chat-form .scl-attach-button{grid-column:2!important;min-height:46px!important}
 #scl-world #scl-chat-form>button:not(.scl-attach-button){grid-column:3!important;min-width:64px!important;padding:0 10px!important}
}


/* v13.7.31 compact presence controls; Voice & Video remains one optional-camera call */
#scl-world .scl-left .scl-my-status{padding-top:3px!important;padding-bottom:5px!important}
#scl-world .scl-left .scl-my-status label{margin:2px 0!important;line-height:1.1!important}
#scl-world .scl-left .scl-my-status #scl-status{min-height:34px!important;height:34px!important;padding:4px 8px!important;font-size:12px!important;line-height:1.15!important}
#scl-world .scl-left .scl-my-status #scl-activity-status{min-height:34px!important;height:34px!important;margin:3px 0 0!important;padding:5px 8px!important;font-size:11px!important;line-height:1.15!important}
@media(max-width:900px){
 #scl-world .scl-left .scl-my-status #scl-status,#scl-world .scl-left .scl-my-status #scl-activity-status{min-height:34px!important;height:34px!important;font-size:12px!important;padding:4px 7px!important}
}

/* v13.7.34 — mobile UI consolidation. Desktop remains unchanged. */
@media (max-width:700px){
  /* Give chat the phone width and make its controls intentional instead of permanently dense. */
  #scl-world .scl-chat{left:4px!important;right:4px!important;width:auto!important;max-width:none!important}
  #scl-world .scl-chat .scl-tabs{display:flex!important;align-items:stretch!important;gap:0!important;overflow:visible!important;white-space:normal!important}
  #scl-world .scl-chat .scl-tabs>button{display:none!important;width:auto!important;min-height:42px!important}
  #scl-world .scl-chat .scl-tabs>[data-tab="room"]{display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:flex-start!important;padding:8px 12px!important;font-size:15px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  #scl-world .scl-chat .scl-mobile-chat-more{display:flex!important;flex:0 0 48px!important;align-items:center!important;justify-content:center!important;font-size:22px!important;padding:4px!important}
  #scl-world .scl-mobile-chat-menu{position:absolute!important;top:44px!important;right:4px!important;width:min(250px,calc(100vw - 24px))!important;padding:7px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;background:#080707!important;border:1px solid #765622!important;border-radius:8px!important;z-index:10020!important;box-shadow:0 12px 28px rgba(0,0,0,.8)!important}
  #scl-world .scl-mobile-chat-menu[hidden]{display:none!important}
  #scl-world .scl-mobile-chat-menu button{min-height:42px!important;background:#100d0e!important;border:1px solid #765622!important;color:#f0d188!important;border-radius:6px!important;font:700 13px Georgia,"Times New Roman",serif!important}
  /* Per-message actions are available on demand, not a permanent second line under every message. */
  #scl-world #scl-chat-log>[data-message-id] .scl-chatx-actions{display:none!important}
  #scl-world #scl-chat-log>[data-message-id].scl-mobile-message-selected .scl-chatx-actions{display:flex!important}
  #scl-world #scl-chat-log>[data-message-id]{cursor:pointer!important}
  #scl-world #scl-chat-log>[data-message-id] .scl-chatx-actions{gap:5px!important;margin:5px 0 1px!important}
  /* Actual reaction counts remain visible even when actions are closed. */
  #scl-world #scl-chat-log>[data-message-id] .scl-chatx-reaction-counts{display:flex!important}
  /* Member launcher is compact while closed. */
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu{min-width:0!important;width:auto!important;padding:8px 10px!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu .scl-mobile-menu-launcher-grip{font-size:0!important}
  #scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu .scl-mobile-menu-launcher-grip::after{content:'✥';font-size:15px!important}
}


/* v13.7.36 MOBILE NAVIGATION CONSOLIDATION — desktop unchanged. */
#scl-mobile-tools-toggle,#scl-mobile-tools-drawer{display:none}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-toggle{
 display:flex!important;position:fixed!important;right:max(10px,env(safe-area-inset-right))!important;top:max(76px,calc(env(safe-area-inset-top) + 10px))!important;z-index:10020!important;
 align-items:center!important;gap:7px!important;min-height:42px!important;padding:8px 12px!important;border:1px solid #b98b24!important;border-radius:10px!important;background:#080706!important;color:#f0d78d!important;font:700 15px Georgia,serif!important;box-shadow:0 3px 14px #000a!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer{
 display:block!important;position:fixed!important;z-index:10030!important;top:0!important;right:0!important;bottom:0!important;width:min(86vw,340px)!important;max-width:340px!important;
 background:#070605!important;border-left:1px solid #b98b24!important;box-shadow:-10px 0 28px #000c!important;transform:translateX(105%)!important;transition:transform .18s ease!important;overflow-y:auto!important;padding:max(12px,env(safe-area-inset-top)) 12px max(16px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer.open{transform:translateX(0)!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-mobile-tools-head{display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #6f5317!important;padding:4px 2px 12px!important;margin-bottom:12px!important;color:#f0d78d!important;font:700 20px Georgia,serif!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-mobile-tools-close{width:42px!important;height:42px!important;border:1px solid #b98b24!important;border-radius:8px!important;background:#0b0908!important;color:#f0d78d!important;font-size:25px!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-pro-tools,
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-wowbar{
 position:static!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;width:100%!important;max-width:none!important;transform:none!important;margin:0 0 14px!important;padding:8px!important;box-sizing:border-box!important;overflow:visible!important;background:#0b0908!important;border:1px solid #6f5317!important;border-radius:10px!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-pro-tools button,
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-wowbar button{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;width:auto!important;padding:8px!important;white-space:normal!important;background:#120e0c!important;color:#f0d78d!important;border:1px solid #8e6a1d!important;border-radius:8px!important;font-size:15px!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-pro-drag,
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-wowbar-drag,
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-wowbar-reset{display:none!important}
@media (max-width:430px){#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-toggle span{display:none!important}#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-toggle{width:44px!important;justify-content:center!important;padding:7px!important}}
/* v13.7.37 — mobile chat drag hardening: one gesture engine, no page-pan conflict while handle is active */
.scl-chat-move-handle{touch-action:none!important;overscroll-behavior:contain!important;-webkit-user-select:none!important;user-select:none!important}

/* v13.7.38 — coherent mobile shell: one menu, unobstructed tabs, no duplicate launcher. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-toggle{
 top:10px!important;right:max(8px,env(safe-area-inset-right))!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;justify-content:center!important;border-radius:9px!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-toggle span{display:none!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-member-menu{display:none!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav{overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding-right:0!important;scrollbar-width:none!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav::-webkit-scrollbar{display:none!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) .scl-top nav button{flex:0 0 auto!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-mobile-member-links{
 display:grid!important;position:static!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;width:100%!important;max-width:none!important;max-height:none!important;grid-template-columns:1fr!important;gap:6px!important;margin:0 0 14px!important;padding:8px!important;background:#0b0908!important;border:1px solid #6f5317!important;border-radius:10px!important;transform:none!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-mobile-member-links button,
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-mobile-member-links a{position:static!important;width:100%!important;min-height:44px!important;margin:0!important}
/* Upload UI stays unavailable while the hardened media pipeline is not installed. */
#scl-world #scl-chat-form .scl-attach-button,#scl-world #scl-chat-form .scl-attach-input,#scl-world #scl-chat-form .scl-attach-name{display:none!important}

/* v13.7.39 — restore the complete Member Menu inside the single mobile Explore drawer. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-mobile-member-nav-restored{display:block!important;margin:14px 0 8px!important;padding:10px!important;border:1px solid #6f5317!important;border-radius:10px!important;background:#0b0908!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-mobile-member-nav-restored h3{margin:0 0 9px!important;color:#f0d78d!important;font:700 17px Georgia,"Times New Roman",serif!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-mobile-member-nav-grid{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer .scl-mobile-member-proxy{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;min-height:44px!important;padding:9px 12px!important;margin:0!important;border:1px solid #765622!important;border-radius:7px!important;background:#100d0e!important;color:#f0d188!important;text-decoration:none!important;font:700 14px Georgia,"Times New Roman",serif!important;text-align:left!important}
/* Keep the original member-link container as the functional source, but do not duplicate it visually in the drawer. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-tools-drawer #scl-mobile-member-links{display:none!important}


/* v13.7.40 — mobile menu launcher lives in its own strip below room tabs. */
#scl-mobile-menu-strip{display:none}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-menu-strip{
 display:flex!important;position:relative!important;z-index:10010!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;width:100%!important;min-height:52px!important;padding:5px 10px!important;background:#050505!important;border-top:1px solid #4f3b18!important;border-bottom:1px solid #4f3b18!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-menu-strip[hidden]{display:none!important}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-menu-strip #scl-mobile-tools-toggle{
 display:flex!important;position:static!important;inset:auto!important;width:auto!important;height:42px!important;min-height:42px!important;padding:7px 12px!important;gap:7px!important;justify-content:center!important;border-radius:8px!important;box-shadow:none!important;
}
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-menu-strip #scl-mobile-tools-toggle span{display:inline!important}

/* v13.7.41 — SCL launcher is an isolated non-theme control. */
#scl-world.scl-touch-device:not(.scl-layout-desktop) #scl-mobile-menu-strip .scl-internal-mobile-nav-trigger{cursor:pointer!important;-webkit-user-select:none!important;user-select:none!important;touch-action:manipulation!important}

/* v13.7.44 — desktop Member Menu drag handle. Mobile behavior remains governed by existing mobile rules. */
@media (min-width:701px){
 #scl-world .scl-left .scl-mobile-menu-move{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-2px -2px 6px;padding:5px 7px;border-bottom:1px solid rgba(201,161,74,.38);color:#e7c47c;font:700 12px/1.2 Georgia,'Times New Roman',serif;cursor:grab;touch-action:none;user-select:none}
 #scl-world .scl-left .scl-mobile-menu-move.is-dragging{cursor:grabbing}
 #scl-world .scl-left .scl-mobile-menu-move button{width:24px;min-width:24px;height:24px;min-height:24px;padding:0;display:grid;place-items:center;color:#e7c47c!important;border:0!important;background:transparent!important;font-size:16px!important}
 #scl-world .scl-left .scl-mobile-menu-resize{display:none!important}
}
/* v13.7.45 — mobile drawer presence controls use the same desktop status/activity sources. */
@media(max-width:700px){
 #scl-mobile-tools-drawer .scl-mobile-presence-proxy{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;margin:0 0 14px!important;padding:12px!important;border:1px solid rgba(201,161,74,.45)!important;border-radius:8px!important;background:#090909!important}
 #scl-mobile-tools-drawer .scl-mobile-presence-proxy label{display:block!important;margin:0!important;color:#d8b765!important;font:700 12px/1.25 Georgia,"Times New Roman",serif!important;text-transform:uppercase!important;letter-spacing:.07em!important}
 #scl-mobile-tools-drawer .scl-mobile-presence-proxy select,#scl-mobile-tools-drawer .scl-mobile-presence-proxy input{display:block!important;width:100%!important;box-sizing:border-box!important;min-height:42px!important;margin:6px 0 0!important;padding:8px 10px!important;border:1px solid #765622!important;border-radius:5px!important;background:#090909!important;color:#f0d188!important;font:15px/1.2 Arial,sans-serif!important}
 #scl-mobile-tools-drawer .scl-mobile-presence-proxy input::placeholder{color:#9b8a67!important;opacity:1!important}
}

/* v13.7.56 — typing indicator overlays above the existing composer without changing layout. */
#scl-world #scl-chat-form{position:relative}
#scl-world #scl-chat-form[data-typing]:not([data-typing=""])::before{content:attr(data-typing);position:absolute;left:8px;bottom:100%;margin-bottom:2px;max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 7px;background:rgba(9,9,9,.94);border:1px solid #60451f;border-radius:3px;color:#cfcfcf;font:italic 11px/1.3 Arial,sans-serif;pointer-events:none;z-index:35}


/* v13.7.90 — desktop-only fail-safe return control for pages opened from
   Great Hall / Lounge / Playroom. It is mounted directly under <body>,
   outside the embedded panel/iframe stacking context, so WordPress/theme
   layout cannot cover it. Mobile keeps the existing working control. */
#scl-desktop-return-live{
  position:fixed!important;
  right:18px!important;
  z-index:2147483647!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:42px!important;
  padding:9px 15px!important;
  border:1px solid #c89a3b!important;
  border-radius:6px!important;
  background:#090807!important;
  color:#f1d486!important;
  -webkit-text-fill-color:#f1d486!important;
  font:700 15px/1.2 Georgia,'Times New Roman',serif!important;
  box-shadow:0 5px 22px rgba(0,0,0,.72)!important;
  cursor:pointer!important;
}
#scl-desktop-return-live:hover,
#scl-desktop-return-live:focus{
  background:#211707!important;
  color:#ffe5a0!important;
  -webkit-text-fill-color:#ffe5a0!important;
  outline:2px solid rgba(216,170,85,.35)!important;
}
@media(max-width:700px){
  #scl-desktop-return-live{display:none!important}
}
