/* ==========================================================================
   PitchWorks' desktop pages (dt-pitchworks.js): the owner's desktop pack (desktop/Pitch_Rivals_Desktop_PitchWorks),
   laid out in the concepts' own 1920 x 1080 pixels: the library (concepts/pitchworks) in the content area beside the
   rail, the editor (concepts/editor) across the whole width. Every rule is under html.dt-on or inside the pages
   (#dt-root), so phones and the app never see any of it. The with-ads layout (layout-ad.json) is the default; the
   numbers for the dock hidden (layout.json) follow each block under html.dt-on:not(.dt-ads).
   ========================================================================== */

#dt-root .dtpw-ic { width: 28px; height: 28px; display: inline-flex; flex: none; align-items: center; justify-content: center; }
#dt-root .dtpw-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.dtpw-hub, .dtpw-new, .dtpw-share, .dtpw-intro, .dtpw-creator, .dtpw-admin { position: absolute; inset: 0; }
#dt-root .dtpw-page h1, #dt-root .dtpw-page h2, #dt-root .dtpw-page h3 { margin: 0; font-family: var(--dt-sport); font-weight: 400; }
#dt-root .dtpw-page p { margin: 0; }
/* the pack's panel edge (expansion.css .panel: #19d6f095); every rule here stays inside a PitchWorks page (.dtpw-page) */
.dtpw-page .dt-panel { border-color: rgba(25, 214, 240, 0.584); }
/* a page's heading (the library's: "BUILD IT. CLEAR IT. SHARE IT." over its big line) */
.dtpw-lhead { position: absolute; left: 0; top: 8px; width: 880px; }
.dtpw-lhead .dt-eyebrow { display: block; line-height: 22px; white-space: nowrap; }
#dt-root .dtpw-lhead h1 { margin-top: 12px; font-size: 35px; color: #edfaff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.dt-on:not(.dt-ads) .dtpw-lhead { top: 15px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-lhead h1 { font-size: 38px; }
#dt-root .dtpw-page .dt-btn:disabled { cursor: default; }
#dt-root .dtpw-page .dt-btn .dtpw-ic { width: 28px; height: 28px; }

/* ---------- the library ---------- */
.dtpw-create, .dtpw-code { position: absolute; top: 89px; height: 45px; font-size: 27px; padding: 0 20px; gap: 14px; }
.dtpw-create { left: 593px; width: 283px; }
.dtpw-code { left: 890px; width: 238px; }
html.dt-on:not(.dt-ads) .dtpw-create, html.dt-on:not(.dt-ads) .dtpw-code { top: 105px; height: 54px; }
.dtpw-tabs { position: absolute; left: 0; top: 150px; display: flex; gap: 12px; }
.dtpw-tabs .dt-btn { width: 205px; height: 45px; padding: 0 10px; font-size: 28px; gap: 8px; }
.dtpw-tabs .dt-btn.dt-gold { color: #07172d; }
html.dt-on:not(.dt-ads) .dtpw-tabs { top: 179px; }
html.dt-on:not(.dt-ads) .dtpw-tabs .dt-btn { height: 54px; }
.dtpw-tools { position: absolute; right: 366px; top: 150px; height: 45px; display: flex; gap: 12px; }
.dtpw-tools .dt-btn { height: 45px; font-size: 22px; padding: 0 16px; gap: 8px; box-shadow: 0 4px #07172d; }
.dtpw-tools .dt-btn .dtpw-ic { width: 24px; height: 24px; }
html.dt-on:not(.dt-ads) .dtpw-tools { top: 179px; }
html.dt-on:not(.dt-ads) .dtpw-tools .dt-btn { height: 54px; }
.dtpw-filters { position: absolute; left: 0; top: 208px; width: 1128px; height: 43px; display: flex; align-items: center; gap: 14px; }
html.dt-on:not(.dt-ads) .dtpw-filters { top: 249px; }
#dt-root .dtpw-filter { height: 43px; padding: 0 15px; border: 1px solid #3d6889; background: #0a223b; border-radius: 20px; color: #a6c6dc; font: 21px var(--dt-body); white-space: nowrap; transition: filter 0.12s, border-color 0.12s; }
#dt-root .dtpw-filter:hover { border-color: #19d6f0; filter: brightness(1.15); }
#dt-root .dtpw-filter.on { background: #176175; color: #d4fcff; border-color: #19d6f0; }
.dtpw-pills { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }
#dt-root .dtpw-pill { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border-radius: 17px; background: rgba(6, 18, 37, 0.7); border: 1px solid #2c5571; color: #a9c5dc; font: 18px var(--dt-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 560px; }
#dt-root .dtpw-pill .dtpw-ic { width: 18px; height: 18px; color: #f7c948; }
#dt-root button.dtpw-pill { color: #19d6f0; }
#dt-root button.dtpw-pill:hover { border-color: #19d6f0; }

/* the course grid: four cards a row, scrolling (the dock covers its bottom edge, as in the concept) */
.dtpw-grid4 { position: absolute; left: 0; top: 264px; width: 1142px; height: 550px; padding: 0 14px 40px 0; overflow-x: hidden; overflow-y: auto;
  display: grid; grid-template-columns: repeat(4, 270px); grid-auto-rows: 267px; gap: 16px; align-content: start; scrollbar-width: thin; scrollbar-color: #2c5571 transparent; }
html.dt-on:not(.dt-ads) .dtpw-grid4 { top: 308px; height: 600px; grid-auto-rows: 292px; }
.dtpw-card { position: relative; display: flex; flex-direction: column; padding: 10px; min-width: 0; }
html.dt-on:not(.dt-ads) .dtpw-card { padding: 12px; }
#dt-root .dtpw-picb { position: relative; display: block; flex: none; width: 100%; height: 103px; border-radius: 10px; background: radial-gradient(#255c71, #061c36); overflow: hidden; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-picb { height: 118px; }
.dtpw-picb .dtpw-pic { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.45)); }
#dt-root .dtpw-picb:hover .dtpw-pic { filter: drop-shadow(0 0 8px rgba(25, 214, 240, 0.6)); }
#dt-root .dtpw-card h3 { margin-top: 9px; font-size: 25px; line-height: normal; color: #edfaff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dt-root .dtpw-who { display: block; width: fit-content; max-width: 100%; margin-top: 4px; font: 19px var(--dt-body); line-height: normal; color: #19d6f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dt-root button.dtpw-who:hover { text-decoration: underline; text-underline-offset: 3px; }
#dt-root .dtpw-who.off { color: #a9c5dc; }
#dt-root .dtpw-who.ok { color: #39d98a; display: flex; align-items: center; gap: 6px; }
#dt-root .dtpw-who .dtpw-ic { width: 19px; height: 19px; }
.dtpw-met { display: flex; align-items: center; gap: 8px; margin-top: 7px; height: 19px; font: 16px var(--dt-body); color: #b5cde0; white-space: nowrap; overflow: hidden; }
html.dt-on:not(.dt-ads) .dtpw-met { margin-top: 9px; }
.dtpw-met > span, #dt-root .dtpw-like { display: inline-flex; align-items: center; gap: 4px; font: inherit; color: inherit; }
#dt-root .dtpw-met .dtpw-ic { width: 16px; height: 16px; }
#dt-root .dtpw-like:hover { color: #ff9cb0; }
#dt-root .dtpw-like.on { color: #ff6b86; }
#dt-root .dtpw-like.on svg { fill: currentColor; }
.dtpw-met .ok { color: #39d98a; }
.dtpw-met .dtpw-code { color: #f7c948; letter-spacing: 1px; }
.dtpw-met .dtpw-code.down { color: #ff7474; }
#dt-root .dtpw-offb { margin-left: auto; color: #a9c5dc; }
#dt-root .dtpw-offb:hover { color: #ff9a8a; }
#dt-root .dtpw-play { margin-top: auto; width: 100%; height: 41px; font-size: 25px; gap: 14px; box-shadow: 0 3px #005577; }
#dt-root .dtpw-play .dtpw-ic { width: 26px; height: 26px; }
.dtpw-cbtns { margin-top: auto; display: flex; gap: 8px; }
#dt-root .dtpw-cbtns .dt-btn { flex: 1; min-width: 0; height: 41px; padding: 0 8px; font-size: 22px; gap: 8px; box-shadow: 0 3px #005577; }
#dt-root .dtpw-cbtns .dt-btn.dt-navy { box-shadow: 0 3px #07172d; }
#dt-root .dtpw-cbtns .dt-btn.dt-gold { box-shadow: 0 3px #89600e; }
#dt-root .dtpw-cbtns .dtpw-sq { flex: 0 0 48px; padding: 0; }
#dt-root .dtpw-cbtns .dtpw-ic { width: 22px; height: 22px; }
#dt-root .dtpw-corner { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #cfe2f1; background: rgba(6, 18, 37, 0.78); border: 1px solid #36536d; z-index: 2; opacity: 0.8; transition: opacity 0.12s; }
#dt-root .dtpw-corner .dtpw-ic { width: 20px; height: 20px; }
#dt-root .dtpw-corner:hover { opacity: 1; color: #ff9a8a; border-color: #ff7474; }
#dt-root .dtpw-pickb { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #a9c5dc; background: rgba(6, 18, 37, 0.78); border: 1px solid #36536d; z-index: 2; }
#dt-root .dtpw-pickb.on { color: #07172d; background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; }
#dt-root .dtpw-pickb .dtpw-ic { width: 20px; height: 20px; }
.dtpw-tag { position: absolute; left: 8px; top: 8px; }
#dt-root .dtpw-chip, .dtpw-page .pw-flags i, .dtpw-iflags i { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 12px; font: 700 15px var(--dt-body); font-style: normal; letter-spacing: 0.5px; color: #dff6ff; background: rgba(6, 18, 37, 0.85); border: 1px solid #36536d; white-space: nowrap; }
#dt-root .dtpw-chip .dtpw-ic { width: 15px; height: 15px; }
#dt-root .dtpw-chip.gold, .dtpw-page .pw-flags i.pick, .dtpw-iflags i.pick { color: #07172d; background: linear-gradient(#fff4af, #f7c948); border-color: #ffe79b; }
#dt-root .dtpw-chip.ok { color: #052c18; background: #39d98a; border-color: #8ff0bf; }
.dtpw-iflags i svg { width: 15px; height: 15px; }
/* loading, empty and the more button */
.dtpw-skel { overflow: hidden; }
.dtpw-skel > i { display: block; height: 20px; margin-top: 12px; border-radius: 8px; background: #183653; }
.dtpw-skel > i:nth-child(3) { width: 60%; }
.dtpw-skel > .dtpw-picb { height: 103px; margin: 0; }
.dtpw-skel > .dt-btn { margin-top: auto; height: 41px; background: #183653; border-color: #24496b; box-shadow: none; }
.dtpw-skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.07) 50%, transparent 70%); background-size: 250% 100%; animation: dtpwShim 1.4s linear infinite; }
@keyframes dtpwShim { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.dtpw-empty { grid-column: 1 / -1; position: relative; min-height: 250px; display: flex; align-items: center; gap: 36px; padding: 24px 40px; }
.dtpw-empty > img { width: 130px; height: 210px; object-fit: contain; flex: none; }
#dt-root .dtpw-empty h3 { font-size: 34px; color: #fff4ac; }
.dtpw-empty p { margin-top: 8px !important; max-width: 640px; font-size: 23px; line-height: 1.35; color: #a9c5dc; }
#dt-root .dtpw-empty .dt-btn { margin-top: 18px; height: 50px; font-size: 25px; gap: 10px; }
#dt-root .dtpw-more-b { grid-column: 1 / -1; height: 54px; font-size: 25px; gap: 10px; }

/* the right panel: the creator spotlight (or your workshop) */
.dtpw-spot { position: absolute; left: 1148px; top: 0; width: 346px; height: 814px; padding: 22px; text-align: center; }
.dtpw-spot > * { position: absolute; left: 24px; width: 298px; }
.dtpw-spot > .dt-eyebrow { top: 24px; line-height: 22px; }
.dtpw-spotc { top: 68px; height: 82px; display: flex; justify-content: center; }
.dtpw-crest { display: grid; place-items: center; width: 72px; height: 82px; }
.dtpw-crest svg { width: 82px; height: 82px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.33)); }
.dtpw-shield, .dtpw-ini { position: relative; width: 72px; height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff2b3; font-style: normal;
  background: linear-gradient(135deg, #1690d3, #084092); border: 3px solid #efc769; border-radius: 18px 18px 30px 30px; box-shadow: inset 0 0 0 3px #05162d, 0 6px 10px rgba(0, 0, 0, 0.33); }
.dtpw-shield .dtpw-ic { width: 36px !important; height: 36px !important; }
.dtpw-shield small { font: 700 14px var(--dt-body); letter-spacing: 1px; margin-top: 2px; }
.dtpw-ini { font: 40px var(--dt-sport); }
.dtpw-shim { opacity: 0.4; }
#dt-root .dtpw-spot h1 { top: 174px; font-size: 43px; line-height: 43px; color: #edfaff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dt-root .dtpw-spot h1 button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
#dt-root .dtpw-spot h1 button:hover { color: #19d6f0; }
.dtpw-spotp { top: 231px; font-size: 21px; line-height: 1.4; color: #a9c5dc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtpw-counts { top: 282px; display: flex; justify-content: space-around; }
.dtpw-counts b { display: block; font: 40px var(--dt-sport); line-height: 48px; color: #f7c948; }
.dtpw-counts span { display: block; margin-top: 5px; font-size: 20px; color: #a9c5dc; }
#dt-root .dtpw-follow { top: 375px; height: 38px; font-size: 28px; gap: 10px; }
#dt-root .dtpw-follow.dt-navy { font-size: 23px; }
#dt-root .dtpw-follow:not(.dt-gold):not(.dt-navy) { color: #07172d; }
.dtpw-me { top: 380px; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 22px; color: #39d98a; }
.dtpw-crnote { top: 425px; font-size: 18px; line-height: 1.3; color: #a9c5dc; }
#dt-root .dtpw-spot h2 { top: 433px; font-size: 29px; text-align: left; color: #edfaff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#dt-root .dtpw-morec { position: absolute; height: 103px; display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #35516b; text-align: left; color: #edfaff; }
#dt-root .dtpw-morec.m0 { top: 480px; }
#dt-root .dtpw-morec.m1 { top: 583px; }
.dtpw-morec .dtpw-pic { width: 76px; height: 70px; object-fit: contain; flex: none; }
.dtpw-morec > span:not(.dtpw-ic) { flex: 1; min-width: 0; font: 24px var(--dt-sport); line-height: 29px; }
.dtpw-morec > span b { font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dtpw-morec small { display: block; margin-top: 4px; font: 18px var(--dt-body); color: #a9c5dc; }
#dt-root .dtpw-morec > .dtpw-ic { flex: 1; width: auto; height: 28px; }
#dt-root .dtpw-morec:hover { color: #fff4ac; }
.dtpw-none { top: 488px; font-size: 20px; color: #a9c5dc; text-align: left; }
.dtpw-note { top: 684px; height: 130px; text-align: left; }
.dtpw-note img { position: absolute; left: 0; top: 4px; width: 78px; height: 130px; object-fit: contain; object-position: center bottom; }
.dtpw-note p { position: absolute; left: 100px; top: 35px; width: 198px; font-size: 18px; line-height: 1.3; color: #c9dce9; }
html.dt-on:not(.dt-ads) .dtpw-spot { height: 908px; padding: 28px 24px; }
html.dt-on:not(.dt-ads) .dtpw-spot > * { left: 26px; width: 294px; }
html.dt-on:not(.dt-ads) .dtpw-spot > .dt-eyebrow { top: 30px; }
html.dt-on:not(.dt-ads) .dtpw-spotc { top: 82px; height: 116px; }
html.dt-on:not(.dt-ads) .dtpw-spotc .dtpw-crest, html.dt-on:not(.dt-ads) .dtpw-spotc .dtpw-shield, html.dt-on:not(.dt-ads) .dtpw-spotc .dtpw-ini { width: 100px; height: 116px; }
html.dt-on:not(.dt-ads) .dtpw-spotc .dtpw-crest svg { width: 116px; height: 116px; }
html.dt-on:not(.dt-ads) .dtpw-spotc .dtpw-shield .dtpw-ic { width: 50px !important; height: 50px !important; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-spot h1 { top: 225px; }
html.dt-on:not(.dt-ads) .dtpw-spotp { top: 291px; font-size: 23px; }
html.dt-on:not(.dt-ads) .dtpw-counts { top: 360px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-follow { top: 459px; }
html.dt-on:not(.dt-ads) .dtpw-me { top: 464px; }
html.dt-on:not(.dt-ads) .dtpw-crnote { top: 512px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-spot h2 { top: 527px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-morec.m0 { top: 582px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-morec.m1 { top: 685px; }
html.dt-on:not(.dt-ads) .dtpw-none { top: 582px; }
html.dt-on:not(.dt-ads) .dtpw-note { top: 788px; height: 160px; }
html.dt-on:not(.dt-ads) .dtpw-note img { top: 8px; width: 96px; height: 160px; }
html.dt-on:not(.dt-ads) .dtpw-note p { left: 100px; top: 35px; width: 194px; font-size: 20px; }

/* ---------- the editor: across the whole width (no rail in the concept) ---------- */
html.dt-on.dt-pg-pwedit .dt-rail { display: none; }
html.dt-on.dt-pg-pwedit .dt-content { left: 80px; width: 1760px; }
html.dt-on.dt-pg-pwedit #dt-root .dt-title { min-width: 0; }
#dt-root .dtpw-hx { margin-left: -14px; font: 38px var(--dt-sport); color: #edfaff; white-space: pre; }
/* the header's settings button is the course's details here (dt-pitchworks.js): its own gear, not Pause */
html.dt-on.dt-pg-pwedit #dt-root .dt-gear .dt-ic svg { display: none; }
html.dt-on.dt-pg-pwedit #dt-root .dt-gear .dt-ic { background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.dtpw-ed { position: absolute; inset: 0; }
/* the bar: the course's name, its state and details, undo / redo, the theme */
.dtpw-bar { position: absolute; left: 0; top: 0; width: 1760px; height: 75px; padding: 0 25px; display: flex; align-items: center; gap: 25px; }
html.dt-on:not(.dt-ads) .dtpw-bar { height: 88px; }
.dtpw-cname { flex: none; width: 310px; align-self: flex-start; margin-top: 7px; }
html.dt-on:not(.dt-ads) .dtpw-cname { margin-top: 13.5px; }
.dtpw-cname label { display: block; height: 19px; font: 16px var(--dt-body); line-height: 19px; letter-spacing: 2px; color: #91aec8; }
#dt-root .dtpw-cname input { display: block; width: 310px; height: 38px; padding: 0; border: 0; border-bottom: 2px solid transparent; background: none; color: #eaffff; font: 32px var(--dt-sport); outline: none; -webkit-user-select: text; user-select: text; }
#dt-root .dtpw-cname input:hover { border-bottom-color: #36536d; }
#dt-root .dtpw-cname input:focus { border-bottom-color: #19d6f0; }
.dtpw-tstat { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
#dt-root .dtpw-chip2 { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 7px; border-radius: 18px; font: 20px var(--dt-sport); white-space: nowrap; }
#dt-root .dtpw-chip2 .dtpw-ic { width: 20px; height: 20px; }
#dt-root .dtpw-chip2.bad { color: #fff; background: #d63a3a; box-shadow: 0 0 12px rgba(255, 80, 80, 0.5); }
#dt-root .dtpw-chip2.ok { color: #052c18; background: #39d98a; }
#dt-root .dtpw-chip2.go { color: #07172d; background: linear-gradient(#53ebff, #19bfdc); }
#dt-root .dtpw-chip2.warn { color: #07172d; background: #f7c948; }
#dt-root .dtpw-chip2:hover { filter: brightness(1.12); }
#dt-root .dtpw-det { height: 40px; font-size: 21px; padding: 0 14px; gap: 8px; box-shadow: 0 4px #07172d; }
#dt-root .dtpw-det .dtpw-ic { width: 22px; height: 22px; }
.dtpw-ur { flex: none; display: flex; gap: 12px; }
#dt-root .dtpw-ur .dt-btn { width: 62px; height: 46px; padding: 0; }
#dt-root .dtpw-ur .dt-btn:disabled { opacity: 0.45; }
.dtpw-themes { flex: none; display: flex; align-items: center; gap: 12px; }
.dtpw-themes > span { font: 20px var(--dt-sport); color: #acc6d9; }
#dt-root .dtpw-themes .dt-btn { height: 43px; font-size: 25px; padding: 0 18px; }
/* the three panels */
.dtpw-pieces { position: absolute; left: 0; top: 91px; width: 510px; height: 685px; }
.dtpw-bench { position: absolute; left: 526px; top: 91px; width: 798px; height: 685px; border-radius: 18px; overflow: hidden; background: linear-gradient(rgba(7, 23, 45, 0), rgba(26, 18, 7, 0.267)), url("assets/dt/pitchworks/workbench.webp") center / cover no-repeat; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.dtpw-side { position: absolute; left: 1340px; top: 91px; width: 420px; height: 685px; }
html.dt-on:not(.dt-ads) .dtpw-pieces { top: 106px; height: 794px; }
html.dt-on:not(.dt-ads) .dtpw-bench { left: 528px; top: 106px; width: 794px; height: 794px; }
html.dt-on:not(.dt-ads) .dtpw-side { top: 106px; height: 794px; }
/* the board: the game's own canvas sits here (#app, below); this is its frame and shadow */
.dtpw-boardf { position: absolute; left: 217px; top: 24px; width: 364px; height: 637px; border-radius: 14px; box-shadow: 0 0 0 3px #56703e, 0 14px 30px rgba(0, 0, 0, 0.53); background: #2d4a22; }
.dtpw-cap { position: absolute; left: 217px; top: 669px; width: 364px; text-align: center; font: 17px var(--dt-sport); color: #ebdec4; text-shadow: 0 2px 3px rgba(0, 0, 0, 0.6); white-space: nowrap; }
html.dt-on:not(.dt-ads) .dtpw-boardf { left: 183.9px; width: 426.3px; height: 746px; }
html.dt-on:not(.dt-ads) .dtpw-cap { left: 183.9px; width: 426.3px; top: 778px; }

/* the pieces panel */
.dtpw-pieces > * { position: absolute; left: 22px; width: 466px; }
#dt-root .dtpw-pieces h2 { top: 22px; font-size: 34px; color: #edfaff; }
.dtpw-sub { top: 70px; font-size: 22px; color: #95b7d1; }
.dtpw-cats { top: 112px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
#dt-root .dtpw-cats button { height: 64px; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: #0c233e; border: 1px solid #41688b; border-radius: 10px; color: #edfaff; font: 20px var(--dt-sport); transition: filter 0.12s, border-color 0.12s; }
#dt-root .dtpw-cats button .dtpw-ic { width: 25px; height: 25px; }
#dt-root .dtpw-cats button span:not(.dtpw-ic) { white-space: nowrap; }
#dt-root .dtpw-cats button:hover { border-color: #19d6f0; filter: brightness(1.15); }
#dt-root .dtpw-cats button.on { background: linear-gradient(#ffeea2, #e6b23a); color: #07172d; border-color: #fff3b1; }
#dt-root .dtpw-pieces h3.dtpw-gname { top: 267px; font-size: 26px; color: #edfaff; }
.dtpw-grid { top: 313px; height: 230px; padding-right: 6px; width: 472px; overflow-x: hidden; overflow-y: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; gap: 10px; align-content: start; scrollbar-width: thin; scrollbar-color: #2c5571 transparent; }
.dtpw-brush { top: 559px; display: flex; gap: 15px; }
#dt-root .dtpw-brush .dt-btn { flex: 1; height: 46px; font-size: 23px; gap: 12px; padding: 0 15px; }
#dt-root .dtpw-brush .dt-btn.on { border-color: #f7c948; box-shadow: 0 5px #07172d, 0 0 14px rgba(247, 201, 72, 0.45); color: #ffe79b; }
.dtpw-help { top: 605px; height: 78px; display: flex; align-items: center; gap: 16px; border-top: 1px solid #355675; padding-top: 6px; color: #b6d1e5; }
.dtpw-help > .dtpw-ic { color: #b6d1e5; }
.dtpw-help p { flex: 1; font-size: 19px; line-height: 1.3; color: #b6d1e5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#dt-root .dtpw-q { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #19d6f0; border: 1px solid #36536d; background: #0c233e; }
#dt-root .dtpw-q:hover { border-color: #19d6f0; }
html.dt-on:not(.dt-ads) .dtpw-pieces > * { left: 24px; width: 462px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-pieces h2 { top: 24px; }
html.dt-on:not(.dt-ads) .dtpw-sub { top: 72px; }
html.dt-on:not(.dt-ads) .dtpw-cats { top: 118px; gap: 10px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-cats button { height: 76px; font-size: 21px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-pieces h3.dtpw-gname { top: 303px; }
html.dt-on:not(.dt-ads) .dtpw-grid { top: 349px; height: 289px; width: 468px; grid-auto-rows: 138px; gap: 13px; }
html.dt-on:not(.dt-ads) .dtpw-brush { top: 660px; }
html.dt-on:not(.dt-ads) .dtpw-help { top: 706px; height: 81px; }
html.dt-on:not(.dt-ads) .dtpw-help p { font-size: 20px; }
/* the dock's own items as the pack's piece tiles */
#dt-root .dtpw-grid .pw-item { flex: none; width: auto; height: auto; min-height: 0; padding: 6px 4px 6px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(#1c3b59, #0a1d36); border: 2px solid #3c617f; box-shadow: none; color: #edfaff; cursor: grab; scroll-snap-align: none; transition: border-color 0.12s, filter 0.12s; }
#dt-root .dtpw-grid .pw-item:hover { border-color: #19d6f0; filter: brightness(1.1); }
#dt-root .dtpw-grid .pw-item:active { transform: none; }
#dt-root .dtpw-grid .pw-item.on { background: linear-gradient(#1c3b59, #0a1d36); border-color: #f7c948; box-shadow: 0 0 15px rgba(247, 201, 72, 0.27); color: #fff4ac; }
#dt-root .dtpw-grid .pw-item.dis { opacity: 0.4; cursor: default; }
#dt-root .dtpw-grid .pw-item .pw-ith { width: 75px; height: 62px; object-fit: contain; flex: none; }
#dt-root .dtpw-grid .pw-item .pw-tile { width: 75px; height: 62px; flex: none; border-radius: 6px; position: relative; }
#dt-root .dtpw-grid .pw-item.tool .pw-tile svg { width: 36px; height: 36px; }
#dt-root .dtpw-grid .pw-item > span { width: 100%; font: 21px var(--dt-sport); line-height: 1.05; text-align: center; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#dt-root .dtpw-grid .pw-item .pw-mv { left: 6px; top: 6px; font: 700 12px var(--dt-body); padding: 2px 6px; }
#dt-root .dtpw-grid .pw-item em { top: 6px; right: 6px; width: 22px; height: 22px; }
#dt-root .dtpw-grid .pw-item em svg { width: 14px; height: 14px; }
#dt-root .dtpw-grid .pw-sep { grid-column: 1 / -1; height: auto; flex: none; flex-direction: row; align-items: baseline; gap: 10px; padding: 8px 0 0; border: 0; border-top: 1px dashed rgba(247, 201, 72, 0.5); font: 18px var(--dt-body); color: #a9c5dc; }
#dt-root .dtpw-grid .pw-sep b { font: 22px var(--dt-sport); color: #f7c948; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-grid .pw-item .pw-ith, html.dt-on:not(.dt-ads) #dt-root .dtpw-grid .pw-item .pw-tile { width: 92px; height: 84px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-grid .pw-item > span { font-size: 22px; }

/* the right panel: the selected piece and its settings, the checklist, the course's buttons */
.dtpw-selw { position: absolute; left: 24px; top: 19px; width: 380px; height: 325px; padding: 0 8px 22px 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2c5571 transparent;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 26px), transparent); mask-image: linear-gradient(#000 calc(100% - 26px), transparent); }
.dtpw-selw > .dt-eyebrow { display: block; line-height: 26px; }
.dtpw-selp { position: relative; display: flex; align-items: center; gap: 20px; margin: 5px 0 10px; min-height: 54px; }
.dtpw-thumb { flex: none; width: 64px; height: 54px; border-radius: 10px; background: #0b233c; display: grid; place-items: center; color: #19d6f0; overflow: hidden; }
.dtpw-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dtpw-thumb.tile img { object-fit: cover; }
.dtpw-selp > div { min-width: 0; flex: 1; }
#dt-root .dtpw-selp h2 { font-size: 31px; line-height: 1.05; color: #edfaff; text-transform: uppercase; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dtpw-selp small { display: block; margin-top: 3px; font-size: 18px; line-height: 1.2; color: #a9c5dc; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#dt-root .dtpw-x { position: absolute; right: 0; top: -30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #a9c5dc; border: 1px solid #36536d; background: #0c233e; }
#dt-root .dtpw-x .dtpw-ic { width: 16px; height: 16px; }
#dt-root .dtpw-x:hover { color: #fff; border-color: #19d6f0; }
.dtpw-sbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 8px; margin-bottom: 12px; }
#dt-root .dtpw-sbs .pw-sb { max-width: none; min-width: 0; height: 56px; padding: 4px 2px 2px; border-radius: 10px; gap: 3px; color: #e6f8ff; background: linear-gradient(#285073, #122d4b); border: 2px solid #4c7ba0; box-shadow: 0 4px #07172d; }
#dt-root .dtpw-sbs .pw-sb svg { width: 24px; height: 24px; }
#dt-root .dtpw-sbs .pw-sb span { font: 15px var(--dt-sport); }
#dt-root .dtpw-sbs .pw-sb:hover { filter: brightness(1.18); border-color: #19d6f0; }
#dt-root .dtpw-sbs .pw-sb.hi { color: #07172d; background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; box-shadow: 0 4px #89600e; }
#dt-root .dtpw-sbs .pw-sb[data-sel="del"], #dt-root .dtpw-sbs .pw-sb[data-grp="del"] { color: #fff; background: linear-gradient(#ffaaa0, #ff5a5a 55%, #d73849); border-color: #ffbdb2; box-shadow: 0 4px #852133; }
#dt-root .dtpw-selw h3 { margin: 4px 0 8px; font-size: 26px; color: #edfaff; }
.dtpw-hintc { margin: 4px 0 12px; }
.dtpw-hintc b { display: block; font: 21px var(--dt-sport); color: #f7c948; }
.dtpw-hintc p { margin-top: 4px !important; font-size: 19px; line-height: 1.3; color: #a9c5dc; }
#dt-root .dtpw-wide { width: 100%; height: 44px; font-size: 22px; gap: 8px; }
/* the dock's settings, the pack's way */
.dtpw-setb { display: flex; flex-direction: column; gap: 12px; padding-bottom: 6px; }
.dtpw-setb .pw-set { gap: 7px; }
.dtpw-setb .pw-setl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 22px var(--dt-body); letter-spacing: 0; text-transform: none; color: #edfaff; }
.dtpw-setb .pw-setl em { font: 16px var(--dt-body); color: #8eabc4; }
.dtpw-setb .pw-setl em.dtpw-out { margin-left: auto; font-size: 22px; color: #f7c948; }
#dt-root .dtpw-setb .pw-seg { gap: 6px; }
#dt-root .dtpw-setb .pw-seg button { min-height: 0; height: 36px; padding: 0 10px; border-radius: 10px; font: 18px var(--dt-sport); color: #e6f8ff; background: linear-gradient(#285073, #122d4b); border: 2px solid #4c7ba0; }
#dt-root .dtpw-setb .pw-seg button:hover { border-color: #19d6f0; }
#dt-root .dtpw-setb .pw-seg button.on { color: #07172d; background: linear-gradient(#53ebff, #19bfdc 55%, #0089b7); border-color: #b6edff; box-shadow: none; }
.dtpw-rng { -webkit-appearance: none; appearance: none; width: 100%; height: 16px; margin: 4px 0 0; background: transparent; cursor: pointer; }
.dtpw-rng::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #e7eef4; }
.dtpw-rng::-moz-range-track { height: 6px; border-radius: 3px; background: #e7eef4; }
.dtpw-rng::-moz-range-progress { height: 6px; border-radius: 3px; background: #19d6f0; }
.dtpw-rng::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; background: #19d6f0; border: 0; box-shadow: 0 0 0 3px rgba(25, 214, 240, 0.25); }
.dtpw-rng::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #19d6f0; border: 0; }
.dtpw-rng:focus-visible { outline: 2px solid #ecfbff; outline-offset: 4px; }
#dt-root .dtpw-setb .pw-wcs { flex-wrap: wrap; gap: 10px; padding: 3px; }
#dt-root .dtpw-setb .pw-wc { flex: 0 0 auto; width: 49px; max-width: none; height: 34px; aspect-ratio: auto; border-radius: 10px; border: 2px solid #7890a7; outline: 0; font: 16px var(--dt-sport); }
#dt-root .dtpw-setb .pw-wc:first-child { width: auto; padding: 0 12px; }
#dt-root .dtpw-setb .pw-wc.on { outline: 3px solid #effaff; outline-offset: 3px; }
#dt-root .dtpw-setb .pw-btn.sm { min-height: 0; height: 36px; padding: 0 12px; border-radius: 10px; font: 18px var(--dt-sport); color: #e6f8ff; background: linear-gradient(#285073, #122d4b); border: 2px solid #4c7ba0; box-shadow: 0 3px #07172d; }
#dt-root .dtpw-setb .pw-btn.sm.gold { color: #07172d; background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; box-shadow: 0 3px #89600e; }
#dt-root .dtpw-setb .pw-btn.sm.cyan { color: #07172d; background: linear-gradient(#53ebff, #19bfdc 55%, #0089b7); border-color: #b6edff; box-shadow: 0 3px #005577; }
#dt-root .dtpw-setb .pw-btn.sm:hover { filter: brightness(1.15); }
.dtpw-setb .pw-partrow { gap: 8px; }
.dtpw-setb .pw-partrow b { font: 20px var(--dt-sport); }
.dtpw-setb .pw-none { font: 18px var(--dt-body); color: #a9c5dc; }
.dtpw-setb .pw-setnote { font: 17px var(--dt-body); line-height: 1.3; color: #a9c5dc; }
.dtpw-setb .pw-partimg { width: 48px; height: 40px; }
#dt-root .dtpw-setb .pw-pwr { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #061225; border: 1px solid #2c5571; }
/* the checklist and the buttons */
#dt-root .dtpw-check { cursor: pointer; position: absolute; left: 24px; top: 352px; width: 372px; height: 162px; padding: 12px 0 0; border-top: 1px solid #3a5573; text-align: left; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; overflow: hidden; }
#dt-root .dtpw-check:hover h3 { color: #19d6f0; }
#dt-root .dtpw-check h3 { font-size: 26px; color: #edfaff; }
.dtpw-check p { display: flex; align-items: center; gap: 12px; margin: 9px 0 0 !important; font-size: 21px; line-height: 27px; white-space: nowrap; }
.dtpw-check p span:not(.dtpw-ic) { overflow: hidden; text-overflow: ellipsis; }
#dt-root .dtpw-check .dtpw-ic { width: 23px; height: 23px; }
.dtpw-check .ok { color: #39d98a; }
.dtpw-check .off { color: #a9c5dc; }
.dtpw-check .bad { color: #ff7474; }
.dtpw-check .warn { color: #f7c948; }
.dtpw-acts { position: absolute; left: 24px; top: 524px; width: 372px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
#dt-root .dtpw-acts .dt-btn { height: 43px; font-size: 25px; padding: 0 12px; gap: 12px; }
#dt-root .dtpw-acts .dt-btn:nth-child(n+3) { grid-column: 1 / -1; }
#dt-root .dtpw-acts .dt-btn:last-child { height: 34px; font-size: 20px; box-shadow: none; }
html.dt-on:not(.dt-ads) .dtpw-selw { left: 26px; top: 22px; width: 376px; height: 407px; }
html.dt-on:not(.dt-ads) .dtpw-selp { min-height: 82px; margin: 8px 0 14px; }
html.dt-on:not(.dt-ads) .dtpw-thumb { width: 88px; height: 82px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-check { left: 26px; top: 437px; width: 368px; height: 181px; padding-top: 15px; }
html.dt-on:not(.dt-ads) .dtpw-check p { margin-top: 12px !important; font-size: 22px; line-height: 28.6px; }
html.dt-on:not(.dt-ads) .dtpw-acts { left: 26px; top: 621px; width: 368px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-acts .dt-btn { height: 47px; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-acts .dt-btn:last-child { height: 35px; font-size: 21px; }
/* a piece dragged from the panel */
.dtpw-ghost { position: fixed; z-index: 9000; pointer-events: none; width: calc(var(--dtpw-k, 1) * 78px); height: calc(var(--dtpw-k, 1) * 78px); transform: translate(-50%, -50%) rotate(8deg); display: grid; place-items: center;
  background: rgba(11, 45, 66, 0.47); border: 2px dashed #19d6f0; border-radius: 10px; box-shadow: 0 0 22px rgba(25, 214, 240, 0.4); opacity: 0.85; }
.dtpw-ghost.in { opacity: 1; transform: translate(-50%, -50%) rotate(0); }
.dtpw-ghost img { width: 88%; height: 88%; object-fit: contain; }
.dtpw-ghost i { width: 80%; height: 80%; border-radius: 6px; background-size: cover; }

/* the game during the editor: #app over the workbench's board (layout-ad.json: 823, 255, 364 x 637; layout.json: 791.9,
   270, 426.3 x 746), 8 and 6 px larger than the board so the game's fit (game.js resize) makes the canvas exactly it */
html.dt-on.dt-pg-pwedit #app {
  left: calc(var(--dt-ox) + var(--dt-s) * 791.9 - 4px); top: calc(var(--dt-oy) + var(--dt-s) * 270 - 3px);
  width: calc(var(--dt-s) * 426.3 + 8px); height: calc(var(--dt-s) * 746 + 6px);
  background: transparent !important; box-shadow: none; border-radius: 0;
}
html.dt-on.dt-ads.dt-pg-pwedit #app { left: calc(var(--dt-ox) + var(--dt-s) * 823 - 4px); top: calc(var(--dt-oy) + var(--dt-s) * 255 - 3px); width: calc(var(--dt-s) * 364 + 8px); height: calc(var(--dt-s) * 637 + 6px); }
html.dt-on.dt-pg-pwedit #pwTop, html.dt-on.dt-pg-pwedit #pwDock { display: none !important; }
html.dt-on.dt-pg-pwedit #c { border-radius: calc(var(--dt-s) * 11); box-shadow: none; }
html.dt-on.dt-pg-pwedit .pw-nav { zoom: clamp(0.8, calc(var(--dtpw-k, 1) * 1.15), 1.4); }

/* ---------- New course ---------- */
.dtpw-npanel { position: absolute; left: 0; top: 100px; width: 720px; height: 590px; padding: 28px 32px; }
.dtpw-tpanel { position: absolute; left: 740px; top: 100px; width: 754px; height: 590px; padding: 28px 32px; }
html.dt-on:not(.dt-ads) .dtpw-npanel, html.dt-on:not(.dt-ads) .dtpw-tpanel { top: 110px; height: 690px; }
.dtpw-lab { display: block; font: 700 20px var(--dt-body); letter-spacing: 2px; color: #f7c948; }
#dt-root .dtpw-input { display: block; width: 100%; height: 58px; margin: 10px 0 24px; padding: 0 18px; border-radius: 12px; border: 2px solid #36536d; background: #061225; color: #edfaff; font: 30px var(--dt-sport); outline: none; -webkit-user-select: text; user-select: text; }
#dt-root .dtpw-input:focus { border-color: #19d6f0; box-shadow: 0 0 14px rgba(25, 214, 240, 0.3); }
.dtpw-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.dtpw-stepper { display: flex; align-items: center; gap: 14px; margin: 10px 0 8px; }
#dt-root .dtpw-stepper .dt-btn { width: 58px; height: 52px; padding: 0; font-size: 34px; }
.dtpw-stepper b { min-width: 70px; text-align: center; font: 46px var(--dt-sport); color: #edfaff; }
.dtpw-steps small { font-size: 19px; color: #a9c5dc; }
.dtpw-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
#dt-root .dtpw-size { height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; background: linear-gradient(#1c3b59, #0a1d36); border: 2px solid #3c617f; color: #edfaff; }
#dt-root .dtpw-size:hover { border-color: #19d6f0; }
#dt-root .dtpw-size.on { border-color: #f7c948; box-shadow: 0 0 15px rgba(247, 201, 72, 0.35); }
.dtpw-size i { display: flex; flex-direction: column-reverse; gap: 3px; }
.dtpw-size i b { width: 34px; height: 22px; border-radius: 4px; background: linear-gradient(#6cc04a, #3f8f3a); border: 2px solid #e4d6b4; }
.dtpw-size span { font: 23px var(--dt-sport); }
.dtpw-size small { font-size: 17px; color: #a9c5dc; }
.dtpw-themecards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 14px; }
#dt-root .dtpw-tcard { height: 236px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 12px; border-radius: 16px; background: linear-gradient(#1c3b59, #0a1d36); border: 2px solid #3c617f; color: #edfaff; overflow: hidden; }
#dt-root .dtpw-tcard:hover { border-color: #19d6f0; }
#dt-root .dtpw-tcard.on { border-color: #f7c948; box-shadow: 0 0 18px rgba(247, 201, 72, 0.4); }
.dtpw-tart { position: relative; width: 100%; flex: 1; border-radius: 10px; overflow: hidden; display: block; }
.dtpw-tart img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dtpw-tart img + img { position: absolute; left: 50%; bottom: 4px; height: 82%; transform: translateX(-50%); object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.45)); }
.dtpw-tcard b { font: 26px var(--dt-sport); font-weight: 400; }
.dtpw-tcard small { font-size: 18px; color: #a9c5dc; }
html.dt-on:not(.dt-ads) #dt-root .dtpw-tcard { height: 286px; }
.dtpw-nbtns { position: absolute; right: 0; top: 708px; display: flex; gap: 16px; }
#dt-root .dtpw-nbtns .dt-btn { height: 54px; min-width: 220px; font-size: 27px; gap: 12px; }
html.dt-on:not(.dt-ads) .dtpw-nbtns { top: 826px; }

/* ---------- Share ---------- */
.dtpw-shcourse { position: absolute; left: 0; top: 100px; width: 470px; height: 590px; padding: 26px 30px; text-align: center; }
.dtpw-shcode { position: absolute; left: 490px; top: 100px; width: 1004px; height: 590px; padding: 30px 40px; overflow-y: auto; scrollbar-width: thin; }
html.dt-on:not(.dt-ads) .dtpw-shcourse, html.dt-on:not(.dt-ads) .dtpw-shcode { top: 110px; height: 690px; }
.dtpw-shpic { position: relative; width: 170px; height: 280px; margin: 0 auto 16px; }
.dtpw-shpic > img:first-child { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5)); }
.dtpw-cby { position: absolute; right: -54px; bottom: -14px; width: 104px; rotate: 12deg; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
#dt-root .dtpw-shcourse h2 { font-size: 36px; color: #edfaff; }
.dtpw-shcourse > p { margin-top: 6px !important; font-size: 21px; color: #a9c5dc; }
.dtpw-shcourse .dtpw-okl { display: flex; justify-content: center; align-items: center; gap: 8px; color: #39d98a; }
.dtpw-chal { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 244, 214, 0.95); color: #3a2a12; text-align: left; }
.dtpw-chal img { width: 82px; flex: none; }
.dtpw-chal b { display: block; font: 24px var(--dt-sport); font-weight: 400; color: #7a3f0a; }
.dtpw-chal span { display: block; margin-top: 3px; font-size: 18px; line-height: 1.3; }
.dtpw-codeh { font: 700 22px var(--dt-body); letter-spacing: 2px; color: #f7c948; }
.dtpw-codep { margin-top: 12px !important; font-size: 22px; color: #a9c5dc; }
.dtpw-codep b { color: #edfaff; }
.dtpw-tiles { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.dtpw-tiles b { width: 104px; height: 128px; display: grid; place-items: center; border-radius: 16px; font: 84px var(--dt-sport); font-weight: 400; color: #07172d; background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border: 2px solid #ffe79b; box-shadow: 0 6px #89600e, 0 0 24px rgba(247, 201, 72, 0.3); }
.dtpw-tiles i { width: 22px; height: 6px; border-radius: 3px; background: #4c7ba0; }
.dtpw-tiles.wait b { background: #183653; border-color: #24496b; box-shadow: none; animation: dtpwPulse 1.2s ease-in-out infinite; }
@keyframes dtpwPulse { 50% { filter: brightness(1.5); } }
.dtpw-ost { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 21px; color: #a9c5dc; }
.dtpw-ost span { display: inline-flex; align-items: center; gap: 6px; }
.dtpw-ost b { color: #edfaff; font-weight: 700; }
.dtpw-ost svg { width: 20px; height: 20px; }
.dtpw-hide, .dtpw-err { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 90, 90, 0.12); border: 1px solid rgba(255, 116, 116, 0.6); color: #ffd0cb; font-size: 21px; }
.dtpw-err div { flex: 1; }
.dtpw-err b { display: block; font: 24px var(--dt-sport); font-weight: 400; color: #fff; }
#dt-root .dtpw-err .dt-btn { height: 46px; font-size: 22px; gap: 8px; }
#dt-root .dtpw-err > .dtpw-ic, #dt-root .dtpw-hide > .dtpw-ic { color: #ff7474; }
.dtpw-long { display: block; width: 100%; margin-top: 12px; padding: 12px 14px; resize: none; border-radius: 12px; border: 2px solid #19d6f0; background: #061225; color: #d8f6ff; font: 600 16px/1.45 ui-monospace, Consolas, monospace; word-break: break-all; outline: none; -webkit-user-select: all; user-select: all; }
.dtpw-shbtns { display: flex; gap: 16px; margin-top: 24px; }
#dt-root .dtpw-shbtns .dt-btn { flex: 1; height: 58px; font-size: 28px; gap: 12px; }
.dtpw-nudge { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 14px 18px; border-radius: 14px; background: #0b2940; border: 1px solid #2c5571; }
.dtpw-nudge > .dtpw-ic { color: #19d6f0; }
.dtpw-nudge div { flex: 1; }
.dtpw-nudge b { display: block; font: 23px var(--dt-sport); font-weight: 400; color: #edfaff; }
.dtpw-nudge span { display: block; font-size: 18px; color: #a9c5dc; }
#dt-root .dtpw-nudge .dt-btn { height: 46px; font-size: 21px; gap: 8px; }
.dtpw-longd { margin-top: 22px; border-top: 1px solid #2c4a66; padding-top: 14px; }
.dtpw-longd summary { display: flex; align-items: baseline; gap: 12px; cursor: pointer; list-style: none; color: #edfaff; }
.dtpw-longd summary::-webkit-details-marker { display: none; }
.dtpw-longd summary b { font: 23px var(--dt-sport); font-weight: 400; }
.dtpw-longd summary span:not(.dtpw-ic) { font-size: 18px; color: #a9c5dc; }
.dtpw-longd summary .dtpw-ic { align-self: center; transition: transform 0.15s; }
.dtpw-longd[open] summary .dtpw-ic { transform: rotate(180deg); }
#dt-root .dtpw-longd .dt-btn { margin-top: 12px; height: 44px; font-size: 21px; gap: 8px; }

/* ---------- a course's card (Online course / Friend's course) ---------- */
.dtpw-ibench { position: absolute; left: 0; top: 100px; width: 700px; height: 660px; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(rgba(7, 23, 45, 0), rgba(26, 18, 7, 0.267)), url("assets/dt/pitchworks/workbench.webp") center / cover no-repeat; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4); }
.dtpw-ipic { height: 600px; width: 343px; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.6)); }
.dtpw-iinfo { position: absolute; left: 720px; top: 100px; width: 774px; height: 660px; padding: 30px 40px; display: flex; flex-direction: column; align-items: flex-start; }
html.dt-on:not(.dt-ads) .dtpw-ibench, html.dt-on:not(.dt-ads) .dtpw-iinfo { top: 110px; height: 770px; }
html.dt-on:not(.dt-ads) .dtpw-ipic { height: 700px; width: 400px; }
#dt-root .dtpw-iinfo h2 { margin-top: 8px; font-size: 52px; color: #edfaff; }
.dtpw-iby { margin-top: 6px !important; font-size: 23px; color: #a9c5dc; display: flex; align-items: baseline; gap: 8px; }
#dt-root .dtpw-iby .dtpw-who { margin: 0; font-size: 23px; }
.dtpw-iflags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 0; }
.dtpw-facts { display: flex; gap: 14px; margin-top: 20px; }
.dtpw-facts > div { min-width: 120px; padding: 12px 16px 10px; border-radius: 14px; text-align: center; background: #061225; border: 1px solid #2c5571; }
.dtpw-facts b { display: block; font: 40px var(--dt-sport); font-weight: 400; line-height: 48px; color: #edfaff; }
.dtpw-facts span { display: block; font-size: 19px; color: #a9c5dc; }
.dtpw-facts .gold { border-color: #f7c948; }
.dtpw-facts .gold b { color: #f7c948; }
.dtpw-facts .ok b { color: #39d98a; }
.dtpw-isub { margin-top: 18px !important; font-size: 22px; color: #c9dce9; }
#dt-root .dtpw-iplay { margin-top: auto; width: 100%; height: 64px; font-size: 34px; gap: 14px; }
.dtpw-irow { display: flex; gap: 14px; width: 100%; margin-top: 18px; }
#dt-root .dtpw-irow .dt-btn { flex: 1; height: 50px; font-size: 24px; gap: 10px; }
#dt-root .dtpw-ilike b { margin-left: 4px; color: #ffb3c2; font-weight: 400; }
#dt-root .dtpw-ilike.on { color: #ff8ea4; border-color: #ff6b86; }
#dt-root .dtpw-ilike.on svg { fill: currentColor; }
#dt-root .dtpw-report { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 19px; color: #a9c5dc; }
#dt-root .dtpw-report .dtpw-ic { width: 20px; height: 20px; }
#dt-root .dtpw-report:hover:not(:disabled) { color: #ff9a8a; text-decoration: underline; text-underline-offset: 3px; }
#dt-root .dtpw-report:disabled { opacity: 0.6; }

/* ---------- a creator's card ---------- */
#dt-root .dtpw-backb { position: absolute; right: 366px; top: 40px; height: 46px; font-size: 22px; gap: 8px; padding: 0 18px; }
.dtpw-grid4.cr { top: 104px; height: 710px; }
html.dt-on:not(.dt-ads) .dtpw-grid4.cr { top: 110px; height: 798px; }
.dtpw-spot.cr .dtpw-ini { font-size: 40px; }

/* ---------- the admin's review ---------- */
.dtpw-qlist { position: absolute; left: 0; top: 100px; width: 1142px; height: 714px; padding: 0 14px 40px 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #2c5571 transparent; }
html.dt-on:not(.dt-ads) .dtpw-qlist { top: 110px; height: 798px; }
#dt-root .dtpw-qlist h2 { font-size: 28px; color: #edfaff; margin-bottom: 12px; }
.dtpw-qc { position: relative; display: grid; grid-template-columns: 110px 1fr 1fr; gap: 14px 22px; padding: 18px 20px; margin-bottom: 16px; min-height: 120px; }
.dtpw-qc.down { border-color: rgba(255, 116, 116, 0.6); }
#dt-root .dtpw-qpic { grid-row: span 2; width: 110px; height: 190px; border-radius: 10px; background: radial-gradient(#255c71, #061c36); }
.dtpw-qpic img { width: 100%; height: 100%; object-fit: contain; }
#dt-root .dtpw-qi h3 { font-size: 30px; color: #edfaff; }
.dtpw-qi > p { font-size: 19px; color: #a9c5dc; }
.dtpw-qst { margin-top: 6px !important; font-size: 18px; color: #a9c5dc; }
.dtpw-qreps ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dtpw-qreps li { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: #061225; border: 1px solid #2c5571; font-size: 17px; color: #a9c5dc; }
.dtpw-qreps .pw-rr { display: inline-flex; align-items: center; gap: 6px; font: 20px var(--dt-sport); color: #ffb3a8; }
.dtpw-qreps .pw-rr svg { width: 18px; height: 18px; }
.dtpw-qreps q { color: #edfaff; font-size: 18px; }
.dtpw-qreps .pw-reprec.warn { color: #f7c948; }
.dtpw-qreps svg { width: 16px; height: 16px; }
.dtpw-qreps p { font-size: 18px; color: #a9c5dc; }
.dtpw-qbtns { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#dt-root .dtpw-qbtns .dt-btn { height: 46px; font-size: 22px; gap: 8px; padding: 0 16px; }
#dt-root .dtpw-tog { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; font-size: 20px; color: #a9c5dc; }
.dtpw-tog i { width: 46px; height: 26px; border-radius: 13px; background: #183653; border: 1px solid #36536d; position: relative; }
.dtpw-tog i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #a9c5dc; transition: left 0.15s; }
.dtpw-tog.on { color: #f7c948; }
.dtpw-tog.on i { background: #8a6512; border-color: #f7c948; }
.dtpw-tog.on i::after { left: 23px; background: #f7c948; }
.dtpw-reset { position: absolute; left: 1148px; top: 0; width: 346px; height: 814px; padding: 24px; }
html.dt-on:not(.dt-ads) .dtpw-reset { height: 900px; }
.dtpw-reset > .dt-eyebrow { display: block; line-height: 1.3; }
.dtpw-reset > p { margin: 12px 0 18px !important; font-size: 19px; line-height: 1.35; color: #a9c5dc; }
#dt-root .dtpw-reset .dtpw-input { height: 50px; margin: 8px 0 16px; font: 24px var(--dt-body); }
#dt-root .dtpw-reset .dt-btn { width: 100%; height: 50px; font-size: 22px; gap: 8px; margin-top: 6px; }
.dtpw-rst { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; font-size: 17px; }
.dtpw-rst.ok { background: rgba(57, 217, 138, 0.12); border: 1px solid rgba(57, 217, 138, 0.6); color: #bdf5d8; }
.dtpw-rst.err { background: rgba(255, 90, 90, 0.12); border: 1px solid rgba(255, 116, 116, 0.6); color: #ffd0cb; }
.dtpw-rst b { display: block; font: 20px var(--dt-sport); font-weight: 400; color: #fff; overflow-wrap: anywhere; }
.dtpw-adnote { margin-top: 18px !important; font-size: 17px; color: #8eabc4; }

/* ---------- PitchWorks' own dialogs on a computer (pitchworks.js modal: Enter code, Course details, the checks, a report,
   the guide): over the whole window like the game's other dialogs, the card in the pack's panel, its type and buttons,
   zoomed with the composition (they're the phone's cards: the same buttons and boxes, so typing and pasting are the
   game's own) ---------- */
html.dt-on .pw-modal {
  inset: 0; left: 0; top: 0; width: auto; height: auto; border-radius: 0; contain: none; overflow: auto; padding: 24px; background: rgba(2, 9, 25, 0.7);
  --font-fun: var(--dt-sport); --font-ui: var(--dt-body); --font-display: var(--dt-body);
  --pw-cyan: #19d6f0; --pw-cyan-hi: #b6edff; --pw-cyan-lo: #005577; --pw-gold: #f7c948; --pw-gold-hi: #ffe79b; --pw-gold-lo: #89600e; --pw-dim: #a9c5dc; --pw-green: #39d98a;
}
html.dt-on .pw-modal { place-items: start center; }
html.dt-on .pw-modal > .pw-mcard { margin: auto; zoom: clamp(0.85, calc(var(--dtpw-k, 1) * 1.32), 1.7); width: min(100%, 420px); max-height: none; gap: 14px; padding: 22px 22px 20px; border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 48, 82, 0.98), rgba(7, 23, 45, 0.99) 78%); border: 2px solid rgba(25, 214, 240, 0.584); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px rgba(255, 255, 255, 0.125); }
html.dt-on .pw-modal .pw-mtitle { font-size: 28px; text-shadow: 0 2px 0 #030b19; }
html.dt-on .pw-modal .pw-mtext { font-size: 15px; }
html.dt-on .pw-modal .pw-btn { border-radius: 10px; border-width: 2px; color: #e6f8ff; text-shadow: none; background: linear-gradient(#285073, #122d4b); border-color: #4c7ba0; box-shadow: 0 4px #07172d; }
html.dt-on .pw-modal .pw-btn.cyan { color: #07172d; background: linear-gradient(#53ebff, #19bfdc 55%, #0089b7); border-color: #b6edff; box-shadow: 0 4px #005577; }
html.dt-on .pw-modal .pw-btn.gold { color: #07172d; background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; box-shadow: 0 4px #89600e; }
html.dt-on .pw-modal .pw-btn.red { color: #fff; background: linear-gradient(#ffaaa0, #ff5a5a 55%, #d73849); border-color: #ffbdb2; box-shadow: 0 4px #852133; }
html.dt-on .pw-modal .pw-btn.ghost { background: #0c233e; border-color: #36536d; box-shadow: 0 4px #07172d; }
html.dt-on .pw-modal .pw-btn:hover:not(:disabled) { filter: brightness(1.15); transform: translateY(-2px); }
html.dt-on .pw-modal .pw-code, html.dt-on .pw-modal .pw-input, html.dt-on .pw-modal .pw-note { background: #061225; border-color: #36536d; color: #edfaff; }
html.dt-on .pw-modal .pw-code:focus, html.dt-on .pw-modal .pw-input:focus, html.dt-on .pw-modal .pw-note:focus { border-color: #19d6f0; }
html.dt-on .pw-modal .pw-code.in.short { font-family: var(--dt-sport); }
html.dt-on .pw-modal .pw-checks li, html.dt-on .pw-modal .pw-reason, html.dt-on .pw-modal .pw-theme, html.dt-on .pw-modal .pw-kerb { background: #0b2940; }
html.dt-on .pw-modal .pw-seg button { background: #0c233e; border-color: #36536d; }
html.dt-on .pw-modal .pw-seg button.on { color: #07172d; background: linear-gradient(#53ebff, #19bfdc); border-color: #b6edff; }
/* the guide: a tall sheet, as a column of cards over the window */
html.dt-on .pw-modal.pw-helpm { display: block; padding: 0; background: rgba(2, 9, 25, 0.78); }
html.dt-on .pw-modal.pw-helpm > .pw-hpage { zoom: clamp(0.85, calc(var(--dtpw-k, 1) * 1.3), 1.7); max-width: 560px; margin: 24px auto; padding: 18px 22px 22px; border-radius: 20px;
  background: linear-gradient(145deg, rgba(22, 48, 82, 0.98), rgba(7, 23, 45, 0.99) 78%); border: 2px solid rgba(25, 214, 240, 0.584); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7); }
html.dt-on .pw-helpm .pw-hc { background: #0b2940; border-color: #2c5571; box-shadow: none; }
html.dt-on .pw-helpm .pw-hc.open { border-color: rgba(247, 201, 72, 0.8); }
html.dt-on .pw-helpm .pw-hero .pw-bubble { background: #edfaff; }
@media (prefers-reduced-motion: reduce) {
  .dtpw-skel::after, .dtpw-tiles.wait b { animation: none; }
}

/* ---------- a course being played (the way dt-tour.css lays out a level): the course, the board on the workbench with
   the squad and the shot either side of it, the touches and the controls ---------- */
.dtpw-plpage { position: absolute; inset: 0; }
.dtpw-pleft { position: absolute; left: 0; top: 0; width: 380px; height: 776px; padding: 26px 28px; }
.dtpw-pbench { position: absolute; left: 400px; top: 0; width: 872px; height: 776px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  background: linear-gradient(rgba(7, 23, 45, 0), rgba(26, 18, 7, 0.267)), url("assets/dt/pitchworks/workbench.webp") center / cover no-repeat; }
.dtpw-pright { position: absolute; left: 1292px; top: 0; width: 380px; height: 776px; padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
html.dt-on:not(.dt-ads) .dtpw-pleft, html.dt-on:not(.dt-ads) .dtpw-pbench, html.dt-on:not(.dt-ads) .dtpw-pright { height: 900px; }
#dt-root .dtpw-pleft h1 { margin-top: 10px; font-size: 44px; line-height: 1.05; color: #edfaff; overflow-wrap: anywhere; }
.dtpw-pleft .dtpw-facts { flex-wrap: wrap; }
.dtpw-pleft .dtpw-facts > div { min-width: 96px; }
.dtpw-plgoal { margin-top: 26px; }
.dtpw-plgoal p { margin-top: 8px !important; font-size: 22px; line-height: 1.35; color: #c9dce9; }
.dtpw-pleft .dtpw-note { position: absolute; left: 28px; bottom: 18px; width: 324px; height: 140px; }
.dtpw-pleft .dtpw-note p { width: 220px; }
#dt-root .dtpw-th { font-size: 28px; color: #edfaff; display: flex; justify-content: space-between; align-items: baseline; }
.dtpw-th small { font: 700 18px var(--dt-body); letter-spacing: 1px; color: #a9c5dc; }
.dtpw-count { display: flex; align-items: baseline; gap: 10px; }
.dtpw-count b { font: 92px var(--dt-sport); font-weight: 400; line-height: 1; color: #f7c948; }
.dtpw-count small { font: 26px var(--dt-sport); color: #a9c5dc; }
.dtpw-guide { margin: 6px 0 auto; padding: 16px 18px; border-radius: 14px; background: #061225; border: 1px solid #2c5571; }
#dt-root .dtpw-guide h3 { font-size: 24px; color: #edfaff; }
.dtpw-guide p { margin-top: 8px !important; font-size: 20px; line-height: 1.35; color: #c9dce9; }
#dt-root .dtpw-plb { width: 100%; height: 52px; font-size: 25px; gap: 10px; flex: none; }
#dt-root .dtpw-plb.sm { height: 44px; font-size: 21px; box-shadow: 0 4px #07172d; }
/* the squad and the shot, either side of the board */
.dtpw-band { position: absolute; top: 16px; width: 191px; display: flex; flex-direction: column; gap: 10px; }
.dtpw-band.sq { left: 16px; }
.dtpw-band.sh { right: 16px; }
html.dt-on:not(.dt-ads) .dtpw-band { width: 156px; }
.dtpw-bandh { display: flex; align-items: center; justify-content: center; gap: 6px; font: 700 16px/22px var(--dt-body); letter-spacing: 2px; color: #f7c948; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); }
.dtpw-bandh kbd, .dtpw-pl kbd { font: 700 11px var(--dt-body); padding: 0 4px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 4px; color: #cfe2f1; }
#dt-root .dtpw-pl { position: relative; height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; border-radius: 12px;
  background: linear-gradient(#183653, #0c233d); border: 1px solid #36536d; color: #cee5f6; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); transition: transform 0.12s, border-color 0.12s; }
#dt-root .dtpw-pl:hover { border-color: #19d6f0; transform: translateY(-2px); }
#dt-root .dtpw-pl.sel { background: linear-gradient(#fff09b, #f7c948 50%, #cf8f10); border-color: #ffe88f; color: #101d32; }
#dt-root .dtpw-pl.out { opacity: 0.38; filter: grayscale(0.8); }
#dt-root .dtpw-pl.armed { box-shadow: 0 0 0 3px #f7c948, 0 0 24px rgba(247, 201, 72, 0.8); }
.dtpw-pl kbd { position: absolute; left: 5px; top: 5px; }
.dtpw-pos { font: 700 13px var(--dt-body); padding: 1px 6px; border-radius: 5px; background: #24496b; color: #fff; }
.dtpw-pl b { font: 21px var(--dt-sport); font-weight: 400; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtpw-pl small { font: 700 12px var(--dt-body); letter-spacing: 1px; text-transform: uppercase; opacity: 0.8; }
.dtpw-pips { display: flex; gap: 4px; }
.dtpw-pips i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #4c7ba0; }
.dtpw-pips i.on { background: #39d98a; border-color: #39d98a; }
.dtpw-sk { position: absolute; right: 5px; top: 4px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #f7c948; color: #07172d; font-size: 14px; cursor: pointer; }
.dtpw-shots { display: flex; flex-direction: column; gap: 10px; }
#dt-root .dtpw-shot { height: 70px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; background: linear-gradient(#183653, #0c233d); border: 1px solid #36536d; color: #cee5f6;
  font: 21px var(--dt-sport); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35); transition: transform 0.12s, border-color 0.12s; }
#dt-root .dtpw-shot:hover { border-color: #19d6f0; transform: translateY(-2px); }
.dtpw-shot svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#dt-root .dtpw-shot.on { background: linear-gradient(#53ebff, #19bfdc 55%, #0089b7); border-color: #b6edff; color: #07172d; }
#dt-root .dtpw-shot.skill { color: #f7c948; }
#dt-root .dtpw-shot.skill.off { color: #6c829d; opacity: 0.6; }
#dt-root .dtpw-shot.skill.on { background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; color: #3a2a00; }
.dtpw-shots.armed .dtpw-shot:not(.skill) { opacity: 0.45; }
.dtpw-plpage.carded .dtpw-band { opacity: 0.35; pointer-events: none; }
/* the game during a course: #app over the board (the editor's board, as tall as the workbench), its own bars hidden */
html.dt-on.dt-pg-pwplay #app {
  left: calc(var(--dt-ox) + var(--dt-s) * 756 - 4px); top: calc(var(--dt-oy) + var(--dt-s) * 156 - 3px);
  width: calc(var(--dt-s) * 496 + 8px); height: calc(var(--dt-s) * 868 + 6px);
  background: transparent !important; box-shadow: none; border-radius: 0;
}
html.dt-on.dt-ads.dt-pg-pwplay #app { left: calc(var(--dt-ox) + var(--dt-s) * 791.4 - 4px); width: calc(var(--dt-s) * 425.1 + 8px); height: calc(var(--dt-s) * 744 + 6px); }
html.dt-on.dt-pg-pwplay #hud, html.dt-on.dt-pg-pwplay #squadbar, html.dt-on.dt-pg-pwplay #controls, html.dt-on.dt-pg-pwplay #passMode { display: none !important; }
html.dt-on.dt-pg-pwplay #c { border-radius: calc(var(--dt-s) * 11); box-shadow: 0 0 0 calc(var(--dt-s) * 3) #56703e, 0 calc(var(--dt-s) * 14) calc(var(--dt-s) * 30) rgba(0, 0, 0, 0.53); }
/* its cards over the board (the result, the pause card, the first-time tutorial): the pack's panel and type */
html.dt-on.dt-pg-pwplay .pw-res { --font-fun: var(--dt-sport); --font-ui: var(--dt-body); --pw-gold: #f7c948; --pw-cyan: #19d6f0; --pw-dim: #a9c5dc;
  background: linear-gradient(145deg, rgba(22, 48, 82, 0.98), rgba(7, 23, 45, 0.99) 78%); border: 2px solid rgba(25, 214, 240, 0.6); border-radius: 20px; }
html.dt-on.dt-pg-pwplay .pw-res.win { border-color: #f7c948; }
html.dt-on.dt-pg-pwplay .pw-res .pw-btn { border-radius: 10px; border-width: 2px; color: #e6f8ff; text-shadow: none; background: linear-gradient(#285073, #122d4b); border-color: #4c7ba0; box-shadow: 0 4px #07172d; }
html.dt-on.dt-pg-pwplay .pw-res .pw-btn.cyan { color: #07172d; background: linear-gradient(#53ebff, #19bfdc 55%, #0089b7); border-color: #b6edff; box-shadow: 0 4px #005577; }
html.dt-on.dt-pg-pwplay .pw-res .pw-btn.gold { color: #07172d; background: linear-gradient(#fff4af, #f7c948 55%, #df9a17); border-color: #ffe79b; box-shadow: 0 4px #89600e; }
html.dt-on.dt-pg-pwplay .pw-res .pw-btn:hover { filter: brightness(1.15); }
html.dt-on.dt-pg-pwplay #overlay > .card, html.dt-on.dt-pg-pwplay #tut .tut-card {
  background: linear-gradient(145deg, rgba(22, 48, 82, 0.98), rgba(7, 23, 45, 0.99) 78%); border: 2px solid rgba(25, 214, 240, 0.6); border-radius: 20px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6); }
