@layer wertigo.features{.gamepad-test-panel{flex-direction:column;gap:16px;min-width:0;display:flex}.gamepad-test-panel__actions,.gamepad-test-panel__header,.gamepad-test-panel__heading,.gamepad-test-panel__progress-copy,.gamepad-test-panel__section-heading,.gamepad-test-panel__toolbar{align-items:center;display:flex}.gamepad-test-panel__header{flex-wrap:wrap;justify-content:space-between;gap:14px}.gamepad-test-panel__heading{flex:260px;gap:12px;min-width:0}.gamepad-test-panel__heading-icon{border-radius:var(--ds-radius-lg);background:var(--ds-brand-tint);width:46px;height:46px;color:var(--ds-brand);flex:none;place-items:center;display:grid}.gamepad-test-panel__heading-icon svg{width:27px;height:27px}.gamepad-test-panel__title{color:var(--ds-ink);font-size:var(--ds-text-xl);font-weight:var(--ds-weight-bold);margin:0}.gamepad-test-panel__subtitle{color:var(--ds-subtle);font-size:var(--ds-text-sm);margin:0;line-height:1.5}.gamepad-test-panel__status{border-radius:var(--ds-radius-pill);background:var(--ds-surface-muted);color:var(--ds-muted);font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold);flex:none;align-items:center;gap:7px;padding:6px 9px;display:inline-flex}.gamepad-test-panel__status>span{background:currentColor;border-radius:50%;width:7px;height:7px}.gamepad-test-panel__status--active{background:var(--ds-success-soft);color:var(--ds-success)}.gamepad-test-panel__status--warning{background:var(--ds-warning-soft);color:var(--ds-warning)}.gamepad-test-panel__notice,.gamepad-test-panel__status--error{background:var(--ds-danger-soft);color:var(--ds-brand-strong)}.gamepad-test-panel__notice{border:1px solid var(--ds-brand-soft-line);border-radius:var(--ds-radius-lg);align-items:flex-start;gap:12px;padding:18px;display:flex}.gamepad-test-panel__notice>svg{flex:none;width:24px;height:24px}.gamepad-test-panel__notice h3,.gamepad-test-panel__notice p{margin:0}.gamepad-test-panel__notice h3{font-size:var(--ds-text-lg);font-weight:var(--ds-weight-bold)}.gamepad-test-panel__notice p{color:var(--ds-brand-strong);font-size:var(--ds-text-sm);margin-top:4px;line-height:1.55}.gamepad-test-panel__connect{border:1px solid var(--ds-line);border-radius:var(--ds-radius-xl);background:linear-gradient(145deg,var(--ds-surface) 0,var(--ds-surface-soft) 100%);text-align:center;box-shadow:none;flex-direction:column;align-items:center;padding:32px 18px;display:flex}.gamepad-test-panel__connect-icon{border-radius:var(--ds-radius-xl);background:var(--ds-danger-soft);width:82px;height:82px;color:var(--ds-brand);place-items:center;display:grid;position:relative}.gamepad-test-panel__connect-icon>svg{width:48px;height:48px}.gamepad-test-panel__connect-icon span{border:4px solid var(--ds-surface);background:var(--ds-surface-muted);width:34px;height:34px;color:var(--ds-muted);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-7px;right:-8px}.gamepad-test-panel__connect-icon span svg{width:17px;height:17px}.gamepad-test-panel__connect h3{color:var(--ds-ink);font-size:var(--ds-text-xl);font-weight:var(--ds-weight-bold);margin:18px 0 0}.gamepad-test-panel__connect>p{color:var(--ds-subtle);font-size:var(--ds-text-md);margin:5px 0 0}.gamepad-test-panel__connect-hint{color:var(--ds-muted);font-size:var(--ds-text-xs);font-weight:var(--ds-weight-bold);justify-content:center;align-items:center;gap:9px;margin-top:20px;display:flex}.gamepad-test-panel__connect-step{align-items:center;gap:9px;display:inline-flex}.gamepad-test-panel__connect-step>span{border-radius:var(--ds-radius-md);background:var(--ds-danger-soft);width:25px;height:25px;color:var(--ds-brand);font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold);flex:none;place-items:center;display:grid}.gamepad-test-panel__connect-hint i{background:var(--ds-line-hover);width:24px;height:1px}.gamepad-test-panel__toolbar{border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);background:var(--ds-surface-soft);justify-content:space-between;gap:12px;min-width:0;padding:12px}.gamepad-test-panel__toolbar .UiSelect{width:min(100%,430px)}.gamepad-test-panel__device{min-width:0;padding-left:3px}.gamepad-test-panel__device span,.gamepad-test-panel__device strong,.gamepad-test-panel__progress-copy span,.gamepad-test-panel__progress-copy strong{display:block}.gamepad-test-panel__device span{color:var(--ds-success);font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold)}.gamepad-test-panel__device strong{color:var(--ds-ink);font-size:var(--ds-text-md);text-overflow:ellipsis;white-space:nowrap;margin-top:2px;overflow:hidden}.gamepad-test-panel__actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px}.gamepad-test-panel__progress-card{border:1px solid var(--ds-surface-muted);border-radius:var(--ds-radius-lg);background:var(--ds-surface);padding:13px 15px}.gamepad-test-panel__progress-copy{justify-content:space-between;gap:12px}.gamepad-test-panel__progress-copy strong{color:var(--ds-ink);font-size:var(--ds-text-sm)}.gamepad-test-panel__progress-copy span{color:var(--ds-subtle);font-size:var(--ds-text-2xs);margin-top:2px}.gamepad-test-panel__progress-copy b{color:var(--ds-brand);font-size:var(--ds-text-md)}.gamepad-test-panel__progress{border-radius:var(--ds-radius-pill);background:var(--ds-surface-muted);height:7px;margin-top:10px;overflow:hidden}.gamepad-test-panel__progress span{border-radius:inherit;background:linear-gradient(90deg,var(--ds-brand),var(--ds-brand-hover));height:100%;transition:width var(--ds-duration-fast) var(--ds-ease);display:block}.gamepad-test-panel__visual-wrap{border:1px solid var(--ds-line);border-radius:var(--ds-radius-xl);background:linear-gradient(145deg,var(--ds-surface) 0,var(--ds-surface-soft) 100%);min-width:0;padding:18px;overflow:hidden}.gamepad-test-panel__visual-hint{color:var(--ds-subtle);font-size:var(--ds-text-2xs);text-align:center;justify-content:center;align-items:center;gap:7px;margin:0 0 12px;line-height:1.45;display:flex}.gamepad-test-panel__visual-hint svg{width:17px;height:17px;color:var(--ds-brand);flex:none}.gamepad-test-panel__controller-svg{width:min(100%,520px);height:auto;margin:2px auto 0;display:block;overflow:visible}:where(.gamepad-test-panel__controller-svg text){fill:var(--ds-subtle);font-family:inherit;font-size:7px;font-weight:var(--ds-weight-bold);text-anchor:middle;pointer-events:none}.gamepad-test-panel__svg-outline,.gamepad-test-panel__svg-reference-ring,.gamepad-test-panel__svg-sensor{fill:none;stroke:#11182733;stroke-linecap:round;stroke-linejoin:round;stroke-width:5px}:where(.gamepad-test-panel__svg-control>rect,.gamepad-test-panel__svg-control>circle,.gamepad-test-panel__svg-control>path){fill:var(--ds-surface);stroke:#11182738;stroke-linecap:round;stroke-linejoin:round;stroke-width:5px;transition:fill var(--ds-duration-fast) var(--ds-ease),stroke var(--ds-duration-fast) var(--ds-ease)}.gamepad-test-panel__svg-control--tested>circle,.gamepad-test-panel__svg-control--tested>path,.gamepad-test-panel__svg-control--tested>rect{stroke:#22a06b}.gamepad-test-panel__svg-control--pressed>circle,.gamepad-test-panel__svg-control--pressed>path,.gamepad-test-panel__svg-control--pressed>rect{fill:var(--ds-brand);stroke:var(--ds-brand-hover)}.gamepad-test-panel__svg-shoulder-label{font-size:var(--ds-text-2xs)}.gamepad-test-panel__svg-control--green text{fill:#229d69}.gamepad-test-panel__svg-control--red text{fill:var(--ds-brand)}.gamepad-test-panel__svg-control--blue text{fill:#4b83d4}.gamepad-test-panel__svg-control--yellow text{fill:#a88622}.gamepad-test-panel__svg-face-label,.gamepad-test-panel__svg-system-label{font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold)}.gamepad-test-panel__svg-control--pressed text{fill:var(--ds-surface)}.gamepad-test-panel__svg-control--pressed .gamepad-test-panel__svg-system-label{fill:var(--ds-brand-hover)}.gamepad-test-panel__svg-home-icon path{fill:var(--ds-subtle)}.gamepad-test-panel__svg-control--pressed .gamepad-test-panel__svg-home-icon path{fill:var(--ds-surface)}.gamepad-test-panel__svg-system-label{letter-spacing:.015em}.gamepad-test-panel__svg-stick-track{fill:none;stroke:#11182733;stroke-width:5px}.gamepad-test-panel__svg-stick{fill:var(--ds-surface);stroke:#1118276b;stroke-width:5px;transition:fill var(--ds-duration-fast) var(--ds-ease),stroke var(--ds-duration-fast) var(--ds-ease),transform var(--ds-duration-fast) var(--ds-ease)}.gamepad-test-panel__svg-stick-button-label{fill:var(--ds-subtle);font-size:var(--ds-text-2xs)}.gamepad-test-panel__svg-control--tested .gamepad-test-panel__svg-stick-track{stroke:#22a06b}.gamepad-test-panel__svg-control--pressed .gamepad-test-panel__svg-stick{fill:var(--ds-brand);stroke:var(--ds-brand-hover)}.gamepad-test-panel__stick-readings{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:560px;margin:6px auto 0;display:grid}.gamepad-test-panel__stick-readings article{border:1px solid var(--ds-line);border-radius:var(--ds-radius-md);background:var(--ds-surface-soft);grid-template-columns:1fr auto;gap:2px 12px;padding:10px 12px;display:grid}.gamepad-test-panel__stick-readings span{color:var(--ds-muted);font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold)}.gamepad-test-panel__stick-readings strong{color:var(--ds-success);font-size:var(--ds-text-2xs)}.gamepad-test-panel__stick-readings small{color:var(--ds-subtle);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--ds-text-2xs);grid-column:1/-1}.gamepad-test-panel__stick-reading--offset strong{color:var(--ds-warning)}.gamepad-test-panel__details{overflow:hidden}.gamepad-test-panel__details summary{color:var(--ds-ink);cursor:pointer;grid-template-columns:1fr auto 20px;align-items:center;gap:12px;padding:15px;list-style:none;display:grid}.gamepad-test-panel__details summary::-webkit-details-marker{display:none}.gamepad-test-panel__details summary>span{font-size:var(--ds-text-sm);font-weight:var(--ds-weight-bold);align-items:center;gap:8px;display:flex}.gamepad-test-panel__details summary span svg{width:19px;height:19px;color:var(--ds-brand)}.gamepad-test-panel__details summary small,.gamepad-test-panel__section-heading p{color:var(--ds-subtle);font-size:var(--ds-text-2xs)}.gamepad-test-panel__details summary>svg{transition:transform var(--ds-duration-fast) var(--ds-ease)}.gamepad-test-panel__details[open]:not([data-closing]) summary>svg{transform:rotate(180deg)}.gamepad-test-panel__details-content{border-top:1px solid var(--ds-surface-muted);grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;padding:0 15px 15px;display:grid}.gamepad-test-panel__details-content>section{min-width:0;padding-top:15px}.gamepad-test-panel__section-heading{justify-content:space-between;gap:12px}.gamepad-test-panel__section-heading h3,.gamepad-test-panel__section-heading p{margin:0}.gamepad-test-panel__section-heading h3{color:var(--ds-ink);font-size:var(--ds-text-md);font-weight:var(--ds-weight-bold)}.gamepad-test-panel__section-heading p{margin-top:2px}.gamepad-test-panel__section-heading>span{border-radius:var(--ds-radius-pill);background:var(--ds-surface-muted);color:var(--ds-muted);font-size:var(--ds-text-2xs);font-weight:var(--ds-weight-bold);padding:4px 7px}.gamepad-test-panel__button-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}:where(.gamepad-test-panel__button-values>div){border:1px solid var(--ds-surface-muted);border-radius:var(--ds-radius-md);background:var(--ds-surface-soft);justify-content:space-between;align-items:center;gap:5px;padding:7px;display:flex}.gamepad-test-panel__button-values span{color:var(--ds-muted);font-size:var(--ds-text-2xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gamepad-test-panel__axis div>span,.gamepad-test-panel__button-values strong{color:var(--ds-ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:var(--ds-text-2xs)}.gamepad-test-panel__button-value--tested{border-color:var(--ds-success-line);background:var(--ds-success-soft)}.gamepad-test-panel__button-value--pressed{border-color:var(--ds-brand-soft-line);background:var(--ds-danger-soft)}.gamepad-test-panel__axis-list{gap:8px;margin-top:10px;display:grid}.gamepad-test-panel__axis>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.gamepad-test-panel__axis strong{color:var(--ds-muted);font-size:var(--ds-text-2xs)}.gamepad-test-panel__axis div>span{font-weight:var(--ds-weight-bold)}.gamepad-test-panel__axis-track{border-radius:var(--ds-radius-pill);background:var(--ds-surface-muted);height:6px;margin-top:5px;position:relative}.gamepad-test-panel__axis-track span{background:var(--ds-faint);width:1px;position:absolute;top:-2px;bottom:-2px;left:50%}.gamepad-test-panel__axis-track i{border:2px solid var(--ds-surface);background:var(--ds-brand);width:11px;height:11px;box-shadow:var(--ds-shadow-sm);border-radius:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.gamepad-test-panel__mapping-note{border-radius:var(--ds-radius-md);background:var(--ds-surface-soft);color:var(--ds-subtle);font-size:var(--ds-text-2xs);align-items:flex-start;gap:8px;margin:0;padding:10px 12px;line-height:1.5;display:flex}.gamepad-test-panel__mapping-note svg{width:17px;height:17px;color:var(--ds-muted);flex:none}.gamepad-test-panel__live-status{clip:rect(0,0,0,0);width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}@media (max-width:768px){.gamepad-test-panel__toolbar{flex-direction:column;align-items:stretch}.gamepad-test-panel__toolbar .UiSelect{width:100%}.gamepad-test-panel__actions{justify-content:stretch}.gamepad-test-panel__actions .UiButton{flex:160px}.gamepad-test-panel__details-content{grid-template-columns:1fr;gap:4px}}@media (max-width:640px){.gamepad-test-panel__visual-wrap{padding:14px 6px}.gamepad-test-panel__stick-readings{padding:0 8px}.gamepad-test-panel__details summary{grid-template-columns:1fr 20px}.gamepad-test-panel__details summary small{display:none}.gamepad-test-panel__button-values{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:480px){.gamepad-test-panel__heading-icon{width:42px;height:42px}.gamepad-test-panel__connect-hint{flex-direction:column;align-items:flex-start;width:fit-content;margin-inline:auto}.gamepad-test-panel__connect-hint i{display:none}.gamepad-test-panel__stick-readings{grid-template-columns:1fr}.gamepad-test-panel__button-values{grid-template-columns:repeat(2,minmax(0,1fr))}}}
