:root {
  --ink: #12242f;
  --ink-soft: #4a6170;
  --sky: #dff4ff;
  --mint: #c7f9e1;
  --sun: #ffd479;
  --coral: #ff8f72;
  --paper: #f7faf7;
  --white: #ffffff;
  --line: #d7e3e8;
  --ok: #118c4f;
  --warn: #b64646;
  --shadow: 0 12px 30px rgba(10, 38, 46, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(199, 249, 225, 0.7), transparent 35%),
    radial-gradient(circle at 90% 0%, rgba(255, 212, 121, 0.4), transparent 30%),
    linear-gradient(180deg, #f2fafd 0%, #f8fdf8 45%, #fff7eb 100%);
  min-height: 100vh;
}

.academy-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.academy-logo {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.8rem;
  color: var(--ink);
  text-decoration: none;
}

.academy-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.academy-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}

.academy-nav a:hover {
  background: var(--sky);
}

.academy-shell {
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 0 16px 40px;
}

.hero-panel {
  background: linear-gradient(135deg, #123b4c 0%, #1f6f8b 55%, #3aa17e 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  animation: panel-rise 0.5s ease;
}

.hero-panel.compact {
  padding: 24px;
}

.hero-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  font-weight: 700;
  font-size: 0.85rem;
}

.hero-panel h1 {
  margin: 8px 0 10px;
  line-height: 1.2;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.hero-panel p {
  margin: 0;
  max-width: 760px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background: var(--sun);
  color: #2e280f;
}

.btn-primary:hover {
  filter: brightness(0.95);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.section-stack {
  margin-top: 24px;
}

.filter-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 14px;
}

.filter-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.filter-field {
  display: grid;
  gap: 6px;
}

.filter-field span {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.filter-field select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  background: #fcffff;
}

.filter-field input[type="text"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  background: #fcffff;
}

.preset-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.preset-save-form,
.preset-load-form {
  display: grid;
  gap: 10px;
}

.preset-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-card-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.preset-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.preset-card.is-active {
  border-color: #57b88d;
  background: #f3fff8;
}

.preset-card-link {
  color: inherit;
  text-decoration: none;
}

.preset-card-link h3 {
  margin: 0;
}

.preset-card-link p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.preset-meta {
  font-size: 0.82rem;
}

.preset-card-delete {
  margin: 0;
}

.preset-active-badge {
  display: inline-block;
  margin-top: 8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: #d8f8e8;
  color: #0f6c42;
  font-size: 0.78rem;
  font-weight: 700;
}

.level-block {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}

.level-head h2 {
  margin: 0 0 4px;
  font-size: 1.5rem;
}

.level-head p {
  margin: 0;
  color: var(--ink-soft);
}

.grade-grid,
.exam-grid,
.issue-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grade-card,
.exam-card,
.issue-card,
.empty-card,
.notice-panel,
.question-card,
.score-card,
.review-item,
.history-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
}

.grade-card,
.history-item {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 14px;
}

.grade-card:hover,
.history-item:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.grade-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #075334;
  font-size: 0.84rem;
  font-weight: 700;
}

.grade-meta,
.history-item p {
  color: var(--ink-soft);
  margin: 8px 0 0;
}

.exam-card,
.issue-card,
.empty-card,
.notice-panel,
.question-card,
.score-card,
.review-item {
  padding: 16px;
}

.exam-meta {
  margin: 10px 0;
  padding-left: 16px;
  color: var(--ink-soft);
}

.issue-card h4,
.review-item h3 {
  margin-top: 0;
}

.notice-panel code {
  display: inline-block;
  margin-top: 8px;
  background: #1e2a30;
  color: #eaf7ff;
  padding: 8px 12px;
  border-radius: 8px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.history-score {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0;
}

.mode-form {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.mode-option {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  background: #fbffff;
}

.mode-option small {
  display: block;
  color: var(--ink-soft);
  margin-top: 2px;
}

.preset-box {
  border: 1px dashed #8db9c8;
  border-radius: 12px;
  padding: 12px;
  background: #f5fbff;
  display: grid;
  gap: 8px;
}

.preset-box.is-disabled {
  opacity: 0.5;
}

.preset-title {
  margin: 0;
  font-weight: 800;
}

.preset-help {
  color: var(--ink-soft);
}

.mode-hint {
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  background: #fff5db;
  border: 1px solid #f0d490;
  color: #5f4815;
  font-weight: 700;
}

.question-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.timer-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px 12px;
  text-align: right;
}

.timer-box p {
  margin: 2px 0;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #d5e2e7;
  overflow: hidden;
  margin-top: 12px;
}

.progress-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #20a4a8, #6ccf89);
}

