/* sim-assign.css — 🏁 «Tu profe te abrió una simulación» (js/sim-assign.js, 2026-10-30): one calm card on the kid's
   home, the exam's sober colours (petrol ink, seal red, paper) with Profe Fer, big buttons, 360 px wide phones. */
.sa-ov {
  position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 47, 51, 0.62);
  animation: sa-fade 0.22s ease-out both;
}
.sa-card {
  position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fbf6ea; color: #0f2f33; border-radius: 22px; padding: 22px 20px 18px; text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); border: 3px solid #e2c56c;
  font-family: 'Baloo 2', 'Noto Sans', system-ui, sans-serif;
  animation: sa-pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}
.sa-x {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(15, 47, 51, 0.08); color: #0f2f33; font-size: 20px; cursor: pointer;
}
.sa-x:focus-visible, .sa-go:focus-visible, .sa-later:focus-visible { outline: 3px solid #9e2a2b; outline-offset: 3px; }
.sa-art { display: flex; justify-content: center; margin: 2px 0 6px; }
.sa-art img { height: 150px; width: auto; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
.sa-kick { margin: 0; font-size: 15px; font-weight: 700; color: #9e2a2b; letter-spacing: 0.01em; }
.sa-name { margin: 2px 0 8px; font-size: 26px; line-height: 1.15; font-weight: 800; }
.sa-line { margin: 0 0 10px; font-size: 16px; line-height: 1.35; color: #2c4a4e; }
.sa-more { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #8a6d1c; }
.sa-go {
  display: flex; align-items: center; justify-content: center; min-height: 58px; margin: 6px 0 8px; border-radius: 16px;
  background: #f2c341; color: #3b2a05; font-size: 20px; font-weight: 800; text-decoration: none;
  box-shadow: 0 5px 0 #b98d1c; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.sa-go:active { transform: translateY(3px); box-shadow: 0 2px 0 #b98d1c; }
.sa-later {
  min-height: 46px; width: 100%; border: 0; border-radius: 14px; background: transparent; color: #2c4a4e;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
}
@keyframes sa-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sa-pop { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sa-ov, .sa-card { animation: none; } .sa-go { transition: none; } }
@media (max-height: 560px) { .sa-art img { height: 96px; } .sa-name { font-size: 22px; } }
