/* Shared inventory art supplies the panel, cloud material and bronze controls. */
#u20log{position:fixed;z-index:3;display:flex;flex-direction:column;box-sizing:border-box;min-height:0;padding:0 3px;color:#f0e0be;font:13px/1.45 'JX Roboto Condensed',Tahoma,sans-serif;border:0;border-radius:0;background:transparent;background-size:100% 100%;background-repeat:no-repeat;box-shadow:none;isolation:isolate}
#u20log[hidden],#u20log [hidden]{display:none!important}
#u20log button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
#u20log button:focus-visible{outline:1px solid #f2d189;outline-offset:1px}
#u20log input:focus-visible{outline:none}
#u20ct{display:flex;align-items:center;flex:none;gap:3px;height:30px;min-height:30px;margin:0 -3px;box-sizing:border-box;padding:0 5px;color:#fff0c9;text-shadow:0 1px 2px #100a04}
#u20ct button{min-height:26px;padding:3px 5px;border:0;border-radius:0;background:transparent;white-space:nowrap;font-size:12px}
#worldFilterTabs{background:#20180ee6;border:1px solid #937039;display:flex;flex:1;gap:1px;min-width:0;overflow:auto;scrollbar-width:none}
#worldFilterTabs::-webkit-scrollbar{display:none}
#worldFilterTabs button{flex:none;box-shadow:inset 0 -1px transparent;transition:background-color .12s,color .12s}
#worldFilterTabs button:hover{background:#291b1099;color:#fff4cb}
#worldFilterTabs button.on{color:#ffedbd;background:#26150ed9;box-shadow:inset 0 -2px #c49a4c}
#u20ct #worldChatMove{width:21px;min-width:21px;padding:0;cursor:grab;font-size:18px;color:#301c0b;touch-action:none}
#u20ct #u20hide{flex:none;width:27px;min-width:27px;margin-left:auto;padding:0;font-size:20px;color:#301c0b}
#u20lines{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -3px;padding:7px 8px;background:linear-gradient(#0f120f24,#11150e30);scrollbar-width:none;touch-action:pan-y;overscroll-behavior:contain}
#u20lines::-webkit-scrollbar{display:none;width:0;height:0}
#u20in{position:relative;display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:0;box-sizing:border-box;margin:0 -3px;padding:4px 7px;border:0;background-color:#211e16;background-image:linear-gradient(#11170d55,#0c160f99),var(--chat-composer-texture);background-repeat:no-repeat,repeat;background-size:100% 100%,256px 96px}
#u20in input{box-sizing:border-box;min-width:0;height:34px;padding:5px 8px;border:0;border-radius:0;background:transparent;color:#f3e6c9;font:14px 'JX Roboto Condensed',Tahoma,sans-serif;outline:none;user-select:text!important;-webkit-user-select:text!important;-webkit-touch-callout:default}
#u20in input:focus{box-shadow:none;background-color:#e1c48618}
#u20in input::placeholder{color:#b4ac92;opacity:.8}
#u20txt{flex:1;width:60px}
#worldRecipient{flex-basis:100%;width:100%}
#u20in button{flex:none;box-sizing:border-box;min-width:32px;height:34px;padding:4px 8px;border:0;border-radius:0;background:transparent;color:#f5dfad;text-shadow:0 1px 2px #080704}
#u20in button:hover{background-color:#dab87912;color:#fff0c9}
#u20in button:active{background-color:#0c100c66}
#u20in #worldChannelTrigger{width:96px;max-width:34%;padding:4px 18px 4px 6px;position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;text-align:center}
#worldChannelTrigger::after{content:'';position:absolute;right:8px;top:14px;width:5px;height:5px;border:solid #dfbd77;border-width:0 1px 1px 0;transform:rotate(45deg)}
#worldChannelTrigger[aria-expanded=true]::after{top:16px;transform:rotate(225deg)}
#u20in #worldFaceButton{width:32px;padding:0;font-size:22px;line-height:1}
#u20in #u20go{min-width:42px;font-weight:600;color:#f1cf86}
#worldChatStatus{flex:none;font-size:12px;color:#ffb79b;margin:0;background:#20150ee8}
#worldChatStatus:empty{display:none}
#worldChannelMenu{position:absolute;z-index:5;left:8px;bottom:48px;display:grid;gap:2px;box-sizing:border-box;min-width:160px;max-width:calc(100% - 16px);max-height:min(260px,45vh);padding:6px;border:1px solid #b49150;outline:0;background-color:#211e16;background-image:linear-gradient(#161910bf,#0c130ce8),var(--chat-composer-texture);background-size:100% 100%,256px 96px;box-shadow:0 4px 16px #0009;overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
#worldChannelMenu,#worldFaces{scrollbar-width:thin;scrollbar-color:#9b7a42 transparent}
#worldChannelMenu::-webkit-scrollbar,#worldFaces::-webkit-scrollbar{width:4px;background:transparent}
#worldChannelMenu::-webkit-scrollbar-track,#worldFaces::-webkit-scrollbar-track{background:transparent}
#worldChannelMenu::-webkit-scrollbar-thumb,#worldFaces::-webkit-scrollbar-thumb{background:#9b7a42}
#worldChannelMenu button{min-height:32px;padding:6px 12px;border:1px solid transparent;background:transparent;text-align:left;white-space:nowrap;font-size:14px;color:#ebd6ad}
#worldChannelMenu button:hover,#worldChannelMenu button.on{border-color:transparent;background:#69502d66;color:#fff0c6}
#worldChannelMenu button.on::after{content:'✓';margin-left:20px;color:#d1b771}
#worldFaces{position:absolute;z-index:5;left:8px;right:8px;bottom:48px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;max-height:min(210px,45vh);overflow:auto;overscroll-behavior:contain;padding:6px;border:1px solid #b49150;background:#151b14fa;box-shadow:0 4px 16px #0009;touch-action:pan-y}
#worldFaces button{display:grid;place-items:center;min-width:0;min-height:32px;padding:1px;border:1px solid #6c5632;background:#22261b}
#worldFaces button:hover{border-color:#d3b16d;background:#53442a}
#worldFaces img{width:26px;height:26px;object-fit:contain}
#u20ct #worldChatResize{position:static;flex:none;width:22px;min-width:22px;height:26px;padding:0;border:0;background:transparent;color:#301c0b;font:17px Arial;cursor:ne-resize;touch-action:none}
#u20log.is-typing #worldChatResize{display:none}
.world-message{padding:2px 0;overflow-wrap:anywhere;white-space:pre-wrap;text-shadow:0 1px 2px #050805}
.world-message.system{color:#edce8e}.world-message small{font-size:11px;color:#cfb47e}
.world-message .world-speaker{border:0;background:transparent;padding:0;color:#f3db9d;font:inherit}
.world-message[data-chat-channel=world]{color:#9bdf8c}.world-message[data-chat-channel=town]{color:#a7d7ef}.world-message[data-chat-channel=private]{color:#dbb7f0}
.vng-chat-emote{width:24px;height:24px;vertical-align:middle;object-fit:contain}
#worldChatBubble{display:none}
body.u20logoff #u20log{padding:0;border:1px solid #ad8a4a;border-radius:50%;background:radial-gradient(circle at 35% 25%,#68502c,#27291b 65%,#101911);box-shadow:inset 0 0 0 2px #332518,0 3px 8px #0008;overflow:hidden}
body.u20logoff #u20log>*:not(#worldChatBubble){display:none!important}
body.u20logoff #u20log #worldChatBubble{display:grid;place-items:center;width:100%;height:100%;padding:1px;border:0;background:transparent;border-radius:50%}
#u20log #worldChatBubble{touch-action:none;cursor:grab}
#worldChatBubble svg{width:100%;height:100%;filter:drop-shadow(0 1px 1px #000)}
#u20log.is-touch #u20in input{font-size:16px;min-height:36px}
#u20log.is-touch #u20ct button{min-height:29px}
#u20log.is-touch #worldChannelMenu button{min-height:36px}
#u20log.is-touch .world-message{user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media(max-width:480px){#u20log{font-size:13px}#u20ct{gap:1px}#u20ct button{padding-inline:4px;font-size:12px}#u20ct #worldChatMove{min-width:18px;width:18px}#u20in #worldChannelTrigger{width:90px;font-size:12px}#u20in{gap:0}}
/* Compact native-game chat: quiet header, one continuous composer, readable links. */
#u20ct{height:24px;min-height:24px;padding:0 3px;background:linear-gradient(#302a1dcc,#172016bb);border-bottom:1px solid #92724480;}
#u20ct button{min-height:22px;padding:1px 4px;font-size:11px;}#worldFilterTabs{border:0;background:transparent;}
#u20ct #worldChatMove{color:#dbc08b;font-size:16px;width:18px;min-width:18px;}#u20ct #u20hide{color:#dbc08b;width:22px;min-width:22px;}
#u20lines{padding:4px 6px;font-size:12px;line-height:1.4;}#u20in{padding:2px 4px;}#u20in input,#u20in button{height:30px;}
#u20in #worldChannelTrigger{width:82px;font-size:12px;}#u20in #worldFaceButton{width:28px;min-width:28px;font-size:20px;}#u20in #u20go{min-width:36px;padding:3px 5px;}
#worldChannelTrigger::after{top:12px;}#worldChannelTrigger[aria-expanded=true]::after{top:14px;}
#u20log.is-touch #u20in input{height:34px;font-size:16px;}#u20log.is-touch #u20in button{height:34px;}
#u20lines .world-item-link{display:inline;border:0;padding:0 1px;background:transparent;color:#f0c86f;font:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer;}
#u20lines .world-item-link:hover{color:#fff0b0;}
.pc-item-tooltip .tip-actions{display:flex;flex-wrap:wrap;gap:5px;}.pc-item-tooltip .tip-actions button{flex:1;min-width:65px;}.pc-item-tooltip .tip-share{color:#f0d38d;}
/* Charcoal and aged bronze match the inventory chrome; the editor stays darker. */
#u20ct{background:linear-gradient(#292920e8,#171c17dc);border-color:#88704466;}
#u20in{gap:2px;padding:3px 4px;border-top:1px solid #77633c66;background-color:#141912;background-image:linear-gradient(#20241c,#111710);}
#u20in input{background:#070d09;color:#eee4cc;box-shadow:inset 0 0 0 1px #88704455;}
#u20in input:focus{background:#090f0b;box-shadow:inset 0 0 0 1px #c6a66988;}
#u20in input::placeholder{color:#929780;}
#u20in button{color:#d8c49c;}#u20in button:hover{background:#b8965118;color:#f3ddb1;}
#u20in #worldChannelTrigger{width:80px;}#u20in #worldFaceButton{min-width:25px;width:25px;}#u20in #u20go{min-width:32px;}
#worldChannelMenu{background:#10170ff5;background-image:none;border-color:#887044;}
#worldChannelMenu button.on,#worldChannelMenu button:hover{background:#8d70492b;}
#worldFaces{background:#10170ff5;border-color:#887044;}
.world-message[data-chat-channel=system],.world-message[data-chat-channel=system] span,.world-message[data-chat-channel=system] small,.world-message[data-chat-channel=system] .world-speaker{color:var(--chat-system,#b94b4b)!important;}
.world-message[data-chat-channel=team],.world-message[data-chat-channel=team] span,.world-message[data-chat-channel=team] small,.world-message[data-chat-channel=team] .world-speaker{color:var(--chat-team,#3975c9)!important;}
.world-message[data-chat-channel=guild],.world-message[data-chat-channel=guild] span,.world-message[data-chat-channel=guild] small,.world-message[data-chat-channel=guild] .world-speaker{color:var(--chat-guild,#e4bf5e)!important;}
#u20log.is-touch #u20ct{height:28px;min-height:28px;}#u20log.is-touch #u20ct button{min-height:26px;font-size:12px;}

/* Crisp, larger chat text; channel color covers prefix, speaker and body. */
#u20lines{font-family:"JX Roboto",Tahoma,sans-serif;font-size:16px;line-height:1.5;font-weight:500;background:linear-gradient(#07100870,#07100880);}
.world-message{padding:3px 0;text-shadow:-1px 0 #000,1px 0 #000,0 -1px #000,0 1px #000;}
.world-message small{font:inherit;color:inherit;}
#u20ct button{font-size:13px;}#u20in input{font-size:16px;}
#u20lines .world-message[data-chat-channel=system],#u20lines .world-message[data-chat-channel=system] span,#u20lines .world-message[data-chat-channel=system] small,#u20lines .world-message[data-chat-channel=system] .world-speaker{color:var(--chat-system,#ff0000)!important;}
#u20lines .world-message[data-chat-channel=team],#u20lines .world-message[data-chat-channel=team] span,#u20lines .world-message[data-chat-channel=team] small,#u20lines .world-message[data-chat-channel=team] .world-speaker{color:var(--chat-team,#3975c9)!important;}
#u20lines .world-message[data-chat-channel=guild],#u20lines .world-message[data-chat-channel=guild] span,#u20lines .world-message[data-chat-channel=guild] small,#u20lines .world-message[data-chat-channel=guild] .world-speaker{color:var(--chat-guild,#ffff00)!important;}
#u20lines .world-message[data-chat-channel=faction],#u20lines .world-message[data-chat-channel=faction] span,#u20lines .world-message[data-chat-channel=faction] small,#u20lines .world-message[data-chat-channel=faction] .world-speaker{color:var(--chat-faction,#ffff00)!important;}
#u20lines .world-message[data-chat-channel=town],#u20lines .world-message[data-chat-channel=town] span,#u20lines .world-message[data-chat-channel=town] small,#u20lines .world-message[data-chat-channel=town] .world-speaker{color:var(--chat-town,#4bfff6)!important;}
#u20lines .world-message[data-chat-channel=world],#u20lines .world-message[data-chat-channel=world] span,#u20lines .world-message[data-chat-channel=world] small,#u20lines .world-message[data-chat-channel=world] .world-speaker{color:var(--chat-world,#9bdf8c)!important;}
#u20lines .world-message[data-chat-channel=private],#u20lines .world-message[data-chat-channel=private] span,#u20lines .world-message[data-chat-channel=private] small,#u20lines .world-message[data-chat-channel=private] .world-speaker{color:var(--chat-private,#dbb7f0)!important;}
#u20lines .world-message[data-chat-channel=nearby],#u20lines .world-message[data-chat-channel=nearby] span,#u20lines .world-message[data-chat-channel=nearby] small,#u20lines .world-message[data-chat-channel=nearby] .world-speaker{color:var(--chat-nearby,#eee4cc)!important;}
#u20lines .world-message span.world-notice-name{color:var(--chat-character,#70ef7d)!important;font-weight:600;}
#u20lines .world-message span.world-whisper-icon{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;margin-right:4px;vertical-align:-1px;color:var(--chat-private,#dbb7f0)!important;}
.world-whisper-icon svg{display:block;width:100%;height:100%;}
