.gift-grid {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    gap: 30px;
    justify-content: center;
    padding: 20px 0;
}

.gift-card {
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-ink-10);
    background-color: var(--surface-neutral);
}

.gift-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mic-on-progress {
    position: relative;
    width: 100%;
    min-height: 30px;
    border-radius: 999px;
    background-color: var(--shadow-ink-10);
    overflow: hidden;
    box-shadow: inset 0 1px 2px var(--shadow-ink-10);
}

.mic-on-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--green-1) 0%, var(--green-2) 100%);
    transition: width 0.3s ease;
}

.mic-on-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--on-accent);
    font-weight: 600;
    font-size: 0.9rem;
    pointer-events: none;
}

.image-gallery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.profile-image-container {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-container img {
    width: auto;
    max-height: 391px;
    object-fit: scale-down;
    display: block;
    transition: filter 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-ink-10);
}

.profile-image-container:hover {
    transform: translateY(-5px);
}

.profile-image-bottom-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--overlay-dark-70);
    padding: 5px 10px;
    border-radius: 20px;
    color: var(--on-accent);
}

.like-profile-form {
    display: flex;
    align-items: center;
    gap: 5px;
}

.copy-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-charcoal);
    color: var(--on-accent);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow-ink-10);
    transition: opacity 0.3s, transform 0.3s;
    opacity: 1;
}

.x-share-button {
    display: inline-block;
    background-color: var(--x-share-bg);
    color: var(--on-accent);
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-family: sans-serif;
    transition: background-color 0.3s;
}

.x-share-button,
.x-share-button:visited,
.x-share-button:hover {
    color: var(--on-accent);
}

.x-share-button:hover {
    background-color: var(--x-share-hover-bg);
}

body.profile-custom-theme {
    background-image: none;
    background-color: var(--profile-background-color);
}

body.profile-custom-theme h1 {
    color: var(--profile-theme-color);
}

body.profile-custom-theme a:not(.reply-button):not(.x-share-button) {
    color: var(--profile-theme-color);
}

body.profile-custom-theme .pink-button,
body.profile-custom-theme .pink-button:hover,
body.profile-custom-theme .profile-detail-status-tag.active,
body.profile-custom-theme .hamburger-menu,
body.profile-custom-theme .hamburger-menu:hover,
body.profile-custom-theme .reply-button {
    background-color: var(--profile-theme-color);
}

body.profile-custom-theme .reply-button {
    color: var(--on-accent);
}

body.profile-custom-theme .pink-button {
    box-shadow: none;
}

body.profile-custom-theme .header-container,
body.profile-custom-theme .main-container,
body.profile-custom-theme .main-container-image-top,
body.profile-custom-theme .footer-container {
    background-color: var(--card-bg);
    box-shadow: none;
}
