/* ==========================================================================
   Deneme Sınavı Simülasyonu & Analiz Merkezi Stilleri
   ========================================================================== */

.deneme-shell {
  padding: 14px 0 36px;
}

.deneme-alert-banner {
  background: var(--crimson-50);
  border: 1px solid var(--crimson-100);
  border-left: 5px solid var(--crimson-600);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  color: var(--slate-800);
}

.deneme-alert-banner h3 {
  margin: 0 0 6px;
  color: var(--crimson-700);
  font-size: 1rem;
}

.deneme-alert-banner code {
  background: rgba(15, 23, 42, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

/* Login Ekranı */
.login-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}

.deneme-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 26px;
}

.login-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: var(--navy-900);
}

.login-sub {
  margin: 0 0 20px;
  color: var(--slate-600);
  font-size: 0.96rem;
}

.candidate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.candidate-input-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.candidate-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border: 2px solid var(--slate-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--slate-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.candidate-input:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(30, 66, 115, 0.14);
}

.btn-deneme-primary {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  touch-action: manipulation;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn-deneme-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 34, 61, 0.22);
}

.btn-deneme-crimson {
  background: linear-gradient(135deg, var(--crimson-700), var(--crimson-500));
  color: var(--white);
  border: none;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  touch-action: manipulation;
}

.btn-deneme-secondary {
  background: var(--slate-100);
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  touch-action: manipulation;
}

.btn-deneme-secondary:hover:not(:disabled) {
  background: var(--slate-200);
}

.btn-deneme-primary:disabled,
.btn-deneme-secondary:disabled,
.q-flag-btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.recent-candidates-wrap {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.recent-candidates-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 10px;
  display: block;
}

.candidate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.candidate-chip {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  color: var(--navy-900);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.candidate-chip:hover {
  background: var(--navy-100);
  border-color: var(--navy-700);
}

/* Kılavuz Özeti Kartı */
.kilavuz-box {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.kilavuz-box h3 {
  margin: 0 0 14px;
  font-size: 1.12rem;
  color: #fde68a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.kilavuz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kilavuz-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.kilavuz-list li strong {
  color: #fde68a;
  text-align: right;
}

/* Aday Dashboard */
.candidate-bar {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.candidate-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.candidate-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fde68a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.deneme-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: 0 0 14px;
}

.deneme-list-head h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: 1.3rem;
}

.deneme-guest-live {
  margin: 0 0 0 auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-800);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.deneme-guest-live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}

.exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
  align-items: stretch;
}

.exams-section-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 14px;
  background: #f1f5f9;
  border: 1px solid #dbe4f0;
  border-left: 4px solid #1e3a8a;
  border-radius: 10px;
}

.exams-section-head.is-done {
  margin-top: 12px;
  background: #f0fdf4;
  border-color: #bbf7d0;
  border-left-color: #15803d;
}

.exams-section-head h3 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-900);
}

.exams-section-head.is-done h3 {
  color: #166534;
}

.exams-sec-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
}

.exams-section-head.is-done .exams-sec-count {
  background: #15803d;
}

.exams-sec-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
}

.exam-select-card {
  position: relative;
  min-width: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #dbe4f0;
  border-top: 3px solid #0b1c34;
  border-radius: 13px;
  padding: 12px 13px 11px;
  box-shadow: 0 3px 10px rgba(11, 28, 52, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.exam-select-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 28, 52, 0.1);
  border-color: #bfdbfe;
}

.exam-select-card.is-done-pass {
  border-top-color: #059669;
}

.exam-select-card.has-resume {
  border-top-color: var(--amber-700);
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.exam-select-card.is-guest-demo-card {
  border-color: #93c5fd;
  border-top: 4px solid var(--crimson-600);
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 65%);
  box-shadow: 0 8px 22px rgba(29, 78, 216, 0.1);
}

.exam-status-pill.pill-demo {
  background: linear-gradient(135deg, #b91c1c, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.exam-select-card.is-official-gys-card {
  border: 2px solid #d97706;
  border-top: 5px solid #b45309;
  background: linear-gradient(160deg, #fffbeb 0%, #fef3c7 42%, #ffffff 100%);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.16);
}

.exam-select-card.is-official-gys-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(180, 83, 9, 0.24);
  border-color: #b45309;
}

.exam-select-card.is-official-gys-card h3 {
  color: #78350f;
}

.exam-status-pill.pill-official-gys {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #991b1b 100%);
  color: #fffbeb;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.28);
}

.exam-select-card.is-ankusem-special-card {
  border-color: #93c5fd;
  border-top: 4px solid #1d4ed8;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 70%);
}

.exam-status-pill.pill-ankusem-special {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.guest-demo-finish-modal {
  max-width: 540px;
}

.guest-demo-score-summary {
  margin: 12px 0 14px;
}

.gdm-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.gdm-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 10px;
  text-align: center;
}

.gdm-stat.is-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.gdm-stat.is-err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.gdm-stat strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
}

