:root{--bg:#101418;--panel:#1a2027;--ink:#e8ecf1;--muted:#93a0ad;--accent:#ffb703;--good:#2ecc71;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{background:var(--bg);height:100%;color:var(--ink);margin:0}#app{height:100dvh}html,body{overscroll-behavior:none}.app{flex-direction:column;gap:.75rem;height:100%;padding:.75rem 1rem;display:flex}.app header h1{letter-spacing:.02em;margin:0;font-size:1.4rem}.app header .sub{color:var(--muted);margin:.1rem 0 0;font-size:.85rem}.stage{background:#0b0e11;border-radius:16px;flex:1;min-height:0;overflow:hidden}.stage canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;display:block}.menu,.summary{flex-direction:column;flex:1;justify-content:center;align-items:flex-start;gap:1rem;padding:1rem;display:flex}.choices{flex-wrap:wrap;gap:.75rem;display:flex}button{font:inherit;background:var(--panel);color:var(--ink);cursor:pointer;touch-action:manipulation;border:2px solid #0000;border-radius:14px;min-height:44px;padding:.9rem 1.6rem;font-size:1.05rem}button:hover{border-color:var(--accent)}button.primary{background:var(--accent);color:#14181c;font-weight:650}.settings{flex-direction:column;gap:.4rem;display:flex}.setting{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.setting-label{min-width:6.5rem;color:var(--muted);font-size:.9rem}button.segment{border-color:#2a333c;padding:.5rem 1rem;font-size:.95rem}button.segment[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#232b33;font-weight:650}.summary{animation:.9s ease-out both summary-in}.summary--still{animation:none}@keyframes summary-in{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.hint{color:var(--muted)}.explore{flex-direction:column;flex:1;gap:.75rem;min-height:0;padding:.25rem .25rem 1.5rem;display:flex;overflow-y:auto}.explore-intro{color:var(--muted);margin:0}.explore-controls{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.explore-controls label{color:var(--muted);font-size:.9rem}.explore-controls input[type=search]{font:inherit;background:var(--panel);min-height:44px;color:var(--ink);border:2px solid #2a333c;border-radius:12px;min-width:14rem;padding:.5rem .9rem}.explore-controls input[type=search]:focus-visible{outline:3px solid var(--accent);outline-offset:2px}button.chip{border-color:#2a333c;border-radius:999px;padding:.5rem 1rem;font-size:.95rem}button.chip[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:#232b33;font-weight:650}.count{color:var(--muted);margin:0;font-size:.9rem}.empty-hint{color:var(--muted);margin:1rem 0}ul.cards{grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:1rem;margin:0;padding:0;list-style:none;display:grid}button.card{text-align:left;flex-direction:column;align-items:stretch;gap:.5rem;width:100%;height:100%;padding:.75rem;display:flex}.card-name{font-size:1.1rem;font-weight:700}.card-summary{color:var(--muted);margin:0;font-size:.92rem;line-height:1.35}.card-tags{color:var(--accent);font-size:.85rem}.preview{background:radial-gradient(circle at 30% 25%,#123049,#08161f 70%);border-radius:12px;height:7.5rem;display:block;position:relative;overflow:hidden}.preview span{display:block;position:absolute}.preview--stars .p1,.preview--stars .p2,.preview--stars .p3{background:var(--accent);clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);width:1.6rem;height:1.6rem}.preview--stars .p1{top:22%;left:12%}.preview--stars .p2{top:48%;left:38%;transform:scale(.8)}.preview--stars .p3{top:14%;left:58%;transform:scale(.65)}.preview--stars .p4{border:2px dashed var(--good);clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);opacity:.8;width:2.3rem;height:2.3rem;bottom:16%;right:10%}.preview--beat .p1,.preview--beat .p2,.preview--beat .p3{opacity:.55;background:#2dd4bf;border-radius:50%;width:.7rem;height:.7rem;top:55%}.preview--beat .p1{left:14%}.preview--beat .p2{opacity:.75;left:34%}.preview--beat .p3{opacity:.95;left:54%}.preview--beat .p4{border:2px solid var(--accent);background:#ffb70326;border-radius:.6rem;width:2.4rem;height:2.4rem;top:40%;right:12%}.preview--breathe .p1{background:radial-gradient(circle at 40% 35%,#99f6e4,#0e7490 75%);border-radius:50%;width:3.2rem;height:3.2rem;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 2.5rem 1rem #2dd4bf59}.preview--breathe .p2,.preview--breathe .p3,.preview--breathe .p4{background:#fcd34d;border-radius:50%;width:.5rem;height:.5rem}.preview--breathe .p2{top:26%;left:24%}.preview--breathe .p3{top:38%;right:20%}.preview--breathe .p4{bottom:18%;left:34%}.preview--body .p1{background:#c68642;border-radius:50%;width:1.5rem;height:1.5rem;top:14%;left:50%;transform:translate(-50%)}.preview--body .p2{background:#7c5cff;border-radius:.8rem;width:2.2rem;height:3rem;top:42%;left:50%;transform:translate(-50%)}.preview--body .p3,.preview--body .p4{background:#fcd34d;border-radius:50%;width:.85rem;height:.85rem;box-shadow:0 0 0 3px #fcd34d59}.preview--body .p3{top:30%;left:22%}.preview--body .p4{top:52%;right:22%}.menu-head{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.menu-head .menu-title{margin:0;font-size:1.25rem}button.back{border-color:#2a333c;border-radius:999px;padding:.5rem 1rem;font-size:.95rem}
