        :root {
            --bg-color: #ffdae9;
            --primary-pink: #ff69b4;
            --dark-pink: #d81b60;
            --accent-purple: #5e35b1;
            --text-color: #333333;
            --panel-bg: #ffffff;
            --tab-inactive: #eeeeee;
            --card-gap: 15px;
        }

        *, *::before, *::after { box-sizing: border-box; }

        body {
            background-color: var(--bg-color);
            background-image: url('../img/ui/bg/lavchk.gif'); 
            font-family: "Courier New", Courier, monospace;
            color: var(--text-color);
            margin: 0;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .main-window {
            background: var(--panel-bg);
            border: 4px solid var(--primary-pink);
            box-shadow: 8px 8px 0px var(--accent-purple);
            max-width: 700px;
            width: 100%;
            padding: 20px;
            text-align: center;
        }

        header.header-box {
            background: var(--primary-pink);
            color: white;
            padding: 10px;
            margin: -20px -20px 20px -20px;
            border-bottom: 4px solid var(--primary-pink);
        }

        .header-box h1 {
            margin: 0 0 10px 0;
            font-size: 1.2rem;
            font-weight: bold;
        }

        .header-link {
            color: white;
            font-weight: bold;
            text-decoration: underline dashed;
        }

        .divider {
            border: none;
            border-top: 1px dashed var(--primary-pink);
            margin-bottom: 20px;
        }

        .landing-screen {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .profile-btn {
            cursor: pointer;
            border: 4px solid var(--accent-purple);
            background: white;
            padding: 15px;
            width: 45%; 
            display: flex;
            flex-direction: column;
            align-items: center; 
            justify-content: center;
            transition: transform 0.2s;
            min-height: 400px;
        }

        .profile-btn:hover, .profile-btn:focus {
            transform: scale(1.05);
            border-color: var(--primary-pink);
            outline: none;
        }

        .profile-btn img {
            width: 100%;
            height: auto;
            max-height: 80%;
            object-fit: cover;
            object-position: top;
            margin-bottom: 15px;
        }

        .profile-btn h2 {
            margin: auto;
            font-size: 1.2rem;
            color: var(--accent-purple);
        }

        .tabs {
            display: none;
            justify-content: center;
            gap: 10px;
            margin-bottom: 20px;
        }

        .tab-btn {
            background: var(--tab-inactive);
            border: 3px outset #ccc;
            padding: 10px 20px;
            cursor: pointer;
            font-family: inherit;
            font-weight: bold;
        }

        .tab-btn[aria-selected="true"] {
            background: var(--primary-pink);
            color: white;
            border: 3px inset var(--dark-pink);
        }

        .gallery-panel {
            display: none; 
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: var(--card-gap);
            animation: fadeIn 0.3s ease-in;
        }

        .gallery-panel.active {
            display: grid;
        }

        .year-section {
            grid-column: 1 / -1; 
            text-align: left;
            border-bottom: 2px dashed var(--accent-purple);
            margin-top: 20px;
            margin-bottom: 5px;
            padding-bottom: 5px;
            font-size: 1.5rem;
            color: var(--accent-purple);
            width: 100%;
        }

        .art-card {
            margin: 0;
            border: 3px solid var(--accent-purple);
            padding: 5px;
            background: white;
            transition: transform 0.2s;
            position: relative;
        }

        .art-card:hover {
            transform: scale(1.03) rotate(1deg);
            border-color: var(--primary-pink);
        }

        .art-card img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            display: block;
            cursor: zoom-in; 
        }

        .art-card img:focus {
            outline: 3px solid var(--primary-pink);
            outline-offset: 2px;
        }

        .art-card.spoiler img {
            filter: blur(25px);
            transition: filter 0.3s ease;
            cursor: pointer;
        }
        
        .art-card.spoiler::after {
            content: "⚠️ TRIGGER WARNING ⚠️ Click to reveal";
            position: absolute;
            top: 5px; left: 5px; right: 5px; bottom: 5px;
            background: rgba(0,0,0,0.7);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            white-space: pre-line;
            font-weight: bold;
            font-size: 0.9rem;
            transition: opacity 0.3s;
            pointer-events: none;
        }


        .art-card.spoiler.revealed img {
            filter: blur(0);
            cursor: zoom-in; 
        }
        
        .art-card.spoiler.revealed::after {
            opacity: 0;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @media (max-width: 500px) {
            .gallery-panel { grid-template-columns: 1fr 1fr; }
            .landing-screen { flex-direction: column; align-items: center; }
            .profile-btn { width: 80%; }
        }

        /* THE LIGHTBOX */
        .lightbox {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background-color: rgba(0, 0, 0, 0.85);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .lightbox.active { display: flex; }

        .lightbox img {
            max-width: 90%; max-height: 90vh;
            border: 4px solid var(--primary-pink);
            box-shadow: 8px 8px 0px var(--accent-purple);
            cursor: default;
            object-fit: contain;
        }