.form-error {
  background: #ffe8e5;
  border: 1px solid #f2b8b0;
  color: #8b2d20;
  border-radius: 10px;
  padding: 10px;
}

.options-grid {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fdffff;
}

.option-item input {
  margin-top: 3px;
}

.question-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.score-card.pass {
  border-color: #9dd9b8;
}

.score-card.fail {
  border-color: #f1b5b5;
}

.score-card h2 {
  margin: 0;
  font-size: 3rem;
}

.result-badge {
  display: inline-block;
  background: #eaf7ff;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.timeout-badge {
  margin-top: 10px !important;
  display: inline-block;
  background: #ffe9d6;
  color: #914118;
  border: 1px solid #f0ba92;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.review-list {
  display: grid;
  gap: 10px;
}

.history-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.history-table a {
  color: #0d6678;
  font-weight: 700;
}

.mini-badge {
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #ffe9d6;
  color: #914118;
  font-size: 0.78rem;
  font-weight: 700;
}

.summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
}

.summary-card h3 {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.summary-card p {
  margin: 8px 0 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.dual-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.stat-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fcffff;
}

.trend-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 14px;
  overflow-x: auto;
}

.trend-card svg {
  width: 100%;
  min-width: 620px;
  height: auto;
  display: block;
}

.trend-axis {
  stroke: #bed2db;
  stroke-width: 1.4;
}

.trend-line {
  fill: none;
  stroke: #2388a4;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-point {
  fill: #2fcb86;
  stroke: #155f4a;
  stroke-width: 1.2;
}

.trend-label {
  font-size: 12px;
  fill: #486776;
}

.trend-score {
  font-size: 12px;
  fill: #134d67;
  font-weight: 700;
}

.coverage-summary {
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
}

.coverage-summary strong {
  font-size: 1.5rem;
  color: #0b667a;
}

.coverage-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.coverage-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 14px;
}

.coverage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.coverage-head h3 {
  margin: 0;
}

.coverage-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #eef3f6;
  color: #335360;
}

.coverage-badge.ok {
  background: #d9f8e8;
  color: #0b7347;
}

.coverage-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.coverage-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fcffff;
  padding: 8px 10px;
}

.studyroom-layout {
  display: grid;
  gap: 14px;
}

.sr-hero p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.sr-guide-card {
  background: #ffffff;
  border: 2px solid #cfe8f2;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 16px;
}

.sr-guide-card h2 {
  margin: 0 0 8px;
}

.sr-guide-card p {
  margin: 0;
  color: var(--ink-soft);
}

.sr-step-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.sr-guide-actions {
  margin-top: 12px;
}

.sr-mode-toggle {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.sr-mode-label {
  font-weight: 700;
  color: var(--ink-soft);
}

.sr-mode-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  min-height: 38px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 700;
}

.sr-mode-btn.active {
  background: #123b4c;
  color: #fff;
  border-color: #123b4c;
}

.sr-status-row {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.sr-status-badge {
  display: inline-block;
  border-radius: 999px;
  background: #e6f7ff;
  color: #0a4f69;
  border: 1px solid #9ed6ee;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.84rem;
}

.sr-status-help {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.sr-progress-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.sr-progress-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfeff;
  padding: 10px;
  display: grid;
  gap: 4px;
}

.sr-progress-item strong {
  color: #0f4d62;
}

.sr-progress-item span {
  font-weight: 800;
  color: #8b3a3a;
}

.sr-progress-item span.is-done {
  color: #0e7a49;
}

.sr-next-action {
  margin-top: 12px;
  border: 1px solid #cfe8f2;
  border-radius: 12px;
  background: #f8fcff;
  padding: 12px;
}

.sr-next-action p {
  margin: 0;
  color: var(--ink-soft);
}

.sr-next-action .btn {
  margin-top: 8px;
}

.studyroom-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
  padding: 16px;
}

.sr-card-step {
  border: 2px solid #d9e8ee;
}

.sr-card-head {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.sr-card-head h2 {
  margin: 0;
}

.sr-step-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  background: #103a4a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.sr-card-lead {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.setup-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.setup-grid label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.setup-grid select,
.brainstorm-form select,
.brainstorm-form textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  background: #fcffff;
}

.sr-input-large {
  min-height: 44px;
  font-size: 1rem;
  font-weight: 700;
}

