/**
 * Shell width modes — painel /mapa → GET /api/shell-layout → data-lc-shell
 * Measured 2026-11-13: .lc-side=330px, gap=1.15rem, mapa wrap cap=1920px.
 */
.lc-wrap {
  width: min(100% - var(--lc-shell-inset, 0.75rem), var(--lc-shell-max, var(--lc-max, 1920px))) !important;
  margin-inline: auto;
}

html[data-lc-shell='padded'],
html.as-shell-padded {
  --lc-shell-max: 72rem;
  --lc-shell-inset: 2rem;
  --lc-max: 72rem;
}

html[data-lc-shell='comfort'],
html.as-shell-comfort {
  --lc-shell-max: 1440px;
  --lc-shell-inset: 1.5rem;
  --lc-max: 1440px;
}

html[data-lc-shell='mapa'],
html[data-lc-shell='reduced'],
html.as-shell-mapa,
html.as-shell-reduced {
  --lc-shell-max: 1920px;
  --lc-shell-inset: 0.75rem;
  --lc-max: 1920px;
}

html[data-lc-shell='full'],
html.as-shell-full {
  --lc-shell-max: 100%;
  --lc-shell-inset: 0px;
  --lc-max: 100%;
}

html[data-lc-shell='full'] .lc-wrap,
html.as-shell-full .lc-wrap {
  width: 100% !important;
  max-width: none !important;
  padding-inline: 0 !important;
}

/* EuroDreams UQFA sidebar: 6 números + 1 sonho (vence o default 5 cols do GameStage) */
.lc-tl-stats[data-game='eurodreams'] .lc-tl-layers__nums {
  grid-template-columns: repeat(6, var(--tl-ln, 22px)) !important;
}
.lc-tl-stats[data-game='eurodreams'] .lc-tl-layers__dreams-nums {
  grid-template-columns: repeat(1, var(--tl-ln, 22px)) !important;
}


/* EM side chave stars: color number interior */
.lc-em-side-cell--star.is-drawn svg { fill: #fff !important; stroke: var(--em-red, #d32f2f) !important; }
.lc-em-side-cell--star.is-drawn .lc-em-side-cell__num { color: #fff !important; border-color: transparent !important; }
.lc-em-side-cell--star.is-drawn.is-zone-late .lc-em-side-cell__num { background: #7d6ab0 !important; }
.lc-em-side-cell--star.is-drawn.is-zone-cold .lc-em-side-cell__num { background: #3b8fc4 !important; }
.lc-em-side-cell--star.is-drawn.is-zone-hot .lc-em-side-cell__num { background: #c67c00 !important; }
.lc-em-side-cell--star.is-drawn.is-zone-last .lc-em-side-cell__num { background: #e15b52 !important; }
