:root {
  --dk-primary: #00695C;
  --dk-primary-dark: #004D40;
  --dk-primary-light: #E6F4F1;
  --dk-secondary: #1E73FF;
  --dk-accent: #F5B642;
  --dk-accent-soft: #FFF7E6;
  --dk-bg: #F9FBFF;
  --dk-card: #FFFFFF;
  --dk-soft-blue: #EAF4FF;
  --dk-soft-green: #EAF8F0;
  --dk-soft-red: #FFF0F2;
  --dk-dark-bg: #071525;
  --dk-shell-bg:
    radial-gradient(circle at 50% 48%, rgba(0, 105, 92, 0.26) 0%, rgba(0, 105, 92, 0.10) 18%, rgba(0, 0, 0, 0) 62%),
    linear-gradient(180deg, #06201E 0%, #010606 100%);
  --dk-text: #101828;
  --dk-text-secondary: #475467;
  --dk-text-muted: #98A2B3;
  --dk-success: #22C55E;
  --dk-error: #EF4444;
  --dk-warning: #F59E0B;
  --dk-info: #3B82F6;
  --dk-border: #E4E7EC;
  --dk-border-active: #1E73FF;
  --dk-divider: #EAECF0;
  --dk-shadow-soft: rgba(16, 24, 40, 0.10);
  --dk-shadow-strong: rgba(16, 24, 40, 0.18);
  --dk-gradient-primary: linear-gradient(135deg, #00796B 0%, #004D40 100%);
  --dk-gradient-success: linear-gradient(135deg, #34C779 0%, #22C55E 100%);
  --dk-gradient-error: linear-gradient(135deg, #FF6B7A 0%, #EF4444 100%);
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--dk-shell-bg);
  color: var(--dk-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

.dk-device {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--dk-shell-bg);
}

.dk-phone {
  width: min(390px, 100%);
  min-height: 844px;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--dk-bg);
  box-shadow: 0 24px 64px var(--dk-shadow-strong);
}

.dk-copyright {
  position: absolute;
  right: 20px;
  bottom: 0px;
  z-index: 5;
  margin: 0;
  color: rgba(71, 84, 103, 0.78);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: right;
  pointer-events: none;
}

.dk-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 700;
}

.dk-status-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dk-status-dates {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.dk-status-bismillah {
  font-size: 12px;
  font-weight: 800;
  color: var(--dk-text-secondary);
  max-width: 158px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dk-status-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--dk-text-secondary);
}

.dk-status-hijri {
  font-size: 10px;
  font-weight: 600;
  color: var(--dk-text-muted);
  margin-top: 1px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dk-screen {
  min-height: 844px;
  padding: 56px 24px 28px;
  position: relative;
  background: var(--dk-bg);
}

.dk-with-nav {
  padding-bottom: calc(98px + constant(safe-area-inset-bottom));
  padding-bottom: calc(98px + env(safe-area-inset-bottom, 0px));
}

.dk-onboarding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, rgba(0, 105, 92, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, rgba(249, 251, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%),
    url("../assets/backgrounds/background.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto, auto, cover;
}

.dk-onboarding-copy {
  margin-top: 6px;
  max-width: 320px;
}

.dk-onboarding h1,
.dk-topline h1,
.dk-quiz-form h1,
.dk-flashcard h1,
.dk-feedback-card h1,
.dk-simple-header h1 {
  margin: 0;
  color: var(--dk-text);
  line-height: 1.12;
  font-weight: 800;
}

.dk-onboarding h1 {
  color: var(--dk-primary-dark);
  font-size: 34px;
}

.dk-onboarding p,
.dk-topline p {
  margin: 14px 0 0;
  color: var(--dk-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.dk-hero-art {
  width: 100%;
  display: grid;
  place-items: center;
  margin: 10px 0 8px;
}

.dk-hero-art img {
  width: 304px;
  height: 304px;
  object-fit: contain;
  transform: translateY(-14px);
}

.dk-onboarding-features {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
  padding: 0 6px;
}

.dk-topic-card .dk-onboarding-features {
  margin-top: 12px;
  padding: 0;
}

.dk-feature {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.dk-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(228, 231, 236, 0.8);
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.06);
  display: grid;
  place-items: center;
}

.dk-feature-icon img {
  width: 26px;
  height: 26px;
}

.dk-feature strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--dk-primary-dark);
}

.dk-feature span {
  font-size: 11px;
  color: var(--dk-text-secondary);
  line-height: 1.25;
}

.dk-dots {
  display: flex;
  gap: 10px;
  margin: 22px 0 24px;
}

.dk-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--dk-divider);
}

.dk-dots .is-active {
  background: var(--dk-primary);
}

.dk-primary-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--dk-gradient-primary);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 24px var(--dk-shadow-soft);
}

