
   /* --- Global Styles & Repeating Retro Background --- */
body {
    background-color: #ffdef2; /* Pastel Pink background fallback */
    /* Pro Tip: Replace with a repeating flower or plaid pattern tile later! */
    background-image: radial-gradient(#fff5fa 20%, transparent 20%),
                      radial-gradient(#fff5fa 20%, transparent 20%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    
    font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", sans-serif;
    color: #4a0033;
    margin: 0;
    padding: 0;
}

/* --- Marquee Ticker --- */
.retro-ticker {
    background-color: #fff275;
    color: #ff007f;
    font-weight: bold;
    padding: 5px 0;
    border-bottom: 3px dashed #ff007f;
    font-size: 14px;
}

/* --- Main Layout Wrapper --- */
#container {
    max-width: 900px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.9);
    border: 4px solid #ff007f;
    border-radius: 20px;
    box-shadow: 8px 8px 0px #ff99cc;
    overflow: hidden;
}

/* --- Header Banner --- */
header {
    background-color: #33ccff;
    color: white;
    text-align: center;
    padding: 30px 10px;
    border-bottom: 4px dashed #ff007f;
    text-shadow: 2px 2px 0px #ff007f;
}

header h1 {
    margin: 0;
    font-size: 36px;
}

.subtitle {
    margin: 5px 0 0 0;
    font-size: 16px;
    font-style: italic;
    text-shadow: none;
    color: #fff275;
    font-weight: bold;
}

/* --- Content Splitting --- */
.main-layout {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
}

/* --- Sidebar Style --- */
.sidebar {
    flex: 1;
    min-width: 200px;
    background: #fff275;
    border: 3px solid #33ccff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 4px 4px 0px #33ccff;
    height: fit-content;
}

.placeholder-avatar {
    font-size: 70px;
    text-align: center;
    background: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin: 0 auto;
    border: 3px solid #ff007f;
}

.avatar-caption {
    text-align: center;
    font-size: 12px;
    margin-top: 8px;
    color: #ff007f;
    font-weight: bold;
}

.nav-links h3 {
    color: #ff007f;
    border-bottom: 2px solid #ff007f;
    margin-bottom: 8px;
    font-size: 18px;
}

.nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    color: #ff007f;
    text-decoration: underline;
}

/* --- Notebook/Advice Area --- */
.advice-content {
    flex: 3;
    min-width: 300px;
}

.notebook-page {
    background: #ffffff;
    background-image: linear-gradient(#e6f2ff 1px, transparent 1px);
    background-size: 100% 24px;
    border-left: 5px double #ff3333;
    border-top: 2px solid #ddd;
    border-right: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
    padding: 20px 20px 20px 40px;
    line-height: 24px;
    position: relative;
    border-radius: 4px;
    box-shadow: 4px 4px 10px rgba(0,0,0,0.05);
}

.post-date {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 12px;
    color: #999;
}

.notebook-page h2 {
    color: #ff007f;
    margin-top: 10px;
    font-size: 22px;
}

.user-letter {
    background: #fff0f5;
    border: 2px dashed #ff99cc;
    padding: 12px;
    border-radius: 10px;
    margin: 15px 0;
}

.lizzie-answer {
    color: #006699;
    padding: 5px 0;
}

.signature {
    text-align: right;
    font-weight: bold;
    color: #ff007f !important;
}

/* --- Footer --- */
footer {
    text-align: center;
    background-color: #33ccff;
    color: white;
    padding: 10px;
    font-size: 12px;
    border-top: 4px dashed #ff007f;
}
