.teamchat{position:fixed;z-index:65;left:max(12px,env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));font-size:14px;color:#eaf4ff;pointer-events:auto}.teamchat--rail{position:relative;left:auto;bottom:auto;flex:none}.teamchat button{font:inherit;cursor:pointer;color:inherit;border:1px solid #526b7a;background:#132733;min-height:36px;border-radius:5px;padding:5px 12px}.teamchat__toggle{display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 2px 10px #0006;min-width:84px;font-weight:700!important}.teamchat__toggle .icon{width:18px;height:18px}.teamchat__toggle b{background:#e8ae52;color:#182333;border-radius:12px;min-width:22px;text-align:center;font:700 12px sans-serif}.teamchat__panel{position:fixed;left:12px;bottom:60px;width:360px;height:318px;display:flex;flex-direction:column;background:linear-gradient(145deg,#142c39f5,#0c1925fa);border:1px solid #527184;border-top:2px solid #d7b77b;border-radius:8px;box-shadow:0 10px 32px #0009;overflow:hidden;z-index:75}.teamchat__panel header{display:flex;align-items:center;justify-content:space-between;padding:5px 10px;flex:none;font-weight:700}.teamchat__panel header button{min-height:26px;padding:0 8px;font-size:22px;background:none;border:none}.teamchat__tabs{display:flex;gap:5px;padding:0 10px 7px;border-bottom:1px solid #3a5164}.teamchat__tabs button{flex:1;min-height:30px;padding:3px 8px;font-size:13px}.teamchat__tabs button.is-on{border-color:#e3c489;color:#ffe6ae;background:#3a352b}.teamchat__messages{flex:1;overflow:auto;overscroll-behavior:contain;padding:9px 11px;min-height:0;touch-action:pan-y}.teamchat__messages p{margin:0 0 9px;overflow-wrap:anywhere;line-height:1.4}.teamchat__messages strong{display:block;color:#9ebed2;font-size:12px}.teamchat__messages .is-mine strong{color:#7de7cc}.teamchat__empty{color:#90a5b7}.teamchat form{display:flex;gap:6px;padding:8px;border-top:1px solid #3a5164;flex:none}.teamchat input{font-size:16px;min-width:0;flex:1;color:#f1f6ff;background:#08131e;border:1px solid #607d96;border-radius:4px;padding:7px}.teamchat button:disabled{opacity:.45;cursor:default}.teamchat .ewheel--embedded{flex:1;min-height:0;display:flex}.teamchat .ewheel--embedded .ewheel__panel{position:relative;left:auto;bottom:auto;width:100%;height:100%;max-height:none;min-height:0;box-shadow:none;border:0;border-radius:0;background:transparent!important;transform:none}.teamchat .ewheel--embedded .ewheel__viewport{position:absolute;left:28px;right:28px;top:0;bottom:27px;width:auto;height:auto;min-height:40px;margin:0}.teamchat .ewheel--embedded .ewheel__page{height:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));padding:5px;gap:5px}.teamchat .ewheel--embedded .ewheel__item{width:auto;height:auto;min-height:0;padding:3px;aspect-ratio:auto;background:#162d3b!important}.teamchat .ewheel--embedded .ewheel__dots{bottom:6px}.teamchat .ewheel--embedded .ewheel__nav{min-width:24px;min-height:36px;padding:2px;top:43%}.teamchat .ewheel--embedded .ewheel__nav.is-prev{left:3px}.teamchat .ewheel--embedded .ewheel__nav.is-next{right:3px}@media(max-height:620px){.teamchat__toggle{min-height:36px;min-width:78px;padding:5px 8px}.teamchat__panel header{padding:3px 9px}.teamchat__tabs{padding-bottom:4px}.teamchat__tabs button{min-height:28px}.teamchat form{padding:6px}.teamchat input{padding:6px}}

.teamchat .ewheel--embedded .ewheel__panel{flex:1;height:auto!important;scale:1!important;transform:none!important;animation:none;inset:auto}
.teamchat .ewheel--embedded .ewheel__page{box-sizing:border-box;min-height:0;min-width:0;overflow:hidden;grid-auto-rows:minmax(0,1fr)}
.teamchat .ewheel--embedded .ewheel__item{min-width:0;overflow:hidden;max-height:100%}
.teamchat .ewheel--embedded .ewheel__dots{top:auto!important;left:28px;right:28px;width:auto;height:10px;bottom:7px;gap:8px}
.teamchat .ewheel--embedded button.ewheel__dot{min-height:8px;min-width:0;width:9px;height:8px;padding:0;border:0;border-radius:3px;background:#506a7a}
.teamchat .ewheel--embedded button.ewheel__dot.is-on{background:#e6c489}
.teamchat .ewheel--embedded .ewheel__nav{transform:translateY(-50%)}
