[hidden] {
  display: none !important;
}
.view-screen {
  max-width: 1050px;
  margin: 0 auto;
  padding: 54px clamp(18px, 5vw, 70px) 110px;
}
.screen-heading {
  max-width: 680px;
  margin-bottom: 34px;
}
.screen-heading > span {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #947b45;
  font-weight: 800;
}
.screen-heading h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin: 10px 0 14px;
}
.screen-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.stage-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow: auto;
  padding-bottom: 4px;
}
.stage-tabs button,
.session-tabs button {
  border: 1px solid rgba(26, 54, 115, 0.11);
  background: #fff;
  color: #667289;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 18px;
  white-space: nowrap;
  cursor: pointer;
  font-weight: 650;
}
.stage-tabs button.active,
.session-tabs button.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.full-schedule {
  display: grid;
}
.schedule-row {
  width: 100%;
  display: grid;
  grid-template-columns: 72px 22px 1fr auto;
  gap: 14px;
  align-items: start;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
  min-height: 96px;
}
.schedule-row time {
  font-size: 14px;
  color: var(--navy);
  font-weight: 750;
  padding-top: 19px;
}
.schedule-line {
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}
.schedule-line i {
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  background: var(--paper);
  border-radius: 50%;
  margin-top: 23px;
  z-index: 1;
}
.schedule-line b {
  position: absolute;
  width: 1px;
  background: var(--line);
  top: 34px;
  bottom: 0;
}
.schedule-copy {
  display: grid;
  padding: 14px 0 22px;
}
.schedule-copy small {
  font-size: 10px;
  letter-spacing: 0.13em;
  color: #947b45;
  font-weight: 800;
}
.schedule-copy strong {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin: 3px 0;
}
.schedule-copy em {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 17px;
}
.row-actions i {
  font-style: normal;
  font-size: 10px;
  background: #edf1fa;
  color: var(--navy);
  padding: 5px 8px;
  border-radius: 999px;
}
.row-actions > b {
  font-size: 24px;
  color: var(--navy);
  font-weight: 400;
}
.empty-state {
  border: 1px dashed #cfd7e5;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 25px;
  padding: 62px 24px;
  text-align: center;
}
.empty-state > span {
  font-size: 34px;
  color: var(--gold);
}
.empty-state h2,
.empty-state h3 {
  margin: 10px 0 6px;
}
.empty-state p {
  color: var(--muted);
  margin: 0;
}
.empty-state.compact {
  padding: 38px 20px;
}
.dua-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.dua-tile {
  min-height: 260px;
  border: 1px solid #e6dcc7;
  background: linear-gradient(145deg, #fffefb, #faf4e8);
  border-radius: 26px;
  padding: 26px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(106, 83, 39, 0.07);
}
.dua-tile:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(197, 174, 125, 0.24);
  border-radius: 50%;
  right: -70px;
  top: -90px;
}
.dua-tile > span {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #917841;
  font-weight: 800;
}
.dua-tile h2 {
  font:
    600 38px/1.6 "Traditional Arabic",
    serif;
  text-align: right;
  color: var(--deep);
  margin: 22px 0;
}
.dua-tile p {
  color: var(--muted);
  margin: 0;
}
.dua-tile b {
  display: block;
  color: var(--navy);
  font-size: 13px;
  margin-top: 26px;
}
.notes-workspace {
  background: #fff;
  border: 1px solid rgba(26, 54, 115, 0.1);
  border-radius: 28px;
  padding: clamp(20px, 4vw, 38px);
  box-shadow: 0 18px 42px rgba(26, 54, 115, 0.08);
}
.notes-workspace label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  display: grid;
  gap: 8px;
}
.notes-workspace select {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #f8fafc;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
}
.save-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 10px;
  font-size: 12px;
  color: var(--muted);
}
.save-state span {
  width: 7px;
  height: 7px;
  background: #2f986b;
  border-radius: 50%;
}
.notes-workspace > textarea {
  width: 100%;
  min-height: 360px;
  resize: vertical;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 24px 2px;
  background: transparent;
  color: var(--ink);
  font: 17px/1.75 inherit;
  outline: 0;
}
.note-actions,
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.button-primary,
.button-secondary,
.info-card button,
.info-card a {
  min-height: 44px;
  border-radius: 13px;
  padding: 0 18px;
  font: 700 14px inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.button-primary,
.info-card button {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
}
.button-secondary,
.info-card a {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}
.wide {
  width: 100%;
}
.more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.info-card,
.feedback-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 54, 115, 0.1);
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 12px 30px rgba(26, 54, 115, 0.06);
}
.info-card {
  display: flex;
  gap: 18px;
}
.info-card > span {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #edf1fa;
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.info-card small,
.feedback-card > small {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #947b45;
  font-weight: 800;
}
.info-card h2,
.feedback-card h2 {
  font-size: 20px;
  margin: 5px 0 7px;
}
.info-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 18px;
}
.feedback-card {
  grid-column: 1/-1;
}
.leaderboard-card {
  grid-column: 1/-1;
  overflow: hidden;
  border: 1px solid rgba(197, 174, 125, 0.35);
  border-radius: 26px;
  background: linear-gradient(145deg, #102654, #1a3673);
  color: #fff;
  padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 18px 42px rgba(16, 38, 84, 0.18);
}
.leaderboard-card > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.leaderboard-card small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
}
.leaderboard-card h2 {
  margin: 5px 0 4px;
  font-size: 24px;
}
.leaderboard-card header p {
  margin: 0;
  color: #cfd8ee;
  font-size: 13px;
}
.leaderboard-card header > strong {
  min-width: 74px;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
  text-align: right;
}
.leaderboard-card header > strong::after {
  content: " pts";
  display: block;
  margin-top: 5px;
  color: #cfd8ee;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.leaderboard-list {
  display: grid;
  gap: 7px;
}
.leaderboard-list article {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
}
.leaderboard-list article b:first-child {
  color: var(--gold);
}
.leaderboard-list article span {
  color: #fff;
  font-weight: 650;
}
.leaderboard-list article strong {
  color: #fff;
  font-size: 17px;
}
.leaderboard-list .empty-state {
  padding: 26px 18px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}