.dk-primary-button-with-icon {
  justify-content: space-between;
  padding: 0 22px;
}

.dk-primary-button-with-icon img {
  width: 22px;
  height: 22px;
}

.dk-success-button {
  background: var(--dk-gradient-success);
}

.dk-login-copy {
  margin: 16px 0 0;
  color: var(--dk-text-secondary);
  font-size: 13px;
}

.dk-login-copy a,
.dk-link-action {
  color: var(--dk-primary);
  font-weight: 800;
  text-decoration: none;
}

.dk-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.dk-topline h1 {
  font-size: 26px;
}

.dk-kicker {
  margin: 0 0 8px;
  color: var(--dk-text-secondary);
  font-size: 13px;
}

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

.dk-streak,
.dk-timer {
  height: 40px;
  min-width: 58px;
  padding: 0 10px;
  border: 1px solid var(--dk-border);
  border-radius: 16px;
  background: var(--dk-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--dk-text);
  font-weight: 800;
  box-shadow: 0 8px 20px var(--dk-shadow-soft);
}

.dk-streak img,
.dk-timer img {
  width: 18px;
  height: 18px;
}

.dk-icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--dk-card);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 20px var(--dk-shadow-soft);
}

.dk-icon-button img {
  width: 22px;
  height: 22px;
}

.dk-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dk-category-card {
  min-height: 126px;
  padding: 12px 10px;
  border: 1px solid var(--dk-border);
  border-radius: 16px;
  background: var(--dk-card);
  color: var(--dk-text);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
}

.dk-category-card:nth-child(4),
.dk-category-card:nth-child(5) {
  grid-column: span 1;
}

.dk-category-card img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.dk-category-card strong,
.dk-category-card span,
.dk-category-card small {
  display: block;
}

.dk-category-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.dk-category-card span,
.dk-category-card small {
  margin-top: 4px;
  color: var(--dk-text-secondary);
  font-size: 11px;
}

.dk-mini-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--dk-divider);
  overflow: hidden;
  display: block;
  margin-top: 8px;
}

.dk-mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.dk-streak-card,
.dk-goal-card,
.dk-week-card,
.dk-stat-card,
.dk-topic-card,
.dk-review-card {
  border: 1px solid var(--dk-border);
  border-radius: 16px;
  background: var(--dk-card);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
}

.dk-streak-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  background: var(--dk-primary-light);
}

.dk-streak-card img {
  width: 26px;
  height: 26px;
}

.dk-streak-card strong,
.dk-streak-card span {
  display: block;
}

.dk-streak-card strong {
  color: var(--dk-primary);
  font-size: 13px;
}

.dk-streak-card span {
  color: var(--dk-text-secondary);
  font-size: 12px;
}

.dk-bottom-nav {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 66px;
  border: 1px solid var(--dk-border);
  border-radius: 20px;
  background: var(--dk-card);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
  z-index: 6;
}

.dk-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--dk-text-secondary);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.dk-nav-item img {
  width: 20px;
  height: 20px;
}

.dk-nav-item.is-active {
  color: var(--dk-secondary);
}

.dk-learning-header {
  display: grid;
  grid-template-columns: 44px 1fr 64px;
  align-items: center;
  gap: 8px;
}

.dk-learning-header > div {
  text-align: center;
}

.dk-learning-header strong,
.dk-learning-header span {
  display: block;
}

.dk-learning-header strong {
  color: var(--dk-text);
  font-size: 14px;
}

