*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Microsoft JhengHei",sans-serif;
    background:#0d1117;
    color:#e6edf3;
}

.topbar{
    height:64px;
    background:#010409;
    border-bottom:1px solid #30363d;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 32px;
    position:sticky;
    top:0;
    z-index:10;
}

.logo{
    color:#e6edf3;
    font-size:22px;
    font-weight:bold;
}

nav a{
    color:#8b949e;
    text-decoration:none;
    margin-left:22px;
}

nav a:hover{
    color:#e6edf3;
}

.layout{
    display:grid;
    grid-template-columns:260px 1fr;
    min-height:calc(100vh - 64px);
}

.sidebar{
    background:#0d1117;
    border-right:1px solid #30363d;
    padding:24px;
}

.sidebar h3{
    color:#e6edf3;
    margin-bottom:18px;
}

.team-title{
    color:#8b949e;
    font-size:14px;
    margin-bottom:10px;
}

.character-link{
    display:block;
    color:#8b949e;
    text-decoration:none;
    padding:10px 12px;
    border-radius:6px;
    margin-bottom:6px;
    border-left:3px solid transparent;
}

.character-link:hover{
    background:#161b22;
    color:#e6edf3;
}

.character-link.active{
    background:#161b22;
    color:#e6edf3;
    border-left:3px solid #e6edf3;
}

.content{
    padding:32px;
}

.hero{
    background:#161b22;
    padding:42px;
    border-radius:12px;
    margin-bottom:28px;
    border:1px solid #30363d;
}

.hero h1{
    font-size:36px;
    color:#e6edf3;
    margin-bottom:12px;
}

.hero p{
    color:#8b949e;
    line-height:1.8;
}

.character-page{
    background:#161b22;
    border:1px solid #30363d;
    border-radius:12px;
    padding:28px;
}

.character-page h2{
    color:#e6edf3;
    font-size:32px;
    margin-bottom:22px;
    padding-bottom:12px;
    border-bottom:1px solid #30363d;
}

details{
    background:#0d1117;
    border:1px solid #30363d;
    border-radius:10px;
    margin-bottom:14px;
    padding:16px;
}

details[open]{
    background:#161b22;
}

summary{
    cursor:pointer;
    color:#e6edf3;
    font-size:19px;
    font-weight:bold;
}

summary:hover{
    color:#58a6ff;
}

details p{
    margin-top:14px;
    line-height:1.8;
    color:#c9d1d9;
}

.skill-box{
    display:flex;
    gap:16px;
    margin-top:16px;
    background:#0d1117;
    border-radius:10px;
    padding:14px;
    border:1px solid #30363d;
}

.skill-box img{
    width:88px;
    height:88px;
    object-fit:cover;
    border-radius:8px;
    background:#21262d;
    border:1px solid #30363d;
}

.skill-box h4{
    color:#e6edf3;
    margin-bottom:8px;
}

/* 手機版 */
@media(max-width:800px){
    .layout{
        grid-template-columns:1fr;
    }

    .sidebar{
        border-right:none;
        border-bottom:1px solid #30363d;
    }

    .topbar{
        flex-direction:column;
        height:auto;
        padding:16px;
        gap:12px;
    }

    nav a{
        margin:0 8px;
    }

    .hero{
        padding:28px;
    }

    .content{
        padding:20px;
    }
}
.character-header{
    margin-bottom:24px;
    padding-bottom:18px;
    border-bottom:1px solid #30363d;
}

..character-header{
    margin-bottom:24px;
    padding-bottom:18px;
    border-bottom:1px solid #30363d;
}

.character-header h2{
    margin-bottom:10px;
}

.character-header p{
    color:#8b949e;
    line-height:1.8;
}

.combo-gif{
    max-width:100%;
    margin-top:12px;
    border-radius:10px;
    border:1px solid #30363d;
    background:#21262d;
}
.menu-btn{
    display:none;
    background:none;
    border:1px solid #30363d;
    color:#e6edf3;
    font-size:22px;
    padding:6px 10px;
    border-radius:6px;
    cursor:pointer;
}

@media(max-width:800px){

    .topbar{
        flex-direction:row;
        justify-content:flex-start;
        gap:14px;
    }

    .menu-btn{
        display:block;
    }

    .layout{
        display:block;
    }

    .sidebar{
        position:fixed;
        top:64px;
        left:-280px;
        width:260px;
        height:calc(100vh - 64px);
        background:#0d1117;
        border-right:1px solid #30363d;
        z-index:99;
        transition:0.3s;
        overflow-y:auto;
    }

    .sidebar.open{
        left:0;
    }

    .content{
        max-width:720px;
        margin:0 auto;
        padding:20px;
    }

    .hero,
    .character-page{
        width:100%;
    }

    .skill-box{
        flex-direction:column;
    }

    .skill-box img{
        width:72px;
        height:72px;
    }

    video,
    .combo-gif{
        width:100%;
        height:auto;
    }
}