.gdm-stat span {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  margin-top: 2px;
  opacity: 0.88;
}

.gdm-topic-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 185px;
  overflow-y: auto;
}

.gdm-topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.gdm-topic-row.is-ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.gdm-topic-row.is-err {
  background: #fef2f2;
  border-color: #fecaca;
}

.gdm-topic-name {
  font-weight: 700;
  color: var(--navy-900);
  min-width: 0;
  flex: 1 1 auto;
}

.gdm-topic-res {
  white-space: nowrap;
  font-size: 0.75rem;
}

.gdm-topic-row.is-ok .gdm-topic-res {
  color: #065f46;
}

.gdm-topic-row.is-err .gdm-topic-res {
  color: #b91c1c;
}

.guest-demo-pitch {
  margin: 0 0 16px;
  font-size: 0.89rem;
  line-height: 1.55;
  color: #1e293b;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 11px 13px;
}

.guest-demo-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guest-demo-modal-actions button {
  width: 100%;
  justify-content: center;
}

.exam-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.exam-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.exam-social-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 2px 3px 2px 9px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  max-width: 100%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.exam-social-cnt {
  overflow: hidden;
  text-overflow: ellipsis;
}

.exam-social-star {
  color: #92400e;
  font-weight: 800;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.25;
}

.exam-card-head h3 {
  margin: 2px 0 0;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.26;
  color: var(--navy-900);
}

.exam-card-sub {
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--slate-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.exam-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.exam-card-specs span {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 5px;
}

.exam-card-specs span.spec-guest-avg {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.exam-card-specs span.spec-guest-pass {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.exam-status-pill {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-fresh {
  background: var(--navy-50);
  color: var(--navy-800);
}

.pill-resume {
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid #fcd34d;
}

.pill-done {
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid #a7f3d0;
}

.pill-fail {
  background: var(--crimson-50);
  color: var(--crimson-700);
  border: 1px solid var(--crimson-100);
}

.exam-resume-info {
  background: var(--amber-50);
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--slate-800);
}

.exam-card-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: auto;
}

.exam-card-actions .btn-deneme-primary,
.exam-card-actions .btn-deneme-crimson,
.exam-card-actions .btn-deneme-secondary {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.79rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exam-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.exam-card-title-row h3 {
  margin: 2px 0 0;
  flex: 1 1 auto;
  min-width: 0;
}

.exam-card-brand-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 7px;
  padding: 3px 8px;
  height: 24px;
  margin-top: 2px;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.exam-card-brand-logo.is-ankusem {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1e3a8a;
}

.exam-card-brand-logo.is-ankusem-pro {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1d4ed8;
}

.exam-card-brand-logo.is-meb {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  color: #92400e;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.14);
}

/* Geçmiş Sonuçlar Tablosu */
.history-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.history-card h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.table-scroll {
  overflow-x: auto;
}

.deneme-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.deneme-table th,
.deneme-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--slate-200);
}

.deneme-table th {
  background: var(--navy-50);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Aktif Sınav Simülatörü */
.exam-sticky-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.exam-bar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-right: auto;
  min-width: 0;
}

.exam-bar-left strong {
  font-size: 1rem;
  color: #fde68a;
}

.exam-bar-left span {
  font-size: 0.82rem;
  color: var(--slate-300);
}

.exam-bar-stats {
  font-size: 0.86rem;
  color: var(--slate-200);
  margin-right: auto;
}

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

.timer-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.timer-box.warn {
  background: rgba(245, 158, 11, 0.25);
  border-color: #fbbf24;
  color: #fde68a;
}

.timer-box.danger {
  background: rgba(220, 38, 38, 0.35);
  border-color: #f87171;
  color: #fecaca;
}

.exam-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}

.question-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  min-width: 0;
}

.q-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--slate-200);
}

.q-header-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.q-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.q-num-badge {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.q-topic-badge {
  background: var(--navy-50);
  color: var(--navy-800);
  border: 1px solid var(--navy-100);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  line-height: 1.3;
  max-width: 100%;
}

.q-flag-btn {
  background: var(--slate-100);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.q-flag-btn.active {
  background: var(--amber-50);
  border-color: #f59e0b;
  color: var(--amber-700);
}

.q-stem-text {
  font-size: 1.07rem;
  line-height: 1.68;
  color: var(--slate-900);
  font-weight: 500;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.review-q-stem {
  font-weight: 600;
  color: var(--slate-900);
  margin-bottom: 12px;
  line-height: 1.58;
  overflow-wrap: break-word;
  word-break: break-word;
}

.q-stem-para {
  margin: 0 0 10px;
}

.q-stem-para:last-child {
  margin-bottom: 0;
}

.q-stem-clauses {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 12px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #1e3a8a;
  border-radius: 10px;
}

.q-stem-clause {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.58;
}

.q-clause-num {
  flex-shrink: 0;
  min-width: 30px;
  padding: 2px 7px;
  border-radius: 6px;
  background: #e0e7ff;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 0.88em;
  text-align: center;
  line-height: 1.4;
  margin-top: 2px;
}

.q-clause-body {
  flex: 1;
  min-width: 0;
}

.q-stem-bullets {
  margin: 8px 0 12px;
  padding: 10px 14px 10px 30px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.q-stem-bullets li {
  line-height: 1.55;
}

.options-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.option-choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  width: 100%;
  min-width: 0;
  background: var(--slate-50);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.97rem;
  line-height: 1.5;
  color: var(--slate-800);
  cursor: pointer;
  touch-action: manipulation;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: border-color 0.15s, background 0.15s;
}

.option-choice .option-text,
.option-choice > span:last-child {
  flex: 1;
  min-width: 0;
}

.option-choice:hover {
  border-color: var(--navy-700);
  background: var(--navy-50);
}

.option-choice.selected {
  border-color: var(--navy-900);
  background: #e8f0fe;
  color: var(--navy-950);
  font-weight: 600;
}

.option-letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--slate-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy-900);
}

.option-choice.selected .option-letter {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.q-nav-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-200);
}

