
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
            --oren-primary: #D83F00;
            --oren-secondary: #FF7F50;
            --oren-bg: #FFDAB9;
            --oren-border: #FF7F50;
            --oren-bodybg: #FFF0E6;

            --sky-primary: #2F4F8F;
            --sky-secondary: #4169E1;
            --sky-bg: #D2E4F5;
            --sky-border: #4169E1;
            --sky-bodybg: #E6F0FA;

            --durple-primary: #6A006A;
            --durple-secondary: #8B008B;
            --durple-bg: #E8D8E8;
            --durple-border: #8B008B;
            --durple-bodybg: #FAF0FA;

            --tunner-primary: #6B3C0F;
            --tunner-secondary: #8B4513;
            --tunner-bg: #E8DBC3;
            --tunner-border: #8B4513;
            --tunner-bodybg: #FAF0E6;

            --wenda-primary: #C71585;
            --wenda-secondary: #FF69B4;
            --wenda-bg: #FFD6E0;
            --wenda-border: #FF69B4;
            --wenda-bodybg: #FFF0F5;
        }

        .role-showcase {
            width: 100%;
            background: #fff5e6;
            border-radius: 16px;
            padding: 24px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); 
            border: 1px solid #E8E4E0;
            margin: 20px 0;
        }

        .role-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .role-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 18px;
            font-weight: bold;
            color: #1f2937;
            font-family: 'Noto Sans JP', sans-serif;
        }

        .star-icon {
            width: 18px;
            height: 18px;
            color: #eab308;
        }


.all-roles-btn {
    display: flex;
    align-items: center;
    gap: 5px; 
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 40px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--oren-primary);
    position: relative;
}

.chevron-icon {
    width: 14px;
    height: 14px;
    transition: opacity 0.2s ease;
}

.all-roles-btn::after {
    content: '→'; 
    font-size: 18px;
    color: white;
    opacity: 0; 
    transition: opacity 0.2s ease;
    margin-left: 8px; 
    position: absolute;
    right: 12px; 
}

.all-roles-btn:hover {
    padding: 8px 16px; 
}

.all-roles-btn:hover .chevron-icon {
    opacity: 0; 
}

.all-roles-btn:hover::after {
    opacity: 1; 
}


        .role-grid {
            display: flex;
            flex-wrap: nowrap;
            justify-content: flex-start;
            gap: 8px;
            max-width: 100%;
        }

        .role-card {
            position: relative;
            cursor: pointer;
            flex: 1 1 0;
            min-width: 0;
            max-width: none;
        }

        .role-card {
    display: block; 
    text-decoration: none;
    color: inherit;
}

        .role-image {
            position: relative;
            width: 100%;
            aspect-ratio: 1;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transition: all 0.2s ease;
        }

        .role-card .role-image {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.role-card.oren:hover .role-image {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 218, 185, 0.3); 
}

.role-card.sky:hover .role-image {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 8px rgba(210, 228, 245, 0.3); 
}

.role-card.durple:hover .role-image {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 216, 232, 0.3); 
}

.role-card.wenda:hover .role-image {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 214, 224, 0.3); 
}

.role-card.tunner:hover .role-image {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 8px rgba(232, 219, 195, 0.3); 
}

        .role-card.oren .role-image {
            background: var(--oren-bg);
            border: 3px solid var(--oren-border);
        }
        .role-card.oren:hover .role-image {
            outline: 2px solid var(--oren-secondary);
            outline-offset: 2px;
        }
        .role-card.oren .role-category {
            background: var(--oren-primary);
        }

        .role-card.sky .role-image {
            background: var(--sky-bg);
            border: 3px solid var(--sky-border);
        }
        .role-card.sky:hover .role-image {
            outline: 2px solid var(--sky-secondary);
            outline-offset: 2px;
        }
        .role-card.sky .role-category {
            background: var(--sky-primary);
        }

        .role-card.durple .role-image {
            background: var(--durple-bg);
            border: 3px solid var(--durple-border);
        }
        .role-card.durple:hover .role-image {
            outline: 2px solid var(--durple-secondary);
            outline-offset: 2px;
        }
        .role-card.durple .role-category {
            background: var(--durple-primary);
        }

        .role-card.wenda .role-image {
            background: var(--wenda-bg);
            border: 3px solid var(--wenda-border);
        }
        .role-card.wenda:hover .role-image {
            outline: 2px solid var(--wenda-secondary);
            outline-offset: 2px;
        }
        .role-card.wenda .role-category {
            background: var(--wenda-primary);
        }

        .role-card.tunner .role-image {
            background: var(--tunner-bg);
            border: 3px solid var(--tunner-border);
        }
        .role-card.tunner:hover .role-image {
            outline: 2px solid var(--tunner-secondary);
            outline-offset: 2px;
        }
        .role-card.tunner .role-category {
            background: var(--tunner-primary);
        }

        .role-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
}

