/* Shared compact dimensions for TZH and TZP homepage banners. */
.tz-team-entry{--team-accent:#1665b5;--team-dark:#103654;--team-tint:#edf5fc;--team-line:#cddfeb;--team-muted:#566f82}
.tz-team-entry[data-sport="soccer"]{--team-accent:#137349;--team-dark:#173d30;--team-tint:#eef7f1;--team-line:#cfe3d6;--team-muted:#526e60}
#tzhMyTeamEntry.tz-team-entry,#tzpMyTeamEntry.tz-team-entry{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;height:72px;min-height:72px;max-width:100%;margin:10px 0 12px;padding:9px 14px;box-sizing:border-box;border:1px solid var(--team-line);border-left:3px solid var(--team-accent);border-radius:10px;background:linear-gradient(105deg,#fff,var(--team-tint));color:var(--team-dark);font-family:Arial,Helvetica,sans-serif;text-decoration:none;box-shadow:0 2px 8px #102e4c0a;transition:border-color .15s,box-shadow .15s}
.tz-team-entry *, .tz-team-entry *::before,.tz-team-entry *::after{box-sizing:border-box}
#tzhMyTeamEntry.tz-team-entry:hover,#tzpMyTeamEntry.tz-team-entry:hover{border-color:var(--team-accent);box-shadow:0 3px 12px #102e4c12}
#tzhMyTeamEntry.tz-team-entry:focus-visible,#tzpMyTeamEntry.tz-team-entry:focus-visible{outline:2px solid var(--team-accent);outline-offset:3px}
.tz-team-entry .tz-team-entry__icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--team-line);border-radius:9px;background:var(--team-tint);color:var(--team-accent)}
.tz-team-entry .tz-team-entry__icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tz-team-entry .tz-team-entry__copy{min-width:0;display:grid;gap:3px;line-height:1.2}
.tz-team-entry .tz-team-entry__meta{display:flex;align-items:center;gap:9px;min-width:0;height:13px}
.tz-team-entry .tz-team-entry__sport{font-size:9px;font-weight:700;letter-spacing:.04em;color:var(--team-muted);white-space:nowrap}
.tz-team-entry .tz-team-entry__status{display:inline-flex;align-items:center;gap:4px;min-width:0;overflow:hidden;font-size:9px;font-weight:700;white-space:nowrap;text-overflow:ellipsis;color:var(--team-muted)}
.tz-team-entry .tz-team-entry__status::before{content:"";flex:0 0 5px;width:5px;height:5px;background:#94a7b3;border-radius:50%}
.tz-team-entry[data-connection="connected"] .tz-team-entry__status{color:#137347}
.tz-team-entry[data-connection="connected"] .tz-team-entry__status::before{background:#17854f}
.tz-team-entry .tz-team-entry__name{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:15px;line-height:17px;font-weight:700;letter-spacing:0;color:var(--team-dark)}
.tz-team-entry .tz-team-entry__detail{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:13px;color:var(--team-muted)}
.tz-team-entry .tz-team-entry__open{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:31px;padding:0 11px;border-radius:7px;background:var(--team-accent);color:#fff;font-size:10px;font-weight:700;letter-spacing:0;white-space:nowrap}
.tz-team-entry .tz-team-entry__open svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tz-team-entry[aria-busy="true"] .tz-team-entry__open{opacity:.65}
.tz-team-entry[hidden],.account-actions .soccer-team[hidden]{display:none!important}
@media(max-width:600px){
 #tzhMyTeamEntry.tz-team-entry,#tzpMyTeamEntry.tz-team-entry{grid-template-columns:28px minmax(0,1fr) auto;gap:8px;padding:9px 9px;margin:8px 0 10px}
 .tz-team-entry .tz-team-entry__icon{width:28px;height:30px;border-radius:7px}
 .tz-team-entry .tz-team-entry__icon svg{width:21px;height:21px}
 .tz-team-entry .tz-team-entry__name{font-size:13px;line-height:16px}
 .tz-team-entry .tz-team-entry__sport,.tz-team-entry .tz-team-entry__status{font-size:8px}
 .tz-team-entry .tz-team-entry__meta{gap:6px}
 .tz-team-entry .tz-team-entry__detail{font-size:10px}
 .tz-team-entry .tz-team-entry__open{gap:3px;padding:0 7px;font-size:9px}
}

.tz-my-team-access-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 40px);padding:0;overflow:auto;box-sizing:border-box;border:1px solid #cddff1;border-radius:14px;background:#fff;color:#102e4c;font-family:Arial,Helvetica,sans-serif;box-shadow:0 22px 70px rgba(7,29,53,.28)}
.tz-my-team-access-dialog::backdrop{background:rgba(7,29,53,.55);backdrop-filter:blur(3px)}
.tz-my-team-access-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;background:#0b3158;color:#fff;font-size:10px;font-weight:800;letter-spacing:.06em}
.tz-my-team-access-head button{width:30px;height:30px;padding:0;border:1px solid #ffffff4d;border-radius:7px;background:transparent;color:#fff;font-size:23px;cursor:pointer}
.tz-my-team-access-body{padding:22px}
.tz-my-team-access-body h2{margin:0 0 10px;font-size:20px;font-weight:800;line-height:1.25}
.tz-my-team-access-body p{margin:0;color:#5d748b;font-size:13px;line-height:1.6}
.tz-my-team-access-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}
.tz-my-team-access-actions a,.tz-my-team-access-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;box-sizing:border-box;padding:0 13px;border:1px solid #ccdeed;border-radius:8px;background:#f4f8fc;color:#0b4d95;font:800 10px Arial,Helvetica,sans-serif;text-decoration:none;cursor:pointer}
.tz-my-team-access-actions a{border-color:#1670d8;background:#1670d8;color:#fff}
.tz-my-team-access-actions [hidden]{display:none!important}
.tz-my-team-access-actions a:hover{background:#0b4d95}.tz-my-team-access-actions button:hover{background:#e7f1fb}
.tz-my-team-access-dialog a:focus-visible,.tz-my-team-access-dialog button:focus-visible{outline:2px solid #1670d8;outline-offset:3px}
@media(max-width:480px){.tz-my-team-access-body{padding:18px}.tz-my-team-access-body h2{font-size:18px}}

.tz-my-team-access-dialog[data-sport="soccer"]{border-color:#cfe3d6;color:#173d30}
.tz-my-team-access-dialog[data-sport="soccer"] .tz-my-team-access-head{background:#124931}
.tz-my-team-access-dialog[data-sport="soccer"] .tz-my-team-access-actions a{background:#137349;border-color:#137349}
.tz-my-team-access-dialog[data-sport="soccer"] .tz-my-team-access-actions button{color:#137349;border-color:#cfe3d6;background:#eef7f1}

/* V253: sport-scoped activity in the existing banner height. */
#tzhMyTeamEntry.tz-team-entry,#tzpMyTeamEntry.tz-team-entry{grid-template-columns:38px minmax(180px,.8fr) minmax(260px,1.2fr) auto}
.tz-team-entry .tz-team-entry__activity{display:grid;grid-template-rows:13px 36px;gap:2px;min-width:0;padding-left:16px;border-left:1px solid var(--team-line);font-size:10px;line-height:12px}
.tz-team-entry .tz-team-entry__activity-head{display:flex;align-items:center;gap:12px;justify-content:space-between;min-width:0}
.tz-team-entry .tz-team-entry__online{color:var(--team-muted);font-size:9px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tz-team-entry .tz-team-entry__online::before{content:"";display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:#95a7ae;vertical-align:1px}
.tz-team-entry .tz-team-entry__online.has-users{color:#137347}
.tz-team-entry .tz-team-entry__online.has-users::before{background:#17854f}
.tz-team-entry .tz-team-entry__chat-label{flex:0 0 auto;color:var(--team-muted);font-size:9px}
.tz-team-entry .tz-team-entry__messages{display:grid;grid-auto-rows:12px;min-width:0;overflow:hidden}
.tz-team-entry .tz-team-entry__message{display:grid;grid-template-columns:32px minmax(0,1fr);gap:5px;min-width:0;align-items:center;color:var(--team-muted);font-size:10px;line-height:12px}
.tz-team-entry .tz-team-entry__message time{font-size:9px;color:var(--team-muted)}
.tz-team-entry .tz-team-entry__message-text{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tz-team-entry .tz-team-entry__message-text b{font-size:10px;font-weight:700;color:var(--team-dark)}
.tz-team-entry .tz-team-entry__topic{font-size:9px;color:var(--team-accent);margin-right:4px}
.tz-team-entry .tz-team-entry__empty{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--team-muted);font-size:10px;line-height:12px}
@media(max-width:760px){
 #tzhMyTeamEntry.tz-team-entry,#tzpMyTeamEntry.tz-team-entry{height:128px;min-height:128px;grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:48px 51px;column-gap:8px;row-gap:7px;padding:9px}
 .tz-team-entry .tz-team-entry__activity{grid-column:1/-1;grid-row:2;align-self:stretch;border-left:0;border-top:1px solid var(--team-line);padding:5px 0 0;grid-template-rows:12px 36px;gap:1px}
 .tz-team-entry .tz-team-entry__open{grid-column:3;grid-row:1}
 .tz-team-entry .tz-team-entry__icon{grid-column:1;grid-row:1}
 .tz-team-entry .tz-team-entry__copy{grid-column:2;grid-row:1}
}
