/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'EB Garamond', serif;
    font-size: 24px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* Layout */
.layout {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

/* Main Content */
.content {
    text-align: center;
    /* Optional: if we want the single sentence centered text-wise too */
}

#story-container {
    font-weight: 400;
}

/* Story Engine Styles */


/* Add this to your style.css */

/* Update the styles for the clickable words */
.trigger {
    color: #000000;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: #000000;
    text-decoration-thickness: 1px;
    transition: none;
    background-color: transparent !important;
}

.trigger:hover {
    color: blue;
    background-color: transparent !important;
}

/* Ensure the text flow is correct and doesn't break */
.story-container p {
    line-height: 1.5;
    font-size: 24px;
    /* This ensures a smooth visual flow */
}

/* Style for injected text blocks to visually distinguish them as an added thought */
.new-text {
    /* Optional: Make it slightly different, but still legible */
    font-style: italic;
    opacity: 0.9;
    /* Ensure it flows inline */
    display: inline;
    margin-left: 1ch;
    /* Add a small space after the period */
}