.dk-learning-header span {
  margin-top: 3px;
  color: var(--dk-text-secondary);
  font-size: 12px;
}

.dk-progress-track {
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--dk-divider);
}

.dk-learning-header + .dk-progress-track {
  margin: 12px 64px 28px;
}

.dk-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--dk-secondary);
}

.dk-flashcard {
  min-height: 458px;
  border: 1px solid var(--dk-border);
  border-radius: 20px;
  background: var(--dk-card);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
  color: var(--dk-text);
  text-decoration: none;
}

.dk-flashcard-front {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--dk-soft-blue);
}

.dk-card-bg {
  position: absolute;
  right: -34px;
  bottom: 8px;
  width: 250px;
  height: 250px;
  object-fit: contain;
  opacity: 0.18;
}

.dk-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  background: var(--dk-secondary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  padding: 5px 8px;
}

.dk-flashcard-front .dk-tag {
  position: absolute;
  top: 116px;
}

.dk-flashcard-front h1 {
  position: relative;
  z-index: 1;
  max-width: 210px;
  font-size: 31px;
}

.dk-flashcard-front p {
  position: absolute;
  bottom: 40px;
  margin: 0;
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.dk-flashcard-back {
  padding: 28px 22px;
}

.dk-flashcard-back h1 {
  margin-top: 16px;
  font-size: 25px;
}

.dk-flashcard-back p {
  color: var(--dk-text);
  font-size: 18px;
  line-height: 1.45;
}

.dk-example {
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  background: var(--dk-soft-blue);
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.dk-example strong,
.dk-example span {
  display: block;
}

.dk-assistant-cta {
  height: 48px;
  margin-top: 16px;
  padding: 0 12px;
  border: 1px solid var(--dk-border);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 8px;
  color: var(--dk-secondary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.dk-assistant-cta img {
  width: 24px;
  height: 24px;
}

.dk-swipe-actions {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.dk-round-action {
  min-width: 122px;
  height: 72px;
  border: 0;
  border-radius: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dk-text);
  font-size: 12px;
  font-weight: 800;
  background: var(--dk-card);
}

.dk-round-action img {
  width: 34px;
  height: 34px;
}

.dk-round-action.is-retry {
  background: var(--dk-soft-red);
}

.dk-round-action.is-known {
  background: var(--dk-soft-green);
}

.dk-quiz-form {
  display: flex;
  flex-direction: column;
  min-height: 650px;
}

.dk-quiz-form h1 {
  margin-top: 16px;
  font-size: 23px;
}

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

.dk-option {
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--dk-border);
  border-radius: 12px;
  background: var(--dk-card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dk-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dk-option span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--dk-divider);
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 800;
}

.dk-option strong {
  color: var(--dk-text);
  font-size: 14px;
  line-height: 1.2;
}

.dk-option.is-selected {
  border-color: var(--dk-border-active);
  background: var(--dk-soft-blue);
}

.dk-option.is-selected span {
  background: var(--dk-secondary);
  color: #FFFFFF;
}

.dk-quiz-form .dk-primary-button {
  margin-top: auto;
}

.dk-feedback-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dk-feedback-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.dk-feedback-card h1 {
  color: var(--dk-success);
  font-size: 28px;
}

.dk-feedback-card p {
  max-width: 270px;
  color: var(--dk-text);
  font-size: 16px;
  line-height: 1.5;
}

.dk-quiz-result .dk-primary-button {
  margin-top: 16px;
}

.dk-link-action {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  font-size: 14px;
}

.dk-simple-header {
  margin-bottom: 26px;
}

.dk-simple-header h1 {
  font-size: 22px;
}

.dk-score-ring {
  width: 154px;
  height: 154px;
  border: 12px solid var(--dk-success);
  border-radius: 999px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
}

.dk-score-ring strong,
.dk-score-ring small {
  display: block;
  text-align: center;
}

.dk-score-ring strong {
  color: var(--dk-text);
  font-size: 31px;
}

.dk-score-ring span {
  color: var(--dk-text-secondary);
  font-size: 18px;
}

.dk-score-ring small {
  color: var(--dk-text);
  font-weight: 800;
}

.dk-result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin-bottom: 24px;
}

.dk-result-stats strong {
  display: block;
  color: var(--dk-success);
  font-size: 19px;
}

.dk-result-stats span {
  display: block;
  color: var(--dk-text-secondary);
  font-size: 12px;
}

.dk-review-card {
  padding: 16px;
}

.dk-review-card h2,
.dk-stat-card h2,
.dk-topic-card h2 {
  margin: 0 0 12px;
  color: var(--dk-text);
  font-size: 15px;
}

.dk-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-top: 1px solid var(--dk-divider);
  color: var(--dk-text);
  font-size: 13px;
}

.dk-review-row a {
  min-width: 58px;
  padding: 7px 10px;
  border: 1px solid var(--dk-error);
  border-radius: 10px;
  color: var(--dk-error);
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

.dk-result-analysis .dk-primary-button {
  margin-top: 22px;
}

.dk-goal-card,
.dk-week-card,
.dk-stat-card,
.dk-topic-card {
  padding: 16px;
  margin-bottom: 14px;
}

.dk-goal-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.dk-goal-card strong,
.dk-goal-card span {
  display: block;
}

.dk-goal-card span {
  margin-top: 5px;
  color: var(--dk-text-secondary);
  font-size: 13px;
}

.dk-goal-card .dk-progress-track {
  grid-column: 1 / -1;
}

.dk-week-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dk-week-title span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dk-text);
  font-weight: 900;
}

