/* The intro's controls, over the scene and its title layer (drawn by js/intro.js). */
#titles { pointer-events: none; }
.skip, .start, .login { font: 500 14px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; }
.skip {
  position: fixed; top: 22px; right: 22px; z-index: 5; padding: 10px 16px; border-radius: 999px; cursor: pointer;
  color: rgba(255, 255, 255, 0.9); background: rgba(8, 20, 30, 0.38); border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background 0.2s, color 0.2s;
}
.skip:hover, .skip:focus-visible { background: rgba(255, 255, 255, 0.9); color: #0b1a26; outline: none; }
.card {
  position: fixed; left: 50%; top: 50%; z-index: 6; width: min(470px, calc(100vw - 32px)); box-sizing: border-box;
  max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 30px 30px 26px; border-radius: 22px; text-align: center; color: #fff;
  background: rgba(8, 20, 30, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font: 15px/1.5 -apple-system, "SF Pro Text", system-ui, sans-serif;
  opacity: 0; transform: translate(-50%, -46%) scale(0.98); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.8,.2,1);
}
.card.on { opacity: 1; transform: translate(-50%, -50%); }
.card .mark { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.card h1 { margin: 16px 0 8px; font: 650 26px/1.2 -apple-system, "SF Pro Display", system-ui, sans-serif; }
.card h2 { margin: 0 0 12px; font: 600 21px/1.3 -apple-system, "SF Arabic", "Geeza Pro", system-ui, sans-serif; color: #bff3ff; }
.card p { margin: 0 0 12px; color: rgba(225, 238, 243, 0.88); }
.card p.ar { margin-bottom: 18px; font-size: 15px; line-height: 1.7; color: rgba(205, 238, 246, 0.85); }
[lang="ar"] { font-family: -apple-system, "SF Arabic", "Geeza Pro", system-ui, sans-serif; }
.card kbd { display: inline-block; min-width: 1.4em; padding: 1px 5px; margin: 0 1px; border-radius: 5px; font: inherit; font-size: 13px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2); }
.login { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 0 0 18px; color: rgba(255, 255, 255, 0.9); cursor: pointer; }
.login input { width: 16px; height: 16px; accent-color: #00a6c7; }
.start {
  width: 100%; padding: 13px 18px; border: 0; border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 600;
  color: #04202a; background: #fff; transition: background 0.2s, transform 0.1s;
}
.start:hover, .start:focus-visible { background: #bff3ff; outline: none; }
.start:active { transform: scale(0.99); }
a.start { display: block; box-sizing: border-box; text-decoration: none; }
.again { display: inline-block; margin-top: 14px; color: rgba(190, 240, 250, 0.9); font-size: 14px; text-decoration: none; }
.again:hover { text-decoration: underline; }
.rec { position: fixed; left: 12px; top: 12px; z-index: 9; font: 12px -apple-system, sans-serif; color: #fff; background: rgba(200, 0, 40, 0.7); padding: 6px 10px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
