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

body, p, h1, h2, h3 {
    margin: 0;
}

img {
    display: block;
}

/* ---------- Layout ---------- */
body {
    min-height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #c9c9c9;
    background-color: #262626;
}

.page {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    background-color: #2f2f2f;
    padding-bottom: 20px;
}

.box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10px;
}

/* Scoped under .box so these names can't collide with other pages */
.box .left {
    padding: 10px 0 0 10px;
}

.box .right {
    padding: 10px 10px 10px;
}

.box .center {
    padding: 0 0 0 10px;
}

/* Even spacing between stacked text, replaces the negative margins */
.box p + p {
    margin-top: 6px;
}

/* ---------- Images ---------- */
.profile-pic {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.center-gif {
    width: 100%;
    height: 100px;
    object-fit: cover;
    margin-bottom: 5px;
}

.right-gif {
    width: 100%;
    height: 260px;
    object-fit: cover;
    margin-top: 5px
}

/* ---------- Text ---------- */
.super-text {
    font-size: 20px;
    margin: 5px 0 5px 0;
}

.left-links a {
    color: inherit;
    text-underline-offset: 1px;
}

.highlight {
    background-color: #eec9d4c8;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 1px;
    cursor: pointer;
}

/* ---------- Bottom section ---------- */
.bottom {
    padding: 0 20px;
}

.row {
    border: 1.5px solid #979797;
    padding: 10px;
    margin-top: 10px;
}

.row .super-text {
    margin-top: 10px;
}

.top-songs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 0;
}

.top-songs iframe {
    width: 100%;
    height: 152px;
    border: 0;
    border-radius: 12px;
}

.showcase .super-text {
    margin: 20px 0 10px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
}

.photo-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
    .box {
        grid-template-columns: 1fr;
    }

    .box .left,
    .box .center,
    .box .right {
        padding: 10px;
    }

    .right-gif {
        height: 200px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}