* { box-sizing:border-box; }
:root { color-scheme:dark; font-family:Inter,"Noto Sans TC",system-ui,sans-serif; background:#050b17; }
html,body { width:100%; min-width:0; min-height:100%; margin:0; }
body { color:#edf3ff; background:#050b17; }
button,input { font:inherit; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.demo-toolbar { position:sticky; z-index:10; top:0; display:grid; grid-template-columns:minmax(180px,1fr) auto minmax(360px,1fr); align-items:center; gap:20px; min-height:70px; padding:10px 18px; border-bottom:1px solid #1a4160; background:#050d1beF; box-shadow:0 12px 34px #0007; backdrop-filter:blur(18px); }
.demo-brand { display:flex; align-items:center; gap:10px; color:inherit; text-decoration:none; }
.demo-brand img { width:45px; height:29px; }
.demo-brand span { display:grid; gap:3px; }
.demo-brand em { color:#4bdcff; font:750 10px/1 ui-monospace,monospace; letter-spacing:.12em; }
.demo-brand b { font-size:15px; }
.demo-state { display:flex; align-items:center; gap:8px; color:#94a5c4; font-size:11px; font-weight:750; }
.demo-state i { width:8px; height:8px; border-radius:50%; background:#b9f24a; box-shadow:0 0 0 6px #b9f24a18; }
.demo-toolbar nav { display:flex; justify-content:flex-end; align-items:center; gap:9px; }
.demo-toolbar nav a,.demo-toolbar nav button { display:inline-flex; align-items:center; justify-content:center; min-height:40px; border:1px solid #265273; border-radius:999px; padding:9px 14px; color:#dbe8ff; background:#091426; text-align:center; text-decoration:none; font-size:12px; font-weight:800; line-height:1.2; white-space:nowrap; cursor:pointer; }
.demo-toolbar nav .toolbar-primary { color:#07111e; border-color:#b9f24a; background:#b9f24a; }
.demo-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,28vw); min-height:calc(100vh - 70px); }
.deck-pane { min-width:0; min-height:0; padding:10px; background:#000; }
.deck-pane iframe { display:block; width:100%; height:calc(100vh - 90px); min-height:620px; border:0; background:#000; }
.response-pane { min-width:0; min-height:0; border-left:1px solid #1a4160; background:#071226; }
.response-pane iframe { display:block; width:100%; height:calc(100vh - 70px); min-height:620px; border:0; background:#071226; }
@media (max-width:1000px) {
  .demo-toolbar { grid-template-columns:1fr auto; }
  .demo-state { display:none; }
  .demo-layout { grid-template-columns:1fr; }
  .deck-pane iframe { height:min(72vw,720px); min-height:420px; }
  .response-pane { border-top:1px solid #1a4160; border-left:0; }
  .response-pane iframe { height:900px; min-height:0; }
}
@media (max-width:620px) {
  .demo-toolbar { position:relative; grid-template-columns:1fr; padding:12px; }
  .demo-toolbar nav { justify-content:flex-start; flex-wrap:wrap; }
  .demo-brand b { font-size:13px; }
  .demo-layout { min-height:0; }
  .deck-pane { padding:0; }
  .deck-pane iframe { height:62vw; min-height:260px; }
  .response-pane iframe { height:820px; }
}
@media (prefers-reduced-motion:reduce) { * { animation:none!important; } }
