/* ArminoNetwork frame and account gate; study content keeps its own layout. */
[hidden] { display: none !important; }
.network-header { min-height: 78px; padding: 14px 28px; display: flex; align-items: center; gap: 24px; background: #080d15; color: #fff; }
.network-brand { display: inline-flex; align-items: center; margin-right: auto; }
.network-brand img { display: block; width: auto; height: 42px; max-width: 100%; }
.network-header nav { display: flex; align-items: center; gap: 22px; }
.network-header nav a { color: #e4edf7; text-decoration: none; font-size: 14px; font-weight: 600; }
.network-header nav a:hover { color: #56c7ff; }
#practice-content { outline: none; }
.layout, .rail { min-height: calc(100dvh - 78px); }
.access-shell { min-height: calc(100dvh - 78px); display: grid; place-items: center; max-width: none; padding: 56px 24px; background: radial-gradient(ellipse at top right, #dce6fa, transparent 65%); }
.access-card { width: min(100%, 710px); padding: clamp(28px, 5vw, 60px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 20px 70px #14253d0b; }
.access-card h1 { margin: 20px 0 18px; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 650; }
.access-card h1 span { color: var(--blue); }
.access-card > p { color: var(--muted); }
.access-card .access-intro { color: var(--ink); font-size: 20px; font-weight: 550; margin-bottom: 12px; }
.access-subjects { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 26px 0 30px; list-style: none; }
.access-subjects li { background: var(--blue-pale); color: var(--blue); border-radius: 6px; padding: 7px 12px; font-size: 14px; }
.access-status { margin: 0 0 16px; }
.access-identity { margin: 0 0 18px; font-size: 14px; }
.access-identity code { display: block; margin-top: 6px; color: var(--ink); overflow-wrap: anywhere; user-select: all; }
.access-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.access-note { font-size: 13px; margin-top: 22px; }
.network-return { color: #c7d6e8; text-decoration: none; font-size: 13px; display: inline-block; margin-top: 26px; }
.network-return:hover { color: var(--lime); }
body.dark-mode { --ink: #e6edf7; --muted: #aab9cd; --line: #334359; --paper: #101925; --blue: #99b3ff; --blue-dark: #b5c8ff; --blue-pale: #223452; --green: #80d9ac; --red: #ffafb8; color: var(--ink); }
body.dark-mode .rail { background: #14253d; }
body.dark-mode .layout[data-subject="physiology"] { --blue: #72d6cd; --blue-dark: #a1e9e2; --blue-pale: #1d3b43; }
body.dark-mode .layout[data-subject="psychology"] { --blue: #c1a5f5; --blue-dark: #d6c0ff; --blue-pale: #342d4a; }
body.dark-mode .access-shell { background: radial-gradient(ellipse at top right, #1b2d49, transparent 65%); }
body.dark-mode :is(.access-card, .topbar, .setup-card, .mode-card, .setting-fields select, .button.secondary, .question-card, .timer, .number-button, .score-panel, .score-ring > div, .topic-panel, .question-nav, dialog) { background: #182536; color: var(--ink); }
body.dark-mode .button.primary { color: #111c30; }
body.dark-mode :is(.unit-card.selected, .mode-card.selected, .answer.chosen, .number-button.answered) { background: #233759; }
body.dark-mode :is(.answer:hover, .button.secondary:hover:not(:disabled)) { background: #26374e; }
body.dark-mode :is(.feedback.positive, .answer.right-answer, .number-button.correct) { background: #183d32; }
body.dark-mode :is(.feedback.negative, .answer.wrong-answer, .number-button.incorrect, .timer.running-low) { background: #472b36; }
body.dark-mode :is(.feedback.neutral, .question-tags span, .answer-letter, .setting-fields select:disabled) { background: #293a50; color: #c4d2e5; }
body.dark-mode :is(.topic-progress, .progress-track) { background: #30425c; }
body.dark-mode .score-ring { background: conic-gradient(var(--blue) 0 var(--score), #30425c var(--score) 100%); }
body.dark-mode .page-footer { color: var(--muted); }
@media (max-width: 760px) {
  .network-header { padding: 12px 18px; gap: 16px; }
  .network-brand img { height: 32px; }
  .network-header nav { gap: 14px; }
  .network-header nav a { font-size: 12px; }
  .rail { min-height: 0; }
  .room-brand { max-width: none; }
  .room-brand > span:last-child { display: block; }
  .network-return { margin-top: 18px; }
  .access-shell { padding: 32px 18px; }
}
@media (max-width: 470px) {
  .network-header { flex-wrap: wrap; gap: 10px 16px; }
  .network-header nav { order: 3; width: 100%; padding-bottom: 4px; }
  .access-actions { flex-direction: column; }
  .access-actions .button { width: 100%; }
}
