/* v0.9.0 · Online Social Foundation */
.hud-online-pill{
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
  cursor:pointer;
  pointer-events:auto!important;
  transition:transform .12s ease,filter .12s ease;
}
.hud-online-pill:active{transform:translateX(-50%) translateY(1px)!important;filter:brightness(.95)}
.online-panel,.remote-profile-panel{width:min(610px,94vw)!important;overflow:hidden!important}
.online-kicker{display:block;margin-bottom:2px;color:#b45d39;font-size:9px;font-weight:950;letter-spacing:.12em}
.online-panel .tcq-panel-head>div,.remote-profile-panel .tcq-panel-head>div{min-width:0}
.online-panel .tcq-panel-head h2,.remote-profile-panel .tcq-panel-head h2{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#onlineSheetBody,#remoteProfileBody{position:relative;z-index:1;min-height:0}
.online-summary{display:grid;grid-template-columns:34px minmax(0,1fr) 38px;align-items:center;gap:8px;padding:9px 10px;border:2px solid #bf8b61;border-radius:13px;background:#fff7e6;color:#553326;box-shadow:inset 0 1px #fff}
.online-summary.connected{border-color:#7da65b;background:linear-gradient(135deg,#f4ffe7,#fff3dc)}
.online-summary.offline{filter:saturate(.55)}
.online-summary-dot{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#d9efbf;color:#4d8a47;font-size:18px;font-weight:950}
.online-summary.offline .online-summary-dot{background:#e4ddd4;color:#8d7565}
.online-summary>div:nth-child(2){min-width:0;display:grid;gap:1px}.online-summary span{font-size:8px;color:#8e684f;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.online-summary b{font-size:13px;line-height:1.1}.online-summary small{font-size:8px;color:#87664e}.online-summary>button{width:36px;height:36px;border:2px solid #9a6648;border-radius:10px;background:#ffe2b4;color:#5c3727;font-size:21px;font-weight:950;box-shadow:0 2px 0 #bd8c62}.online-summary>button:disabled{opacity:.45;box-shadow:none}
.online-channel-head,.online-roster-head{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:10px 2px 5px}.online-channel-head>div,.online-roster-head>div{display:grid;gap:1px}.online-channel-head b,.online-roster-head b{font-size:12px}.online-channel-head small,.online-roster-head small{font-size:8px;color:#8c6a53}.online-self{max-width:45%;font-size:8px;font-weight:900;color:#a15f42;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-channels{display:flex;gap:5px;overflow:auto;padding:1px 1px 4px;scrollbar-width:none}.online-channels::-webkit-scrollbar{display:none}.online-channel{flex:0 0 auto;min-width:58px;display:grid;gap:1px;padding:6px 9px;border:2px solid #a56b48;border-radius:11px;background:#ffe2ae;color:#5b3525;text-align:center;box-shadow:inset 0 1px #fff4dc}.online-channel b{font-size:10px}.online-channel small{font-size:7px;color:#8d674f}.online-channel.active{background:#ef5d91;color:#fff;border-color:#8a3946;box-shadow:0 2px 0 #a14350}.online-channel.active small{color:#ffe9f1}.online-channel.full{opacity:.45}.online-channel:disabled{cursor:not-allowed}
.online-roster-list{display:grid;gap:6px;max-height:min(51vh,420px);overflow:auto;padding:1px 2px 3px;overscroll-behavior:contain}
.online-player-card{width:100%;min-width:0;display:grid;grid-template-columns:58px minmax(0,1fr) 20px;align-items:center;gap:8px;padding:7px;border:2px solid #c59a72;border-radius:13px;background:#fffaf0;color:#4b2c21;text-align:left;box-shadow:0 2px 0 rgba(113,66,43,.12);cursor:pointer}.online-player-card:hover{border-color:#e15b8c}.online-player-card:active{transform:translateY(1px)}
.online-avatar{position:relative;width:58px;height:62px;display:grid;place-items:center;border:2px solid #9eb779;border-radius:11px;background:linear-gradient(#dff0c8,#9cbc7c);overflow:hidden}.online-avatar canvas{width:56px;height:62px;image-rendering:pixelated}.online-presence-dot{position:absolute;right:3px;bottom:3px;width:9px;height:9px;border-radius:50%;background:#62d57f;border:2px solid #fff}
.online-player-copy{min-width:0;display:grid;gap:2px}.online-player-copy b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.online-player-copy small{font-size:8px;color:#7f5d48;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.online-player-copy em{font-style:normal;font-size:7px;color:#9f806b}.online-chevron{font-size:24px;color:#b27157;font-weight:700}
.online-empty{min-height:135px;display:grid;place-items:center;align-content:center;gap:4px;padding:16px;border:2px dashed #c7a27e;border-radius:13px;background:rgba(255,250,240,.62);color:#7b5a45;text-align:center}.online-empty>span{font-size:30px}.online-empty>b{font-size:11px}.online-empty>small{font-size:8px;line-height:1.35}.online-empty.compact{min-height:54px;padding:8px}
.remote-profile-hero{display:grid;grid-template-columns:145px minmax(0,1fr);gap:13px;align-items:center;padding:10px;border:2px solid #bf8b61;border-radius:15px;background:linear-gradient(135deg,#fff6e3,#f3d4a5)}
.remote-profile-avatar{height:158px;display:grid;place-items:center;border:2px solid #8eaa68;border-radius:13px;background:linear-gradient(#dff0c8,#91b273);overflow:hidden}.remote-profile-avatar canvas{width:132px;height:150px;image-rendering:pixelated}.remote-profile-copy{min-width:0}.remote-profile-copy>small{display:block;color:#5e9858;font-size:8px;font-weight:950;letter-spacing:.08em}.remote-profile-copy h3{margin:3px 0 1px;font-size:20px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.remote-profile-copy>span{font-size:9px;color:#8a684f}.remote-profile-copy p{margin:8px 0 5px;font-size:10px;color:#6e4c38}.remote-profile-tags{display:flex;gap:4px;flex-wrap:wrap}.remote-profile-tags i{padding:3px 6px;border-radius:999px;background:#f4dec0;color:#744d35;font-size:7px;font-style:normal;font-weight:900}
.remote-outfit{margin-top:9px;padding:9px;border:2px solid #c49a74;border-radius:13px;background:#fff9ed}.remote-outfit>header{display:flex;justify-content:space-between;align-items:end;margin-bottom:6px}.remote-outfit header>div{display:grid;gap:1px}.remote-outfit header b{font-size:11px}.remote-outfit header small{font-size:7px;color:#896a54}.remote-outfit-list{display:grid;gap:4px;max-height:220px;overflow:auto}.remote-outfit-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:32px;padding:5px 7px;border:1px solid #e3bd8e;border-radius:8px;background:#fff4df}.remote-outfit-row span{font-size:7px;color:#8f664c;font-weight:900}.remote-outfit-row b{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.remote-outfit-row small{font-size:6px;color:#a08068;white-space:nowrap}.remote-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.remote-profile-actions .tcq-simple-button{min-height:42px}

@media(max-width:760px){
  .hud-online-pill{top:41px!important;min-height:22px!important}
  .online-panel,.remote-profile-panel{width:100%!important;max-height:94%!important;padding:10px!important;border-radius:16px!important}
  .online-panel .tcq-panel-head,.remote-profile-panel .tcq-panel-head{margin-bottom:7px!important}.online-kicker{font-size:6px}.online-panel .tcq-panel-head h2,.remote-profile-panel .tcq-panel-head h2{font-size:16px!important}
  .online-summary{grid-template-columns:28px minmax(0,1fr) 32px;gap:6px;padding:6px 7px;border-width:1px;border-radius:10px}.online-summary-dot{width:28px;height:28px;font-size:14px}.online-summary span{font-size:5.5px}.online-summary b{font-size:9px}.online-summary small{font-size:5.5px}.online-summary>button{width:30px;height:30px;border-width:1px;border-radius:8px;font-size:16px;box-shadow:0 1px 0 #bd8c62}
  .online-channel-head,.online-roster-head{margin:7px 1px 4px}.online-channel-head b,.online-roster-head b{font-size:9px}.online-channel-head small,.online-roster-head small,.online-self{font-size:5.5px}.online-channels{gap:4px;padding-bottom:3px}.online-channel{min-width:50px;padding:4px 7px;border-width:1px;border-radius:9px}.online-channel b{font-size:8px}.online-channel small{font-size:5.5px}
  .online-roster-list{gap:4px;max-height:56vh;padding:1px}.online-player-card{grid-template-columns:48px minmax(0,1fr) 15px;gap:6px;padding:5px;border-width:1px;border-radius:10px;box-shadow:0 1px 0 rgba(113,66,43,.12)}.online-avatar{width:48px;height:52px;border-width:1px;border-radius:8px}.online-avatar canvas{width:46px;height:52px}.online-presence-dot{width:7px;height:7px;border-width:1px}.online-player-copy b{font-size:8px}.online-player-copy small{font-size:6px}.online-player-copy em{font-size:5.5px}.online-chevron{font-size:18px}
  .online-empty{min-height:105px;padding:10px;border-width:1px;border-radius:10px}.online-empty>span{font-size:24px}.online-empty>b{font-size:8px}.online-empty>small{font-size:6px}
  .remote-profile-hero{grid-template-columns:104px minmax(0,1fr);gap:8px;padding:7px;border-width:1px;border-radius:11px}.remote-profile-avatar{height:118px;border-width:1px;border-radius:9px}.remote-profile-avatar canvas{width:100px;height:114px}.remote-profile-copy>small{font-size:5.5px}.remote-profile-copy h3{font-size:14px}.remote-profile-copy>span{font-size:6px}.remote-profile-copy p{margin:5px 0 4px;font-size:7px}.remote-profile-tags{gap:3px}.remote-profile-tags i{padding:2px 4px;font-size:5.5px}
  .remote-outfit{margin-top:6px;padding:6px;border-width:1px;border-radius:10px}.remote-outfit>header{margin-bottom:4px}.remote-outfit header b{font-size:8px}.remote-outfit header small{font-size:5.5px}.remote-outfit-list{gap:3px;max-height:36vh}.remote-outfit-row{grid-template-columns:62px minmax(0,1fr) auto;gap:5px;min-height:25px;padding:3px 5px;border-radius:6px}.remote-outfit-row span{font-size:5.5px}.remote-outfit-row b{font-size:7px}.remote-outfit-row small{font-size:5px}.remote-profile-actions{gap:5px;margin-top:6px}.remote-profile-actions .tcq-simple-button{min-height:34px;padding:6px 7px!important;font-size:7px!important;border-width:2px!important}
}
