/* Phần khung chung của bản demo Sở / Trường (giao diện từng màn nằm trong từng trang, sinh từ canvas). */
body.dc-mobile { background: #E5E9F0 !important; }
body { padding-bottom: 72px; }   /* chừa chỗ cho thanh "‹ Chọn vai", không che nội dung cuối màn */
body.dc-mobile #dc-root > div:first-child { width: 100% !important; max-width: 390px; }   /* khung 390px co lại ở máy 360px */
body.dc-mobile #dc-root { width: 100%; max-width: 390px; margin: 0 auto; box-shadow: 0 0 0 1px #D5DCE6, 0 12px 40px rgba(16, 24, 40, .12); }

.dc-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  background: rgba(19, 35, 58, .92); color: #FFFFFF; border-radius: 999px; padding: 6px 14px 6px 6px;
  font: 600 13px/1.2 Poppins, 'Be Vietnam Pro', system-ui, sans-serif; box-shadow: 0 6px 20px rgba(16, 24, 40, .25);
}
.dc-bar a { color: #13233A; background: #FFFFFF; border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.dc-bar a:hover { background: #E8EFFE; color: #13233A; }
.dc-bar a:focus-visible { outline: 3px solid #5BB0FF; outline-offset: 2px; }

#dc-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #13233A; color: #FFFFFF; border-radius: 12px; padding: 10px 16px; max-width: calc(100vw - 32px);
  font: 500 14px/1.4 Poppins, 'Be Vietnam Pro', system-ui, sans-serif; transition: opacity .2s, transform .2s;
}
#dc-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { #dc-toast { transition: none; } }
