.live-identity{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 7px;border-radius:6px;color:var(--muted);background:var(--surface-2);font-size:10px;line-height:18px;letter-spacing:.02em;min-width:0}.live-identity>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.live-identity>img,.live-identity>svg{width:18px;height:18px;flex:none;object-fit:contain}.live-identity>svg{stroke:currentColor;stroke-width:1.5;fill:none}.live-identity--main{color:#8b621e;background:#bf9b5420}.live-identity--guest{color:#6073b8;background:#8093d01c}.live-captain{flex:none;border-left:1px solid currentColor;padding-left:5px;font-size:9px;font-weight:600}html[data-theme=dark] .live-identity--main{color:#dbbc7b}html[data-theme=dark] .live-identity--guest{color:#afbdef}

.live-captain svg{display:block;width:17px;height:17px;stroke:currentColor;stroke-width:1.4;fill:none}

/* Use the same saved crest/default artwork as the rest of the tournament. */
.live-team-mark.team-mark{display:inline-grid;position:relative;width:20px;height:20px;flex:0 0 20px;overflow:hidden;border:0;border-radius:0;background:transparent!important;vertical-align:middle}
.live-team-mark.team-mark>img{padding:0;background:transparent!important}
.live-team-mark.team-mark>.team-mark-default{position:absolute;inset:0;display:block;width:100%;height:100%;padding:0;stroke:none}
.live-team-mark.team-mark>img~.team-mark-default{display:none}
.live-identity>.live-team-mark{width:20px;height:20px;flex-basis:20px}
@media(max-width:600px){.live-team-mark.team-mark,.live-identity>.live-team-mark{width:18px;height:18px;flex-basis:18px}}

.live-hover-preview{position:fixed;z-index:10020;width:330px;max-width:calc(100vw - 20px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);box-shadow:0 16px 50px #07101d40;animation:live-cover-reveal .12s ease-out}.live-hover-preview[hidden],.live-hover-preview [hidden]{display:none!important}.live-hover-art{position:relative;aspect-ratio:16/9;background:#16263b;overflow:hidden}.live-hover-art>img{width:100%;height:100%;object-fit:cover;display:block}.live-hover-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#b6c6dd;font-size:12px;background:radial-gradient(ellipse at 25% 10%,#274264,transparent 70%)}.live-hover-placeholder svg{width:44px;height:32px;stroke:currentColor;fill:none;stroke-width:1.3}.live-hover-note{position:absolute;left:10px;top:10px;padding:3px 7px;border-radius:5px;color:#e5edf7;background:#07101dbb;font-size:10px}.live-hover-caption{padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}.live-hover-caption>strong{font-size:14px;overflow-wrap:anywhere;line-height:1.4}.live-hover-caption>p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.live-hover-caption>p:empty{display:none}.live-hover-preview .live-state[data-live-hover-state]{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:120px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:10px;color:#718197}.live-hover-preview .live-state i{width:5px;height:5px;border-radius:50%;flex:none;background:currentColor}.live-hover-preview .live-state[data-live-state=live]{color:#208462}.live-hover-preview .live-state[data-live-state=loop]{color:#a27c2e}html[data-theme=dark] .live-hover-preview .live-state[data-live-state=live]{color:#5ed5a8}html[data-theme=dark] .live-hover-preview .live-state[data-live-state=loop]{color:#d5b765}@keyframes live-cover-reveal{from{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.live-hover-preview{animation:none}}

.live-view-badges,.live-strip-badges{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%}
.live-position{display:inline-flex;align-items:center;gap:4px;flex:none;padding:2px 6px;border-radius:5px;background:var(--surface-2);color:var(--text);font-size:10px;line-height:18px;white-space:nowrap}
.live-position .role-icon{width:17px;height:17px;flex:none;fill:currentColor;stroke:none}
.live-view-card>.live-view-badges{position:absolute;right:8px;bottom:6px;max-width:calc(100% - 16px)}
.live-view-badges>.live-identity{padding:1px 5px;min-width:0}
.live-center[data-live-mode=preview] .live-view-badges{z-index:2}
.live-center[data-live-mode=preview] .live-view-badges>:is(.live-identity,.live-position){background:#15243acc;color:#e6edf8;border:1px solid #ffffff20}
.live-strip-badges{flex-wrap:wrap;margin:5px 0}
.live-strip-badges>:is(.live-identity,.live-position){background:#15243acc;color:#e6edf8;border:1px solid #ffffff20}
.live-strip-badges .live-identity>span{max-width:92px}
@media(max-width:600px){.live-view-card>.live-view-badges{right:6px;gap:3px;max-width:calc(100% - 12px)}.live-view-badges>.live-identity{font-size:9px;padding-inline:3px;gap:3px}.live-view-badges>.live-identity>img,.live-view-badges>.live-identity>svg{width:15px;height:15px}.live-position{padding:1px 4px;font-size:9px;gap:3px}.live-position .role-icon{width:15px;height:15px}.live-view-badges .live-captain{padding-left:3px}.live-view-badges .live-captain svg{width:14px;height:14px}}
