/* La Memocratie en vitrine sur son guide (/fr/proposer-un-meme/, client/site/guide-memocratie.ts) : l'écran de vote
   du jeu (app/memocratie.css) dans l'article. Un guide ne charge pas app/app.css, qui habille le jeu entier : les
   quelques classes communes que cet écran y prend sont reprises ici, scopées à la vitrine, plutôt que d'attirer
   des milliers de lignes sur une page publique. Les listes du guide ne prêtent à l'écran ni puces ni marges, et ses
   commandes, devenues des liens vers /app/suggestions, gardent l'allure de boutons. */

.memo-guide { margin: 22px auto 28px; }
/* Deux encarts sur la page : celui du vote montre la proposition, celui de « Proposer » le formulaire. */
.memo-guide[data-memocratie-vote] { min-height: 520px; }
.memo-guide[data-memocratie-propose] { min-height: 420px; }

/* Ce que app/app.css donne d'ordinaire à l'écran. */
.memo-showcase .muted { color: var(--muted); }
.memo-showcase .small { font-size: 14px; }
.memo-showcase .head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.memo-showcase .seg { display: flex; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.memo-showcase .seg > * { flex: 1; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-weight: 800; font-size: 15px; }
.memo-showcase .seg > *[aria-selected="true"] { background: var(--page); color: var(--gold); box-shadow: inset 0 0 0 1px var(--line); }
.memo-showcase .seg-dot { min-width: 20px; height: 20px; border-radius: 999px; background: #e5484d; color: #fff; font-style: normal; font-size: 12px; font-weight: 900; display: grid; place-items: center; padding: 0 5px; }
.memo-showcase .seg-pane { min-width: 0; }
.memo-showcase .seg-pane[hidden] { display: none; }
.memo-showcase .coins { font: inherit; font-weight: 900; color: var(--text); display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 216, 74, .10); border: 1.5px solid rgba(255, 216, 74, .45); padding: 5px 8px 5px 12px; border-radius: 999px; }
.memo-showcase .coin-mark { display: inline-block; width: 1em; height: 1em; vertical-align: middle; flex: none; font-style: normal; }
.memo-showcase .coin-mark .cm-rim { fill: var(--coin-glyph-rim); }
.memo-showcase .coin-mark .cm-face { fill: var(--coin-glyph-face); }
.memo-showcase .coin-mark .cm-ink { fill: var(--coin-glyph-ink); }
.memo-showcase .btn.small-btn { width: auto; font-size: 16px; padding: 10px 18px; margin: 0; }
.memo-showcase .sugg-form { display: grid; gap: 14px; margin: 4px 0 0; text-align: left; }
.memo-showcase .sugg-form label { display: grid; gap: 6px; font-weight: 800; font-size: 14px; }
.memo-showcase .sugg-form input,
.memo-showcase .sugg-form textarea { box-sizing: border-box; width: 100%; font: inherit; font-size: max(16px, 1em); font-weight: 700; color: var(--text); background: var(--input); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; min-height: 48px; min-width: 0; }
.memo-showcase .sugg-form textarea { resize: none; line-height: 1.4; }
.memo-showcase .sugg-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.memo-showcase .sugg-err { margin: 0; font-weight: 800; font-size: 14px; color: #e0457b; }

/* L'écran dans l'article : son titre est un <p> (une seule <h1> par page), ses listes n'héritent pas de celles du
   guide, et ses commandes sont des liens qui ne se soulignent pas. */
.memo-showcase .mq-h { margin: 0; font-size: 22px; font-weight: 900; color: var(--heading); }
.memo-showcase ul,
.memo-showcase ol { margin: 0; padding: 0; list-style: none; }
.memo-showcase li { margin: 0; }
.memo-showcase a { text-decoration: none; }
.memo-showcase a.btn,
.memo-showcase a.memo-send { display: inline-flex; align-items: center; justify-content: center; }
/* Un champ désactivé n'est pas en panne : il montre ce qu'on demandera au joueur. */
.memo-showcase :disabled { opacity: .85; cursor: default; }

/* The file input covers the photo's button as in the game (memocratie.css), invisible: disabled on the showcase, the
   rule for disabled fields gave it an opacity of 0.85 and the browser's raw file button showed through. */
[data-memocratie-propose] .mq-pick .memo-file { opacity: 0; }
