/* 兩頁共用：只放 Demo 控制台、提示、無障礙等跟視覺風格無關的東西。各頁風格在 app/app.css、prime/prime.css */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
[hidden] { display: none !important; }
.is-out { display: none !important; }
.demo { position: fixed; right: 12px; bottom: 88px; z-index: 60; width: 280px; max-width: calc(100vw - 24px); border-radius: 12px; font: 13px/1.5 system-ui, "Noto Sans TC", sans-serif; color: #fff; background: rgba(24, 24, 30, .95); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.demo summary { list-style: none; padding: 10px 14px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.demo summary::-webkit-details-marker { display: none; }
.demo summary span { color: #ffd34d; font-weight: 500; }
.demo-b { padding: 0 14px 14px; display: grid; gap: 10px; }
.demo-b h6 { font-size: 12px; color: rgba(255, 255, 255, .6); font-weight: 500; }
.demo-g { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-g button { font: inherit; font-size: 12.5px; color: #fff; padding: 5px 9px; border-radius: 8px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); cursor: pointer; }
.demo-g button.on { background: #ffd34d; color: #222; border-color: #ffd34d; font-weight: 700; }
.demo-info { font-size: 12px; color: rgba(255, 255, 255, .75); }
.demo-info b { color: #9ff; }
.toast { position: fixed; left: 50%; top: 96px; z-index: 70; transform: translate(-50%, -16px); opacity: 0; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px; font: 600 14px/1.5 system-ui, "Noto Sans TC", sans-serif; color: #fff; background: rgba(24, 24, 30, .95); transition: .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
