/* Tora-e Specific Styles */

/* Updated .category-tags style to fix scrolling issue */
.category-tags {
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap to next line */
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background-color: #333;
    color: var(--tora-yellow);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid var(--tora-yellow);
    white-space: nowrap; /* Keep individual tag text on one line */
}

/* ASCII Art Eyecatch */
.ascii-art-container {
    background-color: #000000; /* Black Background */
    border: 4px solid #FFE800; /* Tigers Yellow Border */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    overflow-x: auto;
}

.ascii-art {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;
    color: #FFE800; /* Tigers Yellow Text */
    line-height: 1.0;
    white-space: pre;
    display: inline-block;
    text-shadow: 2px 2px 0px #333; 
    font-size: 18px; 
}

@media (max-width: 600px) {
    .ascii-art {
        font-size: 10px; 
    }
}

/* Jemmy (Gemini) Specific Chat Style */
.chat-row.gemi {
    justify-content: center; /* Center for the AI presence */
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
}

.chat-row.gemi .icon-col {
    order: -1; /* Icon on top */
    margin-bottom: 10px;
}

.chat-row.gemi .icon-col img {
    border-color: #4285F4; /* Google Blue Border */
    width: 70px; /* Slightly larger */
    height: 70px;
}

.chat-row.gemi .bubble-col {
    width: 100%;
}

.chat-row.gemi .bubble {
    background-color: #1a233a; /* Dark Blue tint */
    border: 1px solid #4285F4; /* Blue Border */
    color: #e8f0fe;
    text-align: center;
    margin: 0 10%; /* Center with margins */
}

/* No tail for the centered AI box */
.chat-row.gemi .bubble::before {
    display: none;
}

.chat-row.gemi .name {
    color: #4285F4;
}