/* ============================================================
   demo_mlp.css — aiGodess MLP Free Demo
   Standalone CSS — no dependency on any paid module CSS
   ============================================================ */

/* 1.00 RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Sora', sans-serif;
  background: #0c1117;
  color: #e2e8f0;
  min-height: 100vh;
  font-size: 14px;
}

/* 2.00 DEMO BANNER */
.demo-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #0e7490, #0369a1);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.demo-badge {
  background: #fbbf24;
  color: #0c1a2e;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.demo-cta {
  background: #fff;
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.demo-cta:hover { background: #dbeafe; }

/* 3.00 SUBJECT TABS BAR */
.subject-bar {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 9998;
  background: #111827;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  padding: 0 16px;
  height: 46px;
  gap: 0;
  overflow-x: auto;
}
.subject-bar::-webkit-scrollbar { display: none; }

.sb-label {
  font-size: 11px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid #1e293b;
  margin-right: 12px;
}
.sb-tab {
  font-size: 13px;
  font-weight: 600;
  padding: 0 18px;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #6b7280;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  font-family: 'Sora', sans-serif;
}
.sb-tab:hover { color: #e2e8f0; }
.sb-tab.active-phy { color: #22d3ee; border-bottom-color: #22d3ee; }
.sb-tab.active-che { color: #4ade80; border-bottom-color: #4ade80; }
.sb-tab.active-bot { color: #c084fc; border-bottom-color: #c084fc; }
.sb-tab.active-zoo { color: #fb923c; border-bottom-color: #fb923c; }

/* 4.00 HEADER */
.main-header {
  position: fixed;
  top: 84px; left: 0; right: 0;
  z-index: 9997;
  background: #0c1117;
  border-bottom: 1px solid #1e293b;
  padding: 0 16px;
}
.header-row1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  color: #f0c040;
  font-family: 'Sora', sans-serif;
}
.brand-sub {
  font-size: 11px;
  color: #64748b;
  margin-left: 4px;
}

/* Session controls row */
.header-row2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0 8px;
  flex-wrap: wrap;
}
.nav-select-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-select-group label {
  font-size: 10px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-select {
  background: #161b22;
  border: 1px solid #30363d;
  color: #e2e8f0;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: 'Sora', sans-serif;
  cursor: pointer;
  min-width: 180px;
}
.nav-select:focus { outline: none; border-color: #22d3ee; }

.start-btn {
  background: #f0c040;
  color: #0c1117;
  border: none;
  border-radius: 10px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  transition: background 0.2s;
  white-space: nowrap;
}
.start-btn:hover { background: #ffd84d; }
.start-btn:disabled { background: #374151; color: #6b7280; cursor: not-allowed; }

/* Status bar (during session) */
.session-status {
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 0 8px;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
}
.pill-label { color: #64748b; }
.pill-val { font-weight: 700; color: #e2e8f0; }
.score-val { color: #f0c040; }
.timer-box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: #22d3ee;
}
.btn-ghost {
  background: transparent;
  border: 1px solid #30363d;
  color: #94a3b8;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
}
.btn-danger {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.4);
  color: #ef4444;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
}
.progress-track {
  flex: 1;
  height: 4px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
  min-width: 80px;
  max-width: 120px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0e7490, #22d3ee);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* 5.00 MAIN LAYOUT */
.page-content {
  margin-top: 180px;
  padding: 16px;
  display: flex;
  gap: 16px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* 6.00 WELCOME SCREEN */
.welcome-wrap {
  width: 100%;
}
.welcome-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.wc-badge {
  display: inline-block;
  background: rgba(34,211,238,0.1);
  border: 1px solid rgba(34,211,238,0.3);
  color: #22d3ee;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.wc-title {
  font-size: 28px;
  font-weight: 900;
  color: #f0f6fc;
  margin-bottom: 8px;
  line-height: 1.2;
}
.wc-tagline {
  font-size: 15px;
  color: #94a3b8;
  margin-bottom: 24px;
}
.wc-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.wc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.wc-stat-num {
  font-size: 24px;
  font-weight: 900;
  color: #f0c040;
  font-family: 'JetBrains Mono', monospace;
}
.wc-stat-lbl {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}
.wc-how-title {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.wc-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wc-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.wc-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(240,192,64,0.15);
  border: 1px solid rgba(240,192,64,0.4);
  color: #f0c040;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wc-step-text {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  padding-top: 3px;
}

/* Welcome card feature points */
.wc-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.wc-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px 14px;
}
.wc-feature-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.wc-feature-body {}
.wc-feature-title {
  font-size: 13px;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 3px;
}
.wc-feature-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
}
.wc-feature-desc strong { color: #94a3b8; }

/* AAA platform box */
.wc-aaa-box {
  background: linear-gradient(135deg, rgba(240,192,64,0.07), rgba(34,211,238,0.05));
  border: 1.5px solid rgba(240,192,64,0.25);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}
.wc-aaa-title {
  font-size: 12px;
  font-weight: 800;
  color: #f0c040;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.wc-aaa-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}
.wc-aaa-desc strong { color: #22d3ee; }

/* 7.00 EXAM INTERFACE */
.exam-wrap {
  display: none;
  width: 100%;
  gap: 16px;
}

/* 7.01 Question Panel */
.question-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.q-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.q-num {
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 4px 12px;
}
.q-topic-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(34,211,238,0.1);
  color: #22d3ee;
  border: 1px solid rgba(34,211,238,0.2);
}
.q-difficulty {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}
.diff-E { background: rgba(34,197,94,0.1); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.diff-M { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.2); }

.question-box {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 14px;
  padding: 20px;
  font-size: 16px;
  font-weight: 500;
  color: #f0f6fc;
  line-height: 1.6;
}

.options-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #161b22;
  border: 1.5px solid #30363d;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  font-family: 'Sora', sans-serif;
}
.option-btn:hover:not(:disabled) {
  border-color: #4b5563;
  background: #1e293b;
}
.option-btn.selected {
  border-color: #22d3ee;
  background: rgba(34,211,238,0.08);
}
.option-btn.correct {
  border-color: #4ade80;
  background: rgba(74,222,128,0.1);
}
.option-btn.wrong {
  border-color: #f87171;
  background: rgba(248,113,113,0.1);
}
.option-btn.reveal-correct {
  border-color: #4ade80;
  background: rgba(74,222,128,0.06);
}
.option-btn:disabled { cursor: not-allowed; }

.option-label {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1e293b;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.option-btn.selected .option-label { background: #22d3ee; color: #0c1117; }
.option-btn.correct .option-label  { background: #4ade80; color: #0c1117; }
.option-btn.wrong .option-label    { background: #f87171; color: #0c1117; }
.option-btn.reveal-correct .option-label { background: #4ade80; color: #0c1117; }

.option-text {
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.4;
}

/* Feedback */
.feedback-box {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}
.feedback-correct { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; }
.feedback-wrong   { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: #f87171; }
.feedback-reveal  { background: rgba(251,191,36,0.1);  border: 1px solid rgba(251,191,36,0.3);  color: #fbbf24; }

/* Action buttons */
.action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.action-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: 'Sora', sans-serif;
  transition: opacity 0.2s, transform 0.1s;
}
.action-btn:active { transform: scale(0.97); }
.action-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.save-btn      { background: #22d3ee; color: #0c1117; }
.clear-btn     { background: #1e293b; color: #94a3b8; border: 1px solid #30363d; }
.tryagain-btn  { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.showanswer-btn { background: rgba(167,139,250,0.15); color: #a78bfa; border: 1px solid rgba(167,139,250,0.3); }
.next-btn      { background: #1e293b; color: #e2e8f0; border: 1px solid #30363d; }
.submit-btn    { background: #f0c040; color: #0c1117; margin-left: auto; }

/* Explanation */
.explanation-box {
  display: none;
  background: #0f172a;
  border: 1px solid #334155;
  border-left: 3px solid #a78bfa;
  border-radius: 12px;
  padding: 16px;
}
.explanation-label {
  font-size: 11px;
  font-weight: 800;
  color: #a78bfa;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.explanation-text {
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.7;
}

/* Blink animation */
@keyframes demoBlink { 0%,100%{opacity:1} 50%{opacity:0.15} }
.blink { animation: demoBlink 0.85s ease-in-out infinite !important; }

/* 7.02 OMR Panel */
.omr-panel {
  width: 280px;
  flex-shrink: 0;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: fit-content;
}
.omr-title {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.omr-topic {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}
.omr-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.omr-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #0c1117;
  border-radius: 8px;
  padding: 8px 4px;
}
.omr-num { font-size: 16px; font-weight: 900; font-family: 'JetBrains Mono', monospace; }
.omr-lbl { font-size: 9px; color: #64748b; font-weight: 700; text-transform: uppercase; }
.stat-correct .omr-num  { color: #4ade80; }
.stat-wrong .omr-num    { color: #f87171; }
.stat-skipped .omr-num  { color: #64748b; }
.stat-review .omr-num   { color: #f0c040; }

.omr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.omr-bubble {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s;
  border: 1.5px solid #30363d;
  background: #0c1117;
  color: #64748b;
}
.omr-bubble:hover { transform: scale(1.15); }
.omr-bubble.current  { border-color: #f0c040; color: #f0c040; background: rgba(240,192,64,0.1); }
.omr-bubble.correct  { background: #4ade80; color: #0c1117; border-color: #4ade80; }
.omr-bubble.wrong    { background: #f87171; color: #0c1117; border-color: #f87171; }
.omr-bubble.review   { background: rgba(251,191,36,0.2); color: #fbbf24; border-color: #fbbf24; }
.omr-bubble.revealed { background: rgba(167,139,250,0.2); color: #a78bfa; border-color: #a78bfa; }

.omr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.omr-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: #64748b;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.omr-nav {
  display: flex;
  gap: 8px;
}
.omr-btn {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #30363d;
  background: #0c1117;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  transition: background 0.15s;
}
.omr-btn:hover { background: #1e293b; color: #e2e8f0; }
.omr-btn-primary { background: rgba(34,211,238,0.1); color: #22d3ee; border-color: rgba(34,211,238,0.3); }

/* 8.00 RESULT PANEL */
.result-wrap {
  display: none;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.result-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 36px;
  text-align: center;
}
.result-title { font-size: 24px; font-weight: 900; color: #f0f6fc; margin-bottom: 6px; }
.result-sub   { font-size: 14px; color: #64748b; margin-bottom: 24px; }
.result-score {
  font-size: 56px;
  font-weight: 900;
  color: #f0c040;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}
.result-score-lbl { font-size: 13px; color: #64748b; margin-bottom: 28px; }
.result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}
.rs-card {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 12px;
  padding: 14px 8px;
}
.rs-num { font-size: 22px; font-weight: 900; font-family: 'JetBrains Mono', monospace; margin-bottom: 4px; }
.rs-lbl { font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; }
.rs-correct .rs-num  { color: #4ade80; }
.rs-wrong .rs-num    { color: #f87171; }
.rs-skipped .rs-num  { color: #64748b; }
.rs-revealed .rs-num { color: #a78bfa; }

.subscribe-box {
  background: rgba(34,211,238,0.06);
  border: 1.5px solid rgba(34,211,238,0.25);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
}
.subscribe-box p { font-size: 13px; color: #94a3b8; line-height: 1.6; margin-bottom: 14px; }
.subscribe-box strong { color: #22d3ee; }
.subscribe-btn {
  display: inline-block;
  background: #f0c040;
  color: #0c1117;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.subscribe-btn:hover { background: #ffd84d; }

/* Motivation card */
.motivation-card {
  background: linear-gradient(135deg, rgba(240,192,64,0.06), rgba(74,222,128,0.04));
  border: 1.5px solid rgba(240,192,64,0.25);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 20px;
  text-align: left;
}
.motivation-flowers {
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 6px;
}
.motivation-heading {
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  color: #f0c040;
  margin-bottom: 12px;
}
.motivation-note {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: center;
}
.motivation-note strong { color: #e2e8f0; }
.motivation-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.mp-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}
.mp-row strong { color: #22d3ee; }
.motivation-close {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #4ade80;
  padding-top: 4px;
}

/* Result card extended stats */
.rs-rank-card {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg,rgba(124,58,237,0.1),rgba(34,211,238,0.07));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 12px;
  margin-bottom: 20px;
}
.rs-rank-num { font-size: 44px; font-weight: 900; font-family: 'JetBrains Mono',monospace; color: #7c3aed; }
.rs-rank-label { font-size: 13px; color: #94a3b8; margin-top: 4px; margin-bottom: 12px; }
.rs-rank-info { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.rs-rank-item { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 10px; text-align: center; }
.rs-rank-val { font-size: 13px; font-weight: 800; color: #f0f6fc; }
.rs-rank-lbl { font-size: 10px; color: #64748b; margin-top: 3px; }
.rs-section { margin-bottom: 20px; }
.rs-section-title { font-size: 12px; font-weight: 800; color: #7c3aed; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.rs-subject-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.rs-subject-card { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 12px; }
.rs-subject-name { font-size: 12px; font-weight: 700; color: #e2e8f0; margin-bottom: 6px; }
.rs-subject-bar-wrap { background: #0d1117; border-radius: 4px; height: 6px; margin-bottom: 8px; overflow: hidden; }
.rs-subject-bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.rs-subject-details { display: flex; gap: 8px; }
.rs-subject-detail { text-align: center; flex: 1; }
.rs-subject-detail-val { font-size: 14px; font-weight: 800; font-family: 'JetBrains Mono',monospace; }
.rs-subject-detail-lbl { font-size: 10px; color: #64748b; }
.rs-diff-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.rs-diff-card { background: #161b22; border: 1px solid #30363d; border-radius: 10px; padding: 12px; text-align: center; }
.rs-diff-label { font-size: 12px; font-weight: 700; color: #94a3b8; margin-bottom: 6px; }
.rs-diff-val { font-size: 22px; font-weight: 900; font-family: 'JetBrains Mono',monospace; }
.rs-diff-sub { font-size: 11px; color: #64748b; margin-top: 2px; }
.rs-recommendation { background: rgba(34,211,238,0.05); border: 1px solid rgba(34,211,238,0.2); border-radius: 10px; padding: 14px; font-size: 13px; color: #94a3b8; line-height: 1.6; }
.rs-recommendation strong { color: #22d3ee; }
@media (max-width: 480px) {
  .rs-rank-info { grid-template-columns: 1fr; }
  .rs-subject-grid { grid-template-columns: 1fr; }
  .rs-diff-grid { grid-template-columns: 1fr; }
}
.home-link {
  display: block;
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  margin-top: 12px;
}
.home-link:hover { color: #94a3b8; }

/* 9.00 TOAST */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  z-index: 99999;
  transition: transform 0.3s ease;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* 10.00 RESPONSIVE */
@media (max-width: 768px) {
  .page-content { flex-direction: column; margin-top: 200px; padding: 10px; }
  .omr-panel { width: 100%; }
  .exam-wrap { flex-direction: column; }
  .welcome-card { padding: 24px 16px; }
  .wc-title { font-size: 20px; }
  .result-stats { grid-template-columns: repeat(2, 1fr); }
}