.dk-week-title img {
  width: 25px;
  height: 25px;
}

.dk-week-title small {
  color: var(--dk-text-secondary);
}

.dk-week-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.dk-week-days div {
  display: grid;
  place-items: center;
  gap: 7px;
  color: var(--dk-text-secondary);
  font-size: 11px;
}

.dk-week-days i {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--dk-divider);
}

.dk-week-days i.is-done {
  background: var(--dk-success);
}

.dk-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.dk-stat-grid strong,
.dk-stat-grid span {
  display: block;
}

.dk-stat-grid strong {
  color: var(--dk-text);
  font-size: 18px;
}

.dk-stat-grid span {
  margin-top: 6px;
  color: var(--dk-text-secondary);
  font-size: 11px;
}

.dk-profile-hero {
  margin-bottom: 18px;
}

.dk-profile-hero h1 {
  margin: 0;
  color: var(--dk-text);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.dk-profile-hero p {
  margin: 12px 0 0;
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.dk-profile-card {
  padding: 0;
  overflow: hidden;
}

.dk-profile-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.dk-profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(0, 105, 92, 0.14);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dk-profile-avatar img {
  width: 28px;
  height: 28px;
}

.dk-profile-card-copy {
  min-width: 0;
}

.dk-profile-card-copy h2 {
  margin: 0;
  font-size: 16px;
}

.dk-profile-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 105, 92, 0.12);
  border: 1px solid rgba(0, 105, 92, 0.18);
  color: var(--dk-primary-dark);
  font-size: 11px;
  font-weight: 800;
}

.dk-profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dk-divider);
  border-bottom: 1px solid var(--dk-divider);
}

.dk-profile-stat {
  padding: 14px 8px;
  text-align: center;
}

.dk-profile-stat:not(:last-child) {
  border-right: 1px solid var(--dk-divider);
}

.dk-profile-stat-icon {
  width: 26px;
  height: 26px;
  margin: 0 auto 10px;
  opacity: 0.92;
}

.dk-profile-stat strong {
  display: block;
  color: var(--dk-text);
  font-size: 18px;
}

.dk-profile-stat span {
  display: block;
  margin-top: 6px;
  color: var(--dk-text-secondary);
  font-size: 11px;
}

.dk-profile-legal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--dk-text);
}

.dk-profile-legal-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--dk-text-secondary);
  font-size: 13px;
  font-weight: 700;
}

.dk-profile-legal-left img {
  width: 22px;
  height: 22px;
}

.dk-profile-legal-left strong {
  color: var(--dk-primary);
  font-weight: 900;
}

