.pp-court{display:block;width:100%;height:auto;color:var(--pp-ink,var(--color-text,#111));--pp-floor:var(--color-surface,#fff);--pp-o:var(--color-text,#111);--pp-d:var(--color-defense,#c92a2a);--pp-accent:var(--accent,#ffe500)}.pp-court [data-line]{stroke-width:.16;stroke:color-mix(in srgb,currentColor 42%,transparent)}.pp-court [data-line=boundary]{fill:var(--pp-floor)}.pp-court [data-line=lane]{fill:color-mix(in srgb,currentColor 4%,transparent)}.pp-piece__body{fill:var(--pp-floor);stroke:var(--pp-o);stroke-width:.26}.pp-piece__hit{fill:transparent;stroke:none}.pp-piece__label{font-family:var(--font-ui,system-ui,sans-serif);font-size:1.7px;font-weight:700;text-anchor:middle;fill:var(--pp-o);pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pp-piece--D .pp-piece__label{fill:var(--pp-d);font-size:2.3px;font-weight:800}.pp-piece__sub{font-size:1.35px}.pp-piece--ghost{opacity:.22}.pp-ball-ring{fill:none;stroke:var(--pp-accent);stroke-width:.5}.pp-select-ring{fill:none;stroke:currentColor;stroke-width:.18;stroke-dasharray:.5 .35}.pp-ball{fill:#e8772e;stroke:currentColor;stroke-width:.12}.pp-action__line,.pp-bar{fill:none;stroke:currentColor;stroke-width:.3;stroke-linecap:round;stroke-linejoin:round}.pp-cap{fill:currentColor;stroke:currentColor;stroke-width:.1;stroke-linejoin:round}.pp-bar{stroke-width:.36}.pp-stroke--dashed .pp-action__line{stroke-dasharray:.9 .6}.pp-stroke--dotted .pp-action__line{stroke-dasharray:.01 .65;stroke-width:.4}.pp-action--ghost{opacity:.25}.pp-action__halo{fill:none;stroke:var(--pp-accent);stroke-width:1.1;stroke-linecap:round;opacity:.55}.pp-action.is-flagged .pp-action__line{stroke:var(--pp-d)}.pp-note{font-family:var(--font-ui,system-ui,sans-serif);font-size:1.6px;fill:var(--color-text-muted,#666);text-anchor:middle}.pp-zone{fill:color-mix(in srgb,var(--pp-accent) 25%,transparent);stroke:none}.pp-arrow{color:var(--color-text-muted,#666)}.pp{display:grid;grid-gap:12px;gap:12px}.pp-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pp-btn{display:inline-grid;place-items:center;width:44px;height:44px;border:1px solid var(--color-line,#e3e1d9);border-radius:6px;background:var(--color-surface,#fff);color:var(--color-text,#111);cursor:pointer}.pp-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}.pp-btn--play{background:var(--accent,#ffe500);color:var(--on-accent,#0a0a0a);border-color:var(--on-accent,#0a0a0a)}.pp-btn--play svg{fill:currentColor}.pp-btn:disabled{opacity:.4;cursor:default}.pp-scrub{flex:1 1 160px;min-height:44px;accent-color:var(--color-text,#111)}.pp-step{font-size:13px;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;min-width:9ch}.pp-caption,.pp-step{color:var(--color-text-muted,#666)}.pp-caption{margin:0;font-size:14px}.pe{--pe-line:var(--color-line,#e3e1d9);--pe-surface:var(--color-surface,#fff);--pe-text:var(--color-text,#111);--pe-muted:var(--color-text-muted,#66655f);--pe-hover:var(--color-hover,#f0efe9);--pe-accent:var(--accent,#ffe500);--pe-on-accent:var(--on-accent,#0a0a0a);--pe-danger:var(--color-defense,#c92a2a);display:grid;grid-gap:12px;gap:12px;color:var(--pe-text)}.pe-toolbar{justify-content:space-between;gap:8px}.pe-toolbar,.pe-tools{display:flex;flex-wrap:wrap;align-items:center}.pe-tools{gap:4px}.pe-tool{display:inline-flex;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:0 12px;border:1px solid var(--pe-line);border-radius:6px;background:var(--pe-surface);color:inherit;font:inherit;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation;transition:background-color .12s ease,border-color .12s ease}.pe-tool svg{width:20px;height:20px;flex:none}.pe-tool--icon{justify-content:center;padding:0}.pe-tool[aria-pressed=true]{background:var(--pe-accent);color:var(--pe-on-accent);border-color:var(--pe-on-accent);box-shadow:2px 2px 0 var(--pe-on-accent)}.pe-tool:disabled{color:var(--pe-muted);opacity:.5;cursor:default}@media (hover:hover){.pe-btn:not(.pe-btn--primary):hover,.pe-chip:not([aria-pressed=true]):hover,.pe-tool:not([aria-pressed=true]):not(:disabled):hover{background:var(--pe-hover)}}.pe-divider{width:1px;height:28px;margin:0 4px;background:var(--pe-line)}.pe-body{display:grid;grid-gap:12px;gap:12px;align-items:start}@media (min-width:900px){.pe-body{grid-template-columns:minmax(0,1fr) 260px}}.pe-stage{position:relative;padding:8px;background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:var(--radius,8px)}.pe-court{max-height:min(66dvh,720px);touch-action:none;-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:crosshair}.pe[data-tool=select] .pe-court{cursor:default}.pe-court *{pointer-events:none}.pe-draft{opacity:.6}.pe-empty{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;grid-gap:12px;gap:12px;color:var(--pe-muted);text-align:center}.pe-empty p{margin:0}.pe-notice{min-height:1.4em;margin:6px 4px 0;font-size:14px;color:var(--pe-muted)}.pe-side{display:grid;grid-gap:12px;gap:12px}.pe-card{display:grid;grid-gap:8px;gap:8px;padding:14px;background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:var(--radius,8px)}.pe-card__title{margin:0;font-weight:600;display:flex;align-items:center;gap:8px}.pe-card__hint{margin:0;font-size:14px;color:var(--pe-muted)}.pe-card__row{gap:8px}.pe-card__row,.pe-kinds{display:flex;flex-wrap:wrap}.pe-kinds{gap:4px}.pe-btn{min-height:44px;padding:0 14px;border:1px solid var(--pe-line);border-radius:6px;background:var(--pe-surface);color:inherit;font:inherit;font-size:14px;font-weight:600;cursor:pointer;touch-action:manipulation}.pe-btn--primary{background:var(--pe-accent);color:var(--pe-on-accent);border-color:var(--pe-on-accent);box-shadow:2px 2px 0 var(--pe-on-accent)}.pe-btn--danger{color:var(--pe-danger)}.pe-chip{min-width:44px;min-height:44px;padding:0 12px;border:1px solid var(--pe-line);border-radius:999px;background:var(--pe-surface);color:inherit;font:inherit;font-size:14px;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;cursor:pointer;touch-action:manipulation}.pe-chip[aria-pressed=true]{background:var(--pe-text);color:var(--pe-surface);border-color:var(--pe-text)}.pe-chip--add{border-style:dashed;color:var(--pe-muted)}.pe-problems ul{margin:0;padding:0;list-style:none;display:grid;grid-gap:4px;gap:4px}.pe-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--pe-hover);font-size:12px}.pe-problem{width:100%;min-height:44px;padding:8px 10px;border:0;border-left:3px solid var(--pe-line);border-radius:4px;background:transparent;color:inherit;font:inherit;font-size:14px;text-align:left;cursor:pointer}.pe-problem[data-severity=error]{border-left-color:var(--pe-danger)}.pe-steps{display:grid;grid-gap:8px;gap:8px;padding:10px;background:var(--pe-surface);border:1px solid var(--pe-line);border-radius:var(--radius,8px)}.pe-steps__chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.pe-steps__empty{font-size:14px;color:var(--pe-muted);padding:0 6px}.pe-steps__detail{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:8px;border-top:1px solid var(--pe-line)}.pe-field{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--pe-muted)}.pe-field input,.pe-field select{min-height:44px;padding:0 10px;border:1px solid var(--pe-line);border-radius:6px;background:var(--pe-surface);color:var(--pe-text);font:inherit;font-size:16px}.pe-field--note{flex:1 1 220px}.pe-field--note input{width:100%}.ps{display:grid;grid-gap:var(--space-4,16px);gap:var(--space-4,16px);max-width:1200px;padding:var(--space-6,24px) var(--gutter,24px) 64px;overscroll-behavior:none}.ps .back{margin-bottom:0}.ps-screen{display:grid;grid-gap:var(--space-4,16px);gap:var(--space-4,16px)}.ps-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 24px}.ps-title{display:grid;grid-gap:4px;gap:4px;min-width:0}.ps-title .dash-title{margin:0;overflow-wrap:anywhere}.ps-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ps-status{margin:0 8px 0 0;font-size:13px;color:var(--color-text-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ps-status[data-status=conflict],.ps-status[data-status=error]{color:var(--color-defense,#c92a2a)}.ps-viewer{padding:var(--space-4,16px);background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius,8px)}.ps-overlay{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:16px;background:color-mix(in srgb,var(--color-bg) 70%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.ps-drawer,.ps-sheet{display:grid;grid-gap:12px;gap:12px;padding:16px;background:var(--color-surface);border:1px solid var(--color-line);border-radius:var(--radius,8px);box-shadow:0 18px 48px rgb(0 0 0/.18)}.ps-sheet{width:min(860px,100%);max-height:100%;overflow:auto}.ps-sheet .pp-court{max-height:64dvh}.ps-sheet__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.ps-sheet__title{margin:0;font-weight:600}.ps-drawer{position:fixed;z-index:40;top:12px;right:12px;bottom:12px;width:min(340px,calc(100vw - 24px));align-content:start;overflow:auto;animation:ps-in .16s ease-out both}@keyframes ps-in{0%{translate:12px 0;opacity:0}}@media (prefers-reduced-motion:reduce){.ps-drawer{animation:none}}.ps-versions{margin:0;padding:0;list-style:none;display:grid}.ps-version{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:8px 0;border-top:1px solid var(--color-line)}.ps-version__n{margin:0;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.ps-muted{margin:0;font-size:13px;color:var(--color-text-muted)}