#copper-playground-host { --play-copper:#9a522e; }
.playground-intro { display:flex; align-items:center; gap:12px; background:#eef6f1; padding:14px 18px; border-radius:10px; color:#426856; }
.playground-intro p { margin:0; font-size:13px; line-height:1.8; }
.playground-live-dot { flex:none; width:9px; height:9px; border-radius:50%; background:#439566; box-shadow:0 0 0 5px #43956612; }
.playground-message { min-height:1.5em; font-size:13px; color:#37694e; margin:18px 0; }
.playground-error { color:#a34232; }
.playground-empty { display:flex; gap:8px; flex-direction:column; border:1px dashed #c6d7cc; border-radius:12px; padding:28px; color:#678273; margin-bottom:28px; }
.playground-empty strong { color:#375f48; }
.playground-empty span { font-size:13px; }
.playground-examples { margin:30px 0; }
.playground-examples h2 { font-size:18px; margin-bottom:18px; }
.playground-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.playground-card { min-width:0; padding:20px; display:flex; flex-direction:column; align-items:flex-start; border:1px solid #dce7df; border-radius:11px; background:#fff; }
.playground-card.selected { border-color:#ac7b51; box-shadow:0 0 0 2px #ae7d4e13; }
.playground-card-protocol { color:var(--play-copper); font:600 11px var(--mono,monospace); letter-spacing:.01em; }
.playground-card h3 { font-size:15px; margin:12px 0 8px; color:#284c3b; }
.playground-card p { margin:0 0 18px; font-size:12px; line-height:1.8; color:#6c8274; flex:1; }
.playground-card .button { margin-top:auto; }
.playground-running { padding:26px; border:1px solid #d6e3da; border-radius:14px; background:#fff; margin:20px 0 30px; }
.playground-running-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.playground-running h2 { margin:8px 0; font-size:23px; }
.playground-state { font-size:11px; padding:7px 11px; border-radius:20px; color:#8a6535; background:#fbf1df; }
.playground-state.connected { color:#33764d; background:#e9f4ed; }
.playground-flow { display:grid; grid-template-columns:1fr 1fr 1fr; margin:22px 0; padding:22px 0; background:#f7faf7; border-radius:10px; }
.playground-flow > div { position:relative; min-width:0; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:9px; text-align:center; padding:12px; }
.playground-flow strong { font-size:14px; color:#365d46; }
.playground-flow small { font-size:11px; color:#75907f; }
.playground-copper { border-left:1px solid #dfe9df; border-right:1px solid #dfe9df; }
.playground-copper > strong { color:var(--play-copper); font-size:25px; }
.playground-proof { font-size:10px; color:#849684; line-height:1.8; }
.playground-flow-arrow { position:absolute; left:-8px; color:#87a78c; background:#f7faf7; padding:4px 0; }
.playground-machine-drawing { position:relative; height:66px; width:100px; border:2px solid #91ab99; border-radius:8px 8px 3px 3px; background:#e5eee6; }
.playground-machine-screen { position:absolute; left:12px; top:12px; width:25px; height:32px; border:1px solid #91ab99; background:#f9fcf9; overflow:hidden; }
.playground-machine-screen i { position:absolute; bottom:0; left:0; right:0; background:#b17c4e; transition:height 1s ease; }
.playground-gear { display:block; position:absolute; right:15px; top:15px; font-size:28px; line-height:1; color:#73947b; animation:playground-turn 5s linear infinite; }
.playground-machine-base { position:absolute; left:-6px; right:-6px; bottom:-7px; height:7px; border-radius:3px; background:#91ab99; }
.playground-values { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:15px; padding:8px 0; }
.playground-values > div { min-width:0; padding:12px 15px; border:1px solid #e6ede7; border-radius:8px; overflow-wrap:anywhere; }
.playground-values span { display:block; color:#809381; font-size:10px; margin-bottom:8px; }
.playground-values strong { font-size:23px; color:#315741; letter-spacing:-.03em; }
.playground-values strong small { font-size:12px; color:#8b9b84; letter-spacing:0; }
.playground-trend { display:block; height:55px; width:100%; color:#7b9c7d; margin-top:8px; }
.playground-controls { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:22px 0 14px; }
.playground-controls .button { white-space:normal; line-height:1.5; max-width:100%; }
.playground-details { margin-top:20px; font-size:11px; color:#718572; }
.playground-details summary { cursor:pointer; color:#557551; }
.playground-details dl { display:grid; grid-template-columns:130px minmax(0,1fr); gap:10px 18px; margin:18px 0 0; }
.playground-details dt { color:#849180; }
.playground-details dd { margin:0; overflow-wrap:anywhere; }
@keyframes playground-turn { to { transform:rotate(360deg); } }
@media(max-width:1100px) { .playground-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) { .playground-grid { grid-template-columns:minmax(0,1fr); } .playground-running { padding:17px; } .playground-running-heading { align-items:flex-start; flex-direction:column; gap:6px; } .playground-flow { grid-template-columns:minmax(0,1fr); gap:12px; } .playground-copper { border:0; border-top:1px solid #dfe9df; border-bottom:1px solid #dfe9df; padding:22px!important; } .playground-flow-arrow { display:none; } .playground-details dl { grid-template-columns:minmax(0,1fr); gap:6px; } .playground-details dd { margin-bottom:8px; } .playground-values strong { font-size:20px; } }
@media(prefers-reduced-motion:reduce) { .playground-gear { animation:none; } .playground-machine-screen i { transition:none; } }

[data-playground-active] { scroll-margin-top:100px; }