.q-shortcuts-hint {
  font-size: 0.82rem;
  color: var(--slate-500);
}

/* Sağ Optik Palet */
.palette-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
  min-width: 0;
}

.palette-card h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
  color: var(--navy-900);
}

.palette-group-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 12px 0 6px;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 7px 6px;
}

.palette-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid #e6496b;
  background: #fff6f8;
  color: #be123c;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease, transform 0.1s ease;
}

.palette-btn:hover {
  background: #ffe4ea;
  border-color: #e11d48;
}

.palette-btn.answered {
  background: #1e293b;
  border-color: #1e293b;
  color: var(--white);
}

.palette-btn.flagged {
  box-shadow: inset 0 0 0 2px #f59e0b;
}

.palette-btn.flagged::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  border: 1px solid #fff;
}

.palette-btn.current {
  outline: 2px solid #e11d48;
  outline-offset: 2px;
}

/* Sadece Muhammed için optik form doldurma / silme animasyonu */
.palette-card.is-muhammed-palette .palette-btn {
  isolation: isolate;
  transition: border-color 0.28s ease, color 0.26s ease, transform 0.14s ease, background-color 0.24s ease;
}

.palette-card.is-muhammed-palette .palette-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #334155 0%, #1e293b 68%, #0f172a 100%);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.16);
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease;
}

.palette-card.is-muhammed-palette .palette-btn.answered {
  background: #fff6f8;
  border-color: #1e293b;
  color: var(--white);
}

.palette-card.is-muhammed-palette .palette-btn.answered::before {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.palette-card.is-muhammed-palette .palette-btn.flagged::after {
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .palette-card.is-muhammed-palette .palette-btn,
  .palette-card.is-muhammed-palette .palette-btn::before,
  .palette-card.is-muhammed-palette .palette-btn.answered::before {
    transition: none;
  }
}

.palette-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--slate-600);
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-200);
}

.legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: -1px;
}

/* Sonuç ve Analiz Ekranı */
.result-hero-card {
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--white);
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
}

.result-hero-card.passed {
  background: linear-gradient(135deg, #064e3b, #047857);
}

.result-hero-card.failed {
  background: linear-gradient(135deg, #7f1d1d, #b91c1c);
}

.result-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.result-metric-box {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.result-metric-box strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.2;
}

.result-metric-box span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.study-recs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.study-rec-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--amber-700);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.study-rec-card.critical {
  border-left-color: var(--crimson-600);
  background: #fff8f8;
}

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

.study-link-btn {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--navy-900);
  color: var(--white);
}

.study-link-btn.outline {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--slate-300);
}

.review-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
}

.filter-tab-btn.active {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.review-q-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-left: 5px solid var(--slate-400);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.review-q-card.correct {
  border-left-color: var(--emerald-700);
}

.review-q-card.wrong {
  border-left-color: var(--crimson-600);
}

.review-q-card.blank {
  border-left-color: var(--amber-700);
}

.review-opt {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.review-opt.is-correct {
  background: var(--emerald-50);
  border-color: #6ee7b7;
  color: #065f46;
  font-weight: 700;
}

.review-opt.is-user-wrong {
  background: var(--crimson-50);
  border-color: #fca5a5;
  color: var(--crimson-700);
  text-decoration: line-through;
}

.review-solution-box {
  margin-top: 12px;
  background: var(--navy-50);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--slate-800);
}

/* Modal */
.deneme-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 21, 38, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 16px;
}

.deneme-modal {
  background: var(--white);
  border-radius: 16px;
  border-top: 4px solid #0b1c34;
  max-width: 480px;
  width: 100%;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(9, 21, 38, 0.28);
}

.deneme-modal h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
  color: var(--navy-900);
}

.finish-modal-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-700);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.finish-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.finish-stat-tile {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
}

.finish-stat-tile strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  color: #0f172a;
}

.finish-stat-tile span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 4px;
}

