/* pages/team.css — Your team's own screens (prefix tm-), from website-redesign/p-team.css; every rule under .pg-team. Scoped by scripts/scope-css.js. */

/* ---- the schedule week ---- */
:where(.site).pg-team .tm-hg { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; }
:where(.site).pg-team .tm-hg.rail { grid-template-columns: minmax(0, 1fr) 232px; }
/* (longer words — French — never push the rail out of the window: the check row clips instead) */
:where(.site).pg-team .tm-wk { min-width: 0; }
:where(.site).pg-team .tm-chk { overflow: hidden; }
:where(.site).pg-team .tm-wk { padding: 4px 12px 0; }
:where(.site).pg-team .tm-r { position: relative; display: grid; grid-template-columns: 118px repeat(7, minmax(0, 1fr)) 46px; gap: 5px; align-items: center; padding: 5px 0; border-top: 1px solid var(--u-line-2); font-size: 12.5px; }
:where(.site).pg-team .tm-r.tm-hd { border-top: 0; padding: 8px 0 6px; align-items: end; }
:where(.site).pg-team .tm-nm { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
:where(.site).pg-team .tm-nm b { display: block; font-weight: 600; }
:where(.site).pg-team .tm-nm small { display: block; font-size: 10.5px; color: var(--u-ink-3); white-space: nowrap; line-height: 1.25; }
:where(.site).pg-team .tm-hd .tm-nm { font-size: 11.5px; font-weight: 600; color: var(--u-ink-3); }
:where(.site).pg-team .tm-dh { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; font-size: 11.5px; }
:where(.site).pg-team .tm-dh b { font-weight: 600; }
:where(.site).pg-team .tm-dh em { font-style: normal; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
:where(.site).pg-team .tm-okm { color: var(--u-ok); opacity: .75; }
:where(.site).pg-team .tm-miss { display: none; align-self: flex-start; height: 18px; line-height: 18px; padding: 0 7px; margin-left: -4px; border-radius: 999px; background: var(--u-red-soft); color: #B81B2C; }
:where(.site).pg-team .tm-h { text-align: right; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--u-ink-2); }
:where(.site).pg-team .tm-hd .tm-h { font-size: 11.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-h.over { color: var(--u-amber); }
:where(.site).pg-team .tm-c { position: relative; height: 40px; border-radius: 9px; }
:where(.site).pg-team .tm-s { position: absolute; inset: 0; border-radius: 8px; padding: 5px 7px; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; overflow: hidden; }
:where(.site).pg-team .tm-s b { font-size: 11.5px; font-weight: 700; }
:where(.site).pg-team .tm-s small { font-size: 10.5px; font-weight: 500; opacity: .85; white-space: nowrap; font-variant-numeric: tabular-nums; }
:where(.site).pg-team .tm-s.o { background: #E3EEF9; color: #2F5E9E; }
:where(.site).pg-team .tm-s.m { background: #EEEEF2; color: #48484D; }
:where(.site).pg-team .tm-s.c { background: #ECE8FA; color: #5B4BB0; }
:where(.site).pg-team .tm-s.v { background: repeating-linear-gradient(-45deg, #E4E4EA 0 1.5px, #F7F7F9 1.5px 5px); color: var(--u-ink-3); }
:where(.site).pg-team .tm-s.x { background: #fff; color: var(--u-ink-2); box-shadow: inset 0 0 0 1.5px #D1D1D6; }
:where(.site).pg-team .tm-chk { display: flex; align-items: center; gap: 14px; white-space: nowrap; margin: 4px -12px 0; padding: 11px 14px; border-top: 1px solid var(--u-line-2); background: rgba(0,0,0,.018); border-radius: 0 0 14px 14px; font-size: 12px; font-weight: 600; }
:where(.site).pg-team .tm-ck-l { color: var(--u-ink-3); }
:where(.site).pg-team .tm-ck-r { margin-left: auto; font-weight: 500; color: var(--u-ink-3); }
:where(.site).pg-team .tm-ci { display: inline-flex; align-items: center; gap: 6px; color: var(--u-ok); }
:where(.site).pg-team .tm-ci i { width: 7px; height: 7px; border-radius: 50%; background: var(--u-ok); }
:where(.site).pg-team .tm-ci .tm-a { display: none; }
:where(.site).pg-team .tm-ci.amb { color: var(--u-amber); }
:where(.site).pg-team .tm-ci.amb i { background: var(--u-amber); }

/* the hero: Sunday has no opener until the swap is approved */
:where(.site).pg-team #tm-hero .tm-hd .tm-sun .tm-fix { display: none; }
:where(.site).pg-team #tm-hero .tm-miss { display: inline-block; }
:where(.site).pg-team #tm-hero .tm-c.tm-sun { background: rgba(224,38,58,.045); box-shadow: inset 0 0 0 1px rgba(224,38,58,.12); transition: background-color .4s ease, box-shadow .4s ease; }
:where(.site).pg-team #tm-hero .tm-dh.tm-sun { color: #B81B2C; }
:where(.site).pg-team #tm-hero .tm-ci.tm-open { color: #B81B2C; }
:where(.site).pg-team #tm-hero .tm-ci.tm-open i { background: var(--u-red); }
:where(.site).pg-team #tm-hero .tm-ci.tm-open .tm-a { display: inline; }
:where(.site).pg-team #tm-hero .tm-ci.tm-open .tm-b { display: none; }
:where(.site).pg-team #tm-hero.k2 .tm-miss { display: none; }
:where(.site).pg-team #tm-hero.k2 .tm-hd .tm-sun .tm-fix { display: inline; }
:where(.site).pg-team #tm-hero.k2 .tm-dh.tm-sun { color: inherit; }
:where(.site).pg-team #tm-hero.k2 .tm-c.tm-sun { background: transparent; box-shadow: none; }
:where(.site).pg-team #tm-hero.k2 .tm-ci.tm-open { color: var(--u-ok); }
:where(.site).pg-team #tm-hero.k2 .tm-ci.tm-open i { background: var(--u-ok); }
:where(.site).pg-team #tm-hero.k2 .tm-ci.tm-open .tm-a { display: none; }
:where(.site).pg-team #tm-hero.k2 .tm-ci.tm-open .tm-b { display: inline; }
/* Publish: greyed while a day is missing its opener, red once it can go, greyed "Published" after */
:where(.site).pg-team .tm-pub { opacity: .45; transition: opacity .3s ease; }
:where(.site).pg-team .tm-pub.red { opacity: 1; }
:where(.site).pg-team .tm-pub .tm-p2 { display: none; }
:where(.site).pg-team .tm-pub.done { opacity: 1; background: #F2F2F5; color: var(--u-ink-3); box-shadow: 0 0 0 1px var(--u-line-2); }
:where(.site).pg-team .tm-pub.done .tm-p1 { display: none; }
:where(.site).pg-team .tm-pub.done .tm-p2 { display: inline; }
:where(.site).pg-team .tm-draft { margin-right: 4px; }
/* the payoff, in the toolbar: who was told */
:where(.site).pg-team .tm-stat { display: none; align-items: center; gap: 7px; margin-right: 8px; white-space: nowrap; font-size: 13px; color: var(--u-ink-2); }
:where(.site).pg-team .tm-stat i { width: 8px; height: 8px; border-radius: 50%; background: var(--u-ok); box-shadow: 0 0 0 3px var(--u-ok-soft); }
:where(.site).pg-team .tm-stat b { font-weight: 600; color: var(--u-ok); }
:where(.site).pg-team #tm-hero.k3 .tm-draft { display: none; }
:where(.site).pg-team #tm-hero.k3 .tm-stat { display: inline-flex; animation: tm-in .35s ease both; }
@keyframes tm-in { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
:where(.site).pg-team .tm-mv { z-index: 2; will-change: transform; }
:where(.site).pg-team .tm-mv .tm-l1, :where(.site).pg-team .tm-mv .tm-l2 { display: flex; flex-direction: column; }
:where(.site).pg-team .tm-mv .tm-l2 { position: absolute; left: 7px; top: 0; bottom: 0; justify-content: center; }
:where(.site).pg-team .tm-mv.tm-at-sun .tm-l1 { opacity: 0; }
:where(.site).pg-team .tm-mv.tm-at-sun .tm-l2 { opacity: 1; }
:where(.site).pg-team #tm-hero.k1 .tm-mv { box-shadow: 0 0 0 1.5px currentColor, 0 8px 18px -8px rgba(28,28,30,.35); }
:where(.site).pg-team #tm-hero.k2 .tm-mv { box-shadow: none; }
:where(.site).pg-team .tm-new { z-index: 1; }
:where(.site).pg-team .tm-hw { position: relative; }

/* the requests rail */
:where(.site).pg-team .tm-rail { display: flex; flex-direction: column; gap: 10px; }
:where(.site).pg-team .tm-rl-h { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 0; font-size: 13px; }
:where(.site).pg-team .tm-rl-h b { font-weight: 600; }
:where(.site).pg-team .tm-rq { background: #fff; border-radius: 14px; padding: 12px 13px; box-shadow: 0 0 0 1px var(--u-line-2), 0 1px 3px rgba(0,0,0,.04); font-size: 12.5px; }
:where(.site).pg-team .tm-rq p { margin-top: 6px; line-height: 1.45; color: var(--u-ink-2); }
:where(.site).pg-team .tm-rq p b { color: var(--u-ink); font-weight: 600; }
:where(.site).pg-team .tm-rq-h .chip { white-space: nowrap; flex: none; }
:where(.site).pg-team .tm-rq-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--u-ink-3); }
:where(.site).pg-team .tm-swap { box-shadow: 0 0 0 1.5px var(--u-ink), 0 14px 30px -18px rgba(28,28,30,.45); transition: box-shadow .35s ease; }
:where(.site).pg-team .tm-swap .tm-done { display: none; }
:where(.site).pg-team #tm-hero.k1 .tm-swap { box-shadow: 0 0 0 1px var(--u-line-2), 0 1px 3px rgba(0,0,0,.04); }
:where(.site).pg-team #tm-hero.k1 .tm-swap .tm-wait { display: none; }
:where(.site).pg-team #tm-hero.k1 .tm-swap .tm-done { display: inline-flex; }
:where(.site).pg-team #tm-hero.k1 .tm-swap .tm-btns { opacity: .35; }
:where(.site).pg-team .tm-pair { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
:where(.site).pg-team .tm-pair .av { width: 30px; height: 30px; }
:where(.site).pg-team .tm-arr { font-size: 16px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-trail { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--u-ok); }
:where(.site).pg-team .tm-trail .tm-tw { color: var(--u-ink-3); }
:where(.site).pg-team .tm-btns { display: flex; gap: 8px; margin-top: 10px; transition: opacity .3s ease; }
:where(.site).pg-team .tm-btns .ub { flex: 1; justify-content: center; white-space: nowrap; height: 30px; font-size: 12.5px; }
:where(.site).pg-team .ub.tm-dark { background: var(--u-ink); color: #fff; box-shadow: none; }
:where(.site).pg-team .tm-sm p { margin-top: 3px; }
:where(.site).pg-team .tm-pg { margin-top: 8px; height: 5px; border-radius: 3px; background: #ECECF0; overflow: hidden; }
:where(.site).pg-team .tm-pg i { display: block; height: 100%; border-radius: 3px; background: var(--u-ink-2); }

/* ---- targets ---- */
:where(.site).pg-team .tm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
:where(.site).pg-team .tm-tile { padding: 12px 14px; }
:where(.site).pg-team .tm-tile small { font-size: 12px; font-weight: 600; color: var(--u-ink-3); }
:where(.site).pg-team .tm-tile > div { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 8px; font-size: 12.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-tile .big-n { font-size: 28px; }
:where(.site).pg-team .tm-pb { position: relative; height: 8px; border-radius: 4px; background: #ECECF0; }
:where(.site).pg-team .tm-pb i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--u-ink-2); }
:where(.site).pg-team .tm-pb s { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--u-ink); }
:where(.site).pg-team .tm-pb.tm-big { height: 12px; border-radius: 6px; margin: 4px 0 6px; }
:where(.site).pg-team .tm-pb.tm-big i { border-radius: 6px; }
:where(.site).pg-team .tm-tl { padding: 2px 14px 10px; }
:where(.site).pg-team .tm-tr { display: grid; grid-template-columns: 110px 1fr 64px 74px; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--u-line-2); font-size: 12.5px; }
:where(.site).pg-team .tm-tr.tm-th { border-top: 0; font-size: 11.5px; font-weight: 600; color: var(--u-ink-3); padding: 10px 0 4px; }
:where(.site).pg-team .tm-tr b { font-weight: 600; }
:where(.site).pg-team .tm-tr .chip { justify-self: start; }
:where(.site).pg-team .tm-v { text-align: right; color: var(--u-ink-3); font-variant-numeric: tabular-nums; }
:where(.site).pg-team .tm-v b { color: var(--u-ink); }
:where(.site).pg-team .tm-legend { display: flex; gap: 18px; padding-top: 8px; border-top: 1px solid var(--u-line-2); font-size: 11.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-legend i { display: inline-block; vertical-align: -1px; margin-right: 6px; }
:where(.site).pg-team .tm-legend i.f { width: 12px; height: 8px; border-radius: 3px; background: var(--u-ink-2); }
:where(.site).pg-team .tm-legend i.t { width: 2px; height: 12px; background: var(--u-ink); vertical-align: -2px; }

/* ---- how it works: the frame ---- */
:where(.site).pg-team .tm-how #hf .hf-base { transition: opacity .45s ease, filter .45s ease; }
/* s0 card over the dimmed week · s1 the week · s2 the team chat · s3 targets · s4 card over the dimmed targets */
:where(.site).pg-team .tm-how #hf .tm-b2, :where(.site).pg-team .tm-how #hf .tm-b3 { opacity: 0; }
:where(.site).pg-team .tm-how #hf.s0 .tm-b1 { filter: blur(3px) saturate(.7); opacity: .5; }
:where(.site).pg-team .tm-how #hf .tm-arl { transition: opacity .4s ease; }
:where(.site).pg-team .tm-how #hf.s0 .tm-arl { opacity: 0; }
:where(.site).pg-team .tm-how #hf.s2 .tm-b1, :where(.site).pg-team .tm-how #hf.s3 .tm-b1, :where(.site).pg-team .tm-how #hf.s4 .tm-b1 { opacity: 0; }
:where(.site).pg-team .tm-how #hf.s2 .tm-b3 { opacity: 1; }
:where(.site).pg-team .tm-how #hf.s3 .tm-b2 { opacity: 1; }
:where(.site).pg-team .tm-how #hf.s4 .tm-b2 { opacity: .4; filter: blur(2px) saturate(.6); }
:where(.site).pg-team .tm-how #hf .hf-ov.o0 { left: 50%; top: 50%; margin: -175px 0 0 -210px; right: auto; bottom: auto; }
:where(.site).pg-team .tm-how #hf .hf-ov.o4 { left: 50%; top: 50%; margin: -180px 0 0 -250px; right: auto; bottom: auto; }
:where(.site).pg-team .tm-m { padding: 16px 18px; }
:where(.site).pg-team .tm-who { padding: 8px 0; border-top: 1px solid var(--u-line-2); }
:where(.site).pg-team .tm-who:first-of-type { margin-top: 8px; }
:where(.site).pg-team .tm-who > span:nth-child(2) b { display: block; }
:where(.site).pg-team .tm-who small { display: block; font-size: 12px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-foot { margin-top: 10px; font-size: 12px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-bn { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; font-size: 13px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-li { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--u-line-2); font-size: 13px; }
:where(.site).pg-team .tm-li i { width: 16px; height: 16px; border-radius: 50%; flex: none; }
:where(.site).pg-team .tm-li.ok i { background: var(--u-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100%; }
:where(.site).pg-team .tm-li.amb { color: var(--u-amber); }
:where(.site).pg-team .tm-li.amb i { background: var(--u-amber-soft); box-shadow: inset 0 0 0 1.5px var(--u-amber); }
:where(.site).pg-team .tm-li.amb b { font-weight: 600; }
:where(.site).pg-team .tm-msg { display: flex; gap: 9px; margin-top: 10px; align-items: flex-start; }
:where(.site).pg-team .tm-msg > div { min-width: 0; }
:where(.site).pg-team .tm-bb { background: var(--u-bg); padding: 8px 11px; border-radius: 12px 12px 12px 4px; font-size: 13px; line-height: 1.4; }
:where(.site).pg-team .tm-at { font-weight: 600; color: var(--u-blue); }
:where(.site).pg-team .tm-rk { display: grid; grid-template-columns: 22px 1fr 40px; gap: 10px; align-items: center; padding: 9px 8px; margin: 0 -8px; border-radius: 10px; font-size: 13px; }
:where(.site).pg-team .tm-rk:first-of-type { margin-top: 8px; }
:where(.site).pg-team .tm-rk.me { background: var(--u-bg); }
:where(.site).pg-team .tm-rn { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: rgba(0,0,0,.06); }
:where(.site).pg-team .tm-rb b { display: block; font-weight: 600; margin-bottom: 7px; }
:where(.site).pg-team .tm-rk .tm-v { font-weight: 600; color: var(--u-ink); }
:where(.site).pg-team .tm-cm-g { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
:where(.site).pg-team .tm-sub { font-size: 12px; font-weight: 600; color: var(--u-ink-3); margin-bottom: 6px; }
:where(.site).pg-team .tm-tier { display: flex; justify-content: space-between; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; font-size: 13px; }
:where(.site).pg-team .tm-tier b { font-weight: 600; font-variant-numeric: tabular-nums; }
:where(.site).pg-team .tm-tier.on { background: var(--u-bg); font-weight: 600; }
:where(.site).pg-team .tm-dsp { padding: 12px 14px; border-radius: 12px; box-shadow: 0 0 0 1px var(--u-line); }
:where(.site).pg-team .tm-dsp p { font-size: 13px; line-height: 1.45; }
:where(.site).pg-team .tm-dsp-s { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--u-bg); font-size: 12.5px; color: var(--u-ink-2); }
:where(.site).pg-team .tm-note svg { margin-top: 2px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-cm .mini-h .chip svg { margin-right: 2px; }
:where(.site).pg-team .tm-tg2 { display: grid; grid-template-columns: 1fr 270px; gap: 14px; align-items: start; }
:where(.site).pg-team .tm-rkc { padding: 12px 14px 12px; }
:where(.site).pg-team .tm-rkc .tm-rk { margin: 0 -6px; padding: 9px 6px; }

/* ---- the team chat, full window ---- */
:where(.site).pg-team .tm-cw { display: grid; grid-template-columns: 236px 1fr 196px; gap: 14px; align-items: stretch; height: 520px; }
:where(.site).pg-team .tm-cl { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; }
:where(.site).pg-team .tm-cl-h { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 8px; font-size: 15px; }
:where(.site).pg-team .tm-cl-h b { font-weight: 700; }
:where(.site).pg-team .tm-cl-h .ub.tm-sm-b { margin-left: 0; }
:where(.site).pg-team .tm-cvi { display: flex; align-items: center; gap: 9px; padding: 8px 8px; border-radius: 10px; font-size: 12.5px; }
:where(.site).pg-team .tm-cvi.on { background: var(--u-bg); }
:where(.site).pg-team .tm-cvt { flex: 1; min-width: 0; }
:where(.site).pg-team .tm-cvt b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.site).pg-team .tm-cvt small { display: block; font-size: 11.5px; color: var(--u-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:where(.site).pg-team .tm-cvw { align-self: flex-start; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 11px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-cvw em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--u-ink); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; }
:where(.site).pg-team .av.tm-gav { background: #ECECF0; color: var(--u-ink-2); font-size: 13px; }
:where(.site).pg-team .tm-cv { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
:where(.site).pg-team .tm-cv-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--u-line-2); }
:where(.site).pg-team .tm-cv-h b { display: block; font-size: 14px; font-weight: 600; }
:where(.site).pg-team .tm-cv-h small { display: block; font-size: 11.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-pinb { white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--u-ink-2); padding: 5px 9px; border-radius: 8px; background: var(--u-bg); }
:where(.site).pg-team .tm-cvb { flex: 1; padding: 4px 16px 10px; }
:where(.site).pg-team .tm-day { text-align: center; margin: 10px 0 2px; font-size: 11px; font-weight: 600; color: var(--u-ink-3); }
:where(.site).pg-team .tm-cvb .tm-msg { margin-top: 12px; }
:where(.site).pg-team .tm-who2 { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; font-size: 12.5px; }
:where(.site).pg-team .tm-who2 b { font-weight: 600; }
:where(.site).pg-team .tm-who2 small { font-size: 11px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-cvb .tm-bb { display: inline-block; }
:where(.site).pg-team .tm-swc { margin-top: 8px; width: 380px; padding: 12px 13px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--u-line), 0 8px 20px -14px rgba(28,28,30,.35); font-size: 12.5px; }
:where(.site).pg-team .tm-swr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; margin-top: 10px; }
:where(.site).pg-team .tm-swr .tm-s { position: relative; inset: auto; height: 42px; }
:where(.site).pg-team .tm-seen2 { margin-top: 5px; font-size: 11px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-cmp { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 10px 12px; border-radius: 10px; box-shadow: 0 0 0 1px var(--u-line); font-size: 12.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-cmp-r { font-size: 11.5px; font-weight: 600; }
:where(.site).pg-team .tm-cr { padding: 12px 14px; }
:where(.site).pg-team .tm-ppl { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--u-line-2); font-size: 12.5px; }
:where(.site).pg-team .tm-ppl > span { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
:where(.site).pg-team .tm-ppl b { font-weight: 600; }

/* ---- every detail: the pictures ---- */
:where(.site).pg-team .tm-dp { padding: 16px 18px; }
:where(.site).pg-team .tm-stt { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--u-line-2); }
:where(.site).pg-team .tm-stt > span { display: inline-flex; align-items: center; gap: 5px; }
:where(.site).pg-team .tm-cc { margin-top: 6px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; box-shadow: 0 0 0 1px var(--u-line); font-size: 12.5px; }
:where(.site).pg-team .tm-cc b { display: block; font-weight: 600; }
:where(.site).pg-team .tm-cc small { display: block; color: var(--u-ink-3); font-size: 11.5px; }
:where(.site).pg-team .tm-vc { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px 12px 12px 4px; background: var(--u-bg); font-size: 12px; font-weight: 600; color: var(--u-ink-3); font-variant-numeric: tabular-nums; }
:where(.site).pg-team .tm-play { width: 22px; height: 22px; border-radius: 50%; background: var(--u-ink); position: relative; flex: none; }
:where(.site).pg-team .tm-play::after { content: ""; position: absolute; left: 8.5px; top: 6px; border-left: 7px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
:where(.site).pg-team .tm-wave { display: flex; align-items: center; gap: 2px; }
:where(.site).pg-team .tm-wave i { width: 3px; border-radius: 2px; background: #A1A1A8; }
:where(.site).pg-team .tm-fl { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; box-shadow: 0 0 0 1px var(--u-line); font-size: 12.5px; }
:where(.site).pg-team .tm-fl b { display: block; font-weight: 600; }
:where(.site).pg-team .tm-fl small { display: block; font-size: 11.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-fi { width: 30px; height: 36px; border-radius: 6px; background: var(--u-bg); box-shadow: inset 0 0 0 1px var(--u-line); display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--u-ink-3); flex: none; }
:where(.site).pg-team .tm-seen { margin-top: 10px; text-align: right; font-size: 11.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0 4px; }
:where(.site).pg-team .tm-types .tm-s { position: relative; inset: auto; height: 42px; }
:where(.site).pg-team .ub.tm-sm-b { height: 28px; padding: 0 11px; font-size: 12px; margin-left: auto; }
:where(.site).pg-team .tm-trow { display: grid; grid-template-columns: 112px 1fr 52px; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--u-line-2); font-size: 12.5px; }
:where(.site).pg-team .tm-trow:first-of-type { margin-top: 8px; }
:where(.site).pg-team .tm-trow b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
:where(.site).pg-team .tm-mo { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--u-bg); font-size: 12.5px; }
:where(.site).pg-team .tm-mo > span:first-child { width: 28px; height: 28px; border-radius: 8px; background: #fff; display: grid; place-items: center; color: var(--u-ink-2); box-shadow: 0 0 0 1px var(--u-line); flex: none; }
:where(.site).pg-team .tm-mo b { display: block; font-weight: 600; }
:where(.site).pg-team .tm-mo small { display: block; font-size: 11.5px; color: var(--u-ink-3); }
:where(.site).pg-team .tm-mo .ub { flex: none; }

/* ---- the compare table: five columns ---- */
:where(.site).pg-team .tm-ctab { min-width: 1040px; font-size: 14.5px; }
:where(.site).pg-team .tm-ctab tbody th { width: 20%; }

/* ======================== narrow screens ======================== */
@media (max-width: 900px) {
  :where(.site).pg-team .tm-stage { height: 290px; }
  :where(.site).pg-team .tm-how #hf .hf-base .sc { transform: scale(.44); }
  :where(.site).pg-team .tm-how #hf .hf-ov.o0 { margin: -122px 0 0 -147px; }
  :where(.site).pg-team .tm-how #hf .hf-ov.o4 { margin: -112px 0 0 -150px; }
  :where(.site).pg-team .tm-how #hf .hf-ov.o4 > * { zoom: .6; }
  :where(.site).pg-team .tm-ctab { min-width: 900px; }
  :where(.site).pg-team .tm-dp .tm-types { grid-template-columns: repeat(2, 1fr); }
  :where(.site).pg-team .tm-trow { grid-template-columns: 100px 1fr 46px; }
}

/* the compare table's price row: grey, as the prototype's generic .price rule drew it */
:where(.site).pg-team .ctab tr.price { background: var(--bg-2); }