.leaderboard-list .empty-state h3 {
  color: #fff;
}
.leaderboard-list .empty-state p {
  color: #cfd8ee;
}
.leaderboard-current {
  margin-top: 12px;
  padding: 13px 14px;
  border-radius: 13px;
  background: #fff;
  color: var(--deep);
  font-size: 13px;
}
.leaderboard-current button {
  min-height: 38px;
  margin-top: 9px;
  border: 1px solid var(--deep);
  border-radius: 10px;
  background: var(--deep);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
}
.leaderboard-card details {
  margin-top: 15px;
  color: #cfd8ee;
  font-size: 12px;
}
.leaderboard-card summary {
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}
.leaderboard-card details p {
  margin: 8px 0 0;
  line-height: 1.6;
}
.feedback-card form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.feedback-card fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.feedback-card legend,
.feedback-card label {
  font-size: 13px;
  font-weight: 700;
}
.rating {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.rating button {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}
.rating button.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}
.feedback-card textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  font: 15px/1.5 inherit;
  resize: vertical;
}
.form-status {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.announcement {
  position: sticky;
  top: 76px;
  z-index: 29;
  background: #fff4d7;
  border-bottom: 1px solid #ead8a9;
  color: #5d4a1f;
  padding: 10px clamp(18px, 4vw, 56px);
  font-size: 13px;
  font-weight: 650;
  text-align: center;
}
.trust-note {
  display: block !important;
  letter-spacing: 0 !important;
  text-transform: none;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.5;
  margin-top: 12px;
}
.donation-card > span {
  background: #fff0f2;
  color: #b72a43;
}
.button-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.app-dialog {
  width: min(680px, calc(100% - 24px));
  max-height: min(850px, calc(100vh - 24px));
  border: 0;
  padding: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(8, 24, 57, 0.28);
  color: var(--ink);
}
.app-dialog::backdrop {
  background: rgba(6, 18, 43, 0.62);
  backdrop-filter: blur(7px);
}
.dialog-shell {
  padding: clamp(24px, 5vw, 42px);
  position: relative;
  overflow: auto;
  max-height: inherit;
}
.dialog-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eff2f7;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.dialog-close::before,
.dialog-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}
.dialog-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.dialog-kicker {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: #947b45;
  font-weight: 800;
}
.dialog-shell > h2,
.session-detail > h2,
.dua-detail > h2 {
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 10px 42px 10px 0;
}
.dialog-intro,
.speaker-line,
.session-detail-copy {
  color: var(--muted);
  line-height: 1.6;
}
.schedule-copy strong,
.schedule-copy em,
.agenda-block h3,
.agenda-block p,
.session-detail > h2,
.speaker-line,
.session-detail-copy {
  white-space: pre-line;
}
.dialog-shell > label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  margin: 17px 0;
}
.dialog-shell input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 14px;
  font: 15px inherit;
}
.demo-notice {
  font-size: 12px;
  background: #f8f1e4;
  color: #796230;
  border-radius: 12px;
  padding: 12px;
  margin: 18px 0;
}
.session-tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  margin: 24px 0 20px;
  padding-bottom: 2px;
}
.session-tabs button {
  font-size: 13px;
  min-height: 39px;
}
.ask-form label {
  font-weight: 700;
  font-size: 13px;
}
.ask-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 7px;
}
.ask-form small {
  color: var(--muted);
  font-size: 11px;
}
.question-feed {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.question-feed article {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
}
.question-feed p {
  margin: 0 0 12px;
}
.question-feed button {
  border: 0;
  background: #edf1fa;
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 11px;
  font: 700 12px inherit;
  cursor: pointer;
}
.quiz-box {
  display: grid;
  gap: 10px;
}
.quiz-box > span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #947b45;
  font-weight: 800;
}
.quiz-box h3 {
  font-size: 21px;
  margin: 2px 0 12px;
}
.quiz-box label {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px;
  display: flex;
  gap: 10px;
  cursor: pointer;
}
.quiz-box input {
  width: auto;
  height: auto;
}
.quiz-box > .button-primary {
  margin-top: 8px;
}
.quiz-result {
  font-size: 13px;
}
.quiz-result.correct {
  color: #16724d;
}
.quiz-result.incorrect {
  color: #a14451;
}
.session-note-box p,
.session-note-box small {
  font-size: 12px;
  color: var(--muted);
}
.session-note-box textarea {
  width: 100%;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  font: 16px/1.65 inherit;
  resize: vertical;
}
.session-feedback-box {
  display: grid;
  gap: 15px;
  padding: 22px;
  border: 1px solid #e4dac3;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffefb, #faf6ed);
}
.session-feedback-box > span {
  color: #947b45;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}
.session-feedback-box h3 {
  margin: -4px 0 0;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.session-feedback-note {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.session-rating {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.session-rating button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--navy);
  font: 750 15px inherit;
  cursor: pointer;
}
.session-rating button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--deep);
}
.session-feedback-box label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.session-feedback-box textarea {
  width: 100%;
  min-height: 105px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: 16px/1.55 inherit;
  resize: vertical;
}
.session-feedback-status {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.dua-detail .arabic {
  font:
    600 clamp(29px, 6vw, 42px) / 1.9 "Traditional Arabic",
    serif;
  color: var(--deep);
  background: #fffaf0;
  border: 1px solid #eadfc8;
  border-radius: 18px;
  padding: 20px;
  margin: 22px 0;
}
.meaning {
  margin: 20px 0;
}
.meaning small {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #947b45;
  font-weight: 800;
}
.meaning p {
  line-height: 1.7;
  margin: 5px 0;
  color: #4f5b70;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 20px);
  background: var(--deep);
  color: #fff;
  padding: 12px 17px;
  border-radius: 13px;
  box-shadow: 0 15px 40px rgba(8, 24, 57, 0.26);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 760px) {
  .announcement {
    top: 68px;
  }
  .view-screen {
    padding: 32px 16px 110px;
  }
  .screen-heading {
    margin-bottom: 26px;
  }
  .screen-heading h1 {
    font-size: 38px;
  }
  .dua-grid,
  .more-grid {
    grid-template-columns: 1fr;
  }
  .feedback-card {
    grid-column: auto;
  }
  .schedule-row {
    grid-template-columns: 54px 18px 1fr;
    gap: 8px;
  }
  .row-actions {
    display: none;
  }
  .schedule-copy strong {
    font-size: 16px;
  }
  .bottom-nav {
    grid-template-columns: repeat(5, 1fr) !important;
  }
  .bottom-nav a {
    font-size: 10px;
  }
  .bottom-nav a b {
    font-size: 16px;
  }
  .dialog-shell {
    padding: 28px 20px;
  }
  .note-actions,
  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .notes-workspace > textarea {
    min-height: 300px;
  }
  .info-card {
    padding: 20px;
  }
  .ask-form > div {
    grid-template-columns: 1fr;
  }
  .app-dialog {
    border-radius: 24px;
  }
  .dua-tile {
    min-height: 230px;
  }
}
@media (max-width: 760px) {
  .event-hero {
    min-height: 340px;
  }
  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 50px);
  }
  .hero-copy h1 em {
    display: block;
  }
  .bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .bottom-nav a {
    min-width: 0;
  }
}
