<style>
        /* --- THE CORE VIBE --- */
        :root {
            --pastel-yellow: #ffb3ba;
            --jazz-teal: #00a1a1;
            --jazz-purple: #8b2f8b;
            --bg-white: #d7dead;
            --border-color: #ffffba;
            --myspace-blue: #003366;
        }

        /* Prevent padding from overflowing container widths */
        *, *::before, *::after {
            box-sizing: border-box;
        }

        body {
            background-image: url("background.jpg");
            background-repeat: no-repeat;
            background-position: center;
            background-size: cover;
            background-attachment: fixed;
            background-color: #ffb3ba; /* Light blue nostalgic background */
            font-family: Courier, Helvetica, sans-serif;
            font-size: 15px;
            margin: 0;
            padding: 20px;
        }

        /* Ensures all images scale down automatically on mobile */
        img {
            max-width: 100%;
            height: auto;
        }

        /* --- AUTOMATICALLY ADAPTIVE CONTAINER --- */
        .profile-container {
            width: 100%;             /* Takes full width on mobile automatically */
            max-width: 1000px;       /* Caps width on desktop screens */
            margin: 0 auto;
            background-color: var(--bg-white);
            border: 2px solid var(--border-color);
            padding: 20px;
            display: flex;
            flex-direction: column;  /* Default: Stacks vertically for mobile view */
            gap: 20px;
        }

        /* --- DESKTOP VIEW (Screens wider than 768px) --- */
        @media screen and (min-width: 769px) {
            .profile-container {
                display: grid;
                grid-template-columns: 300px 1fr; /* Switches back to 2 columns on desktop */
            }
        }

        /* --- LEFT COLUMN --- */
        .left-col h1 {
            font-size: 1.5em;
            margin: 0 0 10px 0;
        }

        .profile-pic {
            width: 100%;
            border: 2px solid #ccc;
            display: block;
            margin-bottom: 10px;
        }

        .status-box {
            border: 2px solid orange;
            padding: 5px;
            text-align: center;
            margin-bottom: 15px;
            font-weight: bold;
        }

        .contact-box {
            border: 2px solid var(--myspace-blue);
            margin-top: 10px;
            max-width: 100%;
        }

        .contact-box header {
            background-color: var(--myspace-blue);
            color: white;
            padding: 3px;
            font-weight: bold;
        }

        .contact-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
            padding: 5px;
            gap: 5px;
        }

        /* Ensures the Bandcamp iframe adapts to mobile screen width */
        .left-col iframe {
            max-width: 100%;
        }

        /* --- RIGHT COLUMN --- */
        .orange-text {
            color: #ff6600;
            font-weight: bold;
            font-size: 1.2em;
            border-bottom: 1px solid #ff6600;
            margin-bottom: 10px;
            display: block;
        }

        .blurb-section {
            margin-bottom: 20px;
        }

        .friends-space {
            background-color: #fff;
            padding: 10px;
        }

        .friend-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); /* Automatically adapts grid items */
            gap: 8px;
            text-align: center;
        }




        /* --- DESKTOP: 4 COLUMNS x 2 ROWS --- */
.friend-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important; /* Strictly 4 columns */
    gap: 15px;
    align-items: start;
}

.friend {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.friend p {
    margin: 2px 0;
    font-size: 13px;
    line-height: 1.2;
    overflow-wrap: anywhere; /* Prevents long handles from stretching card widths */
}

.friend-grid img {
    width: 100%;
    max-width: 100px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border: 2px solid #000;
    display: block;
    margin-top: 5px;
}

/* --- MOBILE: 2 COLUMNS x 4 ROWS --- */
@media screen and (max-width: 768px) {
    .friend-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Strictly 2 columns */
        gap: 12px;
    }
}

        /* --- UTILITY --- */
        .online-now {
            color: #ff0000;
            font-weight: bold;
        }

        marquee {
            background: #eee;
            border: 1px solid #ccc;
            padding: 2px;
            margin-bottom: 10px;
        }
        
        @media screen and (max-width: 768px) {
    body {
        padding: 5px !important;
    }

    .profile-container {
        padding: 10px !important;
    }
}
    </style>