/* Use the shared challenge lineup geometry, 54% bar width and native zoom. */
.perfect-thresholds{display:flex;flex-wrap:wrap;gap:7px 20px;padding:0 0 16px;border-bottom:1px solid var(--line);font:400 12px/1.5 var(--sans)}
.perfect-thresholds span{white-space:nowrap}.perfect-thresholds b{font-weight:800}
.perfect-week{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:17px 0 10px;font:700 12px/1.4 var(--sans)}
.perfect-week label{display:flex;align-items:center;gap:8px}.perfect-week select{font:inherit;color:var(--navy);background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:6px 9px}.perfect-week>span{font-size:11px;color:#738191}.perfect-live{color:#23784e}
.perfect-hint{position:absolute;z-index:3;top:14px;left:16px;right:110px;margin:0;pointer-events:none;font:400 11px/1.5 var(--sans);color:#738191}
.perfect-view .lineup{padding-top:54px!important;padding-bottom:84px}
.perfect-view .perfect-figure{appearance:none;border:0;background:transparent;padding:0;color:var(--navy);font:inherit;cursor:pointer}
.perfect-view .perfect-bars{gap:calc(var(--lineup-figure)*.075);justify-content:flex-end}
.perfect-segment{display:block;flex:0 0 auto;width:54%;height:calc(var(--lineup-figure)*.105);border-radius:2px;background:#dce0dc;box-shadow:inset 0 1px 0 #fff6,0 1px 2px #14324f12}
.perfect-segment.is-hit{background:linear-gradient(180deg,#b5e3bf,#6cb886 55%,#2e7d4f)}
.perfect-segment.is-miss{background:linear-gradient(180deg,#e4aaa3,#bb7369)}
.perfect-figure.is-selected:after{content:'';position:absolute;bottom:calc(var(--lineup-figure)*.04);left:9%;right:9%;height:calc(var(--lineup-figure)*.14);border:2px solid var(--brass);border-radius:50%;transform:rotate(-5deg);box-shadow:0 1px 0 var(--navy);z-index:1}
.perfect-view .perfect-manager-status{white-space:normal;line-height:1.35;min-height:2.7em;color:#738191;width:100%}
.perfect-attempt{padding:0!important;margin:0;min-width:0;background:#fffdf7;border:1px solid #d9d4c6;border-radius:10px;overflow:hidden;box-shadow:0 3px 9px #14324f07}
.perfect-attempt-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;background:linear-gradient(120deg,#f3eedf,#f9f6ed);border-bottom:1px dashed #d8cbae}
.perfect-manager{display:flex;align-items:center;gap:9px;min-width:0}.perfect-manager .av{width:37px;height:37px;border-radius:50%;border:1.5px solid #c2aa70;background:#fff;flex:none}.perfect-manager b{font:800 13px/1.4 var(--sans)}.perfect-manager small{display:block;font:400 11px/1.4 var(--sans);color:#738191}
.perfect-result{text-align:right;font:800 13px/1.4 var(--sans);color:#98731d;max-width:55%}.perfect-result small{display:block;color:#738191;font-size:11px;font-weight:400}.perfect-result.is-miss{color:#b3352c}
.perfect-player-grid{display:grid;grid-template-columns:repeat(9,minmax(80px,1fr));overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:6px;padding:10px 6px;gap:0}
.perfect-player{min-width:0;text-align:center;padding:0 6px;display:grid;grid-template-rows:18px 46px minmax(31px,auto) 24px minmax(16px,auto) 16px;align-items:center;justify-items:center;font-family:var(--sans);scroll-snap-align:start}
.perfect-player+.perfect-player{border-left:1px solid #14324f0e}
.perfect-position{font:600 10px/1.4 var(--mono);color:#738191;white-space:nowrap;letter-spacing:0}
.perfect-photo{appearance:none;padding:0;border:0;position:relative;width:37px;height:37px;border-radius:50%;background:#edf0f2;box-shadow:0 0 0 2px #dce0e0;cursor:pointer}.perfect-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 8%;border-radius:50%}.perfect-photo.is-dst img{object-fit:contain;padding:3px}.perfect-photo:disabled{cursor:default}
.perfect-player.is-hit .perfect-photo{box-shadow:0 0 0 2px #23784e}.perfect-player.is-miss .perfect-photo{box-shadow:0 0 0 2px #b37065}
.perfect-mark{position:absolute;right:-5px;bottom:-3px;display:flex;align-items:center;justify-content:center;width:14px;height:14px;box-sizing:border-box;border:1.5px solid #fffdf7;border-radius:50%;background:#23784e;color:#fff;font:800 9px/1 var(--sans)}.perfect-player.is-miss .perfect-mark{background:#b37065}
.perfect-player-name{width:100%;min-width:0;font-size:11px;line-height:1.4;font-weight:700;white-space:normal;overflow-wrap:anywhere;text-wrap:pretty}.perfect-points{font-size:18px;font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums}.perfect-need{max-width:100%;font-size:10px;line-height:1.4;color:#906d21;white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.perfect-game{font-size:10px;color:#738191;letter-spacing:.03em}.perfect-player.is-hit .perfect-points,.perfect-player.is-hit .perfect-need{color:#23784e}.perfect-player.is-miss .perfect-points,.perfect-player.is-miss .perfect-need{color:#b3352c}
.perfect-payout-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 9px}.perfect-payout-heading h4{margin:0;font:800 12px/1.4 var(--sans);letter-spacing:.07em}.perfect-payout-heading>span{font:400 11px/1.4 var(--sans);color:#738191}
.perfect-payouts{border:1px solid #ddd9ce;border-radius:8px;overflow:hidden;background:#fffdf7}.perfect-payout+.perfect-payout{border-top:1px solid #e3dfd3}.perfect-payout>summary{list-style:none;display:grid;grid-template-columns:58px minmax(0,1fr) auto 14px;gap:12px;align-items:center;padding:10px 13px;cursor:pointer;font:400 12px/1.4 var(--sans)}.perfect-payout>summary::-webkit-details-marker{display:none}.perfect-payout-week{font-size:11px;color:#738191}.perfect-payout-who{display:flex;align-items:center;gap:7px;min-width:0}.perfect-payout-who .av{width:27px;height:27px;border-radius:50%;border:1px solid #d5d7d8;flex:none}.perfect-payout-who b{font-size:11px}.perfect-payout-who small{font-size:10px;color:#738191}.perfect-award{color:#23784e;font-weight:800}.perfect-chevron{display:inline-block}.perfect-payout[open] .perfect-chevron{transform:rotate(180deg)}.perfect-payout-note{margin:0;padding:11px 13px;border-top:1px dashed #d8cbae;font:400 12px/1.5 var(--sans);color:#738191}
@media(max-width:720px){.perfect-attempt-head{padding:11px 10px}.perfect-payout-who small{display:none}}
@media(max-width:380px){.perfect-payout>summary{grid-template-columns:43px minmax(0,1fr) auto 12px;gap:7px;padding:9px 10px}.perfect-manager b,.perfect-result{font-size:12px}.perfect-hint{font-size:10px;left:12px;right:94px}}
@media(pointer:coarse){.perfect-week select{min-height:44px;font-size:16px}}
