/* mini-matt-path3d 1.0.0 (APP-LOCAL, appmatt build 9): playground view-3d-path , every rule scoped under .mattx-path3d (prep-views150-build9.py). */
.mattx-path3d{--ink:#14171f;--ivory:#fdfcf6;--night:#0e1626;--navy:#122c4f;--gold:#ffc94a;--line:#2a3a58}
.mattx-path3d,.mattx-path3d *{box-sizing:border-box}
.mattx-path3d{margin:0;height:100%;background:var(--ivory);color:var(--ink);font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.mattx-path3d{display:flex;flex-direction:column;min-height:100%}
.mattx-path3d .bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 16px;background:var(--ivory);border-bottom:1px solid #d9d4c0}
.mattx-path3d .bar h1{font-size:1rem;margin:0 8px 0 0}
.mattx-path3d .bar .ver{font-weight:400;color:#4a5060}
.mattx-path3d .bar form{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mattx-path3d .bar label{font-size:.9rem}
.mattx-path3d .bar input[type=number]{width:5em;min-height:44px;font:inherit;padding:6px;border:1px solid #8a8f9c;border-radius:6px}
.mattx-path3d .bar select{min-height:44px;font:inherit;padding:6px;border:1px solid #8a8f9c;border-radius:6px;background:#fff}
.mattx-path3d .btn{font:inherit;min-height:44px;padding:8px 14px;border-radius:8px;border:1px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer}
.mattx-path3d .btn.primary{background:var(--navy);color:#fff}
.mattx-path3d .stage{position:relative;flex:1;min-height:60vh;background:linear-gradient(#3f8fd8,#8cc6ee 55%,#eaf4f8)}
[data-matt-mode=night] .mattx-path3d .stage{background:var(--night)}
.mattx-path3d #cv{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none}
.mattx-path3d .notice{margin:0;padding:8px 16px;background:#fff4d6;color:var(--ink);font-size:.9rem;border-bottom:1px solid #e8d9a8}
.mattx-path3d .fallback{position:absolute;inset:16px;display:flex;align-items:center;justify-content:center}
.mattx-path3d .fallback p{background:var(--ivory);color:var(--ink);padding:16px;border-radius:10px;max-width:28em}
.mattx-path3d .hint{position:absolute;left:16px;bottom:10px;margin:0;font-size:.8rem;color:#14171f;background:rgba(253,252,246,.85);border-radius:8px;padding:2px 8px;pointer-events:none}
.mattx-path3d .scrim{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:rgba(20,30,50,.18)}
[data-matt-mode=night] .mattx-path3d .scrim{background:rgba(5,9,18,.35)}
.mattx-path3d .card{width:100%;max-width:420px;background:#f4efe0;border:1px solid #b9b298;border-radius:14px;padding:12px;box-shadow:0 10px 30px rgba(20,23,31,.25)}
[data-matt-mode=night] .mattx-path3d .card{background:#1a2338;border-color:#3a4a6a;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.mattx-path3d .cardTop{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.mattx-path3d .kind{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;color:#6b4700}
[data-matt-mode=night] .mattx-path3d .kind{color:var(--gold)}
.mattx-path3d .x{min-width:44px;min-height:44px;border:1px solid #b9b298;border-radius:8px;background:#fdfcf6;color:#14171f;font-size:1.4rem;cursor:pointer}
.mattx-path3d .read{background:var(--ivory);color:var(--ink);border-radius:10px;padding:12px}
.mattx-path3d .read h3{margin:0 0 6px;font-size:1.05rem}
.mattx-path3d .read p{margin:0 0 6px}
.mattx-path3d .cite{font-size:.82rem;color:#3c4250;word-break:break-word}
.mattx-path3d .pieces{background:var(--ivory);color:var(--ink);padding:12px 16px;border-top:1px solid #d9d4c0}
.mattx-path3d .pieces h2{font-size:1rem;margin:0 0 8px}
.mattx-path3d .pieces ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.mattx-path3d .pieces .btn{text-align:left}
.mattx-path3d .voiceHost{background:var(--ivory);padding:0 16px}
.mattx-path3d .contact{margin:0;padding:8px 16px;background:#eef4ff;color:var(--ink);border-bottom:2px solid #3b5bb5;font-size:.95rem}
.mattx-path3d .btn:focus-visible,.mattx-path3d input:focus-visible,.mattx-path3d select:focus-visible,.mattx-path3d .x:focus-visible{outline:3px solid #b07d00;outline-offset:2px}
.mattx-path3d .foot a{color:#2b3f8a;display:inline-block;min-height:44px;line-height:44px}
.mattx-path3d .foot{padding:10px 16px;background:var(--ivory);color:var(--ink);font-size:.82rem;border-top:1px solid #d9d4c0}
.mattx-path3d .foot p{margin:0}
.mattx-path3d .m3-labels{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:1}
.mattx-path3d .m3-label{position:absolute;left:0;top:0;display:none;white-space:nowrap;font:600 14px/18px system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;padding:3px 8px;border:1px solid #7a5a2e;border-radius:999px;background:rgba(253,252,246,.96);color:#14171f;box-shadow:0 1px 3px rgba(20,23,31,.35);will-change:transform}
.mattx-path3d .m3-labels.m3-wide .m3-label{font-size:15px;line-height:19px}
.mattx-path3d .m3-label.m3-sel{border:2px solid #b07d00;padding:2px 7px}
.mattx-path3d [hidden]{display:none!important}