@media (max-width: 480px) {
    .role-img {
        object-fit: cover;
        object-position: 50% 20%;
    }
}
        .role-category {
            position: absolute;
            top: 4px;
            right: 4px;
            min-width: 40px;
            height: 20px;
            padding: 4px 8px;
            border-radius: 8px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: white;
            font-family: 'Noto Sans JP', sans-serif;
            font-weight: bold;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            white-space: nowrap;
        }

.hover-overlay {
    position: absolute;
    inset: 0;
    background: transparent; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out; 
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
}

.role-card:hover .hover-overlay {
    opacity: 1; 
}

.hover-arrow {
    stroke:  #ffffff; 
    width: 24px;
    height: 24px;
}

.role-card:hover .hover-overlay {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1); 
}
        .tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-family: 'Noto Sans JP', sans-serif;
    white-space: normal;
    max-width: 90vw;
    text-align: center;
}

        .tooltip::after {
            content: '';
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%);
            border: 4px solid transparent;
            border-top-color: #1f2937;
        }

        .role-card:hover .tooltip {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(-4px);
        }

        .role-name {
            font-weight: 600;
            margin-bottom: 2px;
        }


        .role-type {
    color: #A1A8B5;
    font-size: 11px;
}

        .role-hint-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 8px;
        }

        .role-hint {
    font-size: 14px; 
    color: #4B5563; 
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400; 
}

        .more-roles-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--oren-primary);
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 16px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    position: relative; 
}

.more-roles-btn:hover {
    background-color: var(--oren-primary);
    color: white;
    padding: 6px 14px; 
}

.more-roles-btn .chevron-icon {
    width: 14px;
    height: 14px;
    transition: opacity 0.2s ease;
}

.more-roles-btn::after {
    content: '→'; 
    font-size: 18px;
    color: white;
    opacity: 0; 
    transition: opacity 0.2s ease;
    position: absolute;
    right: 10px; 
}

.more-roles-btn:hover .chevron-icon {
    opacity: 0; 
}

.more-roles-btn:hover::after {
    opacity: 1; 
}


        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }


        .role-type {
    color: #A1A8B5; 
    font-size: 11px;
}

@media (max-width: 768px) {
    .role-showcase {
        padding: 16px;
    }

    .role-title {
        font-size: 16px;
    }

    .all-roles-btn {
        font-size: 12px;
        padding: 6px 8px;
    }

    .role-grid {
        gap: 8px;
    }

    .role-image {
        border-radius: 12px;
        border-width: 2px;
    }

    .role-category {
        min-width: 30px;
        height: 16px;
        font-size: 8px;
        padding: 2px 6px;
    }

    .tooltip {
        font-size: 12px;
        padding: 8px 12px;
        max-width: 95vw; 
        min-width: 200px; 
    }

    .role-type {
        font-size: 12px;
        color: #A1A8B5;
    }

    .role-hint, .more-roles-btn {
        font-size: 11px;
    }

    .more-roles-btn {
        padding: 4px 8px;
    }
}

        @media (max-width: 480px) {
            .role-showcase {
                padding: 12px;
            }

            .role-title {
                font-size: 14px;
            }

            .star-icon {
                width: 16px;
                height: 16px;
            }

            .role-grid {
                gap: 6px;
            }

            .role-image {
                border-radius: 10px;
            }
        }

        @media (hover: hover) {
            .role-card:hover .role-image {
                box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
            }
        }

        @media (hover: none) {
            .role-card:active .role-image {
                transform: scale(1.05);
            }
        }
    