body.cr-active{--cr-ink:#f4eddf;--cr-muted:#c3b8a5;--cr-gold:#d8b67d;--cr-ground:#100e0a;--cr-line:#4d402c;color:var(--cr-ink);background:#100e0a}
body.cr-active #app{max-width:1600px!important;width:100%!important;margin:0 auto!important;padding:24px clamp(16px,3vw,48px) 36px!important;min-height:calc(100svh - 105px)}
.cr-shell,.cr-shell *{box-sizing:border-box}.cr-shell{font-family:Manrope,Arial,sans-serif;color:var(--cr-ink);line-height:1.5}.cr-shell h1,.cr-shell h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.12;letter-spacing:-.025em;color:var(--cr-ink);margin:0 0 20px}.cr-shell h1{font-size:clamp(30px,3.6vw,52px)}.cr-shell h2{font-size:clamp(23px,2.4vw,32px)}.cr-shell p{color:var(--cr-muted);margin:0 0 20px;max-width:65ch}.cr-shell a{color:var(--cr-ink);text-underline-offset:.25em}.cr-shell button,.cr-shell input{font:inherit}.cr-shell button,.cr-shell a,.cr-shell summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.cr-shell button,.cr-shell summary{cursor:pointer}.cr-shell svg{width:23px;height:23px;flex:0 0 23px}.cr-shell button:disabled{cursor:default;opacity:.55}.cr-shell :focus-visible{outline:2px solid #efd6a5!important;outline-offset:5px!important}.cr-shell ::selection{color:#120e07;background:#e5c28a}
.cr-guest{display:grid;grid-template-columns:minmax(330px,.88fr) minmax(0,1.35fr);gap:clamp(28px,5vw,90px);align-items:center;min-height:660px}.cr-auth{max-width:490px;margin:0 auto;width:100%;padding:26px 0}.cr-auth .cr-lead{font-size:18px;margin-bottom:30px}.cr-intent{display:flex;gap:0;border-bottom:1px solid var(--cr-line);margin-bottom:28px}.cr-intent button{border:0;border-bottom:2px solid transparent;background:none;color:var(--cr-muted);padding:12px 7px;min-height:48px;flex:1;font-size:14px;white-space:nowrap}.cr-intent button[aria-pressed=true]{border-bottom-color:var(--cr-gold);color:var(--cr-ink)}
.cr-field{display:block;margin:0 0 22px}.cr-field>span{display:block;font-size:14px;margin-bottom:9px;color:var(--cr-ink)}.cr-field input{display:block;width:100%;max-width:100%;border:1px solid #6b5a3d;border-radius:10px;background:#19150f;color:var(--cr-ink);font-size:16px!important;line-height:1.4;padding:15px 16px;min-height:54px;caret-color:#f0d39e}.cr-field input::placeholder{color:#ac9c83}.cr-field input[readonly]{color:var(--cr-muted);background:#13110d}.cr-field input[name=code]{font-variant-numeric:tabular-nums;letter-spacing:.22em;font-size:22px!important}.cr-field input[type=file]{font-size:14px!important;padding:12px}.cr-primary,.cr-secondary{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:50px;padding:13px 23px;border-radius:10px;font-weight:600;text-decoration:none!important;line-height:1.4}.cr-primary{border:1px solid #e3c18b;background:#dabb84;color:#171008!important}.cr-secondary{border:1px solid #957950;background:#17130e;color:var(--cr-ink)}.cr-auth form>.cr-primary{width:100%;margin-bottom:18px}.cr-shell .cr-hint,.cr-shell .cr-privacy{font-size:13px;line-height:1.65;color:var(--cr-muted)}.cr-shell .cr-privacy{margin-top:24px}.cr-text-link{font-size:14px;display:inline-flex;align-items:center;gap:8px;min-height:44px}.cr-inline-actions{display:flex;justify-content:space-between;gap:12px;margin:0 0 20px}.cr-inline-actions button,.cr-profile-links button{min-height:44px;padding:8px 0;background:none;border:0;color:var(--cr-gold);font-size:13px}.cr-guest-preview{margin:0;min-width:0}.cr-guest-preview .cr-scene{aspect-ratio:4/4.6;max-height:690px;border-radius:22px;overflow:hidden}.cr-guest-preview .cr-scene-background{height:100%;object-fit:cover;object-position:53% center}.cr-guest-preview .cr-avatar{height:78%;bottom:3%;left:51%}.cr-guest-preview figcaption{font-size:12px;color:var(--cr-muted);margin:12px 0;text-align:center}
.cr-room-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px}.cr-room-heading h1{margin:0 0 8px}.cr-room-heading p{margin:0}.cr-heading-actions{display:flex;align-items:center;gap:24px}.cr-scene{position:relative;aspect-ratio:16/9;background:#19201a;isolation:isolate;border-radius:14px;overflow:hidden}.cr-scene>picture{display:block;width:100%;height:100%;position:absolute;inset:0}.cr-scene-background{display:block;width:100%;height:100%;object-fit:cover}.cr-avatar{position:absolute;display:block;object-fit:contain;width:auto;height:88%;bottom:3%;left:52%;transform:translateX(-50%);filter:drop-shadow(10px 16px 8px #08060455);pointer-events:none}.cr-hotspot{display:flex;align-items:center;gap:9px;position:absolute;z-index:2;min-height:48px;padding:11px 17px;border:1px solid #aa8953;border-radius:11px;background:#17120beF;font-size:14px;line-height:1.2;text-decoration:none!important;box-shadow:2px 6px 14px #07050344}.cr-wardrobe{left:5%;top:26%}.cr-shelves{right:3%;top:29%}.cr-study{left:20%;bottom:5%}.cr-journal{right:16%;bottom:5%}.cr-room-summary{display:flex;justify-content:space-between;align-items:center;padding:14px 0 0;gap:20px}.cr-room-summary p{font-size:14px;margin:0;color:var(--cr-ink)}.cr-room-summary p span{display:inline-block;padding-left:22px;color:var(--cr-muted);font-size:12px}.cr-room-nav{display:none}.cr-shell .cr-error{color:#ffb9a6;background:#2e160e;border:1px solid #794331;border-radius:10px;padding:14px 16px;margin:18px 0;line-height:1.55}.cr-shell .cr-message{color:#e6d0aa;border:1px solid #66522f;border-radius:10px;padding:14px 16px;margin:18px 0}
.cr-panel{max-width:870px;margin:20px auto 0}.cr-panel>header{margin-bottom:32px}.cr-profile>form{max-width:650px}.cr-avatar-choice{border:0;padding:0;margin:28px 0}.cr-avatar-choice legend{font-size:17px;margin-bottom:18px}.cr-avatar-choice>div{display:grid;grid-template-columns:repeat(2,minmax(0,210px));gap:18px}.cr-avatar-option{position:relative;cursor:pointer}.cr-avatar-option input{position:absolute;opacity:0;width:1px;height:1px}.cr-avatar-option>span{display:flex;flex-direction:column;align-items:center;padding:12px 8px;border:1px solid #5c4a30;border-radius:12px;background:#19160f}.cr-avatar-option input:checked+span{border-color:#edc987;box-shadow:0 0 0 2px #edc987}.cr-avatar-option input:focus-visible+span{outline:2px solid #f1d19b;outline-offset:5px}.cr-avatar-option img{display:block;width:100%;height:180px;object-fit:contain}.cr-avatar-option strong{font-size:14px;font-weight:500;padding:9px 0}.cr-avatar-choice p{font-size:13px;margin:16px 0 0}.cr-photo{border-top:1px solid var(--cr-line);padding-top:32px;margin-top:40px}.cr-photo>img{object-fit:cover;display:block;border-radius:10px;margin-bottom:16px}.cr-photo form{margin-top:24px}.cr-profile-links{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;border-top:1px solid var(--cr-line);padding-top:24px;margin-top:36px}.cr-profile-links a,.cr-profile-links button{font-size:14px;color:var(--cr-muted)}.cr-delete-account{margin-top:36px;color:var(--cr-muted);font-size:13px}.cr-delete-account summary{min-height:44px;display:list-item;padding-top:12px}.cr-delete-account form{max-width:480px;margin-top:20px}.cr-device-data{border-top:1px solid var(--cr-line);margin-top:48px;padding-top:16px;font-size:13px;color:var(--cr-muted)}.cr-device-data>summary{min-height:44px;padding:12px 0}.cr-device-data>p{margin-top:16px}.cr-device-data .pi-account{margin-top:24px}.cr-empty-shelf{padding:50px 0}.cr-empty-shelf>svg{width:64px;height:64px;color:#ac8b52;margin-bottom:28px}.cr-awards-list,.cr-request-list{list-style:none;padding:0;margin:32px 0}.cr-awards-list li{display:flex;align-items:center;gap:28px;padding:24px 0;border-bottom:1px solid var(--cr-line)}.cr-awards-list li>svg{width:64px;height:64px;color:var(--cr-gold);flex:0 0 64px}.cr-awards-list h2,.cr-request-list h2{font-size:24px;margin-bottom:10px}.cr-request-list li{padding:22px 0;border-bottom:1px solid var(--cr-line)}.cr-draft{margin:36px 0}.cr-users{max-width:1100px}.cr-user-search{display:flex;align-items:end;gap:16px;margin-bottom:24px}.cr-user-search .cr-field{flex:1;margin:0}.cr-users-table{width:100%;overflow-x:auto}.cr-users table{border-collapse:collapse;width:100%;font-size:14px;text-align:left;min-width:580px}.cr-users th{font-size:12px;font-weight:500;color:var(--cr-muted)}.cr-users th,.cr-users td{padding:18px 14px 18px 0;border-bottom:1px solid var(--cr-line);vertical-align:top}.cr-users td strong,.cr-users td span,.cr-users td small{display:block;overflow-wrap:anywhere}.cr-users td span,.cr-users td small{color:var(--cr-muted);font-size:12px;margin-top:6px}.cr-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}.cr-pagination button{background:#201a11;color:var(--cr-ink);border:1px solid var(--cr-line);border-radius:8px;padding:10px 20px;min-height:44px}
@media(hover:hover) and (pointer:fine){.cr-primary:hover{background:#edce99}.cr-secondary:hover,.cr-hotspot:hover{background:#302416}.cr-text-link:hover{color:#efce92}}
@media(max-width:900px){.cr-guest{gap:32px;grid-template-columns:1fr 1fr;min-height:0}.cr-heading-actions{gap:14px}.cr-hotspot{font-size:12px;padding:10px 12px}.cr-study{left:10%}.cr-journal{right:8%}}
@media(max-width:680px){body.cr-active #app{padding:20px 16px 30px!important;min-height:calc(100svh - 85px)}body.ux-inner.cr-active .ux-global-nav{display:none!important}.cr-guest{display:flex;flex-direction:column;gap:26px}.cr-auth{padding:6px 0 0;max-width:480px}.cr-auth h1{font-size:34px;max-width:12ch;margin-bottom:16px}.cr-auth .cr-lead{font-size:16px;margin-bottom:20px;max-width:32ch}.cr-intent{margin-bottom:22px}.cr-field{margin-bottom:18px}.cr-guest-preview{width:100%;max-width:480px}.cr-guest-preview .cr-scene{aspect-ratio:3/4;max-height:none}.cr-guest-preview .cr-scene-background{object-fit:cover}.cr-guest-preview .cr-avatar{height:69%;bottom:4%}.cr-room-heading{margin-bottom:16px;align-items:center}.cr-room-heading h1{font-size:30px;margin-bottom:7px}.cr-room-heading p{font-size:13px;max-width:23ch;overflow-wrap:anywhere}.cr-heading-actions{gap:6px;flex-direction:column;align-items:flex-end}.cr-heading-actions .cr-secondary{padding:10px 12px;min-height:44px;font-size:12px;border-radius:9px}.cr-heading-actions .cr-secondary svg{width:18px;height:18px;flex-basis:18px}.cr-heading-actions .cr-text-link{font-size:11px;min-height:30px}.cr-scene{aspect-ratio:3/4;border-radius:12px}.cr-avatar{height:69%;bottom:4%;left:51%}.cr-hotspot{padding:10px 9px;gap:6px;min-height:44px;font-size:11px;max-width:47%}.cr-hotspot svg{width:17px;height:17px;flex-basis:17px}.cr-wardrobe{left:3%;top:24%}.cr-shelves{right:2%;top:35%}.cr-study,.cr-journal{bottom:3%;font-size:11px}.cr-study{left:3%}.cr-journal{right:3%}.cr-room-summary{padding-top:12px;gap:12px}.cr-room-summary p{font-size:12px}.cr-room-summary p span{padding:4px 0 0;display:block;font-size:11px}.cr-room-summary>a{font-size:11px}.cr-room-nav{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--cr-line);margin-top:16px;padding:10px 0 0;gap:4px}.cr-room-nav>a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;min-height:55px;text-decoration:none;font-size:10px;color:var(--cr-muted)}.cr-room-nav svg{width:21px;height:21px}.cr-panel{margin-top:8px}.cr-panel>header{margin-bottom:24px}.cr-profile h1,.cr-users h1{font-size:34px}.cr-avatar-choice>div{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.cr-avatar-option img{height:160px}.cr-avatar-option strong{font-size:13px}.cr-profile>form>.cr-primary{width:100%}.cr-user-search{display:block}.cr-user-search .cr-secondary{margin-top:12px;width:100%}.cr-device-data{margin-top:30px}.cr-shell .cr-inline-actions{gap:14px}.cr-inline-actions button{font-size:12px}.cr-shell input,.cr-shell textarea{scroll-margin-top:24px}.cr-shell .cr-hint,.cr-shell .cr-privacy{font-size:12px}}
@media(max-height:500px) and (min-width:681px){.cr-guest{min-height:0}.cr-auth{padding:6px 0}.cr-auth h1{font-size:32px}.cr-guest-preview .cr-scene{max-height:460px}.cr-scene-live{max-height:660px;aspect-ratio:16/9}}
@media(prefers-reduced-motion:reduce){.cr-shell *{scroll-behavior:auto!important}}

/* Fit the working room in a desktop viewport; portraits retain the authored tall composition. */
@media(min-width:681px){.cr-room-heading h1{font-size:clamp(30px,3vw,44px)}.cr-room-heading p{font-size:14px}.cr-scene-live{height:clamp(360px,calc(100svh - 300px),760px);aspect-ratio:auto}.cr-scene-background{min-height:100%;max-height:none}}
.cr-profile>[data-cr="logout"]{display:block;background:none;color:var(--cr-gold);border:0;padding:12px 0;margin-top:18px}