.dk-profile-legal-chevron {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.dk-profile-promo {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.dk-profile-promo h2 {
  margin-bottom: 8px;
}

.dk-profile-promo-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(0, 105, 92, 0.14);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dk-profile-promo-icon img {
  width: 30px;
  height: 30px;
}

.dk-profile-cta {
  width: fit-content;
  margin-top: 12px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 105, 92, 0.5);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dk-primary);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.dk-profile-cta img {
  width: 18px;
  height: 18px;
  opacity: 0.75;
}

.dk-profile-support-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
}

.dk-profile-support-card h2 {
  margin: 0;
  font-size: 15px;
}

.dk-profile-support-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(0, 105, 92, 0.14);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dk-profile-support-icon img {
  width: 30px;
  height: 30px;
}

.dk-profile-support-copy .dk-card-copy {
  margin-top: 6px;
}

@media (max-width: 360px) {
  .dk-profile-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dk-profile-stat:not(:last-child) {
    border-right: 0;
  }

  .dk-profile-stat:nth-child(odd) {
    border-right: 1px solid var(--dk-divider);
  }

  .dk-profile-stat:nth-child(n + 3) {
    border-top: 1px solid var(--dk-divider);
  }
}

.dk-notifications-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.dk-notifications-hero-copy h1 {
  margin: 0;
  color: var(--dk-text);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.dk-notifications-hero-copy p {
  margin: 12px 0 0;
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.dk-notifications-mark {
  margin-top: 6px;
}

.dk-notifications-mark.is-disabled {
  opacity: 0.65;
  pointer-events: none;
}

.dk-notifications-summary {
  border: 1px solid var(--dk-border);
  border-radius: 18px;
  background: var(--dk-card);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  margin-bottom: 14px;
}

.dk-notifications-metric {
  padding: 14px 10px;
  text-align: center;
}

.dk-notifications-metric:not(:first-child) {
  border-left: 1px solid var(--dk-divider);
}

.dk-notifications-metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0, 105, 92, 0.14);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  position: relative;
}

.dk-notifications-metric-icon img {
  width: 24px;
  height: 24px;
}

.dk-notifications-metric-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--dk-primary);
  border: 2px solid var(--dk-card);
  padding: 0 6px;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.dk-notifications-metric strong,
.dk-notifications-metric span {
  display: block;
}

.dk-notifications-metric strong {
  color: var(--dk-text);
  font-size: 18px;
}

.dk-notifications-metric span {
  margin-top: 6px;
  color: var(--dk-text-secondary);
  font-size: 11px;
}

.dk-notifications-filters {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 2px;
  margin: 2px 0 16px;
}

.dk-notifications-filter {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--dk-border);
  background: var(--dk-card);
  color: var(--dk-text-secondary);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 8px 20px var(--dk-shadow-soft);
}

.dk-notifications-filter.is-active {
  background: var(--dk-primary);
  border-color: rgba(0, 105, 92, 0.35);
  color: #FFFFFF;
  box-shadow: none;
}

.dk-notifications-section-title {
  margin: 14px 0 10px;
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 900;
}

.dk-notifications-list {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.dk-notifications-item {
  border: 1px solid var(--dk-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
  padding: 12px;
  display: grid;
  grid-template-columns: 10px 44px 1fr auto 18px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dk-text);
}

.dk-notifications-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--dk-divider);
  justify-self: center;
}

.dk-notifications-dot.is-test {
  background: var(--dk-success);
}

.dk-notifications-dot.is-system {
  background: var(--dk-info);
}

.dk-notifications-dot.is-success {
  background: var(--dk-warning);
}

.dk-notifications-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 105, 92, 0.14);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
}

.dk-notifications-icon img {
  width: 28px;
  height: 28px;
}

.dk-notifications-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.dk-notifications-main strong {
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 900;
}

.dk-notifications-main span {
  margin-top: 4px;
  color: var(--dk-text-secondary);
  font-size: 11px;
  line-height: 1.35;
}

.dk-notifications-tag {
  width: fit-content;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  border: 1px solid var(--dk-border);
  background: var(--dk-card);
  color: var(--dk-text-secondary);
}