.finish-stat-tile.is-ans {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.finish-stat-tile.is-ans strong {
  color: #065f46;
}

.finish-stat-tile.is-blank {
  background: #fffbeb;
  border-color: #fde68a;
}

.finish-stat-tile.is-blank strong {
  color: #92400e;
}

.finish-stat-tile.is-flag {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.finish-stat-tile.is-flag strong {
  color: #1e3a8a;
}

.finish-confirm-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 16px;
}

.rating-scale-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 12px;
}

.rating-pill-btn {
  border: 1.5px solid #dbe4f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #0b1c34;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 11px 0;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.rating-pill-btn:hover {
  border-color: var(--navy-700);
  background: #eff6ff;
  transform: translateY(-1px);
}

.rating-pill-btn.is-selected {
  background: linear-gradient(135deg, #0b1c34 0%, #1d4ed8 100%);
  border-color: #1d4ed8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.28);
}

.rating-selected-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 12px;
}

.rating-selected-pill.is-picked {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.rating-hint-star {
  color: #d97706;
  font-size: 1rem;
  line-height: 1;
}

.rating-thanks-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: #065f46;
  margin: 10px 0 16px;
}

.result-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

.hidden {
  display: none !important;
}

@media (max-width: 960px) {
  .login-grid,
  .exam-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .palette-card {
    position: static;
  }

  .palette-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .deneme-shell {
    padding: 10px 0 28px;
  }

  .deneme-card,
  .history-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .candidate-bar {
    padding: 12px 14px;
    margin-bottom: 16px;
  }

  .deneme-list-head {
    flex-wrap: wrap;
    margin-bottom: 12px;
  }

  .deneme-list-head h2 {
    font-size: 1.05rem;
  }

  .deneme-guest-live {
    font-size: 0.82rem;
  }

  .exams-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 18px;
  }

  .exam-select-card {
    padding: 11px 11px 10px;
    border-radius: 12px;
    gap: 8px;
  }

  .exam-card-top {
    gap: 6px;
  }

  .exam-social-badge {
    font-size: 0.68rem;
    padding: 2px 3px 2px 7px;
  }

  .exam-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .exam-card-actions button {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  /* Kompakt ve Dengeli Mobil Üst Sınav Çubuğu */
  .exam-sticky-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "left timer"
      "stats actions";
    align-items: center;
    gap: 8px 10px;
    padding: 9px 12px;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
  }

  .exam-bar-left {
    grid-area: left;
    margin-right: 0;
  }

  .exam-bar-left strong {
    font-size: 0.87rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .exam-bar-left span {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .timer-box {
    grid-area: timer;
    font-size: 1.02rem;
    padding: 4px 10px;
    text-align: center;
  }

  .exam-bar-stats {
    grid-area: stats;
    margin-right: 0;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .exam-bar-actions {
    grid-area: actions;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .exam-bar-actions .btn-deneme-secondary,
  .exam-bar-actions .btn-deneme-crimson {
    padding: 6px 10px;
    font-size: 0.76rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
  }

  /* Mobil Soru Kartı ve Şık Dengesi */
  .question-panel {
    padding: 12px 11px;
    border-radius: var(--radius-md);
  }

  .q-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding-bottom: 9px;
    margin-bottom: 10px;
  }

  .q-header-meta {
    gap: 5px;
  }

  .q-num-badge {
    font-size: 0.76rem;
    padding: 3px 9px;
  }

  .q-topic-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
    border-radius: 7px;
  }

  .q-header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 100%;
  }

  .q-flag-btn {
    width: 100%;
    padding: 5px 8px;
    font-size: 0.76rem;
    min-height: 33px;
    text-align: center;
  }

  .q-stem-text {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
    letter-spacing: -0.005em;
  }

  .q-stem-para {
    margin-bottom: 6px;
  }

  .q-stem-clauses {
    gap: 5px;
    margin: 7px 0 9px;
    padding: 8px 10px;
    border-left-width: 3px;
    border-radius: 8px;
  }

  .q-stem-clause {
    gap: 7px;
    line-height: 1.46;
  }

  .q-clause-num {
    min-width: 24px;
    padding: 1px 5px;
    font-size: 0.8em;
    margin-top: 1px;
  }

  .q-stem-bullets {
    margin: 6px 0 8px;
    padding: 7px 10px 7px 22px;
    gap: 4px;
    border-radius: 8px;
  }

  .q-stem-bullets li {
    line-height: 1.45;
  }

  .q-stem-text svg,
  .q-stem-text table {
    max-width: 100%;
    height: auto;
  }

  .options-stack {
    gap: 7px;
  }

  .option-choice {
    padding: 9px 10px;
    gap: 9px;
    font-size: 0.86rem;
    line-height: 1.42;
    border-width: 1.5px;
    border-radius: var(--radius-sm);
    min-height: 43px;
  }

  .option-choice .option-letter {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .q-nav-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
  }

  .q-shortcuts-hint {
    display: none;
  }

  .q-nav-footer button {
    width: 100%;
    padding: 11px 12px;
    font-size: 0.88rem;
    min-height: 44px;
  }

  /* Mobil Optik Palet */
  .palette-card {
    padding: 14px 12px;
    border-radius: var(--radius-md);
  }

  .palette-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    justify-items: center;
    gap: 6px 4px;
  }

  .palette-btn {
    width: 33px;
    height: 33px;
    font-size: 0.77rem;
  }

  /* Mobil Sonuç ve Çözüm İncelemesi */
  .result-hero-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .result-hero-head {
    flex-direction: column;
    align-items: stretch !important;
  }

  .result-score-box {
    text-align: left !important;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .result-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .study-recs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .review-filter-bar .field-select {
    max-width: 100% !important;
    width: 100%;
  }

  .filter-tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .review-q-card {
    padding: 12px 11px;
  }

  .review-q-stem {
    font-size: 0.9rem;
    line-height: 1.48;
    margin-bottom: 9px;
  }

  .review-opt {
    font-size: 0.835rem;
    line-height: 1.4;
    padding: 7px 9px;
  }

  .review-solution-box {
    font-size: 0.82rem;
    line-height: 1.45;
    padding: 9px 10px;
  }

  .deneme-modal {
    padding: 18px 16px;
  }

  .deneme-modal-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .exam-sticky-bar {
    grid-template-areas:
      "left timer"
      "stats stats"
      "actions actions";
    gap: 6px 8px;
  }

  .exam-bar-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .exam-bar-actions .btn-deneme-secondary,
  .exam-bar-actions .btn-deneme-crimson {
    width: 100%;
    padding: 7px 8px;
  }

  .q-stem-text {
    font-size: 0.87rem;
    line-height: 1.46;
    margin-bottom: 10px;
  }

  .q-stem-clauses {
    padding: 7px 9px;
    gap: 4px;
  }

  .q-stem-clause {
    line-height: 1.42;
  }

  .option-choice {
    padding: 8px 10px;
    gap: 8px;
    font-size: 0.835rem;
    line-height: 1.38;
    min-height: 40px;
  }

  .palette-btn {
    width: 31px;
    height: 31px;
    font-size: 0.74rem;
  }
}

