/* 示范版 corner tag (demo build only): small, out of the way, on paper like the app; not a pill. */
.demo-tag { position: fixed; left: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 0.2rem;
  background: #1B2330; color: #fff; font: 600 15px/1 -apple-system, "PingFang SC", "Noto Sans CJK SC", sans-serif;
  padding: 0 0.3rem 0 0.7rem; border-top-right-radius: 6px; min-height: 36px; opacity: 0.92; }
.demo-tag b { font-weight: 700; letter-spacing: 0.05em; }
.demo-tag a.home { text-decoration: none; padding-left: 0; }
.demo-tag a, .demo-tag button { color: #fff; background: none; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px;
  padding: 0 0.5rem; min-height: 36px; display: inline-flex; align-items: center; cursor: pointer; }
.demo-tag button[data-sure] { background: #2456E0; text-decoration: none; border-radius: 4px; }
.demo-fail { margin: 3rem auto; max-width: 30rem; font-size: 1.2rem; text-align: center; }
/* 一课一练: the teacher pages are long and scroll, so a corner tag would sit on a button somewhere: there it is a slim strip
   at the top of the page instead, in the flow (it covers nothing). Hidden under the 上课讲解 board, which is for the class. */
.demo-tag.t { position: static; width: 100%; border-radius: 0; opacity: 1; padding: 0 0.6rem; }
body:has(.board) .demo-tag { display: none; }
