body, html {
    margin: 0;
    padding: 0;
    background: #d6e0f0;
    font-family: Tahoma, Verdana, Georgia, serif;
    color: #222;
}
.myspace-container {
    width: 900px;
    min-height: 100vh;
    margin: 32px auto;
    padding: 0;
    background: #fff;
    border: 2px solid #1a237e;
    box-shadow: 0 0 24px #b0b0b0;
    border-radius: 6px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.profile-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: linear-gradient(90deg, #1a237e 60%, #283593 100%);
    color: #fff;
    padding: 24px 32px 16px 32px;
    border-bottom: 2px solid #283593;
    border-radius: 6px 6px 0 0;
}
.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 0;
    border: 4px solid #fff;
    margin-right: 32px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 8px #888;
}
.profile-info h1 {
    font-family: 'Comic Sans MS', cursive, Arial, Verdana, sans-serif;
    font-size: 2.1rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 0 #283593;
}
.status {
    font-style: italic;
    color: #111;
    background: #e3e8f5;
    border: 1px solid #b0b0b0;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
}
.profile-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    background: #e3e8f5;
    padding: 0;
    border-bottom: 2px solid #1a237e;
}
.profile-nav a {
    color: #1a237e;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 28px;
    font-size: 1.1rem;
    border-right: 1px solid #b0b0b0;
    background: #e3e8f5;
    transition: background 0.2s, color 0.2s;
    text-shadow: none;
    font-family: Arial, Verdana, sans-serif;
    letter-spacing: normal;
    border-bottom: 2px solid transparent;
}
.profile-nav a:last-child {
    border-right: none;
}
.profile-nav a:hover {
    background: #c5cae9;
    color: #fff;
    border-bottom: 2px solid #283593;
}
.interest-box {
    display: inline-block;
    background: #e3e8f5;
    color: #1a237e;
    font-size: 1.1rem;
    font-family: Arial, Verdana, sans-serif;
    font-weight: bold;
    text-align: center;
    padding: 14px 28px;
    border-right: none;
    border-bottom: 2px solid transparent;
    transition: background 0.2s, color 0.2s;
    text-shadow: none;
    letter-spacing: normal;
    vertical-align: middle;
    cursor: pointer;
    margin-right: -28px;
}
.profile-nav .interest-box:last-child {
    border-right: none;
    margin-right: 0;
}
.interest-box:hover {
    background: #c5cae9;
    color: #fff;
    border-bottom: 2px solid #283593;
}
.profile-section {
    padding: 20px 32px;
    border-bottom: 1px solid #b0b0b0;
    background: #fff;
    margin: 0;
}
.profile-section h2 {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    background: #1a237e;
    color: #fff;
    font-size: 1.3rem;
    margin: -20px -32px 18px -32px;
    padding: 10px 32px;
    font-weight: bold;
    border-bottom: 2px solid #283593;
    border-radius: 0 0 6px 6px;
}
.friends-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 12px;
    width: 100%;
    justify-content: flex-start;
}
.friend {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f6fa;
    border: 1px solid #b0b0b0;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 4px #e0e0e0;
    width: 120px;
    margin-bottom: 8px;
}
.friends-list img {
    width: 64px;
    height: 64px;
    border-radius: 0;
    border: 2px solid #fff;
    object-fit: cover;
    background: #fff;
    margin-bottom: 6px;
    display: block;
}
.friend-name {
    font-family: Verdana, Arial, sans-serif;
    font-size: 1rem;
    text-align: center;
    word-break: break-word;
    width: 100%;
    margin-top: 2px;
    color: #1a237e;
    font-weight: bold;
}
.comment {
    font-family: Tahoma, Verdana, Georgia, serif;
    background: #f5f6fa;
    border-radius: 6px;
    padding: 14px 18px;
    margin: 14px 0;
    border-left: 4px solid #1a237e;
    color: #222;
    font-size: 1.05rem;
    border: 1px solid #b0b0b0;
    box-shadow: 0 1px 4px #e0e0e0;
}
.placeholder-box {
    width: 100%;
    background: #f5f6fa;
    border: 2px dashed #1a237e;
    color: #1a237e;
    font-size: 1.2rem;
    font-family: Tahoma, Verdana, Georgia, serif;
    text-align: center;
    padding: 18px 0;
    margin-bottom: 18px;
    border-radius: 6px 6px 0 0;
    box-sizing: border-box;
}
.placeholder-inline {
    display: inline-block;
    background: #e3e8f5;
    border: none;
    color: #1a237e;
    font-size: 1.1rem;
    font-family: Arial, Verdana, sans-serif;
    font-weight: normal;
    text-align: center;
    padding: 14px 28px;
    margin-left: 0;
    border-right: 1px solid #b0b0b0;
    border-bottom: 2px solid transparent;
    transition: background 0.2s, color 0.2s;
    text-shadow: none;
    letter-spacing: normal;
    vertical-align: middle;
    cursor: pointer;
}
.profile-nav .placeholder-inline:last-child {
    border-right: none;
}
.placeholder-inline:hover {
    background: #c5cae9;
    color: #fff;
    border-bottom: 2px solid #283593;
}
@media (max-width: 600px) {
    .myspace-container {
        width: 100vw;
        min-width: 0;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 10px 8px 10px;
    }
    .profile-pic {
        width: 90px;
        height: 90px;
        margin: 0 0 10px 0;
    }
    .profile-info h1 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }
    .profile-section {
        padding: 12px 8px;
    }
    .profile-section h2 {
        font-size: 1.1rem;
        padding: 8px 8px;
        margin: -12px -8px 12px -8px;
    }
    .profile-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100vw;
        box-sizing: border-box;
    }
    .profile-nav a {
        padding: 10px 8px;
        font-size: 1rem;
    }
    .friends-list {
        gap: 10px;
    }
    .friend {
        width: 90px;
        padding: 6px;
    }
    .friends-list img {
        width: 44px;
        height: 44px;
    }
    .friend-name {
        font-size: 0.95rem;
    }
    .comment {
        font-size: 1rem;
        padding: 10px 8px;
        margin: 8px 0;
    }
}
