/* Team Roster – Card Grid */

.team-roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.roster-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.roster-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
}

/* 写真エリア */
.roster-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.roster-photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roster-photo-placeholder .dashicons {
    font-size: 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    color: #bbb;
}

/* テキストエリア */
.roster-info {
    padding: .75rem 1rem 1.25rem;
}

.roster-number {
    display: inline-block;
    background: #1a3a6b;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .15rem .55rem;
    border-radius: 4px;
    letter-spacing: .05em;
    margin-bottom: .3rem;
}

.roster-name {
    margin: .25rem 0 .15rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.roster-furigana {
    margin: 0 0 .25rem;
    font-size: .7rem;
    color: #999;
    letter-spacing: .05em;
}

.roster-position {
    margin: 0 0 .3rem;
    font-size: .78rem;
    color: #555;
    font-weight: 600;
}

.roster-comment {
    margin: .4rem 0 0;
    font-size: .78rem;
    color: #777;
    line-height: 1.55;
}

.roster-empty {
    color: #888;
    font-style: italic;
}

/* レスポンシブ：スマホでは2列 */
@media (max-width: 480px) {
    .team-roster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}
