#chatPanel,.resting #chatPanel{display:block;box-sizing:border-box;left:16px;right:auto;bottom:105px;width:300px;padding:10px 12px;border:1px solid #d4c18c45;border-radius:12px;background:#21382ed9;max-height:70vh;z-index:6;box-shadow:0 8px 30px #0002}#chatPanel .chat-heading h2{font-size:17px}#chatPanel .chat-heading button{font-size:12px;padding:4px 8px;border:1px solid #c7ba8a55;border-radius:15px}#chatPanel #chatMessages{height:116px;max-height:26vh;margin-top:6px;padding:0;border-top:0}#chatPanel .chat-line{font-size:13px;margin:5px 0;padding:3px 0;background:none;border-radius:0}#chatPanel .chat-line b{font-size:11px;color:#e7d39c}#chatPanel .chat-line small{font-size:10px}#chatPanel .chat-line span{margin-top:2px;font-size:13px}#chatPanel .chat-quick,#chatPanel #chatForm,#chatPanel .chat-scopes,#chatPanel .chat-note,#chatPanel #chatConnection,#chatPanel #chatPresence{display:none}#chatSendScope{font-size:10px;color:#abc0ad;margin-left:auto;margin-right:8px}#chatEmpty{font-size:12px;color:#b5bfa7;margin:9px 0 2px}.chat-open #chatPanel,.resting.chat-open #chatPanel{width:340px;max-height:68vh;bottom:105px}.chat-open #chatPanel #chatMessages{height:190px}.chat-open #chatPanel .chat-quick,.chat-open #chatPanel #chatForm,.chat-open #chatPanel .chat-scopes{display:flex}.chat-open #chatPanel #chatConnection,.chat-open #chatPanel #chatPresence{display:block}.rest-quiet #chatPanel{display:none}.wall-open #chatPanel{display:none}#musicSettings{position:relative;color:#e6d3ac;font-size:12px}#musicSettings summary{cursor:pointer;list-style:none;padding:7px 10px;border:1px solid #c0bc9170;border-radius:18px;background:#243b4baa}#musicSettings>div{position:absolute;top:35px;left:0;width:225px;box-sizing:border-box;padding:14px;background:#263d32f5;border:1px solid #b2a676;border-radius:12px;z-index:15}#musicSettings button{color:#edd9ad;font-size:12px}#musicSettings label{display:block;font-size:12px;margin-top:12px}#musicVolume{width:140px;accent-color:#c5ac70}#musicStatus{font-size:11px;line-height:1.5}#musicMeter{display:block;width:100%;height:6px}#bossCameraReset{font-size:11px}#bossPanel .boss-sub{display:block}.ritual-status{pointer-events:none}.world-hud{gap:6px}.world-hud button{min-width:55px}
@media(max-width:1100px){#chatPanel,.resting #chatPanel{top:150px;bottom:auto;left:12px;width:270px}.chat-open #chatPanel,.resting.chat-open #chatPanel{top:auto;bottom:100px;left:12px;max-height:65vh}}@media(max-width:700px){#chatPanel,.resting #chatPanel{top:166px;left:12px;right:auto;bottom:auto;width:min(250px,calc(100vw - 90px));padding:8px 10px;background:#21382ebf}#chatPanel #chatMessages{height:76px;max-height:14vh}#chatPanel .chat-heading h2{font-size:14px}#chatPanel .chat-line span{font-size:12px}.chat-open #chatPanel,.resting.chat-open #chatPanel{top:auto;left:12px;right:12px;bottom:90px;width:auto;max-height:62vh;padding:13px}.chat-open #chatPanel #chatMessages{height:180px;max-height:28vh}.resting.chat-open #restPanel{display:none}.boss-active #chatPanel:not(.chat-open #chatPanel){width:220px;top:143px}.scene-top{flex-wrap:wrap;max-width:calc(100vw - 20px)}#musicSettings summary{padding:6px 8px;font-size:10px}#musicSettings>div{left:auto;right:0}.world-hud{margin-left:25px}.world-hud button{min-width:46px;padding:7px 8px}.near-action{bottom:145px}.ritual-status{bottom:103px}#bossPanel .boss-sub{font-size:11px;margin:5px 0;line-height:1.5}}

.rest-actions{grid-template-columns:repeat(5,1fr)}@media(max-width:700px){.rest-actions{grid-template-columns:repeat(3,1fr)}}

#chatPanel:has(#chatEmpty:not([hidden])) #chatMessages{height:0}#chatPanel:has(#chatEmpty:not([hidden])){min-height:0}


@media(max-width:700px){.scene-top{left:12px;right:auto;top:68px;width:calc(100vw - 125px);max-width:none;gap:4px}.scene-top>button,.scene-top>details{flex:none}#networkStatus{top:137px;max-width:calc(100vw - 135px)}.travel-hint{display:none}}


#restChat.table-chat-primary{grid-column:1/-1;background:#bba36d;color:#263b2e;border:1px solid #e7d29a;font-weight:bold;font-size:15px;padding:10px;border-radius:9px;box-shadow:0 2px 12px #1113}#restChat small{font-weight:normal;font-size:11px;margin-left:8px;color:#3c513a}#graphicsRecovery{position:fixed;z-index:30;left:50%;top:35%;transform:translateX(-50%);width:min(400px,90vw);padding:22px;background:#263d32ef;border:1px solid #c1aa74;color:#ebd6a6;border-radius:14px}#graphicsRecovery[hidden]{display:none}#graphicsRecovery p{font-size:14px;line-height:1.7}#graphicsRecovery button{color:inherit}#graphicsRecovery h2{font-family:KaiTi,serif}


.near-action:hover,.near-action:focus{background:#3e5b49;color:#f1ddb0;border-color:#bba570}#restChat.table-chat-primary:hover{background:#d2bc86;color:#213a2d}