.dk-notifications-tag.is-test {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.14);
  color: var(--dk-primary-dark);
}

.dk-notifications-tag.is-system {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: var(--dk-secondary);
}

.dk-notifications-tag.is-success {
  border-color: rgba(245, 182, 66, 0.55);
  background: rgba(245, 182, 66, 0.18);
  color: var(--dk-warning);
}

.dk-notifications-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-align: right;
}

.dk-notifications-time {
  color: var(--dk-text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.dk-notifications-xp {
  color: var(--dk-success);
  font-size: 12px;
  font-weight: 900;
}

.dk-notifications-chevron {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.dk-topic-row {
  display: grid;
  grid-template-columns: 84px 1fr 42px;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: var(--dk-text);
  font-size: 12px;
}

.dk-topic-row strong {
  text-align: right;
}

.dk-chat {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.dk-bubble {
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.dk-bubble-user {
  width: 248px;
  justify-self: end;
  background: var(--dk-secondary);
  color: #FFFFFF;
}

.dk-bubble-ai {
  background: var(--dk-card);
  border: 1px solid var(--dk-border);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
}

.dk-bubble-ai div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dk-bubble-ai img {
  width: 26px;
  height: 26px;
}

.dk-bubble-ai p {
  margin: 12px 0 0;
  color: var(--dk-text);
}

.dk-bubble-ai small {
  display: block;
  margin-top: 12px;
  color: var(--dk-text-secondary);
}

.dk-legal-content {
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.65;
}

.dk-legal-content p {
  margin: 10px 0 0;
}

.dk-legal-content p:first-child {
  margin-top: 0;
}

.dk-legal-content h3 {
  margin: 18px 0 8px;
  color: var(--dk-text);
  font-size: 14px;
}

.dk-legal-content ul {
  margin: 10px 0 0 18px;
  padding: 0;
}

.dk-legal-content li {
  margin: 6px 0;
}

.dk-legal-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.dk-legal-hero-copy h1 {
  margin: 0;
  color: var(--dk-text);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.08;
}

.dk-legal-hero-copy p {
  margin: 12px 0 0;
  max-width: 220px;
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

.dk-legal-hero-art {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  border: 1px solid var(--dk-border);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.dk-legal-hero-art img {
  width: 74px;
  height: 74px;
}

.dk-legal-card .dk-card-copy {
  margin-top: 6px;
}

.dk-legal-list {
  margin-top: 12px;
}

.dk-legal-item {
  display: grid;
  grid-template-columns: 46px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--dk-divider);
  text-decoration: none;
}

.dk-legal-item:first-child {
  border-top: 0;
  padding-top: 4px;
}

.dk-legal-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 105, 92, 0.14);
  background: rgba(0, 105, 92, 0.08);
  display: grid;
  place-items: center;
}

.dk-legal-item-icon img {
  width: 28px;
  height: 28px;
}

.dk-legal-item-title {
  display: block;
  color: var(--dk-text);
  font-size: 13px;
  font-weight: 900;
}

.dk-legal-item-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--dk-text-secondary);
  font-size: 11px;
  line-height: 1.35;
}

.dk-legal-item-chevron {
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.dk-legal-support {
  position: relative;
}

.dk-legal-support-sparkle {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
}

.dk-legal-support-button {
  width: 100%;
  margin-top: 14px;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(0, 105, 92, 0.5);
  background: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dk-primary);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.dk-legal-support-button img {
  width: 22px;
  height: 22px;
}

.dk-legal-support-note {
  margin: 12px 0 0;
  color: var(--dk-text-secondary);
  font-size: 11px;
  line-height: 1.35;
}

.dk-assistant-actions {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-top: 22px;
}

.dk-assistant-actions button {
  min-height: 38px;
  white-space: nowrap;
  border: 1px solid var(--dk-border-active);
  border-radius: 999px;
  background: var(--dk-soft-blue);
  color: var(--dk-secondary);
  padding: 0 12px;
  font-weight: 800;
  font-size: 12px;
}

.dk-chat-input {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: calc(92px + constant(safe-area-inset-bottom));
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  height: 50px;
  border: 1px solid var(--dk-border);
  border-radius: 15px;
  background: var(--dk-card);
  display: grid;
  grid-template-columns: 1fr 42px;
  align-items: center;
  padding: 0 5px 0 14px;
}

.dk-chat-input input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--dk-text);
  outline: 0;
}

.dk-chat-input button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--dk-secondary);
  display: grid;
  place-items: center;
}