@media (max-width: 340px) {
  .palette-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.palette-toggle {
  display: none;
}

/* Telefon ve dar ekranda sınav, tek ekrana sığan uygulama kabuğu */
@media (max-width: 820px) {
  .candidate-input {
    min-width: 0;
    width: 100%;
  }

  .candidate-input-row {
    flex-direction: column;
  }

  .candidate-input-row .btn-deneme-primary {
    width: 100%;
  }

  .deneme-modal-actions .btn-deneme-secondary,
  .deneme-modal-actions .btn-deneme-crimson {
    min-height: 44px;
    white-space: normal;
  }

  body:has(#view-exam:not(.hidden)) {
    overflow: hidden;
    height: 100dvh;
    height: 100svh;
  }

  body:has(#view-exam:not(.hidden)) .site-header,
  body:has(#view-exam:not(.hidden)) .site-footer {
    display: none;
  }

  body:has(#view-exam:not(.hidden)) .main-content.deneme-shell {
    height: 100dvh;
    height: 100svh;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  body:has(#view-exam:not(.hidden)) .deneme-shell > .container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  body:has(#view-exam:not(.hidden)) #view-exam {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  body:has(#view-exam:not(.hidden)) .exam-sticky-bar {
    position: relative;
    top: auto;
    flex-shrink: 0;
    margin: 0;
    border-radius: 0;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px;
  }

  body:has(#view-exam:not(.hidden)) .exam-workspace {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
  }

  body:has(#view-exam:not(.hidden)) .question-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
    padding: 10px 12px 0;
  }

  body:has(#view-exam:not(.hidden)) .q-body-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  body:has(#view-exam:not(.hidden)) .q-nav-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    flex-shrink: 0;
    margin: 0 -12px 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.06);
  }

  body:has(#view-exam:not(.hidden)) .palette-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 8px 12px;
  }

  body:has(#view-exam:not(.hidden)) .palette-card {
    display: none;
  }

  body:has(#view-exam.palette-open) .palette-card {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    max-height: min(68dvh, 560px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px 16px 0 0;
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -16px 40px rgba(9, 21, 38, 0.28);
  }

  body:has(#view-exam.palette-open)::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(9, 21, 38, 0.46);
    z-index: 55;
  }
}

/* Statik SEO & Dönüşüm Vitrini (Üyelere ve Sınav/Sonuç Ekranında Gizlenir) */
html.gys-has-device-token .deneme-seo-guest-only,
body:has(#view-exam:not(.hidden)) .deneme-seo-hide-on-exam,
body:has(#view-result:not(.hidden)) .deneme-seo-hide-on-exam {
  display: none;
}

.deneme-seo-banner {
  background: linear-gradient(135deg, #0b1c34 0%, #163259 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.deneme-seo-banner-main {
  flex: 1 1 560px;
  min-width: 0;
  max-width: 100%;
}

.deneme-seo-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fde68a;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.deneme-seo-banner h1 {
  margin: 0 0 8px;
  font-size: clamp(1.22rem, 2.2vw, 1.68rem);
  line-height: 1.25;
  color: #ffffff;
  font-weight: 800;
}

.deneme-seo-banner p {
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 780px;
}

.deneme-seo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.deneme-seo-pills span {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 8px;
}

.deneme-seo-banner-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.deneme-seo-price-badge {
  font-size: 0.82rem;
  color: #e2e8f0;
  font-weight: 700;
}

.deneme-seo-price-badge s {
  color: #94a3b8;
  margin-right: 6px;
  font-weight: 500;
}

.deneme-seo-price-badge b {
  color: #fde68a;
  font-size: 1rem;
}

.deneme-seo-unit-badge {
  font-size: 0.76rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(253, 230, 138, 0.32);
  border-radius: 8px;
  padding: 4px 10px;
}

.deneme-seo-unit-badge strong {
  color: #fde68a;
  font-weight: 800;
}

.deneme-guest-countdown {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.81rem;
  color: #f8fafc;
}

.deneme-guest-countdown strong {
  color: #fde68a;
  font-weight: 800;
}

.deneme-guest-countdown .countdown-plan {
  color: #cbd5e1;
}

.countdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  flex: 0 0 auto;
}

.guest-sample-report {
  margin: 0 0 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  border-left: 5px solid #1d4ed8;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(11, 28, 52, 0.06);
  overflow: hidden;
}

.guest-sample-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  flex-wrap: wrap;
}

.guest-sample-bar-text {
  flex: 1 1 340px;
  min-width: 0;
}

.guest-sample-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.guest-sample-bar-text strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.guest-sample-bar-text p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--slate-600);
  line-height: 1.45;
}