.setup-subjects {
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sr-action-row {
  margin-top: 10px;
}

.sr-main-btn {
  min-height: 48px;
  font-size: 1rem;
}

.sr-mini-help {
  margin-top: 10px;
  border: 1px solid #cfe8f2;
  background: #f4fbff;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.92rem;
}

.sr-template-box {
  margin-top: 10px;
  border: 1px solid #cfe8f2;
  background: #f8fcff;
  border-radius: 12px;
  padding: 12px;
}

.sr-template-box h3 {
  margin: 0;
  font-size: 1rem;
}

.sr-template-box p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.sr-template-controls {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sr-template-note {
  margin-top: 10px !important;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a4f69 !important;
}

.sheet-toolbar {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sheet-toolbar .btn {
  min-height: 42px;
}

.sr-template-controls .btn.is-recommended {
  animation: sr-pulse 0.8s ease-in-out 0s 3;
  box-shadow: 0 0 0 4px rgba(17, 140, 79, 0.25);
}

#quickStartNowBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.sheet-wrap {
  margin-top: 10px;
  overflow-x: auto;
}

.study-sheet {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  table-layout: fixed;
}

.study-sheet th,
.study-sheet td {
  border: 1px solid var(--line);
  padding: 8px;
}

.study-sheet th {
  background: #edf8ff;
  text-align: left;
}

.study-sheet td {
  min-height: 40px;
  background: #ffffff;
}

.study-sheet td:focus {
  outline: 2px solid #72c7e8;
  background: #f4fbff;
}

.brainstorm-form {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.sr-label-block {
  font-weight: 700;
}

.brainstorm-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.brainstorm-board {
  margin-top: 12px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.brainstorm-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: grid;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(10, 38, 46, 0.08);
}

.brainstorm-card.yellow {
  background: #fff7d4;
}

.brainstorm-card.blue {
  background: #e7f3ff;
}

.brainstorm-card.green {
  background: #e4f8eb;
}

.brainstorm-card.pink {
  background: #ffe9f3;
}

.brainstorm-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.brainstorm-tag {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 8px;
  background: rgba(18, 36, 47, 0.12);
}

.brainstorm-delete {
  border: 1px solid #d67b7b;
  border-radius: 8px;
  color: #8d2b2b;
  background: #fff;
  padding: 3px 8px;
  font-size: 0.78rem;
  cursor: pointer;
}

.brainstorm-text {
  min-height: 84px;
  border: 1px dashed rgba(18, 36, 47, 0.2);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.76);
  white-space: pre-wrap;
}

.brainstorm-text:focus {
  outline: 2px solid #72c7e8;
}

.sr-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
}

.sr-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  background: #123b4c;
  color: #ffffff;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(10, 38, 46, 0.2);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sr-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#studyroomRoot.is-easy-mode .sr-advanced-only {
  display: none;
}

.sr-tutorial-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 34, 0.5);
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
}

.sr-tutorial-card {
  width: min(680px, 100%);
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #cde7f5;
  box-shadow: 0 20px 35px rgba(10, 38, 46, 0.24);
  padding: 14px;
}

.sr-tutorial-label {
  margin: 0;
  font-weight: 800;
  color: #0d6678;
  font-size: 0.8rem;
}

.sr-tutorial-card h3 {
  margin: 6px 0 0;
}

.sr-tutorial-card p {
  margin: 8px 0 0;
}

.sr-tutorial-keyhint {
  margin-top: 10px !important;
  border: 1px dashed #c4dce9;
  border-radius: 10px;
  background: #f7fcff;
  padding: 7px 10px;
  color: #2a5262;
  font-weight: 700;
  font-size: 0.86rem;
}

.sr-tutorial-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sr-tutorial-focus {
  position: relative;
  z-index: 82;
  box-shadow: 0 0 0 4px rgba(18, 59, 76, 0.28);
  border-radius: 14px;
}

body.sr-tutorial-open {
  overflow: hidden;
}

@keyframes panel-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sr-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 780px) {
  .academy-header {
    padding: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .academy-logo {
    font-size: 1.5rem;
  }

  .academy-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-panel {
    padding: 20px;
  }

  .question-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .timer-box {
    width: 100%;
    text-align: left;
  }

  .preset-actions .btn {
    width: 100%;
  }

  .study-sheet {
    min-width: 620px;
  }

  .sr-toast {
    right: 12px;
    left: 12px;
    bottom: 12px;
    text-align: center;
  }

  .sr-tutorial-overlay {
    padding: 10px;
  }
}
