/* The desktop page for the live Pitch Rivals match (dt-match.js). */
/* ==========================================================================
   The owner's Pitch_Rivals_Desktop_Live_Match pack (2 Oct 2026), in its own 1920 x 1080 pixels: layout.json (the dock
   hidden: 900 high) and layout-ads.json (html.dt-ads: the shorter with-ads layout, 776 high). The content area is the
   gameplay one (168, 140: beside the compact rail); every panel's pieces are placed where layout.json has them (less the
   panel's corner and its 2 px border). Text sits on the concept's lines through desktop.css's metric-matched faces
   (a line 1.2 of the size). Everything outside the page's own panels is under html.dt-on.dt-pg-match, so a phone and the
   app never see any of it.
   ========================================================================== */

/* ---------- the game's own pieces: #app over the pitch window, the board hidden ---------- */
/* (the window's inside: 506, 142, 996 x 896; with the dock 772. #app is never scaled: the canvas, the flick, the keeper's
   swipes, the shot duel's dock and the pause menu are the game's own, in real pixels) */
html.dt-on.dt-pg-match #app {
  left: calc(var(--dt-ox) + var(--dt-s) * 506); top: calc(var(--dt-oy) + var(--dt-s) * 142);
  width: calc(var(--dt-s) * 996); height: calc(var(--dt-s) * 896); border-radius: calc(var(--dt-s) * 18); box-shadow: none; background: #08160f;
}
html.dt-on.dt-ads.dt-pg-match #app { height: calc(var(--dt-s) * 772); }
html.dt-on.dt-pg-match #clBoard, html.dt-on.dt-pg-match #clBack { display: none !important; }   /* (the phone's board: its pieces are this page's panels) */
html.dt-on.dt-pg-match .mb6-field { border-radius: 0; }
/* the shot duel's dock: the phone's, over the foot of the pitch window, scaled up for the window (--dtm-dk: dt-match.js) */
html.dt-on.dt-pg-match #clDock { left: 50%; right: auto; width: 420px; transform: translateX(-50%) scale(var(--dtm-dk, 1)); transform-origin: 50% 100%; }
/* (its band across the whole window, as on a phone: the camera keeps the goal above it, the painting's edge under it) */
html.dt-on.dt-pg-match #clDock::before { content: ""; position: absolute; top: -1px; bottom: 0; left: -150%; right: -150%; z-index: -1; background: inherit; border-top: inherit; }
html.dt-on.dt-pg-match .sq-fx { transform: translateX(-50%) scale(var(--dtm-dk, 1)); transform-origin: 50% 0; top: 10px; max-width: 70%; }
html.dt-on.dt-pg-match .sq-scout { transform: scale(var(--dtm-dk, 1)); transform-origin: 100% 0; }