.guest-sample-toggle-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.guest-sample-drawer {
  border-top: 1px solid #e2e8f0;
  padding: 16px 18px 18px;
  background: #ffffff;
}

.guest-sample-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.guest-sample-kpi {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.guest-sample-kpi.is-pass {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.guest-sample-kpi.is-warn {
  background: #fffbeb;
  border-color: #fde68a;
}

.guest-sample-kpi span {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
}

.guest-sample-kpi strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--navy-950);
}

.guest-sample-kpi.is-pass strong {
  color: #065f46;
}

.guest-sample-kpi.is-warn strong {
  color: #92400e;
}

.guest-sample-kpi small {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 2px;
}

.guest-sample-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  margin-bottom: 14px;
}

.guest-sample-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 13px 14px;
}

.guest-sample-box h4 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-900);
}

.guest-sample-topic-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.guest-sample-topic-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.4fr) minmax(70px, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.gst-info strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.8rem;
  line-height: 1.25;
}

.gst-info span {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.gst-bar {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.gst-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.gst-bar span.is-good {
  background: #059669;
}

.gst-bar span.is-mid {
  background: #d97706;
}

.gst-bar span.is-low {
  background: #dc2626;
}

.gst-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.gst-badge.is-good {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.gst-badge.is-mid {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.gst-badge.is-low {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.guest-sample-solution {
  font-size: 0.81rem;
  line-height: 1.48;
  color: #334155;
}

.gss-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.gss-wrong {
  color: #b91c1c;
}

.gss-q {
  margin: 0 0 8px;
  font-style: italic;
  color: #1e293b;
}

.gss-exp {
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-left: 3px solid #2563eb;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.78rem;
  color: #1e3a8a;
}

.guest-sample-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e3a8a;
}

.guest-sample-cta-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.deneme-seo-showcase {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.deneme-seo-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.deneme-seo-card h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: var(--navy-900);
}

.deneme-seo-card p {
  margin: 0 0 10px;
  color: var(--slate-700);
  font-size: 0.92rem;
  line-height: 1.62;
}

.deneme-seo-card p:last-child {
  margin-bottom: 0;
}

.deneme-seo-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.deneme-seo-split > div {
  min-width: 0;
  overflow-x: auto;
}

.deneme-seo-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.deneme-seo-mini-table th,
.deneme-seo-mini-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
}

.deneme-seo-mini-table th {
  background: var(--slate-50);
  color: var(--navy-900);
  font-weight: 700;
}

.deneme-seo-mini-table td:last-child,
.deneme-seo-mini-table th:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.deneme-seo-mini-table a {
  color: var(--navy-800);
  text-decoration: none;
  font-weight: 600;
}

.deneme-seo-mini-table a:hover {
  text-decoration: underline;
  color: var(--crimson-600);
}

.deneme-seo-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.deneme-seo-catalog-item {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.84rem;
  color: var(--slate-700);
}

.deneme-seo-catalog-item strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.deneme-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.deneme-faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  padding: 10px 14px;
}

.deneme-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
  list-style: none;
}

.deneme-faq-item summary::-webkit-details-marker {
  display: none;
}

.deneme-faq-item summary::after {
  content: '+';
  float: right;
  font-weight: 800;
  color: var(--navy-700);
}

.deneme-faq-item[open] summary::after {
  content: '−';
}

.deneme-faq-item p {
  margin: 8px 0 2px;
  font-size: 0.88rem;
  color: var(--slate-700);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .deneme-seo-banner {
    padding: 16px;
    gap: 14px;
  }
  .deneme-seo-banner-main {
    flex: 1 1 100%;
  }
  .deneme-seo-banner-cta {
    width: 100%;
    align-items: stretch;
  }
  .deneme-seo-banner-cta > div {
    justify-content: stretch !important;
  }
  .deneme-seo-banner-cta button {
    flex: 1 1 140px;
  }
  .deneme-seo-card {
    padding: 16px;
  }
  .deneme-seo-split,
  .deneme-seo-catalog-grid,
  .guest-sample-grid {
    grid-template-columns: 1fr;
  }
  .guest-sample-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .guest-sample-topic-row {
    grid-template-columns: 1fr auto;
  }
  .gst-bar {
    grid-column: 1 / -1;
  }
  .guest-sample-toggle-btn,
  .guest-sample-cta-btns,
  .guest-sample-cta-btns button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .guest-sample-kpis {
    grid-template-columns: 1fr;
  }
}

/* Misafir Paket Değer & Güven Banner'ı + Kilitli Kart Ayrımı */
.guest-value-banner {
  background: linear-gradient(135deg, #091526 0%, #102a4a 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 12px 28px rgba(9, 21, 38, 0.14);
}

.guest-value-banner.is-unified {
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
}

.guest-sample-toggle-btn.is-in-banner {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.guest-sample-toggle-btn.is-in-banner:hover {
  background: rgba(255, 255, 255, 0.2);
}

.guest-value-main {
  flex: 1;
  min-width: 260px;
}

.guest-value-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fde68a;
  margin-bottom: 4px;
}

.guest-value-main h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: #ffffff;
}

.guest-value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.guest-value-pills span {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.77rem;
  color: #f1f5f9;
}

.guest-value-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 225px;
}