.dk-chat-input img {
  width: 22px;
  height: 22px;
}

.dk-with-support {
  padding-bottom: calc(164px + constant(safe-area-inset-bottom));
  padding-bottom: calc(164px + env(safe-area-inset-bottom, 0px));
}

.dk-support-hint {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: calc(92px + constant(safe-area-inset-bottom));
  bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  z-index: 3;
  border: 1px solid var(--dk-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px var(--dk-shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
}

.dk-support-hint p {
  margin: 0;
  color: var(--dk-text-secondary);
  font-size: 12px;
  line-height: 1.35;
}

.dk-mini-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--dk-border);
  border-radius: 14px;
  background: var(--dk-card);
  color: var(--dk-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.dk-card-copy {
  margin: 10px 0 0;
  color: var(--dk-text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .dk-device {
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--dk-shell-bg);
  }

  .dk-phone {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .dk-screen {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .dk-bottom-nav {
    position: fixed;
    bottom: 18px;
    box-sizing: border-box;
    height: calc(66px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

.dk-standalone .dk-device {
  padding: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.dk-standalone .dk-phone {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  box-shadow: none;
}

.dk-standalone .dk-screen {
  min-height: 100vh;
  min-height: 100dvh;
}

.dk-standalone .dk-bottom-nav {
  position: fixed;
  bottom: calc(8px + constant(safe-area-inset-bottom));
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  height: 66px;
  padding-bottom: 0;
}

.dk-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--dk-shell-bg);
  opacity: 1;
  visibility: visible;
  transition: opacity 320ms ease, visibility 0s linear 320ms;
}

.dk-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 105, 92, 0.10) 0%, rgba(0, 105, 92, 0.06) 20%, rgba(0, 0, 0, 0) 62%);
  opacity: 0.9;
}

.dk-splash-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  transform: translateY(-8px);
}

.dk-splash-icon {
  width: min(164px, 40vw);
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 24px 62px rgba(0, 0, 0, 0.55));
}

.dk-splash-icon img {
  width: 100%;
  height: auto;
}

.dk-splash-icon::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 42%;
  top: 7%;
  right: 8%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 182, 66, 0.40) 0%, rgba(245, 182, 66, 0.16) 26%, rgba(245, 182, 66, 0.00) 62%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
}

.dk-splash-logo {
  width: min(252px, 66vw);
  height: auto;
  opacity: 1;
  filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.55));
}

.dk-splash.is-animating .dk-splash-icon img {
  opacity: 0;
  transform: scale(0.94);
  animation: dk-splash-icon-in 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dk-splash.is-animating .dk-splash-icon::after {
  animation: dk-splash-star-pulse 560ms ease-out 520ms forwards;
}

.dk-splash.is-animating .dk-splash-logo {
  opacity: 0;
  transform: translateY(10px);
  animation: dk-splash-logo-in 520ms cubic-bezier(0.16, 1, 0.3, 1) 820ms forwards;
}

.dk-splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.dk-splash-skip .dk-splash {
  display: none;
}

@keyframes dk-splash-icon-in {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dk-splash-logo-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dk-splash-star-pulse {
  0% {
    opacity: 0;
    transform: scale(0.86);
    filter: blur(12px);
  }
  35% {
    opacity: 1;
    transform: scale(1.08);
    filter: blur(10px);
  }
  100% {
    opacity: 0;
    transform: scale(0.96);
    filter: blur(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dk-splash {
    transition: opacity 180ms ease, visibility 0s linear 180ms;
  }

  .dk-splash.is-animating .dk-splash-icon img,
  .dk-splash.is-animating .dk-splash-logo {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .dk-splash.is-animating .dk-splash-icon::after {
    animation: none;
    opacity: 0;
    transform: none;
  }
}
