/* Ocean of Softwares: shared header, guide and footer for the game pages */
html { height: auto !important; }
body.oos-game { display: block !important; height: auto !important; min-height: 100vh; overflow-x: hidden; }
.oos-bar {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #0b2447, #19376d);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
.oos-bar a { text-decoration: none; }
.oos-bar .oos-brand { color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .2px; }
.oos-bar nav a { color: #cfe0f7; margin-left: 18px; font-size: 15px; }
.oos-bar a:hover { color: #f2b134; }
.oos-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 50px); width: 100%; }
.oos-stage > .scene { min-height: calc(100vh - 50px); }
.oos-content {
  position: relative; z-index: 2;
  max-width: 860px; margin: 28px auto 24px; padding: 6px 26px 22px;
  background: #ffffff; color: #13233f;
  border: 1px solid #dbe3ef; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(11, 36, 71, .10);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.65; text-align: left;
}
.oos-content h1 { font-size: 30px; color: #0b2447; margin: 22px 0 6px; line-height: 1.2; }
.oos-content h2 { font-size: 23px; color: #0b2447; margin: 26px 0 8px; line-height: 1.25; }
.oos-content h3 { font-size: 18px; margin: 16px 0 4px; color: #13233f; }
.oos-content p, .oos-content li { font-size: 16.5px; }
.oos-content a { color: #1c4483; }
.oos-content .oos-lead { font-size: 17.5px; color: #3a4a63; }
.oos-content table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.oos-content th, .oos-content td { border: 1px solid #dbe3ef; padding: 9px 12px; text-align: left; font-size: 15.5px; }
.oos-content th { background: #1c4483; color: #fff; }
.oos-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 10px 0; list-style: none; }
.oos-links a { display: inline-block; padding: 8px 14px; border: 1px solid #dbe3ef; border-radius: 10px; background: #f3f6fb; font-weight: 600; text-decoration: none; }
.oos-links a:hover { border-color: #3d76c9; }
.oos-footer { position: relative; z-index: 2; text-align: center; font-size: 14px; padding: 6px 16px 28px; font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; opacity: .85; }
.oos-footer a { color: inherit; }
body.dark-mode .oos-content, body[data-theme="dark"] .oos-content, .oos-dark .oos-content { background: #0f2240; color: #e8eef8; border-color: #1f3a63; }
body.dark-mode .oos-content h1, body.dark-mode .oos-content h2, body.dark-mode .oos-content h3,
body[data-theme="dark"] .oos-content h1, body[data-theme="dark"] .oos-content h2, body[data-theme="dark"] .oos-content h3,
.oos-dark .oos-content h1, .oos-dark .oos-content h2, .oos-dark .oos-content h3 { color: #fff; }
body.dark-mode .oos-content a, body[data-theme="dark"] .oos-content a, .oos-dark .oos-content a { color: #9fc0ea; }
body.dark-mode .oos-content .oos-lead, body[data-theme="dark"] .oos-content .oos-lead, .oos-dark .oos-content .oos-lead { color: #b9c8de; }
body.dark-mode .oos-links a, body[data-theme="dark"] .oos-links a, .oos-dark .oos-links a { background: #0b1b34; border-color: #1f3a63; }
body.dark-mode .oos-content th, body.dark-mode .oos-content td, body[data-theme="dark"] .oos-content th, body[data-theme="dark"] .oos-content td, .oos-dark .oos-content th, .oos-dark .oos-content td { border-color: #1f3a63; }
@media (max-width: 640px) {
  .oos-content { margin: 18px 12px; padding: 4px 16px 16px; }
  .oos-content h1 { font-size: 25px; }
  .oos-bar nav a { margin-left: 12px; }
}