.exam-status-pill.pill-locked {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.gdm-pitch-callout {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #78350f;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
}

.gdm-pitch-callout.is-good {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #064e3b;
}

@media (max-width: 720px) {
  .guest-value-banner {
    padding: 15px;
  }
  .guest-value-actions {
    width: 100%;
    min-width: 0;
  }
  .guest-value-actions button {
    width: 100%;
  }
}

/* ==========================================================================
   TÜRKİYE GENELİ Deneme Kartı (Masmavi Degrade) & Genel Başarı Listesi
   ========================================================================== */

.tr-geneli-mount {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.tr-geneli-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 24px 26px;
  color: #ffffff;
  background: linear-gradient(132deg, #0077e6 0%, #0284c7 26%, #1d4ed8 64%, #0a1f44 100%);
  border: 1px solid rgba(186, 230, 253, 0.35);
  box-shadow: 0 20px 44px -16px rgba(2, 132, 199, 0.45), 0 4px 14px rgba(15, 23, 42, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.85fr);
  gap: 20px;
  align-items: center;
}

.tr-geneli-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 14%, rgba(125, 211, 252, 0.36), transparent 46%),
    radial-gradient(circle at 12% 92%, rgba(56, 189, 248, 0.25), transparent 42%);
  pointer-events: none;
}

.tr-geneli-hero-left,
.tr-geneli-hero-right {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tr-geneli-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.tr-geneli-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.tr-geneli-badge.is-live {
  background: rgba(16, 185, 129, 0.24);
  border-color: rgba(110, 231, 183, 0.52);
  color: #ecfdf5;
}

.tr-geneli-badge.is-test {
  background: rgba(250, 204, 21, 0.22);
  border-color: rgba(253, 224, 71, 0.55);
  color: #fef9c3;
}

.tr-geneli-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.28);
}

.tr-geneli-title {
  margin: 0 0 6px;
  font-size: clamp(1.32rem, 2.3vw, 1.82rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(10, 31, 68, 0.25);
}

.tr-geneli-brand-sub {
  margin: 0 0 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e0f2fe;
  font-weight: 500;
}

.tr-geneli-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}

.tr-geneli-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f0f9ff;
  background: rgba(10, 31, 68, 0.34);
  border: 1px solid rgba(186, 230, 253, 0.28);
}

.tr-geneli-countdown-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.tr-geneli-hero-right {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  padding: 16px 18px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tr-geneli-right-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #bae6fd;
}

.tr-geneli-waitlist-topbadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(10, 31, 68, 0.46);
  border: 1px solid rgba(253, 224, 71, 0.56);
  color: #fef08a;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(10, 31, 68, 0.24);
}

.tr-geneli-waitlist-topbadge strong {
  color: #ffffff;
  font-weight: 900;
  font-size: 0.86rem;
}

.tr-member-wl-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  color: #92400e;
  font-size: 0.69rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tr-geneli-right-desc {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.48;
  color: #f0f9ff;
}

