/* ==============================================================
   AajKaVrat.in — Dharma Khel (Moksha Patam & Chowka Bara)
   100% Original Styles matching Warm Sacred Cream & Terracotta theme
   ============================================================== */

.dk-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 16px 16px 40px;
  box-sizing: border-box;
}

.dk-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.dk-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid var(--color-border, rgba(140, 111, 78, 0.28));
  background-color: var(--color-bg-card, #FDFAF5);
  color: var(--color-text-primary, #2B1710);
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dk-sound-btn:hover {
  background-color: #FAF3E3;
  border-color: var(--color-terracotta-dark, #8F2E1C);
}

/* Game Switcher Tabs */
.dk-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.dk-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--color-border, rgba(140, 111, 78, 0.26));
  background-color: var(--color-bg-card, #FDFAF5);
  color: var(--color-text-primary, #2B1710);
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(43, 23, 16, 0.04);
}

.dk-tab-btn:hover {
  border-color: rgba(192, 138, 30, 0.55);
  transform: translateY(-1px);
}

.dk-tab-btn.active {
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF0D7 100%);
  border-color: var(--color-terracotta-dark, #8F2E1C);
  box-shadow: 0 6px 18px rgba(143, 46, 28, 0.12);
}

.dk-tab-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: rgba(196, 67, 46, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.dk-tab-btn.active .dk-tab-icon {
  background-color: var(--color-terracotta-dark, #8F2E1C);
  color: #FFFFFF;
}

.dk-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dk-tab-title {
  font-family: 'Noto Serif Devanagari', 'DM Sans', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary, #2B1710);
  line-height: 1.25;
}

.dk-tab-sub {
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--color-text-secondary, #5C4028);
  line-height: 1.3;
}

/* Game Panel Card */
.dk-panel {
  display: none;
  background-color: var(--color-bg-card, #FDFAF5);
  border: 1px solid var(--color-border, rgba(140, 111, 78, 0.25));
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(43, 23, 16, 0.06);
  margin-bottom: 24px;
}

.dk-panel.active {
  display: block;
}

.dk-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px dashed rgba(192, 138, 30, 0.35);
}

.dk-game-heading {
  font-family: 'Noto Serif Devanagari', 'DM Sans', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-terracotta-dark, #8F2E1C);
  margin: 0 0 4px 0;
}

.dk-game-intro {
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text-secondary, #5C4028);
  margin: 0;
  max-width: 560px;
}

.dk-controls-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.dk-select {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border, rgba(140, 111, 78, 0.3));
  background-color: #FFFFFF;
  color: var(--color-text-primary, #2B1710);
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.dk-reset-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid rgba(143, 46, 28, 0.32);
  background-color: #FFFDF8;
  color: var(--color-terracotta-dark, #8F2E1C);
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dk-reset-btn:hover {
  background-color: #FAF0D7;
}

/* Two-Column Workspace: Board Left, Turn/Dice/Wisdom Right */
.dk-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.85fr);
  gap: 20px;
  align-items: start;
}

/* ==============================================================
   MOKSHA PATAM (10x10 SVG + Grid Board)
   ============================================================== */
.mp-board-shell {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid #B6832C;
  background-color: #FBF4E2;
  box-shadow: 0 8px 24px rgba(102, 65, 16, 0.14);
  user-select: none;
}

.mp-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  z-index: 1;
}

.mp-cell {
  position: relative;
  border: 0.5px solid rgba(182, 131, 44, 0.24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 3px;
  box-sizing: border-box;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.mp-cell.mp-cell-alt {
  background-color: rgba(244, 228, 193, 0.45);
}

.mp-cell.mp-cell-moksha {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
}

.mp-cell.mp-cell-start {
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
}

.mp-cell.mp-cell-ladder {
  background-color: rgba(22, 101, 52, 0.08);
}

.mp-cell.mp-cell-snake {
  background-color: rgba(185, 28, 28, 0.06);
}

.mp-cell-num {
  font-size: clamp(8px, 1.55vw, 11px);
  font-weight: 700;
  color: #5C4028;
  line-height: 1;
  z-index: 3;
}

.mp-cell-tag {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(6.5px, 1.15vw, 8.5px);
  font-weight: 600;
  line-height: 1.05;
  color: #7C2D12;
  text-align: center;
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-svg-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.mp-tokens-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.mp-token {
  position: absolute;
  width: 6.4%;
  height: 6.4%;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(10px, 2vw, 15px);
  transform: translate(-50%, -50%);
  transition: left 0.16s ease, top 0.16s ease, transform 0.2s ease;
}

.mp-token.active-turn {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.7), 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 6;
}

/* Temporary 3-second Semi-Transparent Educational Overlay over Action Card */
.mp-action-card {
  position: relative;
  overflow: hidden;
}

.mp-board-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: inherit;
  pointer-events: none;
  background-color: rgba(253, 250, 245, 0.35);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.mp-board-overlay[hidden] {
  display: none;
}

.mp-board-overlay.show {
  opacity: 1;
}

.mp-board-overlay-card {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  padding: 12px 14px;
  border-radius: 14px;
  background-color: rgba(253, 250, 245, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(192, 138, 30, 0.42);
  box-shadow: 0 4px 16px rgba(43, 23, 16, 0.12);
  text-align: left;
  box-sizing: border-box;
}

.mp-board-overlay.virtue .mp-board-overlay-card {
  background-color: rgba(242, 253, 245, 0.95);
  border-color: rgba(22, 101, 52, 0.38);
  border-left: 4px solid #166534;
}

.mp-board-overlay.vice .mp-board-overlay-card {
  background-color: rgba(254, 244, 244, 0.95);
  border-color: rgba(185, 28, 28, 0.35);
  border-left: 4px solid #B91C1C;
}

.mp-overlay-title {
  display: block;
  font-family: 'Noto Serif Devanagari', 'DM Sans', serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #1F120D;
  margin-bottom: 5px;
}

.mp-overlay-body {
  margin: 0;
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 12.8px;
  line-height: 1.45;
  color: #2B1710;
}

.mp-overlay-body-en {
  margin: 6px 0 0 0;
  padding-top: 5px;
  border-top: 1px dashed rgba(140, 111, 78, 0.28);
  font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #374151;
}

@media (max-width: 480px) {
  .mp-board-overlay {
    padding: 8px;
  }

  .mp-board-overlay-card {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .mp-overlay-title {
    font-size: 12.5px;
    margin-bottom: 4px;
  }

  .mp-overlay-body {
    font-size: 12px;
    line-height: 1.42;
  }

  .mp-overlay-body-en {
    font-size: 11.4px;
    line-height: 1.38;
    margin-top: 5px;
    padding-top: 4px;
  }
}

/* ==============================================================
   CHOWKA BARA / ASHTA CHAMMA (5x5 Traditional Board)
   ============================================================== */
.cb-board-shell {
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(135deg, #EEDAB4 0%, #DEC08C 100%);
  border: 2.5px solid #9A6828;
  box-shadow: 0 8px 24px rgba(102, 65, 16, 0.14);
  box-sizing: border-box;
  user-select: none;
}

.cb-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 5px;
}

.cb-cell {
  position: relative;
  border-radius: 10px;
  background-color: #FFFDF8;
  border: 1.5px solid rgba(154, 104, 40, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cb-cell.cb-safe {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-color: #B45309;
}

.cb-cell.cb-center {
  background: radial-gradient(circle, #FEF08A 0%, #F59E0B 100%);
  border-color: #78350F;
}

.cb-cell.cb-p0-home {
  box-shadow: inset 0 0 0 2px rgba(185, 28, 28, 0.45);
}
.cb-cell.cb-p1-home {
  box-shadow: inset 0 0 0 2px rgba(22, 101, 52, 0.45);
}
.cb-cell.cb-p2-home {
  box-shadow: inset 0 0 0 2px rgba(180, 83, 9, 0.55);
}
.cb-cell.cb-p3-home {
  box-shadow: inset 0 0 0 2px rgba(67, 56, 202, 0.45);
}

.cb-cell.cb-target-preview {
  border: 2px dashed #166534;
  background-color: #DCFCE7;
}

.cb-cross-mark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.28;
}

.cb-center-label {
  position: absolute;
  bottom: 3px;
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  color: #78350F;
  pointer-events: none;
}

.cb-token-rack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.cb-token-btn {
  width: clamp(22px, 5vw, 32px);
  height: clamp(22px, 5vw, 32px);
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(11px, 2.2vw, 15px);
  color: #FFFFFF;
  padding: 0;
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cb-token-btn.movable {
  cursor: pointer;
  animation: cbPulse 1s infinite alternate;
  box-shadow: 0 0 0 3px #F59E0B, 0 4px 12px rgba(180, 83, 9, 0.45);
  z-index: 4;
}

.cb-token-btn.movable:hover {
  transform: scale(1.16);
}

@keyframes cbPulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

/* ==============================================================
   SIDEBAR: PLAYERS, DICE / COWRIE SHELLS & LESSON CARD
   ============================================================== */
.dk-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dk-players-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dk-player-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border, rgba(140, 111, 78, 0.24));
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 12.5px;
  transition: all 0.2s ease;
}

.dk-player-pill.current {
  border-color: var(--color-terracotta-dark, #8F2E1C);
  background: linear-gradient(135deg, #FFFDF8 0%, #FEF3C7 100%);
  box-shadow: 0 3px 10px rgba(180, 83, 9, 0.14);
}

.dk-player-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 13px;
  flex-shrink: 0;
}

.dk-player-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dk-player-name {
  font-weight: 600;
  color: var(--color-text-primary, #2B1710);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dk-player-stat {
  font-size: 11px;
  color: var(--color-text-secondary, #5C4028);
}

/* Action Box (Dice / Cowrie Area) */
.dk-action-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF3E3 100%);
  border: 1.5px solid rgba(192, 138, 30, 0.36);
  border-radius: 18px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dk-turn-banner {
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-terracotta-dark, #8F2E1C);
}

.dk-dice-face {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background-color: #FFFFFF;
  border: 2px solid #B6832C;
  box-shadow: 0 4px 14px rgba(143, 102, 20, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: #8F2E1C;
  transition: transform 0.2s ease;
}

.dk-dice-face.rolling {
  animation: dkRollSpin 0.35s linear infinite;
}

@keyframes dkRollSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Cowrie Shells Row */
.cb-cowries-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
}

.cb-cowrie-svg {
  width: 38px;
  height: 48px;
  filter: drop-shadow(0 2px 5px rgba(43, 23, 16, 0.18));
  transition: transform 0.25s ease;
}

.cb-cowries-row.rolling .cb-cowrie-svg {
  animation: dkRollSpin 0.28s linear infinite;
}

.dk-roll-result-text {
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary, #2B1710);
  min-height: 20px;
}

.dk-roll-btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 9999px;
  border: none;
  background-color: var(--color-terracotta-dark, #8F2E1C);
  color: #FFFFFF;
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(143, 46, 28, 0.26);
  transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.dk-roll-btn:hover:not(:disabled) {
  background-color: var(--color-terracotta, #C4432E);
  transform: translateY(-1px);
}

.dk-roll-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Moral / Event Log Card */
.dk-wisdom-card {
  background-color: #FFFFFF;
  border: 1px solid rgba(192, 138, 30, 0.3);
  border-left: 4px solid #C08A1E;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-primary, #2B1710);
  min-height: 68px;
}

.dk-wisdom-card.virtue {
  background-color: #F0FDF4;
  border-left-color: #166534;
}

.dk-wisdom-card.vice {
  background-color: #FEF2F2;
  border-left-color: #B91C1C;
}

.dk-wisdom-title {
  display: block;
  font-weight: 700;
  margin-bottom: 3px;
}

.dk-wisdom-en {
  display: block;
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px dashed rgba(140, 111, 78, 0.22);
  font-family: 'DM Sans', 'Noto Sans Devanagari', sans-serif;
  font-size: 12.5px;
  color: #4B5563;
}

/* Rules Accordion / Strip */
.dk-rules-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background-color: #FAF4E6;
  border: 1px solid rgba(140, 111, 78, 0.22);
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-secondary, #5C4028);
}

.dk-rules-box summary {
  font-weight: 600;
  color: var(--color-terracotta-dark, #8F2E1C);
  cursor: pointer;
  min-height: 28px;
}

.dk-rules-box ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.dk-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.dk-rules-col {
  background-color: #FFFFFF;
  border: 1px solid rgba(140, 111, 78, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
}

.dk-rules-lang-title {
  font-family: 'Noto Serif Devanagari', 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #8F2E1C;
  margin: 0 0 6px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(140, 111, 78, 0.16);
}

@media (max-width: 760px) {
  .dk-rules-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Winner Banner Overlay */
.dk-win-banner {
  display: none;
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 2px solid #D97706;
  text-align: center;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.2);
}

.dk-win-banner.show {
  display: block;
}

.dk-win-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 20px;
  font-weight: 700;
  color: #78350F;
  margin: 0 0 6px 0;
}

.dk-win-sub {
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: #5C4028;
  margin: 0 0 12px 0;
}

.dk-win-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dk-wa-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 9999px;
  background-color: #166534;
  border: 1.5px solid #14532D;
  color: #FFFFFF !important;
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(22, 101, 52, 0.25);
  box-sizing: border-box;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.dk-wa-share-btn:hover {
  background-color: #15803D;
  transform: translateY(-1px);
}

.dk-copy-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1px solid rgba(120, 53, 15, 0.3);
  color: #78350F;
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dk-copy-share-btn:hover {
  background-color: #FFFBEB;
  border-color: #B45309;
}

/* Soft Vedatmik Books Bridge */
.dk-books-bridge {
  background: linear-gradient(135deg, #FFFDF8 0%, #FAF3E3 100%);
  border: 1.5px solid rgba(192, 138, 30, 0.42);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.dk-bridge-title {
  font-family: 'Noto Serif Devanagari', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-terracotta-dark, #8F2E1C);
  margin: 0 0 6px 0;
}

.dk-bridge-desc {
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: var(--color-text-secondary, #5C4028);
  margin: 0 0 14px 0;
  line-height: 1.5;
}

.dk-bridge-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dk-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 9999px;
  background-color: #FFFFFF;
  border: 1.5px solid rgba(143, 46, 28, 0.32);
  color: var(--color-terracotta-dark, #8F2E1C) !important;
  font-family: 'Noto Sans Devanagari', 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dk-bridge-link:hover {
  background-color: var(--color-terracotta-dark, #8F2E1C);
  color: #FFFFFF !important;
}

/* Responsive Breakpoints */
@media (max-width: 820px) {
  .dk-workspace {
    grid-template-columns: 1fr;
  }

  .dk-tabs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dk-main {
    padding: 12px 10px 32px;
  }

  .dk-panel {
    padding: 14px 12px;
    border-radius: 16px;
  }

  .dk-game-heading {
    font-size: 19px;
  }

  .dk-players-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
