/* Mains de Poker — formulaire, liste et page d'une main.
   Style « salle de jeu » : blocs sombres assortis au replayer, accent doré,
   angles presque droits, aucun liseré d'accent. */

.mp-box{background:#101316;color:#e9e6dd;padding:24px 26px;margin:0 0 24px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.5}
.mp-box + .mp-box{margin-top:-24px;padding-top:6px}
.mp-box a{color:#d7b354}
.mp-box h3{font-size:22px;font-weight:800;line-height:1.2;margin:0 0 18px;color:#e9e6dd}
.mp-box h4{font-size:13px;font-weight:800;line-height:1;letter-spacing:.14em;text-transform:uppercase;color:#a9a597;margin:0 0 10px}
.mp-box p{margin:0 0 14px;color:inherit}

/* Formulaire */
.mp-form .mp-field > label{display:block;font-size:13px;font-weight:600;color:#a9a597;margin:0 0 5px}
.mp-form .mp-field > label small,.mp-form p small{font-weight:400;color:#8f8b7e}
.mp-box.mp-form input[type=text],.mp-box.mp-form textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;height:auto;background:#1a1f24;border:1px solid #2c333b;border-radius:3px;color:#e9e6dd;padding:9px 10px;box-shadow:none;outline:0;font-size:15px}
.mp-box.mp-form input[type=text]:focus,.mp-box.mp-form textarea:focus{border-color:#d7b354}
.mp-box.mp-form input::placeholder,.mp-box.mp-form textarea::placeholder{color:#6f6c62}
.mp-box.mp-form textarea#mp_history{font-family:Menlo,Consolas,monospace;font-size:12px;line-height:1.45}
.mp-box .mp-btn{background:#d7b354;color:#16130a;border:0;border-radius:3px;font-weight:800;font-size:14px;padding:11px 20px;margin-right:10px;cursor:pointer;text-transform:none;letter-spacing:0}
.mp-box .mp-btn:hover{background:#e6c66d;color:#16130a}

/* Bouton « Poster une nouvelle main » aligné à droite */
.mp-box .mp-new{text-align:right}
.mp-box .mp-new .mp-btn{margin-right:0}

/* Replayer Winamax intégré (iframe) */
.mp-embed{padding:0}
.mp-embed + .mp-box{margin-top:0}
.mp-embed-frame{position:relative;width:100%;max-width:720px;margin:0 auto;aspect-ratio:4/3;background:#000}
.mp-embed-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.mp-embed-link{margin:0;padding:10px 14px;text-align:right;font-size:13px}
.mp-apercu .mp-embed{margin:0 0 16px}

/* Messages */
.mp-notice{margin:0 0 16px}
.mp-box .mp-notice.mp-error{background:#3a1114;color:#ffb3b5;padding:10px 12px}
.mp-box .mp-notice.mp-ok{background:#12301f;color:#a6e9c2;padding:10px 12px}

/* Liste des mains */
.mp-list{margin:0}
.mp-item{display:flex;align-items:center;gap:16px;padding:11px 12px;margin-bottom:2px;background:#171b20;text-decoration:none !important;color:#e9e6dd !important}
.mp-item:hover{background:#1e242a}
.mp-cards{display:flex;gap:4px;flex:none}
.mp-c{display:inline-flex;align-items:center;justify-content:center;width:34px;height:46px;background:#f7f5ee;color:#15171a;border-radius:4px;font-weight:800;font-size:16px;line-height:1;box-shadow:0 2px 0 #0008}
.mp-c.mp-r{color:#c8202b}
.mp-body{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.35}
.mp-body strong{font-size:15.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-body small{font-size:12.5px;color:#8f8b7e}
.mp-count{flex:none;white-space:nowrap;font-family:Menlo,Consolas,monospace;font-size:13px;font-weight:700;color:#d7b354}
.mp-pages{display:flex;gap:14px;align-items:center;justify-content:center;margin:14px 0 0 !important;font-size:13px;color:#a9a597}
@media(max-width:520px){
  .mp-box{padding:18px 14px}
  .mp-item{flex-wrap:wrap;gap:10px 12px}
  .mp-body{flex-basis:calc(100% - 100px)}
  .mp-body strong{white-space:normal}
}

/* Page d'une main : mot de l'auteur sous le replayer (espacé par la marge du replayer) */
.mp-texte p:last-child{margin-bottom:0}
.mp-actions{text-align:right;font-size:13px}
.mp-del{color:#b3261e}

/* ---------- Discussion (commentaires WordPress) dans le même style ---------- */
body.single-main_poker :is(.comments-template,.comments-area){background:#101316;color:#e9e6dd;padding:24px 26px;margin:0 0 24px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.5}
body.single-main_poker :is(.comments-template,.comments-area) > :is(h2,h3,h4){font-size:13px;font-weight:800;line-height:1;letter-spacing:.14em;text-transform:uppercase;color:#a9a597;margin:0 0 12px;padding:0;border:0}
body.single-main_poker :is(.commentlist,.comment-list){list-style:none;margin:0 0 22px;padding:0}
body.single-main_poker :is(.commentlist,.comment-list) li{list-style:none;margin:0;padding:0;border:0;background:none}
body.single-main_poker .comment-body{position:relative;background:#171b20;padding:12px 14px 10px 60px;margin:0 0 2px;min-height:60px;border:0;color:#e9e6dd}
body.single-main_poker .comment-body .avatar{position:absolute;left:14px;top:14px;width:32px;height:32px;border-radius:50%;margin:0}
body.single-main_poker .comment-author{display:inline;font-size:15px}
body.single-main_poker .comment-author .fn,body.single-main_poker .comment-author .fn a{font-style:normal;font-weight:700;color:#e9e6dd;text-decoration:none}
body.single-main_poker .comment-author .says{display:none}
body.single-main_poker .bypostauthor > .comment-body .fn::after{content:"auteur";margin-left:8px;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#16130a;background:#d7b354;padding:1px 6px;border-radius:2px;vertical-align:2px}
body.single-main_poker .comment-meta{display:inline;margin:0 0 0 8px;font-size:12px;font-style:normal;color:#8f8b7e}
body.single-main_poker .comment-meta a{color:#8f8b7e;text-decoration:none;font-style:normal}
body.single-main_poker .comment-meta a:hover{color:#e9e6dd}
body.single-main_poker .comment-body p{margin:6px 0 8px;color:#e9e6dd}
body.single-main_poker .comment-body .reply{margin:0}
body.single-main_poker .comment-body .reply a{display:inline;font-size:12.5px;font-weight:700;color:#d7b354;background:none;border:0;padding:0;text-decoration:none}
body.single-main_poker .comment-body .reply a:hover{text-decoration:underline}
/* Pas d'indentation : les réponses restent alignées, une mention « en réponse à … » indique le destinataire */
body.single-main_poker :is(.commentlist,.comment-list) .children{list-style:none;margin:0;padding:0}
body.single-main_poker .mp-replyto{display:block;font-size:12px;color:#8f8b7e;margin:0 0 2px}
body.single-main_poker .mp-replyto b{color:#a9a597;font-weight:700}

/* Formulaire de réponse */
body.single-main_poker #respond{margin:0;padding:0;background:none;border:0}
body.single-main_poker :is(.commentlist,.comment-list) #respond{background:#1c2127;padding:14px;margin:0 0 2px}
body.single-main_poker #reply-title{font-size:18px;font-weight:800;line-height:1.2;color:#e9e6dd;margin:0 0 10px;padding:0;border:0;text-transform:none;letter-spacing:0}
body.single-main_poker #reply-title small{margin-left:10px;font-size:12.5px;font-weight:600}
body.single-main_poker #reply-title small a{color:#d7b354}
body.single-main_poker #respond p{margin:0 0 12px;color:#e9e6dd}
body.single-main_poker #respond .logged-in-as{font-size:12.5px;color:#8f8b7e}
body.single-main_poker #respond .logged-in-as a,body.single-main_poker #respond .must-log-in a{color:#d7b354}
body.single-main_poker #respond .required-field-message{display:none}
body.single-main_poker #respond label{display:block;font-size:13px;font-weight:600;color:#a9a597;margin:0 0 5px}
body.single-main_poker #respond textarea,body.single-main_poker #respond input[type=text],body.single-main_poker #respond input[type=email],body.single-main_poker #respond input[type=url]{display:block;width:100%;max-width:100%;box-sizing:border-box;background:#1a1f24;border:1px solid #2c333b;border-radius:3px;color:#e9e6dd;padding:9px 10px;box-shadow:none;outline:0;font-size:15px}
body.single-main_poker #respond textarea{height:110px}
body.single-main_poker #respond textarea:focus{border-color:#d7b354}
body.single-main_poker #respond #submit{width:auto;background:#d7b354;color:#16130a;border:0;border-radius:3px;font-weight:800;font-size:14px;padding:11px 20px;cursor:pointer;text-transform:none;letter-spacing:0}
body.single-main_poker #respond #submit:hover{background:#e6c66d}
@media(max-width:520px){
  body.single-main_poker :is(.comments-template,.comments-area){padding:18px 14px}
}

/* Boutons en haut de la page d'une main : liste, précédente, suivante.
   Les liens « article précédent / suivant » du thème sont masqués. */
body.single-main_poker .prev-next-links{display:none !important}
.mp-back{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.mp-back a,.mp-back .mp-off{display:inline-block;background:#101316;color:#e9e6dd !important;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13.5px;font-weight:700;line-height:1.3;padding:8px 14px;border-radius:3px;text-decoration:none !important}
.mp-back a:hover{background:#d7b354;color:#16130a !important}
.mp-back .mp-off{opacity:.35;cursor:default}
.mp-back .mp-nav-prev{margin-left:auto}
@media(max-width:520px){.mp-back a:first-child{flex-basis:100%;text-align:center}.mp-back .mp-nav-prev,.mp-back .mp-nav-next{flex:1;text-align:center;margin-left:0}}