.tr-geneli-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tr-btn-white {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 11px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  color: #0369a1;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(9, 21, 38, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}

.tr-btn-white:hover:not(:disabled) {
  background: #f0f9ff;
  transform: translateY(-1px);
}

.tr-btn-white:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.tr-btn-glass {
  width: 100%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 11px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.28);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tr-btn-glass:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.tr-geneli-my-status {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.tr-geneli-my-status strong {
  display: block;
  font-size: 0.96rem;
  color: #0369a1;
}

.tr-geneli-my-status span {
  font-size: 0.76rem;
  color: #475569;
  font-weight: 600;
}

/* Genel Başarı Listesi Kartı */
.tr-leaderboard-card {
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-top: 4px solid #0284c7;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px -12px rgba(2, 132, 199, 0.2);
}

.tr-lb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
}

.tr-lb-head h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0b1c34;
}

.tr-lb-head p {
  margin: 3px 0 0;
  font-size: 0.81rem;
  color: #475569;
}

.tr-lb-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.tr-lb-toggle-btn {
  width: 100%;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid #7dd3fc;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tr-lb-toggle-btn:hover {
  background: #e0f2fe;
  border-color: #0284c7;
}

.tr-lb-body-panel {
  margin-top: 12px;
}

.tr-lb-body-panel.hidden {
  display: none;
}

.tr-lb-kpi {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 9px 11px;
}

.tr-lb-kpi.is-me {
  background: linear-gradient(135deg, #0284c7, #1d4ed8);
  border-color: #0369a1;
  color: #ffffff;
}

.tr-lb-kpi span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0369a1;
}

.tr-lb-kpi.is-me span {
  color: #bae6fd;
}

.tr-lb-kpi strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1c34;
  margin-top: 2px;
}

.tr-lb-kpi.is-me strong {
  color: #ffffff;
}

.tr-lb-scroll {
  max-height: 410px;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.tr-lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.tr-lb-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f0f9ff;
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 9px 11px;
  text-align: left;
  border-bottom: 1px solid #bae6fd;
  white-space: nowrap;
}

.tr-lb-table td {
  padding: 9px 11px;
  border-bottom: 1px solid #f1f5f9;
  color: #1e293b;
  vertical-align: middle;
}

.tr-lb-table tbody tr:hover {
  background: #f8fafc;
}

.tr-lb-table tbody tr.is-me-row {
  background: #e0f2fe !important;
  font-weight: 700;
}

.tr-lb-rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  background: #f1f5f9;
  color: #334155;
}

.tr-lb-rank-pill.r1 { background: #fef3c7; color: #92400e; border: 1px solid #f59e0b; }
.tr-lb-rank-pill.r2 { background: #e2e8f0; color: #334155; border: 1px solid #94a3b8; }
.tr-lb-rank-pill.r3 { background: #ffedd5; color: #9a3412; border: 1px solid #fb923c; }

.tr-lb-type {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 5px;
  vertical-align: middle;
}

.tr-lb-type.is-member { background: #dbeafe; color: #1e40af; }
.tr-lb-type.is-guest { background: #f1f5f9; color: #475569; }
.tr-lb-type.is-me { background: #0284c7; color: #ffffff; }

.tr-lb-empty {
  text-align: center;
  padding: 20px 14px;
  color: #64748b;
  font-size: 0.86rem;
}

/* Sonuç ekranı Türkiye Geneli Sıralama & Mail Kutusu */
.tr-result-rank-banner {
  background: linear-gradient(135deg, #0284c7 0%, #1d4ed8 60%, #0b1c34 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  box-shadow: 0 14px 28px -12px rgba(2, 132, 199, 0.42);
}

.tr-result-rank-left h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.tr-result-rank-left p {
  margin: 0;
  font-size: 0.86rem;
  color: #e0f2fe;
}

.tr-result-rank-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  padding: 10px 18px;
  text-align: center;
}

.tr-result-rank-pill strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
}

.tr-result-rank-pill span {
  font-size: 0.74rem;
  color: #bae6fd;
  font-weight: 700;
}

.tr-mail-notice-strip {
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
}

.tr-mail-notice-strip.is-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.tr-mail-notice-strip.is-warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.tr-result-schedule-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  color: #0c4a6e;
  font-size: 0.84rem;
  line-height: 1.48;
}

.tr-result-refresh-btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #0284c7;
  background: #ffffff;
  color: #0369a1;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.tr-result-refresh-btn:hover:not(:disabled) {
  background: #e0f2fe;
}

.tr-result-refresh-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Modals */
.deneme-modal.tr-modal-blue {
  border-top-color: #0284c7;
}

.deneme-modal.tr-modal-wide {
  max-width: 600px;
  max-height: calc(100vh - 28px);
  overflow-y: auto;
}

.exam-select-card.is-tr-geneli-card {
  border-top: 4px solid #0284c7;
}

@media (max-width: 900px) {
  .tr-geneli-hero-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 14px;
  }
  .tr-lb-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .tr-leaderboard-card {
    padding: 14px 12px;
  }
}
