.quill-content {
    line-height: 1.6;
}

.quill-content p {
    margin-bottom: 1rem;
}

.quill-content h1,
.quill-content h2,
.quill-content h3 {
    font-weight: bold;
    margin: 1.5rem 0 1rem;
}

.quill-content h1 {
    font-size: 1.5rem;
}

.quill-content h2 {
    font-size: 1.3rem;
}

.quill-content h3 {
    font-size: 1.1rem;
}

.quill-content ul,
.quill-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.quill-content ul {
    list-style-type: disc;
}

.quill-content ol {
    list-style-type: decimal;
}

.quill-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.quill-content a:hover {
    color: #2563eb;
}

.quill-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.5rem;
}

.quill-content blockquote {
    border-left: 4px solid #3b82f6;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #9ca3af;
    font-style: italic;
}

.quill-content pre {
    background-color: #1e293b;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.quill-content code {
    font-family: monospace;
    background-color: #1e293b;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9em;
}

/* Game description markdown styles */
.game-description {
    line-height: 1.7;
}

.game-description p {
    margin-bottom: 0.75rem;
}

.game-description h1,
.game-description h2,
.game-description h3,
.game-description h4 {
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    color: hsl(var(--foreground));
}

.game-description h1 {
    font-size: 1.5rem;
}

.game-description h2 {
    font-size: 1.25rem;
}

.game-description h3 {
    font-size: 1.1rem;
}

.game-description h4 {
    font-size: 1rem;
}

.game-description ul,
.game-description ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.game-description ul {
    list-style-type: disc;
}

.game-description ol {
    list-style-type: decimal;
}

.game-description li {
    margin-bottom: 0.25rem;
}

.game-description a {
    color: hsl(var(--primary));
    text-decoration: underline;
}

.game-description a:hover {
    opacity: 0.8;
}

.game-description strong {
    font-weight: 600;
    color: hsl(var(--foreground));
}

.game-description em {
    font-style: italic;
}

.game-description blockquote {
    border-left: 3px solid hsl(var(--primary));
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    opacity: 0.9;
}

.game-description pre {
    background-color: hsl(var(--muted));
    padding: 0.75rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    margin: 0.75rem 0;
    font-size: 0.875rem;
}

.game-description code {
    font-family: ui-monospace, monospace;
    background-color: hsl(var(--muted));
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.game-description hr {
    border: none;
    border-top: 1px solid hsl(var(--border));
    margin: 1.5rem 0;
}

.game-description table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.game-description th,
.game-description td {
    border: 1px solid hsl(var(--border));
    padding: 0.5rem;
    text-align: left;
}

.game-description th {
    background-color: hsl(var(--muted));
    font-weight: 600;
}