/* ---------- the header: the scoreboard (desktop.js's slot), the match's smaller title and counters (art-refinements.css) ---------- */
html.dt-on.dt-pg-match .dt-header { gap: 18px; }
html.dt-on.dt-pg-match .dt-title { min-width: 201px; font-size: 30px; }
html.dt-on.dt-pg-match .dt-res { gap: 12px; }
html.dt-on.dt-pg-match .dt-counter { height: 56px; min-width: 105px; padding: 0 14px; font-size: 26px; }
.dtm-sb { display: flex; align-items: center; gap: 18px; font: 28px var(--dt-sport); color: #edfaff; white-space: nowrap; min-width: 0; }
.dtm-cr { width: 42px; height: 50px; flex: none; display: grid; place-items: center; }
.dtm-cr svg { width: 50px; height: 50px; display: block; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45)); }
.dtm-sc { font: 48px var(--dt-sport); color: #f7c948; white-space: pre; }
.dtm-sc i { font-style: inherit; }
.dtm-sc span { margin: 0 0.2em; }
.dtm-sn2 { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
.dtm-clk { padding: 6px 18px; border-radius: 8px; background: #071326; color: #dffaff; }
.dtm-clk.late { color: #ff8a80; }

/* ---------- the page's three parts (content-area pixels: the team panel 0-320, the pitch window 336-1336, cards 1352-1672) ---------- */
.dt-pg .dtm-team, .dt-pg .dtm-cards { position: absolute; top: 0; width: 320px; height: 900px; }
.dt-pg .dtm-team { left: 0; }
.dt-pg .dtm-cards { left: 1352px; }
.dtm-pitch { position: absolute; left: 336px; top: 0; width: 1000px; height: 900px; border: 2px solid rgba(25, 214, 240, 0.627); border-radius: 20px; background: #143b32; box-shadow: 0 0 32px rgba(25, 214, 240, 0.125); }
.dt-ads .dt-pg .dtm-team, .dt-ads .dt-pg .dtm-cards, .dt-ads .dtm-pitch { height: 776px; }
.dtm-team > *, .dtm-cards > * { position: absolute; margin: 0; }
.dtm-h { left: 22px; top: 22px; width: 272px; padding-bottom: 14px; border-bottom: 1px solid #416484; font: 38px var(--dt-sport); color: #edfaff; white-space: nowrap; }
.dtm-cards .dtm-h { left: 20px; top: 20px; width: 276px; }
.dtm-ic { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; }
.dtm-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
:where(.dtm-team, .dtm-cards) button { cursor: pointer; }

/* ---------- YOUR TEAM: the matchday five (95 apart; with the dock 72.48), their stamina; where each man's card is ---------- */
.dtm-man { left: 22px; width: 272px; height: 95px; border-bottom: 1px solid #31506b !important; text-align: left; }
.dtm-man[data-row="0"] { top: 83px; } .dtm-man[data-row="1"] { top: 178px; } .dtm-man[data-row="2"] { top: 273px; } .dtm-man[data-row="3"] { top: 368px; } .dtm-man[data-row="4"] { top: 463px; }
.dtm-man > * { position: absolute; }
.dtm-face { overflow: hidden; box-sizing: border-box; border: 1px solid #6287a3; border-radius: 12px; background: linear-gradient(#295478, #103047); }
.dtm-face img { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; transform: translate(-50%, -44%); display: block; }
.dtm-man .dtm-face { left: 0; top: 19px; width: 60px; height: 56px; }
.dtm-mn { left: 74px; top: 9px; max-width: 150px; font: 26px var(--dt-sport); color: #edfaff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtm-ms { left: 74px; top: 45px; font-size: 20px; color: #19d6f0; white-space: nowrap; }
.dtm-st { left: 74px; top: 79px; width: 198px; height: 6px; border-radius: 4px; background: #243f50; overflow: hidden; }
.dtm-st i { display: block; height: 100%; border-radius: 4px; background: #39d98a; transition: width 0.3s ease; }
.dtm-st i.amber { background: #ffb300; } .dtm-st i.red { background: #ff5a4a; animation: dtmBlink 0.9s ease-in-out infinite alternate; }
.dtm-tag { right: 0; top: 13px; padding: 2px 7px; border-radius: 6px; font: 700 15px var(--dt-body); font-style: normal; letter-spacing: 1px; color: #a9c5dc; background: #0c223b; border: 1px solid #2c4d6a; }
.dtm-tag:empty { display: none; }
[data-w="ON"] > .dtm-tag { color: #07172d; background: #39d98a; border-color: #8ff0bf; }
[data-w="HAND"] > .dtm-tag { color: #07172d; background: #19d6f0; border-color: #a8f3ff; }
/* (off the pitch: dimmed, his bar what he's rested back to) */
.dtm-man:not([data-w="ON"]):not([data-w="GK"]) > :not(.dtm-tag) { opacity: 0.6; }
.dtm-man:hover > .dtm-mn, .dtm-sub:hover > .dtm-sn { color: #fff4ac; }
.dt-ads .dtm-man { height: 72.48px; }
.dt-ads .dtm-man[data-row="1"] { top: 155.48px; } .dt-ads .dtm-man[data-row="2"] { top: 227.96px; } .dt-ads .dtm-man[data-row="3"] { top: 300.44px; } .dt-ads .dtm-man[data-row="4"] { top: 372.92px; }
.dt-ads .dtm-man .dtm-face { top: 13.7px; height: 44px; }
.dt-ads .dtm-mn { top: 4px; font-size: 24px; }
.dt-ads .dtm-ms { top: 32.3px; font-size: 19px; }
.dt-ads .dtm-st { top: 62.48px; height: 5px; }
.dt-ads .dtm-man .dtm-tag { top: 6px; }

/* the subs: SUBS · and the bench, three (up to four) across */
.dtm-subl { left: 22px; top: 574px; font-size: 23px; color: #edfaff; white-space: nowrap; }
.dtm-subs { left: 22px; top: 612px; width: 272px; height: 92px; display: flex; justify-content: space-between; }
.dtm-sub { position: relative; width: 60px; height: 92px; text-align: center; color: #dffaff; font-size: 20px; }
.dtm-sub .dtm-face { position: relative; display: block; width: 60px; height: 68px; }
.dtm-sub .dtm-face img { width: 64px; height: 64px; transform: translate(-50%, -40%); }
.dtm-sn { display: block; width: 90px; margin-left: -15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtm-sub .dtm-tag { position: absolute; right: -6px; top: -6px; padding: 1px 5px; font-size: 13px; }
.dtm-sub:not([data-w="ON"]):not([data-w="HAND"]) > .dtm-face { opacity: 0.6; }
.dt-ads .dtm-subl { top: 457.42px; }
.dt-ads .dtm-subs { top: 493.42px; height: 78px; }
.dt-ads .dtm-sub { height: 78px; }
.dt-ads .dtm-sub .dtm-face { height: 54px; }

/* TEAM TACTIC: Attack, Balanced, Defend (the pack's segmented control) */
.dtm-tt { left: 22px; top: 718px; font: 700 22px var(--dt-body); color: #f7c948; letter-spacing: 2px; white-space: nowrap; }
.dtm-seg { left: 22px; top: 756px; width: 272px; height: 57px; padding: 5px; display: flex; gap: 4px; border-radius: 12px; background: #051225; }
.dtm-seg button { height: 47px; flex: none; border-radius: 8px; background: #163052; color: #a9c5dc; font: 21px var(--dt-sport); text-align: center; white-space: nowrap; transition: filter 0.12s, background 0.12s; }
.dtm-seg button:nth-child(1) { width: 76px; } .dtm-seg button:nth-child(2) { width: 101px; } .dtm-seg button:nth-child(3) { width: 77px; }
.dtm-seg button:hover { background: #245378; color: #edfaff; }
.dtm-seg button.on { background: #f7c948; color: #07172d; }
.dtm-emote { left: 22px; top: 829px; width: 272px; height: 48px !important; font-size: 25px !important; padding: 0 24px !important; }
.dtm-emote:disabled { opacity: 0.55; }
.dt-ads .dtm-tt { top: 581.42px; }
.dt-ads .dtm-seg { top: 617.42px; height: 52px; }
.dt-ads .dtm-seg button { height: 42px; font-size: 20px; }
.dt-ads .dtm-seg button:nth-child(1) { width: 78px; } .dt-ads .dtm-seg button:nth-child(2) { width: 98px; } .dt-ads .dtm-seg button:nth-child(3) { width: 78px; }
.dt-ads .dtm-emote { top: 681.42px; height: 42px !important; }
/* the emote tray (online): above the button, over TEAM TACTIC */
.dtm-emos { left: 14px; bottom: 82px; width: 288px; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; border-radius: 16px; background: linear-gradient(#163052, #07172d); border: 2px solid #19d6f0; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7); }
.dtm-emos[hidden] { display: none; }
.dtm-emos button { height: 80px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(25, 214, 240, 0.2), transparent 70%); transition: transform 0.12s; }
.dtm-emos button:hover { transform: translateY(-3px) scale(1.06); }
.dtm-emos button img { width: 76px; height: 76px; display: block; margin: 0 auto; }
.dtm-emos button.mute { grid-column: span 3; height: 46px; display: flex; align-items: center; justify-content: center; gap: 10px; font: 20px var(--dt-sport); color: #a9c5dc; background: #0c223b; border: 1px solid #36536d; }
.dt-ads .dtm-emos { bottom: 70px; }

/* ---------- CARDS: the four men (2 x 2), the manager cards, NEXT, the energy ---------- */
.dtm-slot { touch-action: none; transition: transform 0.12s ease, opacity 0.12s ease; }
.dtm-slot.p { width: 131px; height: 170px; }
.dtm-slot.p[data-i="0"] { left: 20px; top: 99px; } .dtm-slot.p[data-i="1"] { left: 165px; top: 99px; } .dtm-slot.p[data-i="2"] { left: 20px; top: 283px; } .dtm-slot.p[data-i="3"] { left: 165px; top: 283px; }
.dtm-slot.m { top: 513px; width: 86.67px; height: 148px; }
.dtm-slot.m[data-i="4"] { left: 20px; } .dtm-slot.m[data-i="5"] { left: 114.66px; } .dtm-slot.m[data-i="6"] { left: 209.33px; }
.dtm-slot.lifted { opacity: 0.28; }
.dtm-slot.shake { animation: dtmShake 0.32s ease; }
.dt-ads .dtm-slot.p { width: 132px; height: 144px; }
.dt-ads .dtm-slot.p[data-i="1"] { left: 164px; } .dt-ads .dtm-slot.p[data-i="2"] { top: 255px; } .dt-ads .dtm-slot.p[data-i="3"] { left: 164px; top: 255px; }
.dt-ads .dtm-slot.m { top: 455px; height: 120px; }
.dtm-empty { display: block; width: 100%; height: 100%; box-sizing: border-box; border: 2px dashed rgba(120, 170, 220, 0.25); border-radius: 12px; }
/* a man's card (the pack's play card): his figure in the portrait, the cost, his name, position and trait; his stamina */
.dtm-card, .dtm-mgr { position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; text-align: left; color: #edfaff; cursor: grab;
  -webkit-user-select: none; user-select: none; transition: transform 0.12s, box-shadow 0.12s, filter 0.12s; }
.dtm-card { border: 2px solid #efc75c !important; border-radius: 12px !important; background: linear-gradient(#204367, #08172d) !important; box-shadow: 0 4px rgba(0, 0, 0, 0.4) !important; }
.dtm-card > *, .dtm-mgr > * { position: absolute; }
.dtm-port { left: 0; top: 0; width: 100%; height: 108px; overflow: hidden; background: radial-gradient(ellipse at bottom, #8d1c36, #102f50); }
/* (his hero figure, head to boots: the head and shoulders in the window, the hair's tips cut, as the pack's portraits) */
.dtm-port img { position: absolute; left: 50%; top: -30px; width: 100%; height: auto; transform: translateX(-50%); display: block; pointer-events: none; }
.dtm-port .dtm-pf { top: 50%; width: 76px; height: 76px; transform: translate(-50%, -44%); }
.dtm-port .dtm-charge, .dtm-mgr .dtm-charge { left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(180deg, rgba(8, 229, 238, 0.12), rgba(8, 229, 238, 0.45)); }
.dtm-cost { left: 7px; top: 7px; z-index: 2; width: 34px; height: 38px; display: grid; place-items: center; box-sizing: border-box; border: 2px solid #b8f7ff; border-radius: 9px; background: linear-gradient(#73f4ff, #008dbf); font: 700 26px var(--dt-body); color: #061225; }
.dtm-num { right: 7px; top: 8px; z-index: 2; font: 700 18px var(--dt-body); font-style: normal; color: #edfaff; text-shadow: 0 1px 3px #000; }
.dtm-cn { left: 8px; top: 114px; right: 6px; font: 24px var(--dt-sport); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.dtm-cn.sm { font-size: 21px; } .dtm-cn.xs { font-size: 18px; }
.dtm-role { left: 8px; top: 151.4px; right: 4px; font-size: 16px; color: #a9c5dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtm-role.why { color: #fff1a8; }
.dtm-cst { left: 0; right: 0; top: 105px; height: 3px; background: rgba(6, 18, 37, 0.85); overflow: hidden; }   /* (his stamina: along the portrait's foot) */
.dtm-cst i { display: block; height: 100%; width: calc(var(--st, 1) * 100%); background: #39d98a; }
.dtm-card.low .dtm-cst i { background: #ffb300; }
.dt-ads .dtm-port { height: 82px; }
.dt-ads .dtm-port img { top: -26px; width: 86%; }
.dt-ads .dtm-port .dtm-pf { top: 50%; width: 66px; height: 66px; }
.dt-ads .dtm-cst { top: 79px; }
.dt-ads .dtm-cn { top: 88px; }
.dt-ads .dtm-role { top: 125.4px; }
/* a manager card (the pack's): its painting, the cost, the icon and the name over the foot */
.dtm-mgr { border: 2px solid rgba(25, 214, 240, 0.627) !important; border-radius: 11px !important; background: #163c5b center / cover no-repeat; box-shadow: none !important;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; padding: 8px 4px; }
.dtm-mgr::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, #061225 95%); pointer-events: none; }
.dtm-mgr > .dtm-ic, .dtm-mgr > .dtm-mn2 { position: relative; z-index: 1; }
.dtm-mgr > .dtm-ic { width: 32px; height: 32px; color: #f7c948; filter: drop-shadow(0 2px 2px #000); }
.dtm-mgr .dtm-cost { left: 4px; top: 4px; width: 25px; height: 28px; font-size: 20px; border-radius: 7px; }
.dtm-mn2 { width: 100%; text-align: center; font: 20px var(--dt-sport); color: #e7f9ff; text-shadow: 0 2px 2px #000; line-height: 1.2; overflow-wrap: anywhere; }
.dtm-mn2.sm { font-size: 18px; } .dtm-mn2.xs { font-size: 16px; }
.dt-ads .dtm-mgr > .dtm-ic { width: 25px; height: 25px; }
/* the states: ready (lifts and glows on hover), not yet affordable (grey, filling as the energy comes), picked, NOW */
.dtm-card:hover, .dtm-mgr:hover { transform: translateY(-3px); filter: brightness(1.1); }
.dtm-card.poor .dtm-port img, .dtm-mgr.poor { filter: saturate(0.25) brightness(0.62); }
.dtm-card.poor .dtm-charge, .dtm-mgr.poor .dtm-charge { height: calc(var(--f, 0) * 100%); }
.dtm-card.poor .dtm-cost, .dtm-mgr.poor .dtm-cost { filter: grayscale(0.8); }
.dtm-card.cool .dtm-port img { filter: grayscale(0.7) brightness(0.7); }
.dtm-card.sel, .dtm-mgr.sel { transform: translateY(-8px); box-shadow: 0 0 0 2px #6ef4ff, 0 0 22px #4defff !important; }
.dtm-nowp { right: 5px; top: 5px; z-index: 3; padding: 3px 6px; border-radius: 7px; font: 15px var(--dt-sport); font-style: normal; color: #2a1a00; background: #ffd34d; opacity: 0; }
.dtm-card .dtm-nowp { top: auto; bottom: 62px; }
.now > .dtm-nowp { opacity: 1; }
.dtm-card.now, .dtm-mgr.now { animation: dtmNow 1.1s ease-in-out infinite alternate; }
.dtm-card.sel.now, .dtm-mgr.sel.now { animation: none; }

.dtm-mh { left: 20px; top: 471px; font: 700 22px var(--dt-body); color: #f7c948; letter-spacing: 2px; white-space: nowrap; }
.dt-ads .dtm-mh { top: 417px; }
/* NEXT: the next manager card into your hand */
.dtm-next { left: 20px; top: 677px; width: 276px; height: 48px; }
.dtm-nc { position: absolute; left: 0; top: 0; width: 44px; height: 48px; box-sizing: border-box; display: grid; place-items: center; overflow: hidden; border: 2px solid #718296; border-radius: 8px; background: #142f4d; color: #dfe9f2; }
.dtm-nc img { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -44%); }
.dtm-nt { position: absolute; left: 58px; top: 11.4px; max-width: 218px; font: 21px var(--dt-sport); color: #edfaff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-ads .dtm-next { top: 587px; height: 42px; }
.dt-ads .dtm-nc { height: 42px; }
.dt-ads .dtm-nt { top: 8.4px; }
/* the energy: the bar's ten cells, the next one charging; Next energy and the next arrival's ring */
.dtm-energy { left: 20px; top: 741px; width: 276px; height: 127px; border-top: 1px solid #375571; }
.dtm-energy > * { position: absolute; }
.dtm-ez { left: 0; top: 14px; color: #edfaff; }
.dtm-el { left: 36px; top: 23px; font: 25px var(--dt-sport); color: #edfaff; }
.dtm-x2 { left: 140px; top: 22px; padding: 1px 7px; border-radius: 8px; font: 18px var(--dt-sport); color: #ffd34d; background: #07172d; border: 2px solid #f7c948; }
.dtm-x2[hidden] { display: none; }
.dtm-ev { right: 0; top: 19px; font: 25px var(--dt-sport); font-weight: 400; color: #edfaff; }
.dtm-cells { left: 0; top: 62px; width: 276px; height: 20px; display: flex; gap: 5px; }
.dtm-cells i { flex: 1; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(79, 216, 238, 0.55) calc(var(--f, 0) * 100%), #263f58 0); }
.dtm-cells i.on { background: linear-gradient(#87f2ff, #19bfdc); box-shadow: 0 0 10px rgba(25, 214, 240, 0.15); }
.dtm-cells i.spend { background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); box-shadow: 0 0 10px rgba(247, 201, 72, 0.35); }
.dtm-nx { left: 0; top: 97.6px; font-size: 19px; color: #a9c5dc; white-space: nowrap; }
.dtm-ring { left: 242px; top: 92px; width: 34px; height: 34px; display: grid; place-items: center; }
.dtm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dtm-ring circle { fill: none; stroke-width: 3.6; }
.dtm-ring .t { stroke: #315371; }
.dtm-ring .a { stroke: #19d6f0; stroke-linecap: round; }
.dtm-ring b { position: relative; font: 14px var(--dt-sport); font-weight: 400; color: #edfaff; }
.dtm-ring.now { animation: dtmRing 1.1s ease-in-out infinite alternate; }
.dtm-ring.flash { animation: dtmFlash 0.5s ease-out 2; }
.dt-ads .dtm-energy { top: 641px; height: 109px; }
.dt-ads .dtm-ez { top: 10px; }
.dt-ads .dtm-el { top: 19px; }
.dt-ads .dtm-x2 { top: 18px; }
.dt-ads .dtm-ev { top: 15px; }
.dt-ads .dtm-cells { top: 56px; height: 16px; }
.dt-ads .dtm-nx { top: 83.2px; font-size: 18px; }
.dt-ads .dtm-ring { left: 248px; top: 80px; width: 28px; height: 28px; }
.dt-ads .dtm-ring b { font-size: 11px; }

/* ---------- over the pitch, inside #stage (under the game's pause menu): the board's words, the emotes ---------- */
.dtm-over { display: none; }
html.dt-on.dt-pg-match .dtm-over { display: block; position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; }
.dtm-toast { position: absolute; left: 50%; bottom: calc(var(--dt-s) * 44); max-width: 90%; padding: calc(var(--dt-s) * 14) calc(var(--dt-s) * 28); transform: translateX(-50%); box-sizing: border-box;
  border: 2px solid #39d98a; border-radius: calc(var(--dt-s) * 14); background: #07172d; color: #dffaff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.56);
  font: calc(var(--dt-s) * 28) var(--dt-sport); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; }
.dtm-toast.bad { border-color: #ff5a5a; color: #ffd6d0; }
.dtm-toast.go { animation: dtmToast 1.4s ease-out both; }
html.dt-on.dt-pg-match .dtm-over .mb6-emote { position: absolute; top: calc(var(--dt-s) * 70); width: calc(var(--dt-s) * 210); height: calc(var(--dt-s) * 210); }
html.dt-on.dt-pg-match .dtm-over .mb6-emote.me { left: calc(var(--dt-s) * 40); right: auto; }
html.dt-on.dt-pg-match .dtm-over .mb6-emote.them { right: calc(var(--dt-s) * 40); left: auto; }

/* ---------- over everything (a card in flight): the held card, the aim curve, the target ring, DROP TO PLAY, the peek ---------- */
/* (the composition's own pixels: dt-match.js scales the layer to the window, as desktop.js does the stage) */
.dtm-fly { display: none; }
html.dt-on.dt-pg-match .dtm-fly { display: block; position: fixed; left: 0; top: 0; width: 1920px; height: 1080px; z-index: 8; transform-origin: 0 0; pointer-events: none; color: #edfaff; font: 26px var(--dt-body); }
/* (outside #dt-root: the game's own button look reset, as desktop.css does there) */
:where(.dtm-fly) button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; margin: 0; min-height: 0; box-shadow: none; transition: none; text-align: inherit; -webkit-appearance: none; appearance: none; }
.dtm-aim { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: visible; visibility: hidden; }
.dtm-aim.on { visibility: visible; }
.dtm-aim .cv { fill: none; stroke: #f7c948; stroke-width: 4; stroke-dasharray: 10 12; animation: dtmDash 0.7s linear infinite; filter: drop-shadow(0 0 4px rgba(247, 201, 72, 0.6)); }
.dtm-aim .lb { fill: none; stroke: #b8fbff; stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(25, 214, 240, 0.7)); }
.dtm-aim .rg { fill: rgba(25, 214, 240, 0.157); stroke: #19d6f0; stroke-width: 4; transform-box: fill-box; transform-origin: center; }
.dtm-aim.lock .rg { animation: dtmLock 0.45s ease-in-out infinite alternate; }
.dtm-aim .no { stroke: #ff5a6e; stroke-width: 5; stroke-linecap: round; }
.dtm-aim.bad .rg { fill: rgba(255, 90, 110, 0.16); stroke: #ff5a6e; }
.dtm-aim.bad .cv { stroke: #ff8192; filter: none; }
.dtm-drop { position: absolute; left: 0; top: 0; display: none; padding: 8px 14px; border: 1px solid #19d6f0; border-radius: 8px; background: rgba(7, 23, 45, 0.91); color: #93f4ff; font: 24px var(--dt-sport); white-space: nowrap; }
.dtm-drop.on { display: block; }
.dtm-drop.bad { border-color: #ff5a6e; color: #ffb4a8; }
.dtm-ghost { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 9px rgba(77, 239, 255, 0.45)); }
.dtm-ghost.p { width: 131px; height: 170px; } .dtm-ghost.m { width: 100px; height: 146px; }
.dt-ads .dtm-ghost.p { width: 132px; height: 144px; }
.dtm-ghost .dtm-card, .dtm-ghost .dtm-mgr { cursor: grabbing; }
.dtm-ghost .dtm-mgr { border-color: #f7c948 !important; }
.dtm-land { position: absolute; width: 160px; height: 160px; box-sizing: border-box; border: 6px solid #19d6f0; border-radius: 50%; box-shadow: 0 0 22px rgba(25, 214, 240, 0.8), inset 0 0 18px rgba(25, 214, 240, 0.6); }
.dtm-peek { position: absolute; left: 1204px; width: 300px; padding: 16px 20px 18px; box-sizing: border-box; border: 1px solid #19d6f0; border-radius: 12px; background: rgba(7, 19, 38, 0.97); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6); animation: dtmPeek 0.14s ease-out; }
.dtm-peek[hidden] { display: none; }
.dtm-peek.k-trick { border-color: #a66bff; } .dtm-peek.k-tactic { border-color: #3fdc7e; } .dtm-peek.k-pitch { border-color: #ff9a3c; }
.dtm-pn { display: block; font: 28px var(--dt-sport); }
.dtm-pw { display: block; margin-top: 4px; font: 700 18px var(--dt-body); letter-spacing: 1px; color: #f7c948; }
.dtm-peek p { margin: 10px 0 0; font-size: 21px; line-height: 1.25; color: #dcebf7; }
.dtm-pnow, .dtm-pp { display: inline-block; margin-top: 10px; padding: 3px 8px; border-radius: 7px; font: 17px var(--dt-sport); }
.dtm-pnow { color: #2a1a00; background: #ffd34d; }
.dtm-pp { color: #a9c5dc; background: #0c223b; }

@keyframes dtmShake { 0%, 100% { translate: 0 0; } 25% { translate: -7px 0; } 50% { translate: 7px 0; } 75% { translate: -4px 0; } }
@keyframes dtmNow { from { box-shadow: 0 0 0 0 rgba(255, 211, 77, 0), 0 4px rgba(0, 0, 0, 0.4); } to { box-shadow: 0 0 0 2px #ffd34d, 0 0 20px rgba(255, 211, 77, 0.8); } }
@keyframes dtmRing { from { filter: drop-shadow(0 0 2px rgba(55, 230, 255, 0.5)); } to { filter: drop-shadow(0 0 9px rgba(120, 255, 240, 1)); } }
@keyframes dtmFlash { 50% { filter: drop-shadow(0 0 12px rgba(255, 210, 80, 1)); } }
@keyframes dtmBlink { from { opacity: 1; } to { opacity: 0.45; } }
@keyframes dtmDash { to { stroke-dashoffset: -44; } }
@keyframes dtmLock { from { scale: 0.88; } to { scale: 1.08; } }
@keyframes dtmPeek { from { opacity: 0; transform: translateX(14px); } }
@keyframes dtmToast { 0% { opacity: 0; transform: translate(-50%, 14px); } 12% { opacity: 1; transform: translate(-50%, 0); } 72% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -12px); } }
@media (prefers-reduced-motion: reduce) {
  .dtm-aim .cv, .dtm-aim.lock .rg, .dtm-card.now, .dtm-mgr.now, .dtm-ring.now, .dtm-st i.red { animation: none; }
}
