/* [43-lucky-daily] Lucky Chance et jetons quotidiens */
/* ---------- Lucky Chance & Jetons ---------- */
.daily-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.daily-section {
  padding: 8px 10px;
  background: rgba(15, 17, 19, 0.85);
  border: 1px solid var(--panel-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.daily-title {
  font-family: 'Limelight', serif;
  font-size: 14px;
  color: var(--gold-primary);
}
.daily-help { font-size: 11.5px; color: var(--text-dim); line-height: 1.3; }
.daily-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.daily-hand {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.daily-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 4px;
  background: linear-gradient(180deg, #251f17, #0f1113);
  border: 1px solid var(--gold-dark);
  text-align: center;
  font-size: 11px;
}
/* ---------- Lucky Chance : tapis vert, pin-up, cartes (fenêtre de l'original) ---------- */
.lucky-stage {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.lucky-girl {
  width: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.lucky-girl img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}
.lucky-board {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lucky-intro {
  text-align: center;
  font-size: 14px;
  color: var(--text-gold);
}
.lucky-table {
  min-height: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at center, #28614c 0%, #163e2f 100%);
  border: 3px solid #4d3a21;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.7);
}
.lucky-grid {
  display: grid;
  grid-template-columns: repeat(4, 92px);
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.lucky-card {
  position: relative;
  aspect-ratio: 5 / 7;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  text-align: center;
  font-size: 11px;
}
.lucky-card-back {
  background: linear-gradient(160deg, #3a9476, #215644);
  border: 3px solid #e4d3bc;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  color: #e4d3bc;
  font-family: 'Limelight', serif;
  font-size: 26px;
  cursor: pointer;
}
.lucky-card-back:hover { filter: brightness(1.15); transform: translateY(-3px); }
.lucky-card-static { cursor: default; }
.lucky-card-static:hover { filter: none; transform: none; }
.daily-tabs { margin-bottom: 8px; justify-content: center; }
.lucky-card-used { opacity: 0.45; cursor: default; }
.lucky-card-face {
  background: #f1eae0;
  border: 3px solid #e4d3bc;
  color: #19140d;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}
.lucky-card-icon { font-size: 24px; display: flex; align-items: center; justify-content: center; height: 64px; overflow: hidden; }
.lucky-card-icon > svg, .lucky-card-icon > img { flex: none; width: 64px !important; height: 64px !important; max-width: 64px; max-height: 64px; object-fit: contain; }
.lucky-card-name { line-height: 1.2; }
.lucky-won { box-shadow: 0 0 16px 4px rgba(238, 215, 185, 0.85); }
/* ---------- Jeton quotidien : grand jeton, compteur, carrousel d'échanges ---------- */
.token-hero {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas: "coin count" "coin next" "btn btn" "help help";
  justify-content: center;
  align-items: center;
  column-gap: 18px;
  row-gap: 4px;
  padding: 6px 0 10px;
  text-align: center;
}
.token-hero > .lucky-btn { grid-area: btn; justify-self: center; margin-top: 6px; }
.token-hero > .daily-help { grid-area: help; margin-top: 6px; }
.token-coin { grid-area: coin; width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.7)); }
.token-count { grid-area: count; font-family: 'Josefin Sans', sans-serif; font-size: 40px; color: var(--gold-primary); line-height: 1; text-align: left; }
.token-next { grid-area: next; font-size: 12px; color: var(--text-dim); text-align: left; }
.token-next strong { color: var(--gold-highlight); }
.token-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #4d3a21;
}
.token-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.token-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 0 6px;
  background: linear-gradient(180deg, #1a1612, #08090a);
  border: 2px solid var(--gold-dark);
  color: var(--text-main);
  cursor: pointer;
  min-height: 150px;
}
.token-card:hover { border-color: var(--gold-primary); }
.token-card.selected { border-color: var(--gold-highlight); box-shadow: 0 0 10px rgba(238, 215, 185, 0.6); }
.token-card-name {
  width: 100%;
  padding: 4px 2px;
  font-size: 12px;
  color: var(--text-gold);
  background: rgba(184, 142, 86, 0.15);
  border-bottom: 1px solid var(--gold-dark);
}
.token-card-art { display: flex; align-items: center; justify-content: center; height: 78px; font-size: 38px; line-height: 1.4; }
.token-card-art > svg, .token-card-art > img { flex: none; width: 78px !important; height: 78px !important; max-width: 78px; max-height: 78px; object-fit: contain; }
.token-card-art { overflow: hidden; }
.token-card-owned { align-self: flex-end; margin-right: 6px; font-size: 11px; color: var(--text-dim); }
.token-card-cost { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gold-highlight); }
.token-coin-mini { width: 22px; height: 22px; object-fit: contain; }
.token-arrow {
  width: 30px;
  height: 60px;
  background: linear-gradient(180deg, #3a9476, #215644);
  border: 1px solid #e4d3bc;
  color: #e4d3bc;
  cursor: pointer;
}
.token-arrow:disabled { opacity: 0.35; cursor: default; }
/* taille fixe : la fenêtre ne change pas de taille quand on passe de Lucky Chance au Jeton quotidien */
#daily-modal .game-modal-box { height: 96%; }
/* Titre plus long que « SALLE DU CONSEIL » : la plaque s'élargit pour ne pas le couper */
#daily-modal .modal-crown-trapezoid { min-width: 490px; }
#daily-modal .modal-crown-title { white-space: nowrap; }
.lucky-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 30px;
}
.lucky-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 14px;
  border-top: 1px solid var(--panel-border);
}
.lucky-diamonds { font-size: 15px; color: #9fd6ff; }
.lucky-btn {
  padding: 6px 18px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #1b1b1b;
  cursor: pointer;
}
.lucky-btn-green { background: linear-gradient(180deg, #4aa382, #296e55); }
.lucky-btn-red { background: linear-gradient(180deg, #c24335, #791f15); }
.lucky-btn:hover { filter: brightness(1.12); }
.lucky-btn:disabled { opacity: 0.45; cursor: default; filter: none; }
@media (max-width: 720px) {
  .lucky-stage { flex-direction: column; align-items: center; }
  .lucky-grid { grid-template-columns: repeat(2, 1fr); }
}
.daily-card-icon { font-size: 22px; }
.daily-card-name { color: var(--text-gold); line-height: 1.2; }
.daily-reward-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}
@media (max-width: 720px) {
  .daily-hand { grid-template-columns: repeat(2, 1fr); }
}

