body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff0f6;
    color: #4a154b;
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    justify-content: center;
    background: #fff0f6;
}

.main-content {
    flex: 1 1 0;
    max-width: 1000px;
    min-width: 0;
    margin: 40px 0 40px 0;
    padding: 40px 32px 40px 48px;
    background: #fff;
    color: #4a154b;
    box-sizing: border-box;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(234, 76, 137, 0.08);
    align-self: center;
}

.toc-sidebar {
    width: 320px;
    background: #ffe0ef;
    color: #d72660;
    padding: 32px 24px;
    box-shadow: -2px 0 8px rgba(234, 76, 137, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-radius: 18px 0 0 18px;
    margin: 40px 0 40px 24px;
    align-self: flex-start;
}

.toc-sidebar h2 {
    font-size: 1.3rem;
    margin-top: 0;
    color: #d72660;
    letter-spacing: 1px;
}

.toc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-sidebar li {
    margin-bottom: 12px;
}

.toc-sidebar a {
    color: #d72660;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.toc-sidebar a:hover {
    color: #ff5ca7;
}

h1,
h2,
h3 {
    color: #d72660;
}

h1 {
    font-size: 2.2rem;
    margin-top: 0;
}

h2 {
    font-size: 1.4rem;
    margin-top: 2.2em;
}

h3 {
    font-size: 1.1rem;
    margin-top: 1.5em;
}

ul,
ol {
    margin-left: 1.5em;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    object-fit: contain;
}

.main-content img {
    display: block;
    width: 800px;
    height: 450px;
    max-width: 800px;
    max-height: 450px;
    object-fit: cover;
    margin: 32px auto;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(234, 76, 137, 0.10);
    background: #ffe0ef;
}

.highlight-intro {
    background: #ffe0ef;
    color: #d72660;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 12px;
    padding: 20px 32px;
    margin: 28px auto 36px auto;
    text-align: center;
    box-shadow: 0 2px 12px rgba(234, 76, 137, 0.07);
    max-width: 700px;
}

@media (max-width: 1300px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .toc-sidebar {
        width: 100%;
        height: auto;
        position: static;
        box-shadow: none;
        padding: 16px 10px;
        margin: 24px 0 0 0;
        border-radius: 18px;
    }
    .main-content {
        max-width: 100%;
        padding: 24px 8px;
        margin: 24px 0 0 0;
        border-radius: 18px;
    }
}