.mg-quest-detail {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
}

.mg-qd-urgent {
    display: inline-block;
    background: #d9534f;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.mg-qd-title {
    margin: 0 0 10px;
    color: #2c1a0e;
}

.mg-qd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.mg-qd-category {
    background: #f8f4f0;
    color: #752b03;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.9em;
}

.mg-qd-award {
    font-size: 1.3em;
    font-weight: 700;
    color: #1e7d32;
}

.mg-qd-address {
    color: #666;
    margin: 4px 0 0;
}

.mg-qd-description {
    margin: 20px 0;
    line-height: 1.7;
    color: #333;
}

.mg-qd-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.mg-qd-photos img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.mg-qd-cta {
    text-align: center;
    margin-top: 28px;
}

.mg-qd-button {
    display: inline-block;
    background: #752b03;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
}

.mg-qd-button:hover {
    background: #5a2102;
}

.mg-qd-cta-note {
    color: #888;
    font-size: 0.9em;
    margin-top: 10px;
}

.mg-qd-unavailable {
    text-align: center;
    color: #555;
}
