.seed-demo { position: relative; margin: 32px 0 0; padding: 24px 20px 14px; max-width: 440px; border: 1px solid var(--line); border-radius: 12px; background: #100d21; text-align: center; }
.seed-demo figcaption { color: var(--muted); font-size: 12px; }
.demo-board { display: block; width: 100%; height: auto; overflow: visible; }
.demo-edge { stroke: #504271; stroke-width: 2; }
.demo-wave { stroke: var(--yellow); stroke-width: 2.5; }
.demo-pulse { fill: #fff5b3; }
.demo-node { cursor: pointer; outline: none; }
.demo-node:focus-visible .demo-outline { stroke: #fff; stroke-width: 4; }
.demo-hit { fill: transparent; }
.demo-outline { fill: var(--background); stroke: var(--yellow); stroke-width: 2.5; }
.demo-fill { fill: var(--yellow); }
.demo-hop { fill: var(--yellow); pointer-events: none; }
.demo-stock { font-size: 12px; color: var(--muted); margin: -16px 0 20px; }
.demo-flow { width: min(240px, 100%); min-height: 56px; border: 2px solid var(--yellow); border-radius: 32px; background: transparent; color: var(--yellow); font-weight: 700; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.demo-flow[aria-pressed="true"] { background: var(--yellow); color: var(--background); box-shadow: 0 0 0 5px #ffe2461c; }
.demo-flow:disabled { opacity: .4; cursor: default; }
.demo-status { min-height: 48px; margin: 18px 0 4px; font-size: 13px; color: var(--text); line-height: 1.6; }
.demo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; }
.demo-actions button { min-height: 44px; padding: 7px 0; border: 0; background: none; color: var(--muted); font-size: 12px; cursor: pointer; }
.demo-actions button:hover { color: var(--yellow); }
.demo-actions button:disabled { opacity: .5; cursor: default; }
.demo-pointer { position: absolute; left: 0; top: 0; width: 28px; height: 34px; pointer-events: none; z-index: 1; }
.demo-pointer svg { position: relative; width: 100%; height: 100%; fill: #fff; stroke: #100d21; stroke-width: 1.7; }
.demo-click-ring { position: absolute; width: 32px; height: 32px; border: 2px solid #fff; border-radius: 50%; left: -13px; top: -13px; opacity: 0; }
.seed-demo[data-phase="plant"] .demo-click-ring, .seed-demo[data-phase="hold"] .demo-click-ring { opacity: .6; }
.seed-demo[data-mode="manual"] .demo-pointer { display: none; }
.full-rules-link { display: flex; align-items: center; gap: 12px; min-height: 54px; margin: 14px 0 0 48px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.full-rules-link .arrow-icon { flex-shrink: 0; }
.rules-tools dl { margin: 26px 0; }
.rules-tools dt { margin: 24px 0 8px; font-size: 17px; }
.rules-tools dd { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .seed-demo { margin: 26px auto 0; padding: 20px 12px 12px; } }
