.saint-mu-card {
    margin: 12px 0;
    padding: 16px;
    border: 1px solid #775126;
    border-radius: 8px;
    background: linear-gradient(110deg, #271c14, #151011);
    color: #f1e3cf;
    font-family: Arial, sans-serif;
}
.saint-mu-card h2 {
    margin: 0 0 12px;
    color: #ffdb8e;
    font-size: 16px;
}
.saint-mu-identity { display: flex; align-items: center; gap: 12px; }
.saint-mu-identity img, .saint-mu-mini img {
    border: 1px solid #916534;
    border-radius: 5px;
    object-fit: cover;
    flex: none;
}
.saint-mu-identity strong { display: block; font-size: 20px; color: #ffe3a6; }
.saint-mu-identity span { display: block; margin-top: 4px; color: #e3c4a3; }
.saint-mu-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr));
    gap: 6px;
    margin: 12px 0 8px;
}
.saint-mu-stats div { border: 1px solid #543c29; border-radius: 4px; padding: 8px; background: #181218; }
.saint-mu-stats dt { color: #d4b38c; font-size: 11px; }
.saint-mu-stats dd { margin: 4px 0 0; color: #fff0ce; font-weight: bold; }
.saint-mu-card small { color: #d6c1a6; }
.saint-mu-select { border-top: 1px solid #66492e; margin: 12px 0 0; padding-top: 10px; }
.saint-mu-select label { display: block; margin-bottom: 6px; color: #f0d4ae; }
.saint-mu-select select, .saint-mu-select button, .saint-solution-form button {
    border: 1px solid #926834;
    padding: 5px 7px;
    border-radius: 4px;
    margin: 2px 0;
    color: #ffe9bb;
    background: #2b2018;
}
.saint-mu-select select { max-width: 100%; }
.saint-mu-select button:disabled { opacity: .55; }
.saint-mu-select button:not(:disabled), .saint-solution-form button { cursor: pointer; }
.saint-mu-mini {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    padding: 4px;
    border: 1px solid #715331;
    border-radius: 4px;
    background: #251a15;
    font-size: 11px;
    color: #ffe1a2;
    text-decoration: none;
}
.saint-mu-mini b, .saint-mu-mini small { display: block; }
.saint-mu-mini small { font-size: 10px; color: #ead0ae; }
.saint-poster-name { color: inherit; }
.saint-topic-tag {
    display: inline-block;
    margin-left: 3px;
    padding: 2px 6px;
    border: 1px solid #94723e;
    border-radius: 10px;
    background: #2f2116;
    color: #ffd78e;
    font: bold 11px Arial, sans-serif;
}
.saint-topic-guide { background: #172932; border-color: #517587; color: #b7e9f8; }
.saint-topic-solved, .saint-solution-mark { background: #1b3020; border-color: #5b8e5a; color: #d2f3bf; }
.saint-solution-mark { margin: 2px 0 9px; padding: 6px 8px; border-left: 3px solid #90c176; font-weight: bold; }
.saint-solution-top { margin-left: 5px; color: #d2f3bf; font-weight: bold; }
.saint-solution-form { display: inline-block; margin: 3px; }
.saint-mc-suspend { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.saint-mc-reason { max-width: 95%; }

/* Firma contenida, sin desbordes en movil ni en escritorio. */
.saint-signature { margin-top: 16px; padding: 9px 10px; border-top: 1px solid #795329; background: #17120f; max-width: 500px; max-height: 340px; overflow: auto; box-sizing: border-box; color: #e8d5bc; overflow-wrap: anywhere; }
.saint-signature-content { max-width: 100%; max-height: none; overflow: visible; }
.saint-signature img, .saint-signature-content img { max-width: 100% !important; max-height: 150px !important; width: auto !important; height: auto !important; object-fit: contain; vertical-align: middle; }
.saint-mu-mini { max-width: 150px; overflow: hidden; box-sizing: border-box; }
.saint-mu-mini span { min-width: 0; overflow-wrap: anywhere; }
.saint-mu-card { max-width: 100%; box-sizing: border-box; }
@media (max-width: 650px) { .saint-mu-card { padding: 10px; } .saint-mu-select div { display: flex; flex-wrap: wrap; gap: 5px; } .saint-signature { max-width: 100%; } }

/* SaintMU: mensaje, firma y acciones en bloques independientes. Firma hasta 340px; un solo scroll exterior si excede. */
.saint-post-message { overflow-wrap: anywhere; word-wrap: break-word; }
.saint-signature { margin: 14px 0 10px; padding: 10px 0; border-top: 1px solid rgba(180,135,76,.42); border-bottom: 1px solid rgba(180,135,76,.25); background: transparent; width: 100%; max-width: 500px; max-height: 340px; overflow-x: hidden; overflow-y: auto; box-sizing: border-box; }
.saint-signature-content { max-width: 100%; max-height: none; overflow: visible; overflow-wrap: anywhere; }
.saint-signature img, .saint-signature-content img { max-width: 100% !important; max-height: 150px !important; width: auto !important; height: auto !important; object-fit: contain; }
.saint-post-reactions { clear: both; margin-top: 9